ARM GAS /tmp/ccc82m4X.s page 1 1 .cpu cortex-m3 2 .arch armv7-m 3 .fpu softvfp 4 .eabi_attribute 20, 1 5 .eabi_attribute 21, 1 6 .eabi_attribute 23, 3 7 .eabi_attribute 24, 1 8 .eabi_attribute 25, 1 9 .eabi_attribute 26, 1 10 .eabi_attribute 30, 1 11 .eabi_attribute 34, 1 12 .eabi_attribute 18, 4 13 .file "stm32f1xx_ll_adc.c" 14 .text 15 .Ltext0: 16 .cfi_sections .debug_frame 17 .section .text.LL_ADC_CommonDeInit,"ax",%progbits 18 .align 1 19 .global LL_ADC_CommonDeInit 20 .syntax unified 21 .thumb 22 .thumb_func 24 LL_ADC_CommonDeInit: 25 .LVL0: 26 .LFB156: 27 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c" 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ****************************************************************************** 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @file stm32f1xx_ll_adc.c 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @author MCD Application Team 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief ADC LL module driver 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ****************************************************************************** 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @attention 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Copyright (c) 2017 STMicroelectronics. 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * All rights reserved. 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * This software is licensed under terms that can be found in the LICENSE file 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * in the root directory of this software component. 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ****************************************************************************** 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(USE_FULL_LL_DRIVER) 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Includes ------------------------------------------------------------------*/ 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #include "stm32f1xx_ll_adc.h" 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #include "stm32f1xx_ll_bus.h" 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #ifdef USE_FULL_ASSERT 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #include "stm32_assert.h" 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define assert_param(expr) ((void)0U) 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** @addtogroup STM32F1xx_LL_Driver ARM GAS /tmp/ccc82m4X.s page 2 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @{ 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined (ADC1) || defined (ADC2) || defined (ADC3) 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** @addtogroup ADC_LL ADC 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @{ 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Private types -------------------------------------------------------------*/ 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Private variables ---------------------------------------------------------*/ 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Private constants ---------------------------------------------------------*/ 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Private macros ------------------------------------------------------------*/ 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** @addtogroup ADC_LL_Private_Macros 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @{ 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check of parameters for configuration of ADC hierarchical scope: */ 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* common to several ADC instances. */ 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check of parameters for configuration of ADC hierarchical scope: */ 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC instance. */ 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_DATA_ALIGN(__DATA_ALIGN__) \ 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__DATA_ALIGN__) == LL_ADC_DATA_ALIGN_RIGHT) \ 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__DATA_ALIGN__) == LL_ADC_DATA_ALIGN_LEFT) \ 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_SCAN_SELECTION(__SCAN_SELECTION__) \ 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__SCAN_SELECTION__) == LL_ADC_SEQ_SCAN_DISABLE) \ 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__SCAN_SELECTION__) == LL_ADC_SEQ_SCAN_ENABLE) \ 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_SEQ_SCAN_MODE(__SEQ_SCAN_MODE__) \ 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__SCAN_MODE__) == LL_ADC_SEQ_SCAN_DISABLE) \ 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__SCAN_MODE__) == LL_ADC_SEQ_SCAN_ENABLE) \ 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check of parameters for configuration of ADC hierarchical scope: */ 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC group regular */ 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC3) 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_REG_TRIG_SOURCE(__ADC_INSTANCE__, __REG_TRIG_SOURCE__) \ 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ((((__ADC_INSTANCE__) == ADC1) || ((__ADC_INSTANCE__) == ADC2)) \ 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ? ( ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_SOFTWARE) \ 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH3) \ 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH1) \ 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH2) \ 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM2_CH2) \ 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM3_TRGO) \ 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM4_CH4) \ 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_EXTI_LINE11) \ 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM8_TRGO) \ 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) \ 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** : \ 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_SOFTWARE) \ 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH3) \ 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM3_CH1) \ 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM2_CH3) \ ARM GAS /tmp/ccc82m4X.s page 3 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM8_CH1) \ 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM8_TRGO_ADC3) \ 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM5_CH1) \ 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM5_CH3) \ 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) \ 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined (STM32F101xE) || defined (STM32F105xC) || defined (STM32F107xC) 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_REG_TRIG_SOURCE(__REG_TRIG_SOURCE__) \ 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_SOFTWARE) \ 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH3) \ 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH1) \ 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH2) \ 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM2_CH2) \ 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM3_TRGO) \ 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM4_CH4) \ 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_EXTI_LINE11) \ 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM8_TRGO) \ 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_REG_TRIG_SOURCE(__REG_TRIG_SOURCE__) \ 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_SOFTWARE) \ 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH3) \ 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH1) \ 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM1_CH2) \ 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM2_CH2) \ 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM3_TRGO) \ 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_TIM4_CH4) \ 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_TRIG_SOURCE__) == LL_ADC_REG_TRIG_EXT_EXTI_LINE11) \ 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_REG_CONTINUOUS_MODE(__REG_CONTINUOUS_MODE__) \ 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__REG_CONTINUOUS_MODE__) == LL_ADC_REG_CONV_SINGLE) \ 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_CONTINUOUS_MODE__) == LL_ADC_REG_CONV_CONTINUOUS) \ 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_REG_DMA_TRANSFER(__REG_DMA_TRANSFER__) \ 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__REG_DMA_TRANSFER__) == LL_ADC_REG_DMA_TRANSFER_NONE) \ 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_DMA_TRANSFER__) == LL_ADC_REG_DMA_TRANSFER_UNLIMITED) \ 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_REG_SEQ_SCAN_LENGTH(__REG_SEQ_SCAN_LENGTH__) \ 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_DISABLE) \ 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS) \ 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_3RANKS) \ 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_4RANKS) \ 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_5RANKS) \ 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_6RANKS) \ 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_7RANKS) \ 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_8RANKS) \ 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_9RANKS) \ 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_10RANKS) \ 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_11RANKS) \ 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_12RANKS) \ 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_13RANKS) \ 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_14RANKS) \ ARM GAS /tmp/ccc82m4X.s page 4 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_15RANKS) \ 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_SCAN_LENGTH__) == LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS) \ 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_REG_SEQ_SCAN_DISCONT_MODE(__REG_SEQ_DISCONT_MODE__) \ 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_DISABLE) \ 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_1RANK) \ 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_2RANKS) \ 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_3RANKS) \ 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_4RANKS) \ 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_5RANKS) \ 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_6RANKS) \ 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_7RANKS) \ 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__REG_SEQ_DISCONT_MODE__) == LL_ADC_REG_SEQ_DISCONT_8RANKS) \ 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check of parameters for configuration of ADC hierarchical scope: */ 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC group injected */ 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC3) 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_INJ_TRIG_SOURCE(__ADC_INSTANCE__, __INJ_TRIG_SOURCE__) \ 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ((((__ADC_INSTANCE__) == ADC1) || ((__ADC_INSTANCE__) == ADC2)) \ 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ? ( ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_SOFTWARE) \ 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_TRGO) \ 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_CH4) \ 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM2_TRGO) \ 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM2_CH1) \ 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM3_CH4) \ 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM4_TRGO) \ 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_EXTI_LINE15) \ 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM8_CH4) \ 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) \ 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** : \ 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_SOFTWARE) \ 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_TRGO) \ 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_CH4) \ 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM4_CH3) \ 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM8_CH2) \ 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM8_CH4_ADC3) \ 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM5_TRGO) \ 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM5_CH4) \ 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) \ 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined (STM32F101xE) || defined (STM32F105xC) || defined (STM32F107xC) 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_INJ_TRIG_SOURCE(__INJ_TRIG_SOURCE__) \ 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_SOFTWARE) \ 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_TRGO) \ 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_CH4) \ 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM2_TRGO) \ 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM2_CH1) \ 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM3_CH4) \ 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM4_TRGO) \ 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_EXTI_LINE15) \ 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM8_CH4) \ 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_INJ_TRIG_SOURCE(__INJ_TRIG_SOURCE__) \ ARM GAS /tmp/ccc82m4X.s page 5 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_SOFTWARE) \ 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_TRGO) \ 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM1_CH4) \ 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM2_TRGO) \ 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM2_CH1) \ 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM3_CH4) \ 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_TIM4_TRGO) \ 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_SOURCE__) == LL_ADC_INJ_TRIG_EXT_EXTI_LINE15) \ 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_INJ_TRIG_AUTO(__INJ_TRIG_AUTO__) \ 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__INJ_TRIG_AUTO__) == LL_ADC_INJ_TRIG_INDEPENDENT) \ 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_TRIG_AUTO__) == LL_ADC_INJ_TRIG_FROM_GRP_REGULAR) \ 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_INJ_SEQ_SCAN_LENGTH(__INJ_SEQ_SCAN_LENGTH__) \ 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__INJ_SEQ_SCAN_LENGTH__) == LL_ADC_INJ_SEQ_SCAN_DISABLE) \ 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_SEQ_SCAN_LENGTH__) == LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS) \ 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_SEQ_SCAN_LENGTH__) == LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS) \ 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_SEQ_SCAN_LENGTH__) == LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS) \ 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_INJ_SEQ_SCAN_DISCONT_MODE(__INJ_SEQ_DISCONT_MODE__) \ 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__INJ_SEQ_DISCONT_MODE__) == LL_ADC_INJ_SEQ_DISCONT_DISABLE) \ 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__INJ_SEQ_DISCONT_MODE__) == LL_ADC_INJ_SEQ_DISCONT_1RANK) \ 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC_MULTIMODE_SUPPORT) 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check of parameters for configuration of ADC hierarchical scope: */ 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* multimode. */ 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_MULTI_MODE(__MULTI_MODE__) \ 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__MULTI_MODE__) == LL_ADC_MULTI_INDEPENDENT) \ 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_SIMULT) \ 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_INTERL_FAST) \ 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_INTERL_SLOW) \ 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_INJ_SIMULT) \ 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_INJ_ALTERN) \ 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM) \ 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT) \ 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_INTFAST_INJ_SIM) \ 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MODE__) == LL_ADC_MULTI_DUAL_REG_INTSLOW_INJ_SIM) \ 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #define IS_LL_ADC_MULTI_MASTER_SLAVE(__MULTI_MASTER_SLAVE__) \ 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ((__MULTI_MASTER_SLAVE__) == LL_ADC_MULTI_MASTER) \ 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MASTER_SLAVE__) == LL_ADC_MULTI_SLAVE) \ 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || ((__MULTI_MASTER_SLAVE__) == LL_ADC_MULTI_MASTER_SLAVE) \ 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ) 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif /* ADC_MULTIMODE_SUPPORT */ 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @} 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Private function prototypes -----------------------------------------------*/ ARM GAS /tmp/ccc82m4X.s page 6 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Exported functions --------------------------------------------------------*/ 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** @addtogroup ADC_LL_Exported_Functions 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @{ 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** @addtogroup ADC_LL_EF_Init 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @{ 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief De-initialize registers of all ADC instances belonging to 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * the same ADC common instance to their default reset values. 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADCxy_COMMON ADC common instance 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval An ErrorStatus enumeration value: 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - SUCCESS: ADC common registers are de-initialized 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - ERROR: not applicable 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus LL_ADC_CommonDeInit(ADC_Common_TypeDef *ADCxy_COMMON) 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 28 .loc 1 280 1 view -0 29 .cfi_startproc 30 @ args = 0, pretend = 0, frame = 0 31 @ frame_needed = 0, uses_anonymous_args = 0 32 @ link register save eliminated. 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check the parameters */ 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_ADC_COMMON_INSTANCE(ADCxy_COMMON)); 33 .loc 1 282 3 view .LVU1 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Force reset of ADC clock (core clock) */ 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_ADC1); 34 .loc 1 285 3 view .LVU2 35 .LBB28: 36 .LBI28: 37 .file 2 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h" 1:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 2:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ****************************************************************************** 3:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @file stm32f1xx_ll_bus.h 4:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @author MCD Application Team 5:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Header file of BUS LL module. 6:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 7:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** @verbatim 8:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ##### RCC Limitations ##### 9:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ============================================================================== 10:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** [..] 11:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** A delay between an RCC peripheral clock enable and the effective peripheral 12:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** enabling should be taken into account in order to manage the peripheral read/write 13:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** from/to registers. 14:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (+) This delay depends on the peripheral mapping. 15:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (++) AHB & APB peripherals, 1 dummy read is necessary 16:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 17:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** [..] 18:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** Workarounds: 19:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (#) For AHB & APB peripherals, a dummy read to the peripheral register has been 20:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** inserted in each LL_{BUS}_GRP{x}_EnableClock() function. 21:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ARM GAS /tmp/ccc82m4X.s page 7 22:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** @endverbatim 23:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ****************************************************************************** 24:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @attention 25:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 26:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * Copyright (c) 2016 STMicroelectronics. 27:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * All rights reserved. 28:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 29:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * This software is licensed under terms that can be found in the LICENSE file in 30:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * the root directory of this software component. 31:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * If no LICENSE file comes with this software, it is provided AS-IS. 32:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ****************************************************************************** 33:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 34:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 35:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 36:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #ifndef __STM32F1xx_LL_BUS_H 37:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define __STM32F1xx_LL_BUS_H 38:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 39:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #ifdef __cplusplus 40:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** extern "C" { 41:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif 42:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 43:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Includes ------------------------------------------------------------------*/ 44:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #include "stm32f1xx.h" 45:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 46:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @addtogroup STM32F1xx_LL_Driver 47:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 48:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 49:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 50:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(RCC) 51:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 52:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL BUS 53:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 54:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 55:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 56:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Private types -------------------------------------------------------------*/ 57:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Private variables ---------------------------------------------------------*/ 58:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 59:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Private constants ---------------------------------------------------------*/ 60:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(RCC_AHBRSTR_OTGFSRST) || defined(RCC_AHBRSTR_ETHMACRST) 61:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define RCC_AHBRSTR_SUPPORT 62:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /* RCC_AHBRSTR_OTGFSRST || RCC_AHBRSTR_ETHMACRST */ 63:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 64:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Private macros ------------------------------------------------------------*/ 65:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 66:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Exported types ------------------------------------------------------------*/ 67:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Exported constants --------------------------------------------------------*/ 68:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Constants BUS Exported Constants 69:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 70:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 71:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 72:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EC_AHB1_GRP1_PERIPH AHB1 GRP1 PERIPH 73:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 74:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 75:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU 76:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRC RCC_AHBENR_CRCEN 77:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA1 RCC_AHBENR_DMA1EN 78:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(DMA2) ARM GAS /tmp/ccc82m4X.s page 8 79:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA2 RCC_AHBENR_DMA2EN 80:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*DMA2*/ 81:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(ETH) 82:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ETHMAC RCC_AHBENR_ETHMACEN 83:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ETHMACRX RCC_AHBENR_ETHMACRXEN 84:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ETHMACTX RCC_AHBENR_ETHMACTXEN 85:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*ETH*/ 86:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_FLASH RCC_AHBENR_FLITFEN 87:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(FSMC_Bank1) 88:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_FSMC RCC_AHBENR_FSMCEN 89:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*FSMC_Bank1*/ 90:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(USB_OTG_FS) 91:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_OTGFS RCC_AHBENR_OTGFSEN 92:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*USB_OTG_FS*/ 93:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(SDIO) 94:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_SDIO RCC_AHBENR_SDIOEN 95:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*SDIO*/ 96:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_SRAM RCC_AHBENR_SRAMEN 97:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 98:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @} 99:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 100:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 101:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB1_GRP1_PERIPH APB1 GRP1 PERIPH 102:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 103:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 104:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU 105:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_BKP RCC_APB1ENR_BKPEN 106:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(CAN1) 107:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CAN1 RCC_APB1ENR_CAN1EN 108:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*CAN1*/ 109:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(CAN2) 110:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CAN2 RCC_APB1ENR_CAN2EN 111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*CAN2*/ 112:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(CEC) 113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CEC RCC_APB1ENR_CECEN 114:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*CEC*/ 115:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(DAC) 116:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_DAC1 RCC_APB1ENR_DACEN 117:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*DAC*/ 118:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C1 RCC_APB1ENR_I2C1EN 119:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(I2C2) 120:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C2 RCC_APB1ENR_I2C2EN 121:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*I2C2*/ 122:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_PWR RCC_APB1ENR_PWREN 123:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(SPI2) 124:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI2 RCC_APB1ENR_SPI2EN 125:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*SPI2*/ 126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(SPI3) 127:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI3 RCC_APB1ENR_SPI3EN 128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*SPI3*/ 129:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM12) 130:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM12 RCC_APB1ENR_TIM12EN 131:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM12*/ 132:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM13) 133:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM13 RCC_APB1ENR_TIM13EN 134:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM13*/ 135:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM14) ARM GAS /tmp/ccc82m4X.s page 9 136:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM14 RCC_APB1ENR_TIM14EN 137:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM14*/ 138:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM2 RCC_APB1ENR_TIM2EN 139:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM3 RCC_APB1ENR_TIM3EN 140:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM4) 141:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM4 RCC_APB1ENR_TIM4EN 142:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM4*/ 143:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM5) 144:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM5 RCC_APB1ENR_TIM5EN 145:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM5*/ 146:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM6) 147:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM6 RCC_APB1ENR_TIM6EN 148:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM6*/ 149:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM7) 150:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM7 RCC_APB1ENR_TIM7EN 151:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM7*/ 152:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(UART4) 153:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UART4 RCC_APB1ENR_UART4EN 154:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*UART4*/ 155:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(UART5) 156:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UART5 RCC_APB1ENR_UART5EN 157:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*UART5*/ 158:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART2 RCC_APB1ENR_USART2EN 159:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(USART3) 160:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART3 RCC_APB1ENR_USART3EN 161:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*USART3*/ 162:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(USB) 163:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USB RCC_APB1ENR_USBEN 164:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*USB*/ 165:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_WWDG RCC_APB1ENR_WWDGEN 166:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 167:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @} 168:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 169:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 170:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB2_GRP1_PERIPH APB2 GRP1 PERIPH 171:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 172:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 173:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU 174:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC1 RCC_APB2ENR_ADC1EN 175:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(ADC2) 176:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC2 RCC_APB2ENR_ADC2EN 177:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*ADC2*/ 178:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(ADC3) 179:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC3 RCC_APB2ENR_ADC3EN 180:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*ADC3*/ 181:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_AFIO RCC_APB2ENR_AFIOEN 182:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOA RCC_APB2ENR_IOPAEN 183:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOB RCC_APB2ENR_IOPBEN 184:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOC RCC_APB2ENR_IOPCEN 185:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOD RCC_APB2ENR_IOPDEN 186:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(GPIOE) 187:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOE RCC_APB2ENR_IOPEEN 188:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*GPIOE*/ 189:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(GPIOF) 190:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOF RCC_APB2ENR_IOPFEN 191:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*GPIOF*/ 192:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(GPIOG) ARM GAS /tmp/ccc82m4X.s page 10 193:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOG RCC_APB2ENR_IOPGEN 194:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*GPIOG*/ 195:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SPI1 RCC_APB2ENR_SPI1EN 196:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM10) 197:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM10 RCC_APB2ENR_TIM10EN 198:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM10*/ 199:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM11) 200:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM11 RCC_APB2ENR_TIM11EN 201:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM11*/ 202:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM15) 203:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM15 RCC_APB2ENR_TIM15EN 204:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM15*/ 205:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM16) 206:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM16 RCC_APB2ENR_TIM16EN 207:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM16*/ 208:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM17) 209:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM17 RCC_APB2ENR_TIM17EN 210:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM17*/ 211:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM1 RCC_APB2ENR_TIM1EN 212:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM8) 213:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM8 RCC_APB2ENR_TIM8EN 214:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM8*/ 215:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM9) 216:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM9 RCC_APB2ENR_TIM9EN 217:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM9*/ 218:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_USART1 RCC_APB2ENR_USART1EN 219:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 220:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @} 221:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 222:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 223:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 224:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @} 225:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 226:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 227:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Exported macro ------------------------------------------------------------*/ 228:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 229:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Exported functions --------------------------------------------------------*/ 230:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Functions BUS Exported Functions 231:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 232:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 233:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 234:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EF_AHB1 AHB1 235:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 236:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 237:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 238:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 239:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Enable AHB1 peripherals clock. 240:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBENR CRCEN LL_AHB1_GRP1_EnableClock\n 241:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA1EN LL_AHB1_GRP1_EnableClock\n 242:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA2EN LL_AHB1_GRP1_EnableClock\n 243:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACEN LL_AHB1_GRP1_EnableClock\n 244:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACRXEN LL_AHB1_GRP1_EnableClock\n 245:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACTXEN LL_AHB1_GRP1_EnableClock\n 246:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FLITFEN LL_AHB1_GRP1_EnableClock\n 247:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FSMCEN LL_AHB1_GRP1_EnableClock\n 248:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR OTGFSEN LL_AHB1_GRP1_EnableClock\n 249:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SDIOEN LL_AHB1_GRP1_EnableClock\n ARM GAS /tmp/ccc82m4X.s page 11 250:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SRAMEN LL_AHB1_GRP1_EnableClock 251:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 252:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 253:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 254:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2 (*) 255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 256:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACRX (*) 257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACTX (*) 258:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH 259:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FSMC (*) 260:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*) 261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SDIO (*) 262:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM 263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 264:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 265:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 267:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClock(uint32_t Periphs) 268:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 269:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __IO uint32_t tmpreg; 270:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->AHBENR, Periphs); 271:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 272:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBENR, Periphs); 273:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (void)tmpreg; 274:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 275:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 276:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 277:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Check if AHB1 peripheral clock is enabled or not 278:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBENR CRCEN LL_AHB1_GRP1_IsEnabledClock\n 279:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA1EN LL_AHB1_GRP1_IsEnabledClock\n 280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA2EN LL_AHB1_GRP1_IsEnabledClock\n 281:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACEN LL_AHB1_GRP1_IsEnabledClock\n 282:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACRXEN LL_AHB1_GRP1_IsEnabledClock\n 283:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACTXEN LL_AHB1_GRP1_IsEnabledClock\n 284:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FLITFEN LL_AHB1_GRP1_IsEnabledClock\n 285:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FSMCEN LL_AHB1_GRP1_IsEnabledClock\n 286:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR OTGFSEN LL_AHB1_GRP1_IsEnabledClock\n 287:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SDIOEN LL_AHB1_GRP1_IsEnabledClock\n 288:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SRAMEN LL_AHB1_GRP1_IsEnabledClock 289:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 290:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 291:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 292:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2 (*) 293:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 294:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACRX (*) 295:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACTX (*) 296:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH 297:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FSMC (*) 298:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*) 299:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SDIO (*) 300:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM 301:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 302:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 303:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval State of Periphs (1 or 0). 304:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 305:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_AHB1_GRP1_IsEnabledClock(uint32_t Periphs) 306:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { ARM GAS /tmp/ccc82m4X.s page 12 307:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** return (READ_BIT(RCC->AHBENR, Periphs) == Periphs); 308:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 309:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 310:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 311:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Disable AHB1 peripherals clock. 312:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBENR CRCEN LL_AHB1_GRP1_DisableClock\n 313:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA1EN LL_AHB1_GRP1_DisableClock\n 314:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA2EN LL_AHB1_GRP1_DisableClock\n 315:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACEN LL_AHB1_GRP1_DisableClock\n 316:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACRXEN LL_AHB1_GRP1_DisableClock\n 317:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACTXEN LL_AHB1_GRP1_DisableClock\n 318:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FLITFEN LL_AHB1_GRP1_DisableClock\n 319:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FSMCEN LL_AHB1_GRP1_DisableClock\n 320:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR OTGFSEN LL_AHB1_GRP1_DisableClock\n 321:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SDIOEN LL_AHB1_GRP1_DisableClock\n 322:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SRAMEN LL_AHB1_GRP1_DisableClock 323:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 324:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 325:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 326:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2 (*) 327:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 328:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACRX (*) 329:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACTX (*) 330:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH 331:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FSMC (*) 332:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*) 333:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SDIO (*) 334:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM 335:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 336:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 337:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 338:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 339:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClock(uint32_t Periphs) 340:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 341:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->AHBENR, Periphs); 342:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 343:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 344:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(RCC_AHBRSTR_SUPPORT) 345:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 346:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Force AHB1 peripherals reset. 347:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBRSTR ETHMACRST LL_AHB1_GRP1_ForceReset\n 348:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBRSTR OTGFSRST LL_AHB1_GRP1_ForceReset 349:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 350:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL 351:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 352:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*) 353:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 354:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 355:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 356:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 357:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ForceReset(uint32_t Periphs) 358:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 359:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->AHBRSTR, Periphs); 360:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 361:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 362:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 363:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Release AHB1 peripherals reset. ARM GAS /tmp/ccc82m4X.s page 13 364:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBRSTR ETHMACRST LL_AHB1_GRP1_ReleaseReset\n 365:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBRSTR OTGFSRST LL_AHB1_GRP1_ReleaseReset 366:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 367:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL 368:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 369:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*) 370:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 371:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 372:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 373:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 374:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ReleaseReset(uint32_t Periphs) 375:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 376:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->AHBRSTR, Periphs); 377:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 378:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /* RCC_AHBRSTR_SUPPORT */ 379:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 380:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 381:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @} 382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 383:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 384:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EF_APB1 APB1 385:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 386:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 387:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 388:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 389:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Enable APB1 peripherals clock. 390:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1ENR BKPEN LL_APB1_GRP1_EnableClock\n 391:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN1EN LL_APB1_GRP1_EnableClock\n 392:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN2EN LL_APB1_GRP1_EnableClock\n 393:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CECEN LL_APB1_GRP1_EnableClock\n 394:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_EnableClock\n 395:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_EnableClock\n 396:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_EnableClock\n 397:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_EnableClock\n 398:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_EnableClock\n 399:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI3EN LL_APB1_GRP1_EnableClock\n 400:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM12EN LL_APB1_GRP1_EnableClock\n 401:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM13EN LL_APB1_GRP1_EnableClock\n 402:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM14EN LL_APB1_GRP1_EnableClock\n 403:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM2EN LL_APB1_GRP1_EnableClock\n 404:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_EnableClock\n 405:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM4EN LL_APB1_GRP1_EnableClock\n 406:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM5EN LL_APB1_GRP1_EnableClock\n 407:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_EnableClock\n 408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_EnableClock\n 409:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART4EN LL_APB1_GRP1_EnableClock\n 410:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART5EN LL_APB1_GRP1_EnableClock\n 411:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_EnableClock\n 412:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART3EN LL_APB1_GRP1_EnableClock\n 413:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_EnableClock\n 414:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_EnableClock 415:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 416:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP 417:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*) 418:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*) 419:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*) 420:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) ARM GAS /tmp/ccc82m4X.s page 14 421:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 423:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 424:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 425:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*) 426:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*) 427:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*) 428:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*) 429:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 430:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 431:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*) 432:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*) 433:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 434:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 435:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*) 436:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*) 437:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 438:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*) 439:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 440:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 441:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 442:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 443:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 444:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 445:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_EnableClock(uint32_t Periphs) 446:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 447:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __IO uint32_t tmpreg; 448:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->APB1ENR, Periphs); 449:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 450:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APB1ENR, Periphs); 451:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (void)tmpreg; 452:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 453:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 454:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 455:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Check if APB1 peripheral clock is enabled or not 456:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1ENR BKPEN LL_APB1_GRP1_IsEnabledClock\n 457:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN1EN LL_APB1_GRP1_IsEnabledClock\n 458:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN2EN LL_APB1_GRP1_IsEnabledClock\n 459:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CECEN LL_APB1_GRP1_IsEnabledClock\n 460:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_IsEnabledClock\n 461:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_IsEnabledClock\n 462:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_IsEnabledClock\n 463:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_IsEnabledClock\n 464:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_IsEnabledClock\n 465:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI3EN LL_APB1_GRP1_IsEnabledClock\n 466:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM12EN LL_APB1_GRP1_IsEnabledClock\n 467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM13EN LL_APB1_GRP1_IsEnabledClock\n 468:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM14EN LL_APB1_GRP1_IsEnabledClock\n 469:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM2EN LL_APB1_GRP1_IsEnabledClock\n 470:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_IsEnabledClock\n 471:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM4EN LL_APB1_GRP1_IsEnabledClock\n 472:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM5EN LL_APB1_GRP1_IsEnabledClock\n 473:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_IsEnabledClock\n 474:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_IsEnabledClock\n 475:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART4EN LL_APB1_GRP1_IsEnabledClock\n 476:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART5EN LL_APB1_GRP1_IsEnabledClock\n 477:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_IsEnabledClock\n ARM GAS /tmp/ccc82m4X.s page 15 478:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART3EN LL_APB1_GRP1_IsEnabledClock\n 479:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_IsEnabledClock\n 480:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_IsEnabledClock 481:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 482:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP 483:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*) 484:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*) 485:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*) 486:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 487:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 488:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 489:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 490:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 491:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*) 492:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*) 493:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*) 494:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*) 495:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 497:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*) 498:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*) 499:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 500:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 501:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*) 502:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*) 503:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 504:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*) 505:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 506:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 507:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 508:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 509:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval State of Periphs (1 or 0). 510:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 511:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_APB1_GRP1_IsEnabledClock(uint32_t Periphs) 512:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 513:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** return (READ_BIT(RCC->APB1ENR, Periphs) == Periphs); 514:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 515:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 516:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 517:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Disable APB1 peripherals clock. 518:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1ENR BKPEN LL_APB1_GRP1_DisableClock\n 519:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN1EN LL_APB1_GRP1_DisableClock\n 520:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN2EN LL_APB1_GRP1_DisableClock\n 521:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CECEN LL_APB1_GRP1_DisableClock\n 522:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_DisableClock\n 523:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_DisableClock\n 524:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_DisableClock\n 525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_DisableClock\n 526:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_DisableClock\n 527:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI3EN LL_APB1_GRP1_DisableClock\n 528:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM12EN LL_APB1_GRP1_DisableClock\n 529:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM13EN LL_APB1_GRP1_DisableClock\n 530:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM14EN LL_APB1_GRP1_DisableClock\n 531:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM2EN LL_APB1_GRP1_DisableClock\n 532:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_DisableClock\n 533:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM4EN LL_APB1_GRP1_DisableClock\n 534:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM5EN LL_APB1_GRP1_DisableClock\n ARM GAS /tmp/ccc82m4X.s page 16 535:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_DisableClock\n 536:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_DisableClock\n 537:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART4EN LL_APB1_GRP1_DisableClock\n 538:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART5EN LL_APB1_GRP1_DisableClock\n 539:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_DisableClock\n 540:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART3EN LL_APB1_GRP1_DisableClock\n 541:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_DisableClock\n 542:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_DisableClock 543:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 544:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP 545:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*) 546:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*) 547:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*) 548:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 549:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 550:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 551:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 552:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 553:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*) 554:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*) 555:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*) 556:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*) 557:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 558:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 559:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*) 560:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*) 561:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 562:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 563:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*) 564:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*) 565:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 566:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*) 567:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 568:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 569:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 570:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 571:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 572:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 573:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_DisableClock(uint32_t Periphs) 574:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 575:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->APB1ENR, Periphs); 576:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 577:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 578:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 579:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Force APB1 peripherals reset. 580:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1RSTR BKPRST LL_APB1_GRP1_ForceReset\n 581:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CAN1RST LL_APB1_GRP1_ForceReset\n 582:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CAN2RST LL_APB1_GRP1_ForceReset\n 583:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CECRST LL_APB1_GRP1_ForceReset\n 584:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR DACRST LL_APB1_GRP1_ForceReset\n 585:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR I2C1RST LL_APB1_GRP1_ForceReset\n 586:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR I2C2RST LL_APB1_GRP1_ForceReset\n 587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR PWRRST LL_APB1_GRP1_ForceReset\n 588:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR SPI2RST LL_APB1_GRP1_ForceReset\n 589:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR SPI3RST LL_APB1_GRP1_ForceReset\n 590:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM12RST LL_APB1_GRP1_ForceReset\n 591:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM13RST LL_APB1_GRP1_ForceReset\n ARM GAS /tmp/ccc82m4X.s page 17 592:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM14RST LL_APB1_GRP1_ForceReset\n 593:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM2RST LL_APB1_GRP1_ForceReset\n 594:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM3RST LL_APB1_GRP1_ForceReset\n 595:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM4RST LL_APB1_GRP1_ForceReset\n 596:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM5RST LL_APB1_GRP1_ForceReset\n 597:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM6RST LL_APB1_GRP1_ForceReset\n 598:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM7RST LL_APB1_GRP1_ForceReset\n 599:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR UART4RST LL_APB1_GRP1_ForceReset\n 600:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR UART5RST LL_APB1_GRP1_ForceReset\n 601:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USART2RST LL_APB1_GRP1_ForceReset\n 602:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USART3RST LL_APB1_GRP1_ForceReset\n 603:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USBRST LL_APB1_GRP1_ForceReset\n 604:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR WWDGRST LL_APB1_GRP1_ForceReset 605:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 606:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_ALL 607:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP 608:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*) 609:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*) 610:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*) 611:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 612:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 613:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 614:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 615:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 616:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*) 617:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*) 618:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*) 619:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*) 620:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 621:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 622:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*) 623:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*) 624:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 625:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 626:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*) 627:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*) 628:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 629:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*) 630:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 631:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 632:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 633:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 634:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 635:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 636:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_ForceReset(uint32_t Periphs) 637:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 638:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->APB1RSTR, Periphs); 639:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 640:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 641:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 642:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Release APB1 peripherals reset. 643:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1RSTR BKPRST LL_APB1_GRP1_ReleaseReset\n 644:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CAN1RST LL_APB1_GRP1_ReleaseReset\n 645:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CAN2RST LL_APB1_GRP1_ReleaseReset\n 646:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CECRST LL_APB1_GRP1_ReleaseReset\n 647:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR DACRST LL_APB1_GRP1_ReleaseReset\n 648:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR I2C1RST LL_APB1_GRP1_ReleaseReset\n ARM GAS /tmp/ccc82m4X.s page 18 649:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR I2C2RST LL_APB1_GRP1_ReleaseReset\n 650:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR PWRRST LL_APB1_GRP1_ReleaseReset\n 651:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR SPI2RST LL_APB1_GRP1_ReleaseReset\n 652:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR SPI3RST LL_APB1_GRP1_ReleaseReset\n 653:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM12RST LL_APB1_GRP1_ReleaseReset\n 654:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM13RST LL_APB1_GRP1_ReleaseReset\n 655:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM14RST LL_APB1_GRP1_ReleaseReset\n 656:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM2RST LL_APB1_GRP1_ReleaseReset\n 657:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM3RST LL_APB1_GRP1_ReleaseReset\n 658:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM4RST LL_APB1_GRP1_ReleaseReset\n 659:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM5RST LL_APB1_GRP1_ReleaseReset\n 660:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM6RST LL_APB1_GRP1_ReleaseReset\n 661:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM7RST LL_APB1_GRP1_ReleaseReset\n 662:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR UART4RST LL_APB1_GRP1_ReleaseReset\n 663:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR UART5RST LL_APB1_GRP1_ReleaseReset\n 664:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USART2RST LL_APB1_GRP1_ReleaseReset\n 665:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USART3RST LL_APB1_GRP1_ReleaseReset\n 666:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USBRST LL_APB1_GRP1_ReleaseReset\n 667:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR WWDGRST LL_APB1_GRP1_ReleaseReset 668:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 669:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_ALL 670:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP 671:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*) 672:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*) 673:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*) 674:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 675:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 676:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 677:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 678:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 679:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*) 680:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*) 681:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*) 682:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*) 683:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 684:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 685:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*) 686:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*) 687:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 688:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 689:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*) 690:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*) 691:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 692:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*) 693:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 694:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 695:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 696:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 697:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 698:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 699:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_ReleaseReset(uint32_t Periphs) 700:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 701:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->APB1RSTR, Periphs); 702:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 703:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 704:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 705:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @} ARM GAS /tmp/ccc82m4X.s page 19 706:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 707:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 708:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EF_APB2 APB2 709:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 710:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 711:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 712:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 713:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Enable APB2 peripherals clock. 714:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2ENR ADC1EN LL_APB2_GRP1_EnableClock\n 715:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC2EN LL_APB2_GRP1_EnableClock\n 716:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC3EN LL_APB2_GRP1_EnableClock\n 717:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR AFIOEN LL_APB2_GRP1_EnableClock\n 718:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPAEN LL_APB2_GRP1_EnableClock\n 719:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPBEN LL_APB2_GRP1_EnableClock\n 720:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPCEN LL_APB2_GRP1_EnableClock\n 721:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPDEN LL_APB2_GRP1_EnableClock\n 722:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPEEN LL_APB2_GRP1_EnableClock\n 723:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPFEN LL_APB2_GRP1_EnableClock\n 724:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPGEN LL_APB2_GRP1_EnableClock\n 725:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_EnableClock\n 726:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM10EN LL_APB2_GRP1_EnableClock\n 727:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM11EN LL_APB2_GRP1_EnableClock\n 728:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM15EN LL_APB2_GRP1_EnableClock\n 729:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM16EN LL_APB2_GRP1_EnableClock\n 730:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM17EN LL_APB2_GRP1_EnableClock\n 731:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM1EN LL_APB2_GRP1_EnableClock\n 732:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM8EN LL_APB2_GRP1_EnableClock\n 733:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM9EN LL_APB2_GRP1_EnableClock\n 734:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_EnableClock 735:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 736:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 737:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*) 738:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*) 739:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO 740:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA 741:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB 742:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC 743:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD 744:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*) 745:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*) 746:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*) 747:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 748:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*) 749:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*) 750:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*) 751:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*) 752:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*) 753:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1 754:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*) 755:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*) 756:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 757:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 758:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 759:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 760:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 761:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_EnableClock(uint32_t Periphs) 762:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { ARM GAS /tmp/ccc82m4X.s page 20 763:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __IO uint32_t tmpreg; 764:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->APB2ENR, Periphs); 765:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 766:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APB2ENR, Periphs); 767:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (void)tmpreg; 768:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 769:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 770:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 771:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Check if APB2 peripheral clock is enabled or not 772:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2ENR ADC1EN LL_APB2_GRP1_IsEnabledClock\n 773:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC2EN LL_APB2_GRP1_IsEnabledClock\n 774:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC3EN LL_APB2_GRP1_IsEnabledClock\n 775:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR AFIOEN LL_APB2_GRP1_IsEnabledClock\n 776:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPAEN LL_APB2_GRP1_IsEnabledClock\n 777:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPBEN LL_APB2_GRP1_IsEnabledClock\n 778:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPCEN LL_APB2_GRP1_IsEnabledClock\n 779:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPDEN LL_APB2_GRP1_IsEnabledClock\n 780:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPEEN LL_APB2_GRP1_IsEnabledClock\n 781:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPFEN LL_APB2_GRP1_IsEnabledClock\n 782:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPGEN LL_APB2_GRP1_IsEnabledClock\n 783:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_IsEnabledClock\n 784:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM10EN LL_APB2_GRP1_IsEnabledClock\n 785:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM11EN LL_APB2_GRP1_IsEnabledClock\n 786:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM15EN LL_APB2_GRP1_IsEnabledClock\n 787:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM16EN LL_APB2_GRP1_IsEnabledClock\n 788:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM17EN LL_APB2_GRP1_IsEnabledClock\n 789:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM1EN LL_APB2_GRP1_IsEnabledClock\n 790:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM8EN LL_APB2_GRP1_IsEnabledClock\n 791:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM9EN LL_APB2_GRP1_IsEnabledClock\n 792:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_IsEnabledClock 793:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 794:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 795:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*) 796:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*) 797:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO 798:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA 799:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB 800:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC 801:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD 802:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*) 803:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*) 804:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*) 805:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 806:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*) 807:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*) 808:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*) 809:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*) 810:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*) 811:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1 812:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*) 813:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*) 814:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 815:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 816:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 817:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval State of Periphs (1 or 0). 818:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 819:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_APB2_GRP1_IsEnabledClock(uint32_t Periphs) ARM GAS /tmp/ccc82m4X.s page 21 820:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** return (READ_BIT(RCC->APB2ENR, Periphs) == Periphs); 822:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 823:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 824:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 825:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Disable APB2 peripherals clock. 826:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2ENR ADC1EN LL_APB2_GRP1_DisableClock\n 827:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC2EN LL_APB2_GRP1_DisableClock\n 828:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC3EN LL_APB2_GRP1_DisableClock\n 829:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR AFIOEN LL_APB2_GRP1_DisableClock\n 830:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPAEN LL_APB2_GRP1_DisableClock\n 831:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPBEN LL_APB2_GRP1_DisableClock\n 832:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPCEN LL_APB2_GRP1_DisableClock\n 833:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPDEN LL_APB2_GRP1_DisableClock\n 834:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPEEN LL_APB2_GRP1_DisableClock\n 835:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPFEN LL_APB2_GRP1_DisableClock\n 836:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPGEN LL_APB2_GRP1_DisableClock\n 837:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_DisableClock\n 838:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM10EN LL_APB2_GRP1_DisableClock\n 839:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM11EN LL_APB2_GRP1_DisableClock\n 840:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM15EN LL_APB2_GRP1_DisableClock\n 841:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM16EN LL_APB2_GRP1_DisableClock\n 842:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM17EN LL_APB2_GRP1_DisableClock\n 843:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM1EN LL_APB2_GRP1_DisableClock\n 844:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM8EN LL_APB2_GRP1_DisableClock\n 845:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM9EN LL_APB2_GRP1_DisableClock\n 846:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_DisableClock 847:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 848:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 849:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*) 850:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*) 851:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO 852:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA 853:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB 854:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC 855:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD 856:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*) 857:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*) 858:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*) 859:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 860:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*) 861:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*) 862:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*) 863:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*) 864:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*) 865:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1 866:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*) 867:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*) 868:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 869:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 870:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 871:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 872:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 873:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_DisableClock(uint32_t Periphs) 874:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 875:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->APB2ENR, Periphs); 876:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } ARM GAS /tmp/ccc82m4X.s page 22 877:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 878:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 879:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Force APB2 peripherals reset. 880:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2RSTR ADC1RST LL_APB2_GRP1_ForceReset\n 881:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR ADC2RST LL_APB2_GRP1_ForceReset\n 882:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR ADC3RST LL_APB2_GRP1_ForceReset\n 883:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR AFIORST LL_APB2_GRP1_ForceReset\n 884:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPARST LL_APB2_GRP1_ForceReset\n 885:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPBRST LL_APB2_GRP1_ForceReset\n 886:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPCRST LL_APB2_GRP1_ForceReset\n 887:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPDRST LL_APB2_GRP1_ForceReset\n 888:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPERST LL_APB2_GRP1_ForceReset\n 889:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPFRST LL_APB2_GRP1_ForceReset\n 890:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPGRST LL_APB2_GRP1_ForceReset\n 891:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR SPI1RST LL_APB2_GRP1_ForceReset\n 892:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM10RST LL_APB2_GRP1_ForceReset\n 893:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM11RST LL_APB2_GRP1_ForceReset\n 894:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM15RST LL_APB2_GRP1_ForceReset\n 895:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM16RST LL_APB2_GRP1_ForceReset\n 896:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM17RST LL_APB2_GRP1_ForceReset\n 897:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM1RST LL_APB2_GRP1_ForceReset\n 898:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM8RST LL_APB2_GRP1_ForceReset\n 899:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM9RST LL_APB2_GRP1_ForceReset\n 900:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR USART1RST LL_APB2_GRP1_ForceReset 901:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 902:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ALL 903:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 904:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*) 905:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*) 906:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO 907:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA 908:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB 909:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC 910:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD 911:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*) 912:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*) 913:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*) 914:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 915:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*) 916:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*) 917:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*) 918:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*) 919:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*) 920:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1 921:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*) 922:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*) 923:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 924:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 925:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 926:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 927:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_ForceReset(uint32_t Periphs) 38 .loc 2 928 22 view .LVU3 39 .LBB29: 929:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->APB2RSTR, Periphs); 40 .loc 2 930 3 view .LVU4 ARM GAS /tmp/ccc82m4X.s page 23 41 0000 054B ldr r3, .L2 42 0002 DA68 ldr r2, [r3, #12] 43 0004 42F40072 orr r2, r2, #512 44 0008 DA60 str r2, [r3, #12] 45 .LVL1: 46 .loc 2 930 3 is_stmt 0 view .LVU5 47 .LBE29: 48 .LBE28: 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Release reset of ADC clock (core clock) */ 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_ADC1); 49 .loc 1 288 3 is_stmt 1 view .LVU6 50 .LBB30: 51 .LBI30: 931:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 932:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 933:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 934:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Release APB2 peripherals reset. 935:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2RSTR ADC1RST LL_APB2_GRP1_ReleaseReset\n 936:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR ADC2RST LL_APB2_GRP1_ReleaseReset\n 937:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR ADC3RST LL_APB2_GRP1_ReleaseReset\n 938:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR AFIORST LL_APB2_GRP1_ReleaseReset\n 939:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPARST LL_APB2_GRP1_ReleaseReset\n 940:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPBRST LL_APB2_GRP1_ReleaseReset\n 941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPCRST LL_APB2_GRP1_ReleaseReset\n 942:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPDRST LL_APB2_GRP1_ReleaseReset\n 943:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPERST LL_APB2_GRP1_ReleaseReset\n 944:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPFRST LL_APB2_GRP1_ReleaseReset\n 945:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPGRST LL_APB2_GRP1_ReleaseReset\n 946:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR SPI1RST LL_APB2_GRP1_ReleaseReset\n 947:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM10RST LL_APB2_GRP1_ReleaseReset\n 948:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM11RST LL_APB2_GRP1_ReleaseReset\n 949:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM15RST LL_APB2_GRP1_ReleaseReset\n 950:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM16RST LL_APB2_GRP1_ReleaseReset\n 951:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM17RST LL_APB2_GRP1_ReleaseReset\n 952:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM1RST LL_APB2_GRP1_ReleaseReset\n 953:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM8RST LL_APB2_GRP1_ReleaseReset\n 954:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM9RST LL_APB2_GRP1_ReleaseReset\n 955:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR USART1RST LL_APB2_GRP1_ReleaseReset 956:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 957:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ALL 958:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 959:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*) 960:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*) 961:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO 962:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA 963:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB 964:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC 965:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD 966:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*) 967:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*) 968:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*) 969:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 970:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*) 971:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*) 972:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*) 973:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*) ARM GAS /tmp/ccc82m4X.s page 24 974:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*) 975:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1 976:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*) 977:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*) 978:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 979:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 980:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 981:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 982:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_ReleaseReset(uint32_t Periphs) 52 .loc 2 983 22 view .LVU7 53 .LBB31: 984:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->APB2RSTR, Periphs); 54 .loc 2 985 3 view .LVU8 55 000a DA68 ldr r2, [r3, #12] 56 000c 22F40072 bic r2, r2, #512 57 0010 DA60 str r2, [r3, #12] 58 .LVL2: 59 .loc 2 985 3 is_stmt 0 view .LVU9 60 .LBE31: 61 .LBE30: 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** return SUCCESS; 62 .loc 1 290 3 is_stmt 1 view .LVU10 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 63 .loc 1 291 1 is_stmt 0 view .LVU11 64 0012 0020 movs r0, #0 65 .LVL3: 66 .loc 1 291 1 view .LVU12 67 0014 7047 bx lr 68 .L3: 69 0016 00BF .align 2 70 .L2: 71 0018 00100240 .word 1073876992 72 .cfi_endproc 73 .LFE156: 75 .section .text.LL_ADC_CommonInit,"ax",%progbits 76 .align 1 77 .global LL_ADC_CommonInit 78 .syntax unified 79 .thumb 80 .thumb_func 82 LL_ADC_CommonInit: 83 .LVL4: 84 .LFB157: 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Initialize some features of ADC common parameters 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (all ADC instances belonging to the same ADC common instance) 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * and multimode (for devices with several ADC instances available). 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note The setting of ADC common parameters is conditioned to 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * ADC instances state: 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * All ADC instances belonging to the same ADC common instance 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * must be disabled. 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADCxy_COMMON ADC common instance 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO ARM GAS /tmp/ccc82m4X.s page 25 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_CommonInitStruct Pointer to a @ref LL_ADC_CommonInitTypeDef structure 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval An ErrorStatus enumeration value: 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - SUCCESS: ADC common registers are initialized 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - ERROR: ADC common registers are not initialized 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus LL_ADC_CommonInit(ADC_Common_TypeDef *ADCxy_COMMON, LL_ADC_CommonInitTypeDef *ADC_Commo 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 85 .loc 1 309 1 is_stmt 1 view -0 86 .cfi_startproc 87 @ args = 0, pretend = 0, frame = 0 88 @ frame_needed = 0, uses_anonymous_args = 0 89 @ link register save eliminated. 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus status = SUCCESS; 90 .loc 1 310 3 view .LVU14 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check the parameters */ 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_ADC_COMMON_INSTANCE(ADCxy_COMMON)); 91 .loc 1 313 3 view .LVU15 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC_MULTIMODE_SUPPORT) 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_MULTI_MODE(ADC_CommonInitStruct->Multimode)); 92 .loc 1 315 3 view .LVU16 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif /* ADC_MULTIMODE_SUPPORT */ 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: Hardware constraint (refer to description of functions */ 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* "LL_ADC_SetCommonXXX()" and "LL_ADC_SetMultiXXX()"): */ 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* On this STM32 series, setting of these features is conditioned to */ 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC state: */ 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* All ADC instances of the ADC common group must be disabled. */ 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(__LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(ADCxy_COMMON) == 0U) 93 .loc 1 323 3 view .LVU17 94 .LBB32: 95 .LBI32: 96 .file 3 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h" 1:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ****************************************************************************** 3:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @file stm32f1xx_ll_adc.h 4:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @author MCD Application Team 5:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Header file of ADC LL module. 6:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ****************************************************************************** 7:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @attention 8:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 9:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Copyright (c) 2017 STMicroelectronics. 10:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * All rights reserved. 11:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 12:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This software is licensed under terms that can be found in the LICENSE file 13:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * in the root directory of this software component. 14:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * If no LICENSE file comes with this software, it is provided AS-IS. 15:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 16:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ****************************************************************************** 17:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 18:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 19:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 20:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #ifndef __STM32F1xx_LL_ADC_H 21:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __STM32F1xx_LL_ADC_H 22:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 23:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #ifdef __cplusplus 24:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** extern "C" { ARM GAS /tmp/ccc82m4X.s page 26 25:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif 26:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 27:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Includes ------------------------------------------------------------------*/ 28:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #include "stm32f1xx.h" 29:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 30:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @addtogroup STM32F1xx_LL_Driver 31:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 32:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 33:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 34:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined (ADC1) || defined (ADC2) || defined (ADC3) 35:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 36:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL ADC 37:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 38:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 39:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 40:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Private types -------------------------------------------------------------*/ 41:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Private variables ---------------------------------------------------------*/ 42:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 43:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Private constants ---------------------------------------------------------*/ 44:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_Private_Constants ADC Private Constants 45:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 46:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 47:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 48:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal mask for ADC group regular sequencer: */ 49:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* To select into literal LL_ADC_REG_RANK_x the relevant bits for: */ 50:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - sequencer register offset */ 51:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - sequencer rank bits position into the selected register */ 52:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 53:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal register offset for ADC group regular sequencer configuration */ 54:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (offset placed into a spare area of literal definition) */ 55:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_SQR1_REGOFFSET 0x00000000U 56:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_SQR2_REGOFFSET 0x00000100U 57:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_SQR3_REGOFFSET 0x00000200U 58:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_SQR4_REGOFFSET 0x00000300U 59:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 60:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_SQRX_REGOFFSET_MASK (ADC_SQR1_REGOFFSET | ADC_SQR2_REGOFFSET | ADC_SQR3_REGO 61:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_ID_SQRX_MASK (ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0) 62:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 63:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Definition of ADC group regular sequencer bits information to be inserted */ 64:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* into ADC group regular sequencer ranks literals definition. */ 65:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_1_SQRX_BITOFFSET_POS ( 0U) /* Value equivalent to POSITION_VAL(ADC_SQR3_SQ1) 66:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_2_SQRX_BITOFFSET_POS ( 5U) /* Value equivalent to POSITION_VAL(ADC_SQR3_SQ2) 67:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_3_SQRX_BITOFFSET_POS (10U) /* Value equivalent to POSITION_VAL(ADC_SQR3_SQ3) 68:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_4_SQRX_BITOFFSET_POS (15U) /* Value equivalent to POSITION_VAL(ADC_SQR3_SQ4) 69:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_5_SQRX_BITOFFSET_POS (20U) /* Value equivalent to POSITION_VAL(ADC_SQR3_SQ5) 70:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_6_SQRX_BITOFFSET_POS (25U) /* Value equivalent to POSITION_VAL(ADC_SQR3_SQ6) 71:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_7_SQRX_BITOFFSET_POS ( 0U) /* Value equivalent to POSITION_VAL(ADC_SQR2_SQ7) 72:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_8_SQRX_BITOFFSET_POS ( 5U) /* Value equivalent to POSITION_VAL(ADC_SQR2_SQ8) 73:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_9_SQRX_BITOFFSET_POS (10U) /* Value equivalent to POSITION_VAL(ADC_SQR2_SQ9) 74:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_10_SQRX_BITOFFSET_POS (15U) /* Value equivalent to POSITION_VAL(ADC_SQR2_SQ10) 75:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_11_SQRX_BITOFFSET_POS (20U) /* Value equivalent to POSITION_VAL(ADC_SQR2_SQ11) 76:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_12_SQRX_BITOFFSET_POS (25U) /* Value equivalent to POSITION_VAL(ADC_SQR2_SQ12) 77:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_13_SQRX_BITOFFSET_POS ( 0U) /* Value equivalent to POSITION_VAL(ADC_SQR1_SQ13) 78:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_14_SQRX_BITOFFSET_POS ( 5U) /* Value equivalent to POSITION_VAL(ADC_SQR1_SQ14) 79:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_15_SQRX_BITOFFSET_POS (10U) /* Value equivalent to POSITION_VAL(ADC_SQR1_SQ15) 80:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_REG_RANK_16_SQRX_BITOFFSET_POS (15U) /* Value equivalent to POSITION_VAL(ADC_SQR1_SQ16) 81:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ARM GAS /tmp/ccc82m4X.s page 27 82:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal mask for ADC group injected sequencer: */ 83:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* To select into literal LL_ADC_INJ_RANK_x the relevant bits for: */ 84:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - data register offset */ 85:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - offset register offset */ 86:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - sequencer rank bits position into the selected register */ 87:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 88:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal register offset for ADC group injected data register */ 89:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (offset placed into a spare area of literal definition) */ 90:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JDR1_REGOFFSET 0x00000000U 91:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JDR2_REGOFFSET 0x00000100U 92:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JDR3_REGOFFSET 0x00000200U 93:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JDR4_REGOFFSET 0x00000300U 94:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 95:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal register offset for ADC group injected offset configuration */ 96:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (offset placed into a spare area of literal definition) */ 97:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JOFR1_REGOFFSET 0x00000000U 98:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JOFR2_REGOFFSET 0x00001000U 99:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JOFR3_REGOFFSET 0x00002000U 100:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_JOFR4_REGOFFSET 0x00003000U 101:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 102:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_INJ_JDRX_REGOFFSET_MASK (ADC_JDR1_REGOFFSET | ADC_JDR2_REGOFFSET | ADC_JDR3_REGO 103:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_INJ_JOFRX_REGOFFSET_MASK (ADC_JOFR1_REGOFFSET | ADC_JOFR2_REGOFFSET | ADC_JOFR3_R 104:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_INJ_RANK_ID_JSQR_MASK (ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0) 105:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 106:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal mask for ADC channel: */ 107:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* To select into literal LL_ADC_CHANNEL_x the relevant bits for: */ 108:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - channel identifier defined by number */ 109:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - channel differentiation between external channels (connected to */ 110:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* GPIO pins) and internal channels (connected to internal paths) */ 111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - channel sampling time defined by SMPRx register offset */ 112:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* and SMPx bits positions into SMPRx register */ 113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_ID_NUMBER_MASK (ADC_CR1_AWDCH) 114:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS ( 0U)/* Value equivalent to POSITION_VAL(ADC_CHANNEL_ID 115:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_ID_MASK (ADC_CHANNEL_ID_NUMBER_MASK | ADC_CHANNEL_ID_INTERNAL_CH 116:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Equivalent mask of ADC_CHANNEL_NUMBER_MASK aligned on register LSB (bit 0) */ 117:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 0x0000001FU /* Equivalent to shift: (ADC_CHANNEL_NUMBER_ 118:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 119:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Channel differentiation between external and internal channels */ 120:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_ID_INTERNAL_CH 0x80000000U /* Marker of internal channel */ 121:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_ID_INTERNAL_CH_2 0x40000000U /* Marker of internal channel for other AD 122:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_ID_INTERNAL_CH_MASK (ADC_CHANNEL_ID_INTERNAL_CH | ADC_CHANNEL_ID_INTERNAL_CH 123:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 124:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal register offset for ADC channel sampling time configuration */ 125:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (offset placed into a spare area of literal definition) */ 126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_SMPR1_REGOFFSET 0x00000000U 127:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_SMPR2_REGOFFSET 0x02000000U 128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_SMPRX_REGOFFSET_MASK (ADC_SMPR1_REGOFFSET | ADC_SMPR2_REGOFFSET) 129:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 130:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_SMPx_BITOFFSET_MASK 0x01F00000U 131:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_SMPx_BITOFFSET_POS (20U) /* Value equivalent to POSITION_VAL(ADC_ 132:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 133:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Definition of channels ID number information to be inserted into */ 134:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* channels literals definition. */ 135:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_0_NUMBER 0x00000000U 136:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_1_NUMBER ( 137:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_2_NUMBER ( A 138:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_3_NUMBER ( A ARM GAS /tmp/ccc82m4X.s page 28 139:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_4_NUMBER ( ADC_CR1_AWDCH_2 140:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_5_NUMBER ( ADC_CR1_AWDCH_2 141:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_6_NUMBER ( ADC_CR1_AWDCH_2 | A 142:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_7_NUMBER ( ADC_CR1_AWDCH_2 | A 143:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_8_NUMBER ( ADC_CR1_AWDCH_3 144:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_9_NUMBER ( ADC_CR1_AWDCH_3 145:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_10_NUMBER ( ADC_CR1_AWDCH_3 | A 146:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_11_NUMBER ( ADC_CR1_AWDCH_3 | A 147:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_12_NUMBER ( ADC_CR1_AWDCH_3 | ADC_CR1_AWDCH_2 148:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_13_NUMBER ( ADC_CR1_AWDCH_3 | ADC_CR1_AWDCH_2 149:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_14_NUMBER ( ADC_CR1_AWDCH_3 | ADC_CR1_AWDCH_2 | A 150:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_15_NUMBER ( ADC_CR1_AWDCH_3 | ADC_CR1_AWDCH_2 | A 151:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_16_NUMBER (ADC_CR1_AWDCH_4 152:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_17_NUMBER (ADC_CR1_AWDCH_4 153:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 154:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Definition of channels sampling time information to be inserted into */ 155:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* channels literals definition. */ 156:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_0_SMP (ADC_SMPR2_REGOFFSET | (( 0U) << ADC_CHANNEL_SMPx_BITOFF 157:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_1_SMP (ADC_SMPR2_REGOFFSET | (( 3U) << ADC_CHANNEL_SMPx_BITOFF 158:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_2_SMP (ADC_SMPR2_REGOFFSET | (( 6U) << ADC_CHANNEL_SMPx_BITOFF 159:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_3_SMP (ADC_SMPR2_REGOFFSET | (( 9U) << ADC_CHANNEL_SMPx_BITOFF 160:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_4_SMP (ADC_SMPR2_REGOFFSET | ((12U) << ADC_CHANNEL_SMPx_BITOFF 161:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_5_SMP (ADC_SMPR2_REGOFFSET | ((15U) << ADC_CHANNEL_SMPx_BITOFF 162:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_6_SMP (ADC_SMPR2_REGOFFSET | ((18U) << ADC_CHANNEL_SMPx_BITOFF 163:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_7_SMP (ADC_SMPR2_REGOFFSET | ((21U) << ADC_CHANNEL_SMPx_BITOFF 164:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_8_SMP (ADC_SMPR2_REGOFFSET | ((24U) << ADC_CHANNEL_SMPx_BITOFF 165:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_9_SMP (ADC_SMPR2_REGOFFSET | ((27U) << ADC_CHANNEL_SMPx_BITOFF 166:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_10_SMP (ADC_SMPR1_REGOFFSET | (( 0U) << ADC_CHANNEL_SMPx_BITOFF 167:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_11_SMP (ADC_SMPR1_REGOFFSET | (( 3U) << ADC_CHANNEL_SMPx_BITOFF 168:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_12_SMP (ADC_SMPR1_REGOFFSET | (( 6U) << ADC_CHANNEL_SMPx_BITOFF 169:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_13_SMP (ADC_SMPR1_REGOFFSET | (( 9U) << ADC_CHANNEL_SMPx_BITOFF 170:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_14_SMP (ADC_SMPR1_REGOFFSET | ((12U) << ADC_CHANNEL_SMPx_BITOFF 171:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_15_SMP (ADC_SMPR1_REGOFFSET | ((15U) << ADC_CHANNEL_SMPx_BITOFF 172:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_16_SMP (ADC_SMPR1_REGOFFSET | ((18U) << ADC_CHANNEL_SMPx_BITOFF 173:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CHANNEL_17_SMP (ADC_SMPR1_REGOFFSET | ((21U) << ADC_CHANNEL_SMPx_BITOFF 174:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 175:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal mask for ADC analog watchdog: */ 176:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* To select into literals LL_ADC_AWD_CHANNELx_xxx the relevant bits for: */ 177:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (concatenation of multiple bits used in different analog watchdogs, */ 178:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (feature of several watchdogs not available on all STM32 families)). */ 179:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - analog watchdog 1: monitored channel defined by number, */ 180:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* selection of ADC group (ADC groups regular and-or injected). */ 181:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 182:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal register offset for ADC analog watchdog channel configuration */ 183:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_AWD_CR1_REGOFFSET 0x00000000U 184:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 185:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_AWD_CRX_REGOFFSET_MASK (ADC_AWD_CR1_REGOFFSET) 186:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 187:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_AWD_CR1_CHANNEL_MASK (ADC_CR1_AWDCH | ADC_CR1_JAWDEN | ADC_CR1_AWDEN | ADC_CR 188:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_AWD_CR_ALL_CHANNEL_MASK (ADC_AWD_CR1_CHANNEL_MASK) 189:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 190:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Internal register offset for ADC analog watchdog threshold configuration */ 191:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_AWD_TR1_HIGH_REGOFFSET 0x00000000U 192:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_AWD_TR1_LOW_REGOFFSET 0x00000001U 193:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_AWD_TRX_REGOFFSET_MASK (ADC_AWD_TR1_HIGH_REGOFFSET | ADC_AWD_TR1_LOW_REGOFFSET) 194:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 195:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC registers bits positions */ ARM GAS /tmp/ccc82m4X.s page 29 196:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define ADC_CR1_DUALMOD_BITOFFSET_POS (16U) /* Value equivalent to POSITION_VAL(ADC_CR1_DUALMO 197:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 198:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 199:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 200:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 201:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 202:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 203:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Private macros ------------------------------------------------------------*/ 204:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_Private_Macros ADC Private Macros 205:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 206:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 207:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 208:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 209:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Driver macro reserved for internal use: isolate bits with the 210:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * selected mask and shift them to the register LSB 211:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (shift mask on register position bit 0). 212:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __BITS__ Bits in register 32 bits 213:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __MASK__ Mask in register 32 bits 214:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Bits in register 32 bits 215:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 216:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __ADC_MASK_SHIFT(__BITS__, __MASK__) \ 217:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__BITS__) & (__MASK__)) >> POSITION_VAL((__MASK__))) 218:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 219:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 220:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Driver macro reserved for internal use: set a pointer to 221:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * a register from a register basis from which an offset 222:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is applied. 223:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __REG__ Register basis from which the offset is applied. 224:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __REG_OFFFSET__ Offset to be applied (unit: number of registers). 225:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Pointer to register address 226:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 227:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __ADC_PTR_REG_OFFSET(__REG__, __REG_OFFFSET__) \ 228:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__IO uint32_t *)((uint32_t) ((uint32_t)(&(__REG__)) + ((__REG_OFFFSET__) << 2U)))) 229:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 230:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 231:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 232:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 233:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 234:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 235:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Exported types ------------------------------------------------------------*/ 236:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(USE_FULL_LL_DRIVER) 237:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_ES_INIT ADC Exported Init structure 238:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 239:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 240:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 241:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 242:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Structure definition of some features of ADC common parameters 243:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and multimode 244:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (all ADC instances belonging to the same ADC common instance). 245:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The setting of these parameters by function @ref LL_ADC_CommonInit() 246:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC instances state (all ADC instances 247:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sharing the same ADC common instance): 248:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * All ADC instances sharing the same ADC common instance must be 249:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * disabled. 250:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 251:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** typedef struct 252:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { ARM GAS /tmp/ccc82m4X.s page 30 253:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t Multimode; /*!< Set ADC multimode configuration to operate in independ 254:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_MULTI_ 255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 256:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary 257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } LL_ADC_CommonInitTypeDef; 258:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 259:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Structure definition of some features of ADC instance. 260:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note These parameters have an impact on ADC scope: ADC instance. 261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Affects both group regular and group injected (availability 262:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of ADC group injected depends on STM32 families). 263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to corresponding unitary functions into 264:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @ref ADC_LL_EF_Configuration_ADC_Instance . 265:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The setting of these parameters by function @ref LL_ADC_Init() 266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC state: 267:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC instance must be disabled. 268:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This condition is applied to all ADC features, for efficiency 269:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and compatibility over all STM32 families. However, the different 270:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * features can be set under different ADC state conditions 271:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (setting possible with ADC enabled without conversion on going, 272:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC enabled with conversion on going, ...) 273:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Each feature can be updated afterwards with a unitary function 274:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and potentially with ADC in a different state than disabled, 275:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * refer to description of each function for setting 276:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * conditioned to ADC state. 277:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 278:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** typedef struct 279:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t DataAlignment; /*!< Set ADC conversion data alignment. 281:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_DATA_A 282:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 283:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary 284:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 285:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t SequencersScanMode; /*!< Set ADC scan selection. 286:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_SCAN_S 287:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 288:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary 289:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 290:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } LL_ADC_InitTypeDef; 291:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 292:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 293:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Structure definition of some features of ADC group regular. 294:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note These parameters have an impact on ADC scope: ADC group regular. 295:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to corresponding unitary functions into 296:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @ref ADC_LL_EF_Configuration_ADC_Group_Regular 297:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (functions with prefix "REG"). 298:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The setting of these parameters by function @ref LL_ADC_REG_Init() 299:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC state: 300:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC instance must be disabled. 301:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This condition is applied to all ADC features, for efficiency 302:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and compatibility over all STM32 families. However, the different 303:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * features can be set under different ADC state conditions 304:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (setting possible with ADC enabled without conversion on going, 305:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC enabled with conversion on going, ...) 306:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Each feature can be updated afterwards with a unitary function 307:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and potentially with ADC in a different state than disabled, 308:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * refer to description of each function for setting 309:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * conditioned to ADC state. ARM GAS /tmp/ccc82m4X.s page 31 310:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 311:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** typedef struct 312:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 313:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t TriggerSource; /*!< Set ADC group regular conversion trigger source: inter 314:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_TR 315:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** @note On this STM32 series, external trigger is set wi 316:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (only trigger polarity available on this STM32 s 317:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 318:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary 319:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 320:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t SequencerLength; /*!< Set ADC group regular sequencer length. 321:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_SE 322:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** @note This parameter is discarded if scan mode is disa 323:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 324:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary 325:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 326:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t SequencerDiscont; /*!< Set ADC group regular sequencer discontinuous mode: se 327:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_SE 328:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** @note This parameter has an effect only if group regul 329:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (scan length of 2 ranks or more). 330:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 331:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary 332:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 333:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t ContinuousMode; /*!< Set ADC continuous conversion mode on ADC group regula 334:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_CO 335:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** Note: It is not possible to enable both ADC group regu 336:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 337:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary 338:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 339:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t DMATransfer; /*!< Set ADC group regular conversion data transfer: no tra 340:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_DM 341:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 342:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary 343:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 344:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } LL_ADC_REG_InitTypeDef; 345:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 346:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 347:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Structure definition of some features of ADC group injected. 348:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note These parameters have an impact on ADC scope: ADC group injected. 349:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to corresponding unitary functions into 350:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @ref ADC_LL_EF_Configuration_ADC_Group_Regular 351:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (functions with prefix "INJ"). 352:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The setting of these parameters by function @ref LL_ADC_INJ_Init() 353:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC state: 354:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC instance must be disabled. 355:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This condition is applied to all ADC features, for efficiency 356:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and compatibility over all STM32 families. However, the different 357:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * features can be set under different ADC state conditions 358:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (setting possible with ADC enabled without conversion on going, 359:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC enabled with conversion on going, ...) 360:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Each feature can be updated afterwards with a unitary function 361:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and potentially with ADC in a different state than disabled, 362:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * refer to description of each function for setting 363:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * conditioned to ADC state. 364:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 365:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** typedef struct 366:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { ARM GAS /tmp/ccc82m4X.s page 32 367:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t TriggerSource; /*!< Set ADC group injected conversion trigger source: inte 368:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_INJ_TR 369:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** @note On this STM32 series, external trigger is set wi 370:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (only trigger polarity available on this STM32 s 371:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 372:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary 373:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 374:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t SequencerLength; /*!< Set ADC group injected sequencer length. 375:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_INJ_SE 376:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** @note This parameter is discarded if scan mode is disa 377:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 378:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary 379:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 380:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t SequencerDiscont; /*!< Set ADC group injected sequencer discontinuous mode: s 381:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_INJ_SE 382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** @note This parameter has an effect only if group injec 383:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (scan length of 2 ranks or more). 384:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 385:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary 386:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 387:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t TrigAuto; /*!< Set ADC group injected conversion trigger: independent 388:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_INJ_TR 389:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** Note: This parameter must be set to set to independent 390:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 391:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** This feature can be modified afterwards using unitary 392:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 393:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } LL_ADC_INJ_InitTypeDef; 394:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 395:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 396:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 397:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 398:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif /* USE_FULL_LL_DRIVER */ 399:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 400:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Exported constants --------------------------------------------------------*/ 401:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_Exported_Constants ADC Exported Constants 402:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 403:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 404:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 405:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_FLAG ADC flags 406:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Flags defines which can be used with LL_ADC_ReadReg function 407:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 409:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_STRT ADC_SR_STRT /*!< ADC flag ADC group regular conve 410:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_EOS ADC_SR_EOC /*!< ADC flag ADC group regular end o 411:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_JSTRT ADC_SR_JSTRT /*!< ADC flag ADC group injected conv 412:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_JEOS ADC_SR_JEOC /*!< ADC flag ADC group injected end 413:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_AWD1 ADC_SR_AWD /*!< ADC flag ADC analog watchdog 1 * 414:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC_MULTIMODE_SUPPORT) 415:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_EOS_MST ADC_SR_EOC /*!< ADC flag ADC multimode master gr 416:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_EOS_SLV ADC_SR_EOC /*!< ADC flag ADC multimode slave gro 417:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_JEOS_MST ADC_SR_JEOC /*!< ADC flag ADC multimode master gr 418:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_JEOS_SLV ADC_SR_JEOC /*!< ADC flag ADC multimode slave gro 419:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_AWD1_MST ADC_SR_AWD /*!< ADC flag ADC multimode master an 420:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_FLAG_AWD1_SLV ADC_SR_AWD /*!< ADC flag ADC multimode slave ana 421:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif 422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 423:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} ARM GAS /tmp/ccc82m4X.s page 33 424:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 425:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 426:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_IT ADC interruptions for configuration (interruption enable or disable) 427:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief IT defines which can be used with LL_ADC_ReadReg and LL_ADC_WriteReg functions 428:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 429:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 430:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_IT_EOS ADC_CR1_EOCIE /*!< ADC interruption ADC group regul 431:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_IT_JEOS ADC_CR1_JEOCIE /*!< ADC interruption ADC group injec 432:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_IT_AWD1 ADC_CR1_AWDIE /*!< ADC interruption ADC analog watc 433:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 434:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 435:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 436:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 437:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REGISTERS ADC registers compliant with specific purpose 438:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 439:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 440:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* List of ADC registers intended to be used (most commonly) with */ 441:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* DMA transfer. */ 442:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Refer to function @ref LL_ADC_DMA_GetRegAddr(). */ 443:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_DMA_REG_REGULAR_DATA 0x00000000U /* ADC group regular conversion data reg 444:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC_MULTIMODE_SUPPORT) 445:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_DMA_REG_REGULAR_DATA_MULTI 0x00000001U /* ADC group regular conversion data reg 446:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif 447:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 448:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 449:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 450:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 451:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_COMMON_PATH_INTERNAL ADC common - Measurement path to internal channels 452:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 453:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 454:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: Other measurement paths to internal channels may be available */ 455:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (connections to other peripherals). */ 456:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* If they are not listed below, they do not require any specific */ 457:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* path enable. In this case, Access to measurement path is done */ 458:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* only by selecting the corresponding ADC internal channel. */ 459:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_PATH_INTERNAL_NONE 0x00000000U /*!< ADC measurement paths all di 460:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_PATH_INTERNAL_VREFINT (ADC_CR2_TSVREFE) /*!< ADC measurement path to inte 461:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_PATH_INTERNAL_TEMPSENSOR (ADC_CR2_TSVREFE) /*!< ADC measurement path to inte 462:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 463:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 464:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 465:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 466:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_RESOLUTION ADC instance - Resolution 467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 468:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 469:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_RESOLUTION_12B 0x00000000U /*!< ADC resolution 470:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 471:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 472:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 473:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 474:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_DATA_ALIGN ADC instance - Data alignment 475:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 476:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 477:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_DATA_ALIGN_RIGHT 0x00000000U /*!< ADC conversion data alignmen 478:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_DATA_ALIGN_LEFT (ADC_CR2_ALIGN) /*!< ADC conversion data alignmen 479:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 480:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} ARM GAS /tmp/ccc82m4X.s page 34 481:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 482:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 483:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_SCAN_SELECTION ADC instance - Scan selection 484:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 485:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 486:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SEQ_SCAN_DISABLE 0x00000000U /*!< ADC conversion is performed in unita 487:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SEQ_SCAN_ENABLE (ADC_CR1_SCAN) /*!< ADC conversions are performed in seq 488:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 489:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 490:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 491:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 492:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_GROUPS ADC instance - Groups 493:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 494:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 495:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_GROUP_REGULAR 0x00000001U /*!< ADC group regular (available on all S 496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_GROUP_INJECTED 0x00000002U /*!< ADC group injected (not available on 497:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_GROUP_REGULAR_INJECTED 0x00000003U /*!< ADC both groups regular and injected 498:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 499:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 500:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 501:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 502:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_CHANNEL ADC instance - Channel number 503:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 504:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 505:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_0 (ADC_CHANNEL_0_NUMBER | ADC_CHANNEL_0_SMP) /*!< ADC ex 506:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_1 (ADC_CHANNEL_1_NUMBER | ADC_CHANNEL_1_SMP) /*!< ADC ex 507:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_2 (ADC_CHANNEL_2_NUMBER | ADC_CHANNEL_2_SMP) /*!< ADC ex 508:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_3 (ADC_CHANNEL_3_NUMBER | ADC_CHANNEL_3_SMP) /*!< ADC ex 509:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_4 (ADC_CHANNEL_4_NUMBER | ADC_CHANNEL_4_SMP) /*!< ADC ex 510:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_5 (ADC_CHANNEL_5_NUMBER | ADC_CHANNEL_5_SMP) /*!< ADC ex 511:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_6 (ADC_CHANNEL_6_NUMBER | ADC_CHANNEL_6_SMP) /*!< ADC ex 512:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_7 (ADC_CHANNEL_7_NUMBER | ADC_CHANNEL_7_SMP) /*!< ADC ex 513:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_8 (ADC_CHANNEL_8_NUMBER | ADC_CHANNEL_8_SMP) /*!< ADC ex 514:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_9 (ADC_CHANNEL_9_NUMBER | ADC_CHANNEL_9_SMP) /*!< ADC ex 515:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_10 (ADC_CHANNEL_10_NUMBER | ADC_CHANNEL_10_SMP) /*!< ADC ex 516:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_11 (ADC_CHANNEL_11_NUMBER | ADC_CHANNEL_11_SMP) /*!< ADC ex 517:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_12 (ADC_CHANNEL_12_NUMBER | ADC_CHANNEL_12_SMP) /*!< ADC ex 518:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_13 (ADC_CHANNEL_13_NUMBER | ADC_CHANNEL_13_SMP) /*!< ADC ex 519:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_14 (ADC_CHANNEL_14_NUMBER | ADC_CHANNEL_14_SMP) /*!< ADC ex 520:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_15 (ADC_CHANNEL_15_NUMBER | ADC_CHANNEL_15_SMP) /*!< ADC ex 521:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_16 (ADC_CHANNEL_16_NUMBER | ADC_CHANNEL_16_SMP) /*!< ADC ex 522:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_17 (ADC_CHANNEL_17_NUMBER | ADC_CHANNEL_17_SMP) /*!< ADC ex 523:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_VREFINT (LL_ADC_CHANNEL_17 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD 524:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_CHANNEL_TEMPSENSOR (LL_ADC_CHANNEL_16 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD 525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 526:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 527:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 528:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 529:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_TRIGGER_SOURCE ADC group regular - Trigger source 530:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 531:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 532:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC group regular external triggers for ADC instances: ADC1, ADC2, ADC3 (for ADC instances ADCx 533:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_SOFTWARE (ADC_CR2_EXTSEL_2 | ADC_CR2_EXTSEL_1 | ADC_CR2_EXTSEL_0) 534:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM1_CH3 (ADC_CR2_EXTSEL_1) 535:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC group regular external triggers for ADC instances: ADC1, ADC2 (for ADC instances ADCx availa 536:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM1_CH1 0x00000000U 537:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM1_CH2 (ADC_CR2_EXTSEL_0) ARM GAS /tmp/ccc82m4X.s page 35 538:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM2_CH2 (ADC_CR2_EXTSEL_1 | ADC_CR2_EXTSEL_0) 539:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM3_TRGO (ADC_CR2_EXTSEL_2) 540:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM4_CH4 (ADC_CR2_EXTSEL_2 | ADC_CR2_EXTSEL_0) 541:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_EXTI_LINE11 (ADC_CR2_EXTSEL_2 | ADC_CR2_EXTSEL_1) 542:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined (STM32F101xE) || defined (STM32F103xE) || defined (STM32F103xG) || defined (STM32F105xC 543:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: TIM8_TRGO is available on ADC1 and ADC2 only in high-density and */ 544:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* XL-density devices. */ 545:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: To use TIM8_TRGO on ADC1 or ADC2, a remap of trigger must be done */ 546:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* A remap of trigger must be done at top level (refer to */ 547:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* AFIO peripheral). */ 548:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM8_TRGO (LL_ADC_REG_TRIG_EXT_EXTI_LINE11) 549:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif /* STM32F101xE || STM32F103xE || STM32F103xG || STM32F105xC || STM32F107xC */ 550:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined (STM32F103xE) || defined (STM32F103xG) 551:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC group regular external triggers for ADC instances: ADC3 (for ADC instances ADCx available on 552:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM3_CH1 (LL_ADC_REG_TRIG_EXT_TIM1_CH1) 553:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM2_CH3 (LL_ADC_REG_TRIG_EXT_TIM1_CH2) 554:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM8_CH1 (LL_ADC_REG_TRIG_EXT_TIM2_CH2) 555:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM8_TRGO_ADC3 (LL_ADC_REG_TRIG_EXT_TIM3_TRGO) 556:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM5_CH1 (LL_ADC_REG_TRIG_EXT_TIM4_CH4) 557:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM5_CH3 (LL_ADC_REG_TRIG_EXT_EXTI_LINE11) 558:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif 559:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 560:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 561:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 562:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 563:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_TRIGGER_EDGE ADC group regular - Trigger edge 564:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 565:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 566:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_RISING ADC_CR2_EXTTRIG /*!< ADC group r 567:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 568:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 569:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 570:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 571:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_CONTINUOUS_MODE ADC group regular - Continuous mode 572:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 573:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 574:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_CONV_SINGLE 0x00000000U /*!< ADC conversions are perform 575:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_CONV_CONTINUOUS (ADC_CR2_CONT) /*!< ADC conversions are perform 576:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 577:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 578:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 579:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 580:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_DMA_TRANSFER ADC group regular - DMA transfer of ADC conversion data 581:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 582:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 583:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_DMA_TRANSFER_NONE 0x00000000U /*!< ADC conversions are not tr 584:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_DMA_TRANSFER_UNLIMITED (ADC_CR2_DMA) /*!< ADC conversion 585:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 586:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 588:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 589:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_SEQ_SCAN_LENGTH ADC group regular - Sequencer scan length 590:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 591:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 592:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_DISABLE 0x00000000U 593:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS ( ADC_SQR1_L 594:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_3RANKS ( ADC_SQR1_L_1 ARM GAS /tmp/ccc82m4X.s page 36 595:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_4RANKS ( ADC_SQR1_L_1 | ADC_SQR1_L 596:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_5RANKS ( ADC_SQR1_L_2 597:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_6RANKS ( ADC_SQR1_L_2 | ADC_SQR1_L 598:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_7RANKS ( ADC_SQR1_L_2 | ADC_SQR1_L_1 599:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_8RANKS ( ADC_SQR1_L_2 | ADC_SQR1_L_1 | ADC_SQR1_L 600:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_9RANKS (ADC_SQR1_L_3 601:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_10RANKS (ADC_SQR1_L_3 | ADC_SQR1_L 602:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_11RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_1 603:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_12RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_1 | ADC_SQR1_L 604:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_13RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_2 605:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_14RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_2 | ADC_SQR1_L 606:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_15RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_2 | ADC_SQR1_L_1 607:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_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 608:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 609:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 610:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 611:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 612:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_SEQ_DISCONT_MODE ADC group regular - Sequencer discontinuous mode 613:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 614:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 615:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_DISABLE 0x00000000U 616:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_1RANK ( 617:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_2RANKS ( ADC_CR1_DISCNUM 618:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_3RANKS ( ADC_CR1_DISCNUM_1 619:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_4RANKS ( ADC_CR1_DISCNUM_1 | ADC_CR1_DISCNUM 620:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_5RANKS (ADC_CR1_DISCNUM_2 621:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_6RANKS (ADC_CR1_DISCNUM_2 | ADC_CR1_DISCNUM 622:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_7RANKS (ADC_CR1_DISCNUM_2 | ADC_CR1_DISCNUM_1 623:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_8RANKS (ADC_CR1_DISCNUM_2 | ADC_CR1_DISCNUM_1 | ADC_CR1_DISCNUM 624:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 625:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 626:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 627:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 628:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_SEQ_RANKS ADC group regular - Sequencer ranks 629:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 630:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 631:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_1 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_1_SQRX_BITOFFSET_POS) 632:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_2 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_2_SQRX_BITOFFSET_POS) 633:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_3 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_3_SQRX_BITOFFSET_POS) 634:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_4 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_4_SQRX_BITOFFSET_POS) 635:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_5 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_5_SQRX_BITOFFSET_POS) 636:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_6 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_6_SQRX_BITOFFSET_POS) 637:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_7 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_7_SQRX_BITOFFSET_POS) 638:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_8 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_8_SQRX_BITOFFSET_POS) 639:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_9 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_9_SQRX_BITOFFSET_POS) 640:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_10 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_10_SQRX_BITOFFSET_POS 641:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_11 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_11_SQRX_BITOFFSET_POS 642:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_12 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_12_SQRX_BITOFFSET_POS 643:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_13 (ADC_SQR1_REGOFFSET | ADC_REG_RANK_13_SQRX_BITOFFSET_POS 644:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_14 (ADC_SQR1_REGOFFSET | ADC_REG_RANK_14_SQRX_BITOFFSET_POS 645:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_15 (ADC_SQR1_REGOFFSET | ADC_REG_RANK_15_SQRX_BITOFFSET_POS 646:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_REG_RANK_16 (ADC_SQR1_REGOFFSET | ADC_REG_RANK_16_SQRX_BITOFFSET_POS 647:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 648:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 649:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 650:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 651:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_TRIGGER_SOURCE ADC group injected - Trigger source ARM GAS /tmp/ccc82m4X.s page 37 652:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 653:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 654:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC group injected external triggers for ADC instances: ADC1, ADC2, ADC3 (for ADC instances ADCx 655:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_SOFTWARE (ADC_CR2_JEXTSEL_2 | ADC_CR2_JEXTSEL_1 | ADC_CR2_JEXTSEL 656:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM1_TRGO 0x00000000U 657:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM1_CH4 (ADC_CR2_JEXTSEL_0) 658:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC group injected external triggers for ADC instances: ADC1, ADC2 (for ADC instances ADCx avail 659:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM2_TRGO (ADC_CR2_JEXTSEL_1) 660:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM2_CH1 (ADC_CR2_JEXTSEL_1 | ADC_CR2_JEXTSEL_0) 661:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM3_CH4 (ADC_CR2_JEXTSEL_2) 662:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM4_TRGO (ADC_CR2_JEXTSEL_2 | ADC_CR2_JEXTSEL_0) 663:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_EXTI_LINE15 (ADC_CR2_JEXTSEL_2 | ADC_CR2_JEXTSEL_1) 664:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined (STM32F101xE) || defined (STM32F103xE) || defined (STM32F103xG) || defined (STM32F105xC 665:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: TIM8_CH4 is available on ADC1 and ADC2 only in high-density and */ 666:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* XL-density devices. */ 667:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: To use TIM8_TRGO on ADC1 or ADC2, a remap of trigger must be done */ 668:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* A remap of trigger must be done at top level (refer to */ 669:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* AFIO peripheral). */ 670:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM8_CH4 (LL_ADC_INJ_TRIG_EXT_EXTI_LINE15) 671:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif /* STM32F101xE || STM32F103xE || STM32F103xG || STM32F105xC || STM32F107xC */ 672:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined (STM32F103xE) || defined (STM32F103xG) 673:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC group injected external triggers for ADC instances: ADC3 (for ADC instances ADCx available o 674:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM4_CH3 (LL_ADC_INJ_TRIG_EXT_TIM2_TRGO) 675:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM8_CH2 (LL_ADC_INJ_TRIG_EXT_TIM2_CH1) 676:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM8_CH4_ADC3 (LL_ADC_INJ_TRIG_EXT_TIM3_CH4) 677:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM5_TRGO (LL_ADC_INJ_TRIG_EXT_TIM4_TRGO) 678:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM5_CH4 (LL_ADC_INJ_TRIG_EXT_EXTI_LINE15) 679:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif 680:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 681:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 682:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 683:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 684:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_TRIGGER_EDGE ADC group injected - Trigger edge 685:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 686:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 687:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_RISING ADC_CR2_JEXTTRIG /*!< ADC group i 688:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 689:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 690:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 691:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 692:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_TRIG_AUTO ADC group injected - Automatic trigger mode 693:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 694:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 695:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_INDEPENDENT 0x00000000U /*!< ADC group injected conversio 696:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_FROM_GRP_REGULAR (ADC_CR1_JAUTO) /*!< ADC group injected conversio 697:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 698:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 699:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 700:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 701:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 702:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_SEQ_SCAN_LENGTH ADC group injected - Sequencer scan length 703:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 704:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 705:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_SCAN_DISABLE 0x00000000U /*!< ADC group injected 706:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS ( ADC_JSQR_JL_0) /*!< ADC group injected 707:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS (ADC_JSQR_JL_1 ) /*!< ADC group injected 708:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS (ADC_JSQR_JL_1 | ADC_JSQR_JL_0) /*!< ADC group injected ARM GAS /tmp/ccc82m4X.s page 38 709:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 710:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 711:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 712:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 713:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_SEQ_DISCONT_MODE ADC group injected - Sequencer discontinuous mode 714:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 715:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 716:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_DISCONT_DISABLE 0x00000000U /*!< ADC group injected sequencer 717:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_DISCONT_1RANK (ADC_CR1_JDISCEN) /*!< ADC group injected sequencer 718:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 719:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 720:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 721:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 722:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_SEQ_RANKS ADC group injected - Sequencer ranks 723:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 724:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 725:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_RANK_1 (ADC_JDR1_REGOFFSET | ADC_JOFR1_REGOFFSET | 0x00000001U) 726:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_RANK_2 (ADC_JDR2_REGOFFSET | ADC_JOFR2_REGOFFSET | 0x00000002U) 727:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_RANK_3 (ADC_JDR3_REGOFFSET | ADC_JOFR3_REGOFFSET | 0x00000003U) 728:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_INJ_RANK_4 (ADC_JDR4_REGOFFSET | ADC_JOFR4_REGOFFSET | 0x00000004U) 729:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 730:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 731:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 732:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 733:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_CHANNEL_SAMPLINGTIME Channel - Sampling time 734:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 735:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 736:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_1CYCLE_5 0x00000000U 737:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_7CYCLES_5 (ADC_SMPR2_SMP0_0) 738:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_13CYCLES_5 (ADC_SMPR2_SMP0_1) 739:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_28CYCLES_5 (ADC_SMPR2_SMP0_1 | ADC_SMPR2_SMP0_0) 740:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_41CYCLES_5 (ADC_SMPR2_SMP0_2) 741:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_55CYCLES_5 (ADC_SMPR2_SMP0_2 | ADC_SMPR2_SMP0_0) 742:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_71CYCLES_5 (ADC_SMPR2_SMP0_2 | ADC_SMPR2_SMP0_1) 743:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_239CYCLES_5 (ADC_SMPR2_SMP0_2 | ADC_SMPR2_SMP0_1 | ADC_SMPR2_SMP0_0) 744:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 745:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 746:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 747:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 748:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_AWD_NUMBER Analog watchdog - Analog watchdog number 749:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 750:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 751:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD1 (ADC_AWD_CR1_CHANNEL_MASK | ADC_AWD_CR1_REGOFFSET) /*!< 752:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 753:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 754:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 755:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 756:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_AWD_CHANNELS Analog watchdog - Monitored channels 757:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 758:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 759:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_DISABLE 0x00000000U 760:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_ALL_CHANNELS_REG ( 761:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_ALL_CHANNELS_INJ ( ADC_CR1_JAW 762:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_ALL_CHANNELS_REG_INJ ( ADC_CR1_JAW 763:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_0_REG ((LL_ADC_CHANNEL_0 & ADC_CHANNEL_ID_MASK) 764:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_0_INJ ((LL_ADC_CHANNEL_0 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 765:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_0_REG_INJ ((LL_ADC_CHANNEL_0 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW ARM GAS /tmp/ccc82m4X.s page 39 766:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_1_REG ((LL_ADC_CHANNEL_1 & ADC_CHANNEL_ID_MASK) 767:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_1_INJ ((LL_ADC_CHANNEL_1 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 768:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_1_REG_INJ ((LL_ADC_CHANNEL_1 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 769:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_2_REG ((LL_ADC_CHANNEL_2 & ADC_CHANNEL_ID_MASK) 770:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_2_INJ ((LL_ADC_CHANNEL_2 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 771:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_2_REG_INJ ((LL_ADC_CHANNEL_2 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 772:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_3_REG ((LL_ADC_CHANNEL_3 & ADC_CHANNEL_ID_MASK) 773:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_3_INJ ((LL_ADC_CHANNEL_3 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 774:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_3_REG_INJ ((LL_ADC_CHANNEL_3 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 775:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_4_REG ((LL_ADC_CHANNEL_4 & ADC_CHANNEL_ID_MASK) 776:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_4_INJ ((LL_ADC_CHANNEL_4 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 777:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_4_REG_INJ ((LL_ADC_CHANNEL_4 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 778:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_5_REG ((LL_ADC_CHANNEL_5 & ADC_CHANNEL_ID_MASK) 779:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_5_INJ ((LL_ADC_CHANNEL_5 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 780:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_5_REG_INJ ((LL_ADC_CHANNEL_5 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 781:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_6_REG ((LL_ADC_CHANNEL_6 & ADC_CHANNEL_ID_MASK) 782:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_6_INJ ((LL_ADC_CHANNEL_6 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 783:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_6_REG_INJ ((LL_ADC_CHANNEL_6 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 784:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_7_REG ((LL_ADC_CHANNEL_7 & ADC_CHANNEL_ID_MASK) 785:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_7_INJ ((LL_ADC_CHANNEL_7 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 786:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_7_REG_INJ ((LL_ADC_CHANNEL_7 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 787:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_8_REG ((LL_ADC_CHANNEL_8 & ADC_CHANNEL_ID_MASK) 788:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_8_INJ ((LL_ADC_CHANNEL_8 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 789:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_8_REG_INJ ((LL_ADC_CHANNEL_8 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 790:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_9_REG ((LL_ADC_CHANNEL_9 & ADC_CHANNEL_ID_MASK) 791:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_9_INJ ((LL_ADC_CHANNEL_9 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 792:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_9_REG_INJ ((LL_ADC_CHANNEL_9 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 793:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_10_REG ((LL_ADC_CHANNEL_10 & ADC_CHANNEL_ID_MASK) 794:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_10_INJ ((LL_ADC_CHANNEL_10 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 795:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_10_REG_INJ ((LL_ADC_CHANNEL_10 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 796:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_11_REG ((LL_ADC_CHANNEL_11 & ADC_CHANNEL_ID_MASK) 797:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_11_INJ ((LL_ADC_CHANNEL_11 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 798:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_11_REG_INJ ((LL_ADC_CHANNEL_11 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 799:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_12_REG ((LL_ADC_CHANNEL_12 & ADC_CHANNEL_ID_MASK) 800:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_12_INJ ((LL_ADC_CHANNEL_12 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 801:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_12_REG_INJ ((LL_ADC_CHANNEL_12 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 802:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_13_REG ((LL_ADC_CHANNEL_13 & ADC_CHANNEL_ID_MASK) 803:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_13_INJ ((LL_ADC_CHANNEL_13 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 804:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_13_REG_INJ ((LL_ADC_CHANNEL_13 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 805:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_14_REG ((LL_ADC_CHANNEL_14 & ADC_CHANNEL_ID_MASK) 806:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_14_INJ ((LL_ADC_CHANNEL_14 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 807:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_14_REG_INJ ((LL_ADC_CHANNEL_14 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 808:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_15_REG ((LL_ADC_CHANNEL_15 & ADC_CHANNEL_ID_MASK) 809:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_15_INJ ((LL_ADC_CHANNEL_15 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 810:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_15_REG_INJ ((LL_ADC_CHANNEL_15 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 811:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_16_REG ((LL_ADC_CHANNEL_16 & ADC_CHANNEL_ID_MASK) 812:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_16_INJ ((LL_ADC_CHANNEL_16 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 813:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_16_REG_INJ ((LL_ADC_CHANNEL_16 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 814:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_17_REG ((LL_ADC_CHANNEL_17 & ADC_CHANNEL_ID_MASK) 815:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_17_INJ ((LL_ADC_CHANNEL_17 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 816:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_17_REG_INJ ((LL_ADC_CHANNEL_17 & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAW 817:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CH_VREFINT_REG ((LL_ADC_CHANNEL_VREFINT & ADC_CHANNEL_ID_MASK) 818:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CH_VREFINT_INJ ((LL_ADC_CHANNEL_VREFINT & ADC_CHANNEL_ID_MASK) | ADC 819:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CH_VREFINT_REG_INJ ((LL_ADC_CHANNEL_VREFINT & ADC_CHANNEL_ID_MASK) | ADC 820:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CH_TEMPSENSOR_REG ((LL_ADC_CHANNEL_TEMPSENSOR & ADC_CHANNEL_ID_MASK) 821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CH_TEMPSENSOR_INJ ((LL_ADC_CHANNEL_TEMPSENSOR & ADC_CHANNEL_ID_MASK) | ADC 822:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_CH_TEMPSENSOR_REG_INJ ((LL_ADC_CHANNEL_TEMPSENSOR & ADC_CHANNEL_ID_MASK) | ADC ARM GAS /tmp/ccc82m4X.s page 40 823:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 824:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 825:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 826:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 827:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_AWD_THRESHOLDS Analog watchdog - Thresholds 828:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 829:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 830:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_THRESHOLD_HIGH (ADC_AWD_TR1_HIGH_REGOFFSET) /*!< ADC analog watchdog th 831:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_AWD_THRESHOLD_LOW (ADC_AWD_TR1_LOW_REGOFFSET) /*!< ADC analog watchdog th 832:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 833:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 834:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 835:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 836:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if !defined(ADC_MULTIMODE_SUPPORT) 837:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_MULTI_MODE Multimode - Mode 838:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 839:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 840:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_INDEPENDENT 0x00000000U 841:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 842:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 843:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 844:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif 845:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC_MULTIMODE_SUPPORT) 846:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_MULTI_MODE Multimode - Mode 847:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 848:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 849:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_INDEPENDENT 0x00000000U 850:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_SIMULT ( ADC_CR1_DUALMOD_2 | ADC_CR1_DUAL 851:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_INTERL_FAST ( ADC_CR1_DUALMOD_2 | ADC_CR1_DUAL 852:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_INTERL_SLOW (ADC_CR1_DUALMOD_3 853:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_INJ_SIMULT ( ADC_CR1_DUALMOD_2 854:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_INJ_ALTERN (ADC_CR1_DUALMOD_3 855:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM ( 856:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT ( ADC_CR1_DUAL 857:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_INTFAST_INJ_SIM ( ADC_CR1_DUAL 858:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_INTSLOW_INJ_SIM ( ADC_CR1_DUALMOD_2 859:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 860:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 861:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 862:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 863:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 864:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_MULTI_MASTER_SLAVE Multimode - ADC master or slave 865:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 866:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 867:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_MASTER ( ADC_DR_DATA) /*!< In multimode, selec 868:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_SLAVE (ADC_DR_ADC2DATA ) /*!< In multimode, selec 869:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_MULTI_MASTER_SLAVE (ADC_DR_ADC2DATA | ADC_DR_DATA) /*!< In multimode, selec 870:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 871:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 872:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 873:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 874:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif /* ADC_MULTIMODE_SUPPORT */ 875:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 876:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 877:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EC_HW_DELAYS Definitions of ADC hardware constraints delays 878:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Only ADC IP HW delays are defined in ADC LL driver driver, 879:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * not timeout values. ARM GAS /tmp/ccc82m4X.s page 41 880:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * For details on delays values, refer to descriptions in source code 881:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * above each literal definition. 882:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 883:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 884:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 885:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: Only ADC IP HW delays are defined in ADC LL driver driver, */ 886:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* not timeout values. */ 887:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Timeout values for ADC operations are dependent to device clock */ 888:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* configuration (system clock versus ADC clock), */ 889:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* and therefore must be defined in user application. */ 890:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Indications for estimation of ADC timeout delays, for this */ 891:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* STM32 series: */ 892:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - ADC enable time: maximum delay is 1us */ 893:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (refer to device datasheet, parameter "tSTAB") */ 894:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* - ADC conversion time: duration depending on ADC clock and ADC */ 895:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* configuration. */ 896:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* (refer to device reference manual, section "Timing") */ 897:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 898:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Delay for temperature sensor stabilization time. */ 899:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Literal set to maximum value (refer to device datasheet, */ 900:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* parameter "tSTART"). */ 901:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Unit: us */ 902:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_DELAY_TEMPSENSOR_STAB_US (10U) /*!< Delay for internal voltage reference stab 903:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 904:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Delay required between ADC disable and ADC calibration start. */ 905:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: On this STM32 series, before starting a calibration, */ 906:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ADC must be disabled. */ 907:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* A minimum number of ADC clock cycles are required */ 908:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* between ADC disable state and calibration start. */ 909:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Refer to literal @ref LL_ADC_DELAY_ENABLE_CALIB_ADC_CYCLES. */ 910:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Wait time can be computed in user application by waiting for the */ 911:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* equivalent number of CPU cycles, by taking into account */ 912:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ratio of CPU clock versus ADC clock prescalers. */ 913:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Unit: ADC clock cycles. */ 914:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_DELAY_DISABLE_CALIB_ADC_CYCLES (2U) /*!< Delay required between ADC disable and AD 915:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 916:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Delay required between end of ADC Enable and the start of ADC calibration. */ 917:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: On this STM32 series, a minimum number of ADC clock cycles */ 918:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* are required between the end of ADC enable and the start of ADC */ 919:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* calibration. */ 920:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Wait time can be computed in user application by waiting for the */ 921:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* equivalent number of CPU cycles, by taking into account */ 922:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* ratio of CPU clock versus ADC clock prescalers. */ 923:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Unit: ADC clock cycles. */ 924:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_DELAY_ENABLE_CALIB_ADC_CYCLES (2U) /*!< Delay required between end of ADC enable a 925:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 926:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 927:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 929:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 931:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 932:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 933:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 934:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 935:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Exported macro ------------------------------------------------------------*/ 936:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_Exported_Macros ADC Exported Macros ARM GAS /tmp/ccc82m4X.s page 42 937:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 938:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 939:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 940:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EM_WRITE_READ Common write and read registers Macros 941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 942:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 943:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 944:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 945:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Write a value in ADC register 946:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __INSTANCE__ ADC Instance 947:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __REG__ Register to be written 948:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __VALUE__ Value to be written in the register 949:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 950:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 951:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALUE 952:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 953:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 954:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Read a value in ADC register 955:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __INSTANCE__ ADC Instance 956:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __REG__ Register to be read 957:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Register value 958:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 959:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define LL_ADC_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__) 960:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 961:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 962:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 963:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 964:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EM_HELPER_MACRO ADC helper macro 965:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 966:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 967:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 968:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 969:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to get ADC channel number in decimal format 970:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * from literals LL_ADC_CHANNEL_x. 971:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Example: 972:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * __LL_ADC_CHANNEL_TO_DECIMAL_NB(LL_ADC_CHANNEL_4) 973:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * will return decimal number "4". 974:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The input can be a value from functions where a channel 975:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * number is returned, either defined with number 976:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or with bitfield (only one bit must be set). 977:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values: 978:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 979:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 980:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 981:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 982:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 984:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6 985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7 986:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8 987:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9 988:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10 989:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11 990:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12 991:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13 992:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14 993:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15 ARM GAS /tmp/ccc82m4X.s page 43 994:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16 995:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17 996:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1) 997:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) 998:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 999:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1. 1000:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value between Min_Data=0 and Max_Data=18 1001:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1002:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_CHANNEL_TO_DECIMAL_NB(__CHANNEL__) \ 1003:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__CHANNEL__) & ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) 1004:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1005:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1006:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to get ADC channel in literal format LL_ADC_CHANNEL_x 1007:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * from number in decimal format. 1008:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Example: 1009:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * __LL_ADC_DECIMAL_NB_TO_CHANNEL(4) 1010:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * will return a data equivalent to "LL_ADC_CHANNEL_4". 1011:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __DECIMAL_NB__: Value between Min_Data=0 and Max_Data=18 1012:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 1013:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 1014:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 1015:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 1016:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 1017:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 1018:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 1019:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6 1020:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7 1021:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8 1022:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9 1023:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10 1024:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11 1025:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12 1026:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13 1027:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14 1028:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15 1029:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16 1030:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17 1031:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1) 1032:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) 1033:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1034:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.\n 1035:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) For ADC channel read back from ADC register, 1036:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * comparison with internal channel parameter to be done 1037:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL(). 1038:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1039:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_DECIMAL_NB_TO_CHANNEL(__DECIMAL_NB__) 1040:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__DECIMAL_NB__) <= 9U) 1041:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ? ( 1042:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__DECIMAL_NB__) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) 1043:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (ADC_SMPR2_REGOFFSET | (((uint32_t) (3U * (__DECIMAL_NB__))) << ADC_CHANNEL_SMPx_BITOFFSET_P 1044:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) 1045:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** : 1046:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ( 1047:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__DECIMAL_NB__) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) 1048:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (ADC_SMPR1_REGOFFSET | (((uint32_t) (3U * ((__DECIMAL_NB__) - 10U))) << ADC_CHANNEL_SMPx_BIT 1049:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) 1050:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) ARM GAS /tmp/ccc82m4X.s page 44 1051:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1052:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1053:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to determine whether the selected channel 1054:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * corresponds to literal definitions of driver. 1055:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The different literal definitions of ADC channels are: 1056:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - ADC internal channel: 1057:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_CHANNEL_VREFINT, LL_ADC_CHANNEL_TEMPSENSOR, ... 1058:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - ADC external channel (channel connected to a GPIO pin): 1059:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ... 1060:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The channel parameter must be a value defined from literal 1061:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * definition of a ADC internal channel (LL_ADC_CHANNEL_VREFINT, 1062:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_CHANNEL_TEMPSENSOR, ...), 1063:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC external channel (LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ...), 1064:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * must not be a value from functions where a channel number is 1065:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * returned from ADC registers, 1066:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * because internal and external channels share the same channel 1067:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * number in ADC registers. The differentiation is made only with 1068:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * parameters definitions of driver. 1069:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values: 1070:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 1071:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 1072:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 1073:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 1074:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 1075:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 1076:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6 1077:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7 1078:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8 1079:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9 1080:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10 1081:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11 1082:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12 1083:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13 1084:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14 1085:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15 1086:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16 1087:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17 1088:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1) 1089:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) 1090:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1091:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1. 1092:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value "0" if the channel corresponds to a parameter definition of a ADC external channe 1093:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Value "1" if the channel corresponds to a parameter definition of a ADC internal channe 1094:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1095:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_IS_CHANNEL_INTERNAL(__CHANNEL__) \ 1096:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__CHANNEL__) & ADC_CHANNEL_ID_INTERNAL_CH_MASK) != 0U) 1097:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1098:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1099:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to convert a channel defined from parameter 1100:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * definition of a ADC internal channel (LL_ADC_CHANNEL_VREFINT, 1101:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_CHANNEL_TEMPSENSOR, ...), 1102:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * to its equivalent parameter definition of a ADC external channel 1103:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ...). 1104:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The channel parameter can be, additionally to a value 1105:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * defined from parameter definition of a ADC internal channel 1106:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (LL_ADC_CHANNEL_VREFINT, LL_ADC_CHANNEL_TEMPSENSOR, ...), 1107:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * a value defined from parameter definition of ARM GAS /tmp/ccc82m4X.s page 45 1108:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC external channel (LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ...) 1109:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or a value from functions where a channel number is returned 1110:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * from ADC registers. 1111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values: 1112:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 1113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 1114:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 1115:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 1116:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 1117:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 1118:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6 1119:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7 1120:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8 1121:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9 1122:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10 1123:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11 1124:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12 1125:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13 1126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14 1127:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15 1128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16 1129:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17 1130:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1) 1131:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) 1132:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1133:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1. 1134:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 1135:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 1136:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 1137:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 1138:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 1139:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 1140:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 1141:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6 1142:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7 1143:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8 1144:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9 1145:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10 1146:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11 1147:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12 1148:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13 1149:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14 1150:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15 1151:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16 1152:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17 1153:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1154:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL(__CHANNEL__) \ 1155:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__CHANNEL__) & ~ADC_CHANNEL_ID_INTERNAL_CH_MASK) 1156:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1157:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1158:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to determine whether the internal channel 1159:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * selected is available on the ADC instance selected. 1160:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note The channel parameter must be a value defined from parameter 1161:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * definition of a ADC internal channel (LL_ADC_CHANNEL_VREFINT, 1162:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_CHANNEL_TEMPSENSOR, ...), 1163:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * must not be a value defined from parameter definition of 1164:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC external channel (LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ...) ARM GAS /tmp/ccc82m4X.s page 46 1165:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or a value from functions where a channel number is 1166:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * returned from ADC registers, 1167:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * because internal and external channels share the same channel 1168:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * number in ADC registers. The differentiation is made only with 1169:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * parameters definitions of driver. 1170:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_INSTANCE__ ADC instance 1171:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values: 1172:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1) 1173:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) 1174:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1175:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1. 1176:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value "0" if the internal channel selected is not available on the ADC instance selecte 1177:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Value "1" if the internal channel selected is available on the ADC instance selected. 1178:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1179:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_IS_CHANNEL_INTERNAL_AVAILABLE(__ADC_INSTANCE__, __CHANNEL__) \ 1180:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__ADC_INSTANCE__) == ADC1) \ 1181:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ? ( \ 1182:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__CHANNEL__) == LL_ADC_CHANNEL_VREFINT) || \ 1183:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__CHANNEL__) == LL_ADC_CHANNEL_TEMPSENSOR) \ 1184:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) \ 1185:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** : \ 1186:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (0U) \ 1187:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) 1188:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1189:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1190:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to define ADC analog watchdog parameter: 1191:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * define a single channel to monitor with analog watchdog 1192:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * from sequencer channel and groups definition. 1193:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note To be used with function @ref LL_ADC_SetAnalogWDMonitChannels(). 1194:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Example: 1195:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_SetAnalogWDMonitChannels( 1196:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC1, LL_ADC_AWD1, 1197:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * __LL_ADC_ANALOGWD_CHANNEL_GROUP(LL_ADC_CHANNEL4, LL_ADC_GROUP_REGULAR)) 1198:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values: 1199:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 1200:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 1201:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 1202:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 1203:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 1204:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 1205:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6 1206:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7 1207:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8 1208:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9 1209:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10 1210:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11 1211:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12 1212:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13 1213:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14 1214:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15 1215:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16 1216:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17 1217:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1) 1218:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) 1219:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1220:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.\n 1221:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) For ADC channel read back from ADC register, ARM GAS /tmp/ccc82m4X.s page 47 1222:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * comparison with internal channel parameter to be done 1223:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL(). 1224:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __GROUP__ This parameter can be one of the following values: 1225:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_GROUP_REGULAR 1226:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_GROUP_INJECTED 1227:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_GROUP_REGULAR_INJECTED 1228:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 1229:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_DISABLE 1230:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG 1231:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_INJ 1232:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG_INJ 1233:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG 1234:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_INJ 1235:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG_INJ 1236:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG 1237:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_INJ 1238:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG_INJ 1239:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG 1240:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_INJ 1241:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG_INJ 1242:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG 1243:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_INJ 1244:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG_INJ 1245:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG 1246:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_INJ 1247:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG_INJ 1248:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG 1249:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_INJ 1250:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG_INJ 1251:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG 1252:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_INJ 1253:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG_INJ 1254:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG 1255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_INJ 1256:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG_INJ 1257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG 1258:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_INJ 1259:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG_INJ 1260:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG 1261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_INJ 1262:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG_INJ 1263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG 1264:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_INJ 1265:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG_INJ 1266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG 1267:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_INJ 1268:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG_INJ 1269:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG 1270:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_INJ 1271:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG_INJ 1272:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG 1273:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_INJ 1274:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG_INJ 1275:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG 1276:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_INJ 1277:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG_INJ 1278:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG ARM GAS /tmp/ccc82m4X.s page 48 1279:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_INJ 1280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG_INJ 1281:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG 1282:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_INJ 1283:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG_INJ 1284:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG 1285:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_INJ 1286:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG_INJ 1287:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_REG (1) 1288:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_INJ (1) 1289:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_REG_INJ (1) 1290:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_REG (1) 1291:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_INJ (1) 1292:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_REG_INJ (1) 1293:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1294:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1. 1295:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1296:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_ANALOGWD_CHANNEL_GROUP(__CHANNEL__, __GROUP__) 1297:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__GROUP__) == LL_ADC_GROUP_REGULAR) 1298:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ? (((__CHANNEL__) & ADC_CHANNEL_ID_MASK) | ADC_CR1_AWDEN | ADC_CR1_AWDSGL) 1299:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** : 1300:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__GROUP__) == LL_ADC_GROUP_INJECTED) 1301:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ? (((__CHANNEL__) & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAWDEN | ADC_CR1_AWDSGL) 1302:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** : 1303:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__CHANNEL__) & ADC_CHANNEL_ID_MASK) | ADC_CR1_JAWDEN | ADC_CR1_AWDEN | ADC_CR1_AWDSGL) 1304:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) 1305:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1306:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1307:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to set the value of ADC analog watchdog threshold high 1308:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or low in function of ADC resolution, when ADC resolution is 1309:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * different of 12 bits. 1310:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note To be used with function @ref LL_ADC_SetAnalogWDThresholds(). 1311:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Example, with a ADC resolution of 8 bits, to set the value of 1312:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * analog watchdog threshold high (on 8 bits): 1313:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_SetAnalogWDThresholds 1314:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (< ADCx param >, 1315:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * __LL_ADC_ANALOGWD_SET_THRESHOLD_RESOLUTION(LL_ADC_RESOLUTION_8B, = __LL_ADC_ANALOGWD_GET_THRESHOLD_RESOLUTION ARM GAS /tmp/ccc82m4X.s page 49 1336:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (LL_ADC_RESOLUTION_8B, 1337:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_GetAnalogWDThresholds(, LL_ADC_AWD_THRESHOLD_HIGH) 1338:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ); 1339:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_RESOLUTION__ This parameter can be one of the following values: 1340:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B 1341:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __AWD_THRESHOLD_12_BITS__ Value between Min_Data=0x000 and Max_Data=0xFFF 1342:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0xFFF 1343:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1344:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: On this STM32 series, ADC is fixed to resolution 12 bits. */ 1345:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* This macro has been kept anyway for compatibility with other */ 1346:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* STM32 families featuring different ADC resolutions. */ 1347:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_ANALOGWD_GET_THRESHOLD_RESOLUTION(__ADC_RESOLUTION__, __AWD_THRESHOLD_12_BITS__) \ 1348:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (__AWD_THRESHOLD_12_BITS__) 1349:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1350:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC_MULTIMODE_SUPPORT) 1351:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1352:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to get the ADC multimode conversion data of ADC master 1353:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or ADC slave from raw value with both ADC conversion data concatenated. 1354:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note This macro is intended to be used when multimode transfer by DMA 1355:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is enabled. 1356:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * In this case the transferred data need to processed with this macro 1357:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * to separate the conversion data of ADC master and ADC slave. 1358:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_MULTI_MASTER_SLAVE__ This parameter can be one of the following values: 1359:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_MASTER 1360:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_SLAVE 1361:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_MULTI_CONV_DATA__ Value between Min_Data=0x000 and Max_Data=0xFFF 1362:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0xFFF 1363:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1364:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE(__ADC_MULTI_MASTER_SLAVE__, __ADC_MULTI_CONV_DATA__) 1365:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__ADC_MULTI_CONV_DATA__) >> POSITION_VAL((__ADC_MULTI_MASTER_SLAVE__))) & ADC_DR_DATA) 1366:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif 1367:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1368:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1369:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to select the ADC common instance 1370:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * to which is belonging the selected ADC instance. 1371:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note ADC common register instance can be used for: 1372:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Set parameters common to several ADC instances 1373:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Multimode (for devices with several ADC instances) 1374:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to functions having argument "ADCxy_COMMON" as parameter. 1375:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On STM32F1, there is no common ADC instance. 1376:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * However, ADC instance ADC1 has a role of common ADC instance 1377:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * for ADC1 and ADC2: 1378:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * this instance is used to manage internal channels 1379:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and multimode (these features are managed in ADC common 1380:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * instances on some other STM32 devices). 1381:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC instance ADC3 (if available on the selected device) 1382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * has no ADC common instance. 1383:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADCx__ ADC instance 1384:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval ADC common register instance 1385:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1386:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC1) && defined(ADC2) && defined(ADC3) 1387:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_COMMON_INSTANCE(__ADCx__) \ 1388:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((((__ADCx__) == ADC1) || ((__ADCx__) == ADC2)) \ 1389:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ? ( \ 1390:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (ADC12_COMMON) \ 1391:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) \ 1392:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** : \ ARM GAS /tmp/ccc82m4X.s page 50 1393:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ( \ 1394:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (0U) \ 1395:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) \ 1396:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) 1397:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #elif defined(ADC1) && defined(ADC2) 1398:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_COMMON_INSTANCE(__ADCx__) \ 1399:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (ADC12_COMMON) 1400:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #else 1401:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_COMMON_INSTANCE(__ADCx__) \ 1402:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (ADC1_COMMON) 1403:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif 1404:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1405:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1406:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to check if all ADC instances sharing the same 1407:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC common instance are disabled. 1408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note This check is required by functions with setting conditioned to 1409:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC state: 1410:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * All ADC instances of the ADC common group must be disabled. 1411:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to functions having argument "ADCxy_COMMON" as parameter. 1412:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On devices with only 1 ADC common instance, parameter of this macro 1413:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is useless and can be ignored (parameter kept for compatibility 1414:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * with devices featuring several ADC common instances). 1415:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On STM32F1, there is no common ADC instance. 1416:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * However, ADC instance ADC1 has a role of common ADC instance 1417:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * for ADC1 and ADC2: 1418:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * this instance is used to manage internal channels 1419:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and multimode (these features are managed in ADC common 1420:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * instances on some other STM32 devices). 1421:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC instance ADC3 (if available on the selected device) 1422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * has no ADC common instance. 1423:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADCXY_COMMON__ ADC common instance 1424:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO 1425:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value "0" if all ADC instances sharing the same ADC common instance 1426:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * are disabled. 1427:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Value "1" if at least one ADC instance sharing the same ADC common instance 1428:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is enabled. 1429:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1430:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC1) && defined(ADC2) && defined(ADC3) 1431:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(__ADCXY_COMMON__) \ 1432:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (((__ADCXY_COMMON__) == ADC12_COMMON) \ 1433:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ? ( \ 1434:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (LL_ADC_IsEnabled(ADC1) | \ 1435:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** LL_ADC_IsEnabled(ADC2) ) \ 1436:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) \ 1437:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** : \ 1438:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ( \ 1439:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** LL_ADC_IsEnabled(ADC3) \ 1440:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) \ 1441:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) 1442:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #elif defined(ADC1) && defined(ADC2) 1443:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(__ADCXY_COMMON__) \ 1444:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (LL_ADC_IsEnabled(ADC1) | \ 1445:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** LL_ADC_IsEnabled(ADC2) ) 1446:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #else 1447:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(__ADCXY_COMMON__) \ 1448:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** LL_ADC_IsEnabled(ADC1) 1449:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif ARM GAS /tmp/ccc82m4X.s page 51 1450:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1451:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1452:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to define the ADC conversion data full-scale digital 1453:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * value corresponding to the selected ADC resolution. 1454:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note ADC conversion data full-scale corresponds to voltage range 1455:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * determined by analog voltage references Vref+ and Vref- 1456:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (refer to reference manual). 1457:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_RESOLUTION__ This parameter can be one of the following values: 1458:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B 1459:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval ADC conversion data equivalent voltage value (unit: mVolt) 1460:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1461:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_DIGITAL_SCALE(__ADC_RESOLUTION__) \ 1462:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (0xFFFU) 1463:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1464:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1465:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1466:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to calculate the voltage (unit: mVolt) 1467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * corresponding to a ADC conversion data (unit: digital value). 1468:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Analog reference voltage (Vref+) must be known from 1469:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * user board environment or can be calculated using ADC measurement. 1470:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __VREFANALOG_VOLTAGE__ Analog reference voltage (unit: mV) 1471:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_DATA__ ADC conversion data (resolution 12 bits) 1472:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (unit: digital value). 1473:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_RESOLUTION__ This parameter can be one of the following values: 1474:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B 1475:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval ADC conversion data equivalent voltage value (unit: mVolt) 1476:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1477:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_CALC_DATA_TO_VOLTAGE(__VREFANALOG_VOLTAGE__,\ 1478:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __ADC_DATA__,\ 1479:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __ADC_RESOLUTION__) \ 1480:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((__ADC_DATA__) * (__VREFANALOG_VOLTAGE__) \ 1481:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** / __LL_ADC_DIGITAL_SCALE(__ADC_RESOLUTION__) \ 1482:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) 1483:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1484:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1485:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1486:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Helper macro to calculate the temperature (unit: degree Celsius) 1487:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * from ADC conversion data of internal temperature sensor. 1488:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Computation is using temperature sensor typical values 1489:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (refer to device datasheet). 1490:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Calculation formula: 1491:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Temperature = (TS_TYP_CALx_VOLT(uV) - TS_ADC_DATA * Conversion_uV) 1492:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * / Avg_Slope + CALx_TEMP 1493:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * with TS_ADC_DATA = temperature sensor raw data measured by ADC 1494:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (unit: digital value) 1495:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Avg_Slope = temperature sensor slope 1496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (unit: uV/Degree Celsius) 1497:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * TS_TYP_CALx_VOLT = temperature sensor digital value at 1498:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * temperature CALx_TEMP (unit: mV) 1499:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Caution: Calculation relevancy under reserve the temperature sensor 1500:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of the current device has characteristics in line with 1501:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * datasheet typical values. 1502:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * If temperature sensor calibration values are available on 1503:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * on this device (presence of macro __LL_ADC_CALC_TEMPERATURE()), 1504:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * temperature calculation will be more accurate using 1505:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * helper macro @ref __LL_ADC_CALC_TEMPERATURE(). 1506:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note As calculation input, the analog reference voltage (Vref+) must be ARM GAS /tmp/ccc82m4X.s page 52 1507:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * defined as it impacts the ADC LSB equivalent voltage. 1508:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Analog reference voltage (Vref+) must be known from 1509:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * user board environment or can be calculated using ADC measurement. 1510:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note ADC measurement data must correspond to a resolution of 12bits 1511:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (full scale digital value 4095). If not the case, the data must be 1512:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * preliminarily rescaled to an equivalent resolution of 12 bits. 1513:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __TEMPSENSOR_TYP_AVGSLOPE__ Device datasheet data: Temperature sensor slope typical v 1514:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * On STM32F1, refer to device datasheet parameter "Avg_Slop 1515:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __TEMPSENSOR_TYP_CALX_V__ Device datasheet data: Temperature sensor voltage typical 1516:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * On STM32F1, refer to device datasheet parameter "V25". 1517:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __TEMPSENSOR_CALX_TEMP__ Device datasheet data: Temperature at which temperature s 1518:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __VREFANALOG_VOLTAGE__ Analog voltage reference (Vref+) voltage (unit: mV) 1519:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __TEMPSENSOR_ADC_DATA__ ADC conversion data of internal temperature sensor (unit: 1520:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param __ADC_RESOLUTION__ ADC resolution at which internal temperature sensor volta 1521:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This parameter can be one of the following values: 1522:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B 1523:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Temperature (unit: degree Celsius) 1524:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #define __LL_ADC_CALC_TEMPERATURE_TYP_PARAMS(__TEMPSENSOR_TYP_AVGSLOPE__,\ 1526:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __TEMPSENSOR_TYP_CALX_V__,\ 1527:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __TEMPSENSOR_CALX_TEMP__,\ 1528:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __VREFANALOG_VOLTAGE__,\ 1529:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __TEMPSENSOR_ADC_DATA__,\ 1530:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __ADC_RESOLUTION__) \ 1531:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ((( ( \ 1532:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (int32_t)(((__TEMPSENSOR_TYP_CALX_V__)) \ 1533:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1000) \ 1534:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** - \ 1535:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (int32_t)((((__TEMPSENSOR_ADC_DATA__) * (__VREFANALOG_VOLTAGE__)) \ 1536:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** / __LL_ADC_DIGITAL_SCALE(__ADC_RESOLUTION__)) \ 1537:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1000) \ 1538:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) \ 1539:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) / (__TEMPSENSOR_TYP_AVGSLOPE__) \ 1540:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) + (__TEMPSENSOR_CALX_TEMP__) \ 1541:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ) 1542:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1543:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1544:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 1545:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1546:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1547:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1548:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 1549:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1550:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1551:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1552:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Exported functions --------------------------------------------------------*/ 1553:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_Exported_Functions ADC Exported Functions 1554:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 1555:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1556:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1557:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_DMA_Management ADC DMA management 1558:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 1559:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1560:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: LL ADC functions to set DMA transfer are located into sections of */ 1561:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* configuration of ADC instance, groups and multimode (if available): */ 1562:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* @ref LL_ADC_REG_SetDMATransfer(), ... */ 1563:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ARM GAS /tmp/ccc82m4X.s page 53 1564:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1565:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Function to help to configure DMA transfer from ADC: retrieve the 1566:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC register address from ADC instance and a list of ADC registers 1567:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * intended to be used (most commonly) with DMA transfer. 1568:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note These ADC registers are data registers: 1569:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * when ADC conversion data is available in ADC data registers, 1570:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC generates a DMA transfer request. 1571:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note This macro is intended to be used with LL DMA driver, refer to 1572:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * function "LL_DMA_ConfigAddresses()". 1573:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Example: 1574:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_DMA_ConfigAddresses(DMA1, 1575:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_DMA_CHANNEL_1, 1576:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_DMA_GetRegAddr(ADC1, LL_ADC_DMA_REG_REGULAR_DATA), 1577:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (uint32_t)&< array or variable >, 1578:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_DMA_DIRECTION_PERIPH_TO_MEMORY); 1579:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note For devices with several ADC: in multimode, some devices 1580:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use a different data register outside of ADC instance scope 1581:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (common data register). This macro manages this register difference, 1582:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * only ADC instance has to be set as parameter. 1583:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On STM32F1, only ADC instances ADC1 and ADC3 have DMA transfer 1584:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * capability, not ADC2 (ADC2 and ADC3 instances not available on 1585:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * all devices). 1586:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On STM32F1, multimode can be used only with ADC1 and ADC2, not ADC3. 1587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Therefore, the corresponding parameter of data transfer 1588:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * for multimode can be used only with ADC1 and ADC2. 1589:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (ADC2 and ADC3 instances not available on all devices). 1590:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll DR DATA LL_ADC_DMA_GetRegAddr 1591:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 1592:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Register This parameter can be one of the following values: 1593:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_DMA_REG_REGULAR_DATA 1594:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_DMA_REG_REGULAR_DATA_MULTI (1) 1595:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1596:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) Available on devices with several ADC instances. 1597:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval ADC register address 1598:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1599:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC_MULTIMODE_SUPPORT) 1600:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_DMA_GetRegAddr(ADC_TypeDef *ADCx, uint32_t Register) 1601:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 1602:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t data_reg_addr = 0U; 1603:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1604:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** if (Register == LL_ADC_DMA_REG_REGULAR_DATA) 1605:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 1606:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Retrieve address of register DR */ 1607:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** data_reg_addr = (uint32_t)&(ADCx->DR); 1608:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 1609:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** else /* (Register == LL_ADC_DMA_REG_REGULAR_DATA_MULTI) */ 1610:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 1611:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Retrieve address of register of multimode data */ 1612:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** data_reg_addr = (uint32_t)&(ADC12_COMMON->DR); 1613:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 1614:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1615:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return data_reg_addr; 1616:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 1617:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #else 1618:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_DMA_GetRegAddr(ADC_TypeDef *ADCx, uint32_t Register) 1619:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 1620:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Retrieve address of register DR */ ARM GAS /tmp/ccc82m4X.s page 54 1621:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)&(ADCx->DR); 1622:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 1623:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif 1624:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1625:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1626:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 1627:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1628:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1629:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Common Configuration of ADC hierarchical scope: common to 1630:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 1631:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1632:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1633:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1634:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set parameter common to several ADC: measurement path to internal 1635:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * channels (VrefInt, temperature sensor, ...). 1636:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note One or several values can be selected. 1637:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Example: (LL_ADC_PATH_INTERNAL_VREFINT | 1638:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_PATH_INTERNAL_TEMPSENSOR) 1639:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Stabilization time of measurement path to internal channel: 1640:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * After enabling internal paths, before starting ADC conversion, 1641:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * a delay is required for internal voltage reference and 1642:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * temperature sensor stabilization time. 1643:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet. 1644:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to literal @ref LL_ADC_DELAY_TEMPSENSOR_STAB_US. 1645:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note ADC internal channel sampling time constraint: 1646:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * For ADC conversion of internal channels, 1647:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * a sampling time minimum value is required. 1648:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet. 1649:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 TSVREFE LL_ADC_SetCommonPathInternalCh 1650:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance 1651:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO 1652:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param PathInternal This parameter can be a combination of the following values: 1653:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_NONE 1654:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_VREFINT 1655:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_TEMPSENSOR 1656:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 1657:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1658:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetCommonPathInternalCh(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t Path 1659:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 1660:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCxy_COMMON->CR2, (ADC_CR2_TSVREFE), PathInternal); 1661:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 1662:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1663:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1664:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get parameter common to several ADC: measurement path to internal 1665:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * channels (VrefInt, temperature sensor, ...). 1666:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note One or several values can be selected. 1667:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Example: (LL_ADC_PATH_INTERNAL_VREFINT | 1668:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LL_ADC_PATH_INTERNAL_TEMPSENSOR) 1669:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 TSVREFE LL_ADC_GetCommonPathInternalCh 1670:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance 1671:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO 1672:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be a combination of the following values: 1673:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_NONE 1674:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_VREFINT 1675:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_TEMPSENSOR 1676:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1677:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetCommonPathInternalCh(ADC_Common_TypeDef *ADCxy_COMMON) ARM GAS /tmp/ccc82m4X.s page 55 1678:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 1679:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCxy_COMMON->CR2, ADC_CR2_TSVREFE)); 1680:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 1681:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1682:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1683:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 1684:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1685:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1686:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Instance Configuration of ADC hierarchical scope: ADC ins 1687:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 1688:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1689:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1690:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1691:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC conversion data alignment. 1692:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Refer to reference manual for alignments formats 1693:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * dependencies to ADC resolutions. 1694:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 ALIGN LL_ADC_SetDataAlignment 1695:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 1696:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param DataAlignment This parameter can be one of the following values: 1697:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_DATA_ALIGN_RIGHT 1698:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_DATA_ALIGN_LEFT 1699:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 1700:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1701:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetDataAlignment(ADC_TypeDef *ADCx, uint32_t DataAlignment) 1702:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 1703:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR2, ADC_CR2_ALIGN, DataAlignment); 1704:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 1705:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1706:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1707:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC conversion data alignment. 1708:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Refer to reference manual for alignments formats 1709:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * dependencies to ADC resolutions. 1710:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 ALIGN LL_ADC_SetDataAlignment 1711:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 1712:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 1713:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_DATA_ALIGN_RIGHT 1714:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_DATA_ALIGN_LEFT 1715:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1716:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetDataAlignment(ADC_TypeDef *ADCx) 1717:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 1718:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR2, ADC_CR2_ALIGN)); 1719:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 1720:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1721:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1722:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC sequencers scan mode, for all ADC groups 1723:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (group regular, group injected). 1724:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note According to sequencers scan mode : 1725:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - If disabled: ADC conversion is performed in unitary conversion 1726:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode (one channel converted, that defined in rank 1). 1727:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Configuration of sequencers of all ADC groups 1728:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (sequencer scan length, ...) is discarded: equivalent to 1729:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan length of 1 rank. 1730:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - If enabled: ADC conversions are performed in sequence conversions 1731:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode, according to configuration of sequencers of 1732:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * each ADC group (sequencer scan length, ...). 1733:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to function @ref LL_ADC_REG_SetSequencerLength() 1734:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and to function @ref LL_ADC_INJ_SetSequencerLength(). ARM GAS /tmp/ccc82m4X.s page 56 1735:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 SCAN LL_ADC_SetSequencersScanMode 1736:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 1737:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ScanMode This parameter can be one of the following values: 1738:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SEQ_SCAN_DISABLE 1739:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SEQ_SCAN_ENABLE 1740:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 1741:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1742:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetSequencersScanMode(ADC_TypeDef *ADCx, uint32_t ScanMode) 1743:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 1744:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR1, ADC_CR1_SCAN, ScanMode); 1745:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 1746:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1747:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1748:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC sequencers scan mode, for all ADC groups 1749:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (group regular, group injected). 1750:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note According to sequencers scan mode : 1751:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - If disabled: ADC conversion is performed in unitary conversion 1752:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode (one channel converted, that defined in rank 1). 1753:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Configuration of sequencers of all ADC groups 1754:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (sequencer scan length, ...) is discarded: equivalent to 1755:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan length of 1 rank. 1756:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - If enabled: ADC conversions are performed in sequence conversions 1757:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode, according to configuration of sequencers of 1758:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * each ADC group (sequencer scan length, ...). 1759:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to function @ref LL_ADC_REG_SetSequencerLength() 1760:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and to function @ref LL_ADC_INJ_SetSequencerLength(). 1761:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 SCAN LL_ADC_GetSequencersScanMode 1762:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 1763:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 1764:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SEQ_SCAN_DISABLE 1765:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SEQ_SCAN_ENABLE 1766:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1767:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetSequencersScanMode(ADC_TypeDef *ADCx) 1768:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 1769:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR1, ADC_CR1_SCAN)); 1770:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 1771:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1772:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1773:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 1774:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1775:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1776:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Group_Regular Configuration of ADC hierarchical scope: gr 1777:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 1778:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1779:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1780:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1781:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group regular conversion trigger source: 1782:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * internal (SW start) or from external IP (timer event, 1783:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * external interrupt line). 1784:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, external trigger is set with trigger polarity: 1785:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * rising edge (only trigger polarity available on this STM32 series). 1786:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Availability of parameters of trigger sources from timer 1787:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * depends on timers availability on the selected device. 1788:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 EXTSEL LL_ADC_REG_SetTriggerSource 1789:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 1790:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param TriggerSource This parameter can be one of the following values: 1791:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_SOFTWARE ARM GAS /tmp/ccc82m4X.s page 57 1792:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH3 (1) 1793:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH1 (2) 1794:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH2 (2) 1795:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_CH2 (2) 1796:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_TRGO (2) 1797:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM4_CH4 (2) 1798:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_EXTI_LINE11 (2) 1799:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO (2)(4) 1800:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO_ADC3 (3) 1801:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_CH1 (3) 1802:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_CH3 (3) 1803:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_CH1 (3) 1804:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO (3) 1805:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM5_CH1 (3) 1806:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM5_CH3 (3) 1807:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1808:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available on all ADC instances: ADC1, ADC2, ADC3 (for ADC ins 1809:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (2) On STM32F1, parameter available only on ADC instances: ADC1, ADC2 (for ADC instance 1810:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (3) On STM32F1, parameter available only on ADC instances: ADC3 (for ADC instances ADCx 1811:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (4) On STM32F1, parameter available only on high-density and XL-density devices. A rema 1812:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 1813:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1814:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetTriggerSource(ADC_TypeDef *ADCx, uint32_t TriggerSource) 1815:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 1816:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: On this STM32 series, ADC group regular external trigger edge */ 1817:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* is used to perform a ADC conversion start. */ 1818:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* This function does not set external trigger edge. */ 1819:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* This feature is set using function */ 1820:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* @ref LL_ADC_REG_StartConversionExtTrig(). */ 1821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR2, ADC_CR2_EXTSEL, (TriggerSource & ADC_CR2_EXTSEL)); 1822:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 1823:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1824:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1825:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group regular conversion trigger source: 1826:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * internal (SW start) or from external IP (timer event, 1827:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * external interrupt line). 1828:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note To determine whether group regular trigger source is 1829:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * internal (SW start) or external, without detail 1830:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of which peripheral is selected as external trigger, 1831:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (equivalent to 1832:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * "if(LL_ADC_REG_GetTriggerSource(ADC1) == LL_ADC_REG_TRIG_SOFTWARE)") 1833:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use function @ref LL_ADC_REG_IsTriggerSourceSWStart. 1834:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Availability of parameters of trigger sources from timer 1835:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * depends on timers availability on the selected device. 1836:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 EXTSEL LL_ADC_REG_GetTriggerSource 1837:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 1838:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 1839:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_SOFTWARE 1840:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH3 (1) 1841:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH1 (2) 1842:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH2 (2) 1843:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_CH2 (2) 1844:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_TRGO (2) 1845:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM4_CH4 (2) 1846:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_EXTI_LINE11 (2) 1847:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO (2)(4) 1848:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO_ADC3 (3) ARM GAS /tmp/ccc82m4X.s page 58 1849:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_CH1 (3) 1850:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_CH3 (3) 1851:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_CH1 (3) 1852:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO (3) 1853:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM5_CH1 (3) 1854:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM5_CH3 (3) 1855:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1856:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available on all ADC instances: ADC1, ADC2, ADC3 (for ADC ins 1857:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (2) On STM32F1, parameter available only on ADC instances: ADC1, ADC2 (for ADC instance 1858:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (3) On STM32F1, parameter available only on ADC instances: ADC3 (for ADC instances ADCx 1859:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (4) On STM32F1, parameter available only on high-density and XL-density devices. A rema 1860:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1861:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetTriggerSource(ADC_TypeDef *ADCx) 1862:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 1863:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR2, ADC_CR2_EXTSEL)); 1864:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 1865:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1866:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1867:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group regular conversion trigger source internal (SW start) 1868:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** or external. 1869:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note In case of group regular trigger source set to external trigger, 1870:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * to determine which peripheral is selected as external trigger, 1871:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use function @ref LL_ADC_REG_GetTriggerSource(). 1872:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 EXTSEL LL_ADC_REG_IsTriggerSourceSWStart 1873:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 1874:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value "0" if trigger source external trigger 1875:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Value "1" if trigger source SW start. 1876:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1877:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_IsTriggerSourceSWStart(ADC_TypeDef *ADCx) 1878:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 1879:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (READ_BIT(ADCx->CR2, ADC_CR2_EXTSEL) == (LL_ADC_REG_TRIG_SOFTWARE)); 1880:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 1881:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1882:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1883:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1884:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group regular sequencer length and scan direction. 1885:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Description of ADC group regular sequencer features: 1886:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - For devices with sequencer fully configurable 1887:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (function "LL_ADC_REG_SetSequencerRanks()" available): 1888:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequencer length and each rank affectation to a channel 1889:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * are configurable. 1890:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This function performs configuration of: 1891:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence. 1892:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer 1893:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan direction is forward (from rank 1 to rank n). 1894:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Sequencer ranks are selected using 1895:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * function "LL_ADC_REG_SetSequencerRanks()". 1896:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - For devices with sequencer not fully configurable 1897:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (function "LL_ADC_REG_SetSequencerChannels()" available): 1898:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequencer length and each rank affectation to a channel 1899:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * are defined by channel number. 1900:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This function performs configuration of: 1901:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence is 1902:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * defined by number of channels set in the sequence, 1903:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * rank of each channel is fixed by channel HW number. 1904:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (channel 0 fixed on rank 0, channel 1 fixed on rank1, ...). 1905:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer ARM GAS /tmp/ccc82m4X.s page 59 1906:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan direction is forward (from lowest channel number to 1907:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * highest channel number). 1908:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Sequencer ranks are selected using 1909:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * function "LL_ADC_REG_SetSequencerChannels()". 1910:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, group regular sequencer configuration 1911:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC instance sequencer mode. 1912:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * If ADC instance sequencer mode is disabled, sequencers of 1913:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * all groups (group regular, group injected) can be configured 1914:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * but their execution is disabled (limited to rank 1). 1915:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to function @ref LL_ADC_SetSequencersScanMode(). 1916:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Sequencer disabled is equivalent to sequencer of 1 rank: 1917:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversion on only 1 channel. 1918:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll SQR1 L LL_ADC_REG_SetSequencerLength 1919:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 1920:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param SequencerNbRanks This parameter can be one of the following values: 1921:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_DISABLE 1922:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS 1923:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_3RANKS 1924:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_4RANKS 1925:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_5RANKS 1926:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_6RANKS 1927:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_7RANKS 1928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_8RANKS 1929:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_9RANKS 1930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_10RANKS 1931:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_11RANKS 1932:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_12RANKS 1933:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_13RANKS 1934:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_14RANKS 1935:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_15RANKS 1936:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS 1937:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 1938:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1939:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetSequencerLength(ADC_TypeDef *ADCx, uint32_t SequencerNbRanks) 1940:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 1941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->SQR1, ADC_SQR1_L, SequencerNbRanks); 1942:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 1943:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 1944:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 1945:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group regular sequencer length and scan direction. 1946:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Description of ADC group regular sequencer features: 1947:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - For devices with sequencer fully configurable 1948:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (function "LL_ADC_REG_SetSequencerRanks()" available): 1949:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequencer length and each rank affectation to a channel 1950:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * are configurable. 1951:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This function retrieves: 1952:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence. 1953:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer 1954:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan direction is forward (from rank 1 to rank n). 1955:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Sequencer ranks are selected using 1956:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * function "LL_ADC_REG_SetSequencerRanks()". 1957:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - For devices with sequencer not fully configurable 1958:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (function "LL_ADC_REG_SetSequencerChannels()" available): 1959:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequencer length and each rank affectation to a channel 1960:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * are defined by channel number. 1961:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This function retrieves: 1962:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence is ARM GAS /tmp/ccc82m4X.s page 60 1963:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * defined by number of channels set in the sequence, 1964:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * rank of each channel is fixed by channel HW number. 1965:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (channel 0 fixed on rank 0, channel 1 fixed on rank1, ...). 1966:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer 1967:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan direction is forward (from lowest channel number to 1968:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * highest channel number). 1969:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Sequencer ranks are selected using 1970:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * function "LL_ADC_REG_SetSequencerChannels()". 1971:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, group regular sequencer configuration 1972:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC instance sequencer mode. 1973:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * If ADC instance sequencer mode is disabled, sequencers of 1974:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * all groups (group regular, group injected) can be configured 1975:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * but their execution is disabled (limited to rank 1). 1976:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to function @ref LL_ADC_SetSequencersScanMode(). 1977:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Sequencer disabled is equivalent to sequencer of 1 rank: 1978:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversion on only 1 channel. 1979:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll SQR1 L LL_ADC_REG_SetSequencerLength 1980:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 1981:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 1982:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_DISABLE 1983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS 1984:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_3RANKS 1985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_4RANKS 1986:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_5RANKS 1987:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_6RANKS 1988:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_7RANKS 1989:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_8RANKS 1990:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_9RANKS 1991:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_10RANKS 1992:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_11RANKS 1993:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_12RANKS 1994:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_13RANKS 1995:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_14RANKS 1996:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_15RANKS 1997:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS 1998:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 1999:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerLength(ADC_TypeDef *ADCx) 2000:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2001:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->SQR1, ADC_SQR1_L)); 2002:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2003:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2004:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2005:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group regular sequencer discontinuous mode: 2006:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequence subdivided and scan conversions interrupted every selected 2007:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * number of ranks. 2008:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note It is not possible to enable both ADC group regular 2009:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * continuous mode and sequencer discontinuous mode. 2010:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note It is not possible to enable both ADC auto-injected mode 2011:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * and ADC group regular sequencer discontinuous mode. 2012:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 DISCEN LL_ADC_REG_SetSequencerDiscont\n 2013:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * CR1 DISCNUM LL_ADC_REG_SetSequencerDiscont 2014:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2015:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param SeqDiscont This parameter can be one of the following values: 2016:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_DISABLE 2017:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_1RANK 2018:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_2RANKS 2019:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_3RANKS ARM GAS /tmp/ccc82m4X.s page 61 2020:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_4RANKS 2021:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_5RANKS 2022:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_6RANKS 2023:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_7RANKS 2024:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_8RANKS 2025:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 2026:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2027:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetSequencerDiscont(ADC_TypeDef *ADCx, uint32_t SeqDiscont) 2028:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2029:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR1, ADC_CR1_DISCEN | ADC_CR1_DISCNUM, SeqDiscont); 2030:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2031:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2032:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2033:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group regular sequencer discontinuous mode: 2034:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequence subdivided and scan conversions interrupted every selected 2035:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * number of ranks. 2036:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 DISCEN LL_ADC_REG_GetSequencerDiscont\n 2037:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * CR1 DISCNUM LL_ADC_REG_GetSequencerDiscont 2038:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2039:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 2040:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_DISABLE 2041:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_1RANK 2042:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_2RANKS 2043:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_3RANKS 2044:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_4RANKS 2045:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_5RANKS 2046:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_6RANKS 2047:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_7RANKS 2048:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_8RANKS 2049:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2050:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerDiscont(ADC_TypeDef *ADCx) 2051:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2052:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR1, ADC_CR1_DISCEN | ADC_CR1_DISCNUM)); 2053:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2054:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2055:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2056:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group regular sequence: channel on the selected 2057:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan sequence rank. 2058:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note This function performs configuration of: 2059:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Channels ordering into each rank of scan sequence: 2060:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * whatever channel can be placed into whatever rank. 2061:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, ADC group regular sequencer is 2062:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * fully configurable: sequencer length and each rank 2063:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * affectation to a channel are configurable. 2064:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to description of function @ref LL_ADC_REG_SetSequencerLength(). 2065:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Depending on devices and packages, some channels may not be available. 2066:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet for channels availability. 2067:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, to measure internal channels (VrefInt, 2068:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * TempSensor, ...), measurement paths to internal channels must be 2069:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * enabled separately. 2070:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This can be done using function @ref LL_ADC_SetCommonPathInternalCh(). 2071:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll SQR3 SQ1 LL_ADC_REG_SetSequencerRanks\n 2072:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ2 LL_ADC_REG_SetSequencerRanks\n 2073:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ3 LL_ADC_REG_SetSequencerRanks\n 2074:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ4 LL_ADC_REG_SetSequencerRanks\n 2075:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ5 LL_ADC_REG_SetSequencerRanks\n 2076:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ6 LL_ADC_REG_SetSequencerRanks\n ARM GAS /tmp/ccc82m4X.s page 62 2077:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ7 LL_ADC_REG_SetSequencerRanks\n 2078:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ8 LL_ADC_REG_SetSequencerRanks\n 2079:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ9 LL_ADC_REG_SetSequencerRanks\n 2080:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ10 LL_ADC_REG_SetSequencerRanks\n 2081:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ11 LL_ADC_REG_SetSequencerRanks\n 2082:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ12 LL_ADC_REG_SetSequencerRanks\n 2083:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ13 LL_ADC_REG_SetSequencerRanks\n 2084:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ14 LL_ADC_REG_SetSequencerRanks\n 2085:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ15 LL_ADC_REG_SetSequencerRanks\n 2086:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ16 LL_ADC_REG_SetSequencerRanks 2087:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2088:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Rank This parameter can be one of the following values: 2089:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_1 2090:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_2 2091:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_3 2092:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_4 2093:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_5 2094:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_6 2095:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_7 2096:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_8 2097:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_9 2098:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_10 2099:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_11 2100:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_12 2101:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_13 2102:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_14 2103:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_15 2104:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_16 2105:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Channel This parameter can be one of the following values: 2106:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 2107:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 2108:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 2109:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 2110:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 2111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 2112:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6 2113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7 2114:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8 2115:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9 2116:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10 2117:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11 2118:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12 2119:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13 2120:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14 2121:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15 2122:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16 2123:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17 2124:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1) 2125:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) 2126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 2127:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1. 2128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 2129:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2130:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe 2131:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2132:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Set bits with content of parameter "Channel" with bits position */ 2133:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* in register and register position depending on parameter "Rank". */ ARM GAS /tmp/ccc82m4X.s page 63 2134:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Parameters "Rank" and "Channel" are used with masks because containing */ 2135:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* other bits reserved for other purpose. */ 2136:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQRX_REGOFF 2137:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2138:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(*preg, 2139:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_REG_RANK_ID_SQRX_MASK), 2140:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (Channel & ADC_CHANNEL_ID_NUMBER_MASK) << (Rank & ADC_REG_RANK_ID_SQRX_MASK)); 2141:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2142:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2143:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2144:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group regular sequence: channel on the selected 2145:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan sequence rank. 2146:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, ADC group regular sequencer is 2147:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * fully configurable: sequencer length and each rank 2148:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * affectation to a channel are configurable. 2149:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to description of function @ref LL_ADC_REG_SetSequencerLength(). 2150:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Depending on devices and packages, some channels may not be available. 2151:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet for channels availability. 2152:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Usage of the returned channel number: 2153:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - To reinject this channel into another function LL_ADC_xxx: 2154:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * the returned channel number is only partly formatted on definition 2155:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared 2156:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * with parts of literals LL_ADC_CHANNEL_x or using 2157:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * helper macro @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). 2158:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Then the selected literal LL_ADC_CHANNEL_x can be used 2159:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * as parameter for another function. 2160:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - To get the channel number in decimal format: 2161:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * process the returned value with the helper macro 2162:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). 2163:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll SQR3 SQ1 LL_ADC_REG_GetSequencerRanks\n 2164:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ2 LL_ADC_REG_GetSequencerRanks\n 2165:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ3 LL_ADC_REG_GetSequencerRanks\n 2166:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ4 LL_ADC_REG_GetSequencerRanks\n 2167:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ5 LL_ADC_REG_GetSequencerRanks\n 2168:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR3 SQ6 LL_ADC_REG_GetSequencerRanks\n 2169:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ7 LL_ADC_REG_GetSequencerRanks\n 2170:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ8 LL_ADC_REG_GetSequencerRanks\n 2171:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ9 LL_ADC_REG_GetSequencerRanks\n 2172:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ10 LL_ADC_REG_GetSequencerRanks\n 2173:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ11 LL_ADC_REG_GetSequencerRanks\n 2174:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR2 SQ12 LL_ADC_REG_GetSequencerRanks\n 2175:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ13 LL_ADC_REG_GetSequencerRanks\n 2176:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ14 LL_ADC_REG_GetSequencerRanks\n 2177:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ15 LL_ADC_REG_GetSequencerRanks\n 2178:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SQR1 SQ16 LL_ADC_REG_GetSequencerRanks 2179:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2180:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Rank This parameter can be one of the following values: 2181:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_1 2182:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_2 2183:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_3 2184:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_4 2185:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_5 2186:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_6 2187:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_7 2188:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_8 2189:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_9 2190:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_10 ARM GAS /tmp/ccc82m4X.s page 64 2191:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_11 2192:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_12 2193:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_13 2194:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_14 2195:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_15 2196:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_16 2197:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 2198:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 2199:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 2200:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 2201:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 2202:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 2203:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 2204:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6 2205:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7 2206:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8 2207:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9 2208:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10 2209:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11 2210:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12 2211:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13 2212:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14 2213:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15 2214:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16 2215:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17 2216:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1) 2217:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) 2218:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 2219:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.\n 2220:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) For ADC channel read back from ADC register, 2221:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * comparison with internal channel parameter to be done 2222:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL(). 2223:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2224:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank) 2225:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2226:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, __ADC_MASK_SHIFT(Rank, ADC_REG_SQRX_REGOFF 2227:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2228:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t) (READ_BIT(*preg, 2229:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_CHANNEL_ID_NUMBER_MASK << (Rank & ADC_REG_RANK_ID_SQRX_MASK)) 2230:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** >> (Rank & ADC_REG_RANK_ID_SQRX_MASK) 2231:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ); 2232:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2233:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2234:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2235:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC continuous conversion mode on ADC group regular. 2236:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Description of ADC continuous conversion mode: 2237:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - single mode: one conversion per trigger 2238:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - continuous mode: after the first trigger, following 2239:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * conversions launched successively automatically. 2240:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note It is not possible to enable both ADC group regular 2241:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * continuous mode and sequencer discontinuous mode. 2242:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 CONT LL_ADC_REG_SetContinuousMode 2243:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2244:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Continuous This parameter can be one of the following values: 2245:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_CONV_SINGLE 2246:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_CONV_CONTINUOUS 2247:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None ARM GAS /tmp/ccc82m4X.s page 65 2248:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2249:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetContinuousMode(ADC_TypeDef *ADCx, uint32_t Continuous) 2250:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2251:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR2, ADC_CR2_CONT, Continuous); 2252:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2253:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2254:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC continuous conversion mode on ADC group regular. 2256:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Description of ADC continuous conversion mode: 2257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - single mode: one conversion per trigger 2258:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - continuous mode: after the first trigger, following 2259:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * conversions launched successively automatically. 2260:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 CONT LL_ADC_REG_GetContinuousMode 2261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2262:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 2263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_CONV_SINGLE 2264:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_CONV_CONTINUOUS 2265:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetContinuousMode(ADC_TypeDef *ADCx) 2267:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2268:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR2, ADC_CR2_CONT)); 2269:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2270:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2271:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2272:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group regular conversion data transfer: no transfer or 2273:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * transfer by DMA, and DMA requests mode. 2274:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note If transfer by DMA selected, specifies the DMA requests 2275:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode: 2276:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Limited mode (One shot mode): DMA transfer requests are stopped 2277:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * when number of DMA data transfers (number of 2278:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversions) is reached. 2279:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode non-circular. 2280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Unlimited mode: DMA transfer requests are unlimited, 2281:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * whatever number of DMA data transfers (number of 2282:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversions). 2283:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode circular. 2284:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note If ADC DMA requests mode is set to unlimited and DMA is set to 2285:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode non-circular: 2286:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * when DMA transfers size will be reached, DMA will stop transfers of 2287:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversions data ADC will raise an overrun error 2288:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (overrun flag and interruption if enabled). 2289:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note To configure DMA source address (peripheral address), 2290:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use function @ref LL_ADC_DMA_GetRegAddr(). 2291:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 DMA LL_ADC_REG_SetDMATransfer 2292:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2293:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param DMATransfer This parameter can be one of the following values: 2294:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_DMA_TRANSFER_NONE 2295:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_DMA_TRANSFER_UNLIMITED 2296:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 2297:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2298:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetDMATransfer(ADC_TypeDef *ADCx, uint32_t DMATransfer) 2299:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2300:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR2, ADC_CR2_DMA, DMATransfer); 2301:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2302:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2303:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2304:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group regular conversion data transfer: no transfer or ARM GAS /tmp/ccc82m4X.s page 66 2305:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * transfer by DMA, and DMA requests mode. 2306:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note If transfer by DMA selected, specifies the DMA requests 2307:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode: 2308:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Limited mode (One shot mode): DMA transfer requests are stopped 2309:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * when number of DMA data transfers (number of 2310:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversions) is reached. 2311:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode non-circular. 2312:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Unlimited mode: DMA transfer requests are unlimited, 2313:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * whatever number of DMA data transfers (number of 2314:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversions). 2315:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode circular. 2316:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note If ADC DMA requests mode is set to unlimited and DMA is set to 2317:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * mode non-circular: 2318:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * when DMA transfers size will be reached, DMA will stop transfers of 2319:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversions data ADC will raise an overrun error 2320:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (overrun flag and interruption if enabled). 2321:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note To configure DMA source address (peripheral address), 2322:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use function @ref LL_ADC_DMA_GetRegAddr(). 2323:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 DMA LL_ADC_REG_GetDMATransfer 2324:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2325:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 2326:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_DMA_TRANSFER_NONE 2327:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_REG_DMA_TRANSFER_UNLIMITED 2328:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2329:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetDMATransfer(ADC_TypeDef *ADCx) 2330:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2331:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR2, ADC_CR2_DMA)); 2332:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2333:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2334:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2335:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 2336:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2337:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2338:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Group_Injected Configuration of ADC hierarchical scope: g 2339:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 2340:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2341:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2342:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2343:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group injected conversion trigger source: 2344:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * internal (SW start) or from external IP (timer event, 2345:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * external interrupt line). 2346:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, external trigger is set with trigger polarity: 2347:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * rising edge (only trigger polarity available on this STM32 series). 2348:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Availability of parameters of trigger sources from timer 2349:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * depends on timers availability on the selected device. 2350:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 JEXTSEL LL_ADC_INJ_SetTriggerSource 2351:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2352:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param TriggerSource This parameter can be one of the following values: 2353:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_SOFTWARE 2354:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO (1) 2355:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_CH4 (1) 2356:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_TRGO (2) 2357:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_CH1 (2) 2358:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH4 (2) 2359:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM4_TRGO (2) 2360:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_EXTI_LINE15 (2) 2361:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4 (2)(4) ARM GAS /tmp/ccc82m4X.s page 67 2362:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4_ADC3 (3) 2363:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM4_CH3 (3) 2364:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH2 (3) 2365:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4 (3) 2366:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM5_TRGO (3) 2367:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM5_CH4 (3) 2368:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 2369:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available on all ADC instances: ADC1, ADC2, ADC3 (for ADC ins 2370:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (2) On STM32F1, parameter available only on ADC instances: ADC1, ADC2 (for ADC instance 2371:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (3) On STM32F1, parameter available only on ADC instances: ADC3 (for ADC instances ADCx 2372:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (4) On STM32F1, parameter available only on high-density and XL-density devices. A rema 2373:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 2374:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2375:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetTriggerSource(ADC_TypeDef *ADCx, uint32_t TriggerSource) 2376:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2377:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Note: On this STM32 series, ADC group injected external trigger edge */ 2378:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* is used to perform a ADC conversion start. */ 2379:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* This function does not set external trigger edge. */ 2380:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* This feature is set using function */ 2381:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* @ref LL_ADC_INJ_StartConversionExtTrig(). */ 2382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR2, ADC_CR2_JEXTSEL, (TriggerSource & ADC_CR2_JEXTSEL)); 2383:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2384:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2385:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2386:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group injected conversion trigger source: 2387:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * internal (SW start) or from external IP (timer event, 2388:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * external interrupt line). 2389:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note To determine whether group injected trigger source is 2390:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * internal (SW start) or external, without detail 2391:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of which peripheral is selected as external trigger, 2392:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (equivalent to 2393:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * "if(LL_ADC_INJ_GetTriggerSource(ADC1) == LL_ADC_INJ_TRIG_SOFTWARE)") 2394:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use function @ref LL_ADC_INJ_IsTriggerSourceSWStart. 2395:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Availability of parameters of trigger sources from timer 2396:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * depends on timers availability on the selected device. 2397:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 JEXTSEL LL_ADC_INJ_GetTriggerSource 2398:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2399:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 2400:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_SOFTWARE 2401:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO (1) 2402:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_CH4 (1) 2403:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_TRGO (2) 2404:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_CH1 (2) 2405:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH4 (2) 2406:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM4_TRGO (2) 2407:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_EXTI_LINE15 (2) 2408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4 (2)(4) 2409:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4_ADC3 (3) 2410:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM4_CH3 (3) 2411:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH2 (3) 2412:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4 (3) 2413:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM5_TRGO (3) 2414:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM5_CH4 (3) 2415:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 2416:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available on all ADC instances: ADC1, ADC2, ADC3 (for ADC ins 2417:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (2) On STM32F1, parameter available only on ADC instances: ADC1, ADC2 (for ADC instance 2418:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (3) On STM32F1, parameter available only on ADC instances: ADC3 (for ADC instances ADCx ARM GAS /tmp/ccc82m4X.s page 68 2419:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (4) On STM32F1, parameter available only on high-density and XL-density devices. A rema 2420:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2421:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetTriggerSource(ADC_TypeDef *ADCx) 2422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2423:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR2, ADC_CR2_JEXTSEL)); 2424:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2425:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2426:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2427:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group injected conversion trigger source internal (SW start) 2428:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** or external 2429:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note In case of group injected trigger source set to external trigger, 2430:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * to determine which peripheral is selected as external trigger, 2431:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use function @ref LL_ADC_INJ_GetTriggerSource. 2432:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 JEXTSEL LL_ADC_INJ_IsTriggerSourceSWStart 2433:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2434:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value "0" if trigger source external trigger 2435:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Value "1" if trigger source SW start. 2436:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2437:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_IsTriggerSourceSWStart(ADC_TypeDef *ADCx) 2438:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2439:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (READ_BIT(ADCx->CR2, ADC_CR2_JEXTSEL) == LL_ADC_INJ_TRIG_SOFTWARE); 2440:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2441:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2442:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2443:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group injected sequencer length and scan direction. 2444:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note This function performs configuration of: 2445:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence. 2446:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer 2447:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan direction is forward (from rank 1 to rank n). 2448:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, group injected sequencer configuration 2449:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC instance sequencer mode. 2450:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * If ADC instance sequencer mode is disabled, sequencers of 2451:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * all groups (group regular, group injected) can be configured 2452:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * but their execution is disabled (limited to rank 1). 2453:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to function @ref LL_ADC_SetSequencersScanMode(). 2454:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Sequencer disabled is equivalent to sequencer of 1 rank: 2455:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversion on only 1 channel. 2456:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll JSQR JL LL_ADC_INJ_SetSequencerLength 2457:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2458:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param SequencerNbRanks This parameter can be one of the following values: 2459:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_DISABLE 2460:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS 2461:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS 2462:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS 2463:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 2464:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2465:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetSequencerLength(ADC_TypeDef *ADCx, uint32_t SequencerNbRanks) 2466:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->JSQR, ADC_JSQR_JL, SequencerNbRanks); 2468:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2469:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2470:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2471:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group injected sequencer length and scan direction. 2472:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note This function retrieves: 2473:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence. 2474:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer 2475:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * scan direction is forward (from rank 1 to rank n). ARM GAS /tmp/ccc82m4X.s page 69 2476:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, group injected sequencer configuration 2477:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is conditioned to ADC instance sequencer mode. 2478:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * If ADC instance sequencer mode is disabled, sequencers of 2479:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * all groups (group regular, group injected) can be configured 2480:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * but their execution is disabled (limited to rank 1). 2481:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to function @ref LL_ADC_SetSequencersScanMode(). 2482:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Sequencer disabled is equivalent to sequencer of 1 rank: 2483:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversion on only 1 channel. 2484:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll JSQR JL LL_ADC_INJ_GetSequencerLength 2485:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2486:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 2487:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_DISABLE 2488:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS 2489:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS 2490:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS 2491:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2492:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerLength(ADC_TypeDef *ADCx) 2493:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2494:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->JSQR, ADC_JSQR_JL)); 2495:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2497:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2498:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group injected sequencer discontinuous mode: 2499:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequence subdivided and scan conversions interrupted every selected 2500:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * number of ranks. 2501:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note It is not possible to enable both ADC group injected 2502:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * auto-injected mode and sequencer discontinuous mode. 2503:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 DISCEN LL_ADC_INJ_SetSequencerDiscont 2504:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2505:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param SeqDiscont This parameter can be one of the following values: 2506:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_DISCONT_DISABLE 2507:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_DISCONT_1RANK 2508:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 2509:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2510:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetSequencerDiscont(ADC_TypeDef *ADCx, uint32_t SeqDiscont) 2511:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2512:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR1, ADC_CR1_JDISCEN, SeqDiscont); 2513:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2514:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2515:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2516:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group injected sequencer discontinuous mode: 2517:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequence subdivided and scan conversions interrupted every selected 2518:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * number of ranks. 2519:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 DISCEN LL_ADC_REG_GetSequencerDiscont 2520:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2521:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 2522:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_DISCONT_DISABLE 2523:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_DISCONT_1RANK 2524:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerDiscont(ADC_TypeDef *ADCx) 2526:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2527:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR1, ADC_CR1_JDISCEN)); 2528:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2529:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2530:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2531:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group injected sequence: channel on the selected 2532:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequence rank. ARM GAS /tmp/ccc82m4X.s page 70 2533:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Depending on devices and packages, some channels may not be available. 2534:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet for channels availability. 2535:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, to measure internal channels (VrefInt, 2536:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * TempSensor, ...), measurement paths to internal channels must be 2537:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * enabled separately. 2538:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * This can be done using function @ref LL_ADC_SetCommonPathInternalCh(). 2539:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll JSQR JSQ1 LL_ADC_INJ_SetSequencerRanks\n 2540:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JSQR JSQ2 LL_ADC_INJ_SetSequencerRanks\n 2541:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JSQR JSQ3 LL_ADC_INJ_SetSequencerRanks\n 2542:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JSQR JSQ4 LL_ADC_INJ_SetSequencerRanks 2543:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2544:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Rank This parameter can be one of the following values: 2545:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1 2546:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2 2547:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3 2548:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4 2549:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Channel This parameter can be one of the following values: 2550:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 2551:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 2552:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 2553:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 2554:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 2555:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 2556:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6 2557:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7 2558:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8 2559:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9 2560:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10 2561:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11 2562:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12 2563:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13 2564:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14 2565:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15 2566:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16 2567:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17 2568:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1) 2569:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) 2570:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 2571:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1. 2572:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 2573:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2574:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe 2575:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2576:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Set bits with content of parameter "Channel" with bits position */ 2577:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* in register depending on parameter "Rank". */ 2578:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Parameters "Rank" and "Channel" are used with masks because containing */ 2579:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* other bits reserved for other purpose. */ 2580:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t tmpreg1 = (READ_BIT(ADCx->JSQR, ADC_JSQR_JL) >> ADC_JSQR_JL_Pos) + 1U; 2581:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2582:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->JSQR, 2583:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_CHANNEL_ID_NUMBER_MASK << (5U * (uint8_t)(((Rank) + 3U) - (tmpreg1))), 2584:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (Channel & ADC_CHANNEL_ID_NUMBER_MASK) << (5U * (uint8_t)(((Rank) + 3U) - (tmpreg1)))) 2585:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2586:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2588:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group injected sequence: channel on the selected 2589:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sequence rank. ARM GAS /tmp/ccc82m4X.s page 71 2590:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Depending on devices and packages, some channels may not be available. 2591:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet for channels availability. 2592:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Usage of the returned channel number: 2593:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - To reinject this channel into another function LL_ADC_xxx: 2594:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * the returned channel number is only partly formatted on definition 2595:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared 2596:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * with parts of literals LL_ADC_CHANNEL_x or using 2597:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * helper macro @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). 2598:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Then the selected literal LL_ADC_CHANNEL_x can be used 2599:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * as parameter for another function. 2600:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - To get the channel number in decimal format: 2601:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * process the returned value with the helper macro 2602:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). 2603:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll JSQR JSQ1 LL_ADC_INJ_SetSequencerRanks\n 2604:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JSQR JSQ2 LL_ADC_INJ_SetSequencerRanks\n 2605:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JSQR JSQ3 LL_ADC_INJ_SetSequencerRanks\n 2606:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JSQR JSQ4 LL_ADC_INJ_SetSequencerRanks 2607:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2608:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Rank This parameter can be one of the following values: 2609:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1 2610:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2 2611:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3 2612:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4 2613:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 2614:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 2615:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 2616:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 2617:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 2618:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 2619:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 2620:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6 2621:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7 2622:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8 2623:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9 2624:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10 2625:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11 2626:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12 2627:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13 2628:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14 2629:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15 2630:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16 2631:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17 2632:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1) 2633:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) 2634:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 2635:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1.\n 2636:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) For ADC channel read back from ADC register, 2637:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * comparison with internal channel parameter to be done 2638:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL(). 2639:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2640:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank) 2641:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2642:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** uint32_t tmpreg1 = (READ_BIT(ADCx->JSQR, ADC_JSQR_JL) >> ADC_JSQR_JL_Pos) + 1U; 2643:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2644:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->JSQR, 2645:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_CHANNEL_ID_NUMBER_MASK << (5U * (uint8_t)(((Rank) + 3U) - (tmpreg1 2646:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** >> (5U * (uint8_t)(((Rank) + 3U) - (tmpreg1))) ARM GAS /tmp/ccc82m4X.s page 72 2647:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ); 2648:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2649:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2650:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2651:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group injected conversion trigger: 2652:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * independent or from ADC group regular. 2653:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note This mode can be used to extend number of data registers 2654:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * updated after one ADC conversion trigger and with data 2655:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * permanently kept (not erased by successive conversions of scan of 2656:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC sequencer ranks), up to 5 data registers: 2657:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 1 data register on ADC group regular, 4 data registers 2658:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * on ADC group injected. 2659:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note If ADC group injected injected trigger source is set to an 2660:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * external trigger, this feature must be must be set to 2661:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * independent trigger. 2662:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC group injected automatic trigger is compliant only with 2663:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * group injected trigger source set to SW start, without any 2664:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * further action on ADC group injected conversion start or stop: 2665:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * in this case, ADC group injected is controlled only 2666:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * from ADC group regular. 2667:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note It is not possible to enable both ADC group injected 2668:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * auto-injected mode and sequencer discontinuous mode. 2669:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 JAUTO LL_ADC_INJ_SetTrigAuto 2670:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2671:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param TrigAuto This parameter can be one of the following values: 2672:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_INDEPENDENT 2673:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_FROM_GRP_REGULAR 2674:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 2675:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2676:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetTrigAuto(ADC_TypeDef *ADCx, uint32_t TrigAuto) 2677:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2678:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR1, ADC_CR1_JAUTO, TrigAuto); 2679:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2680:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2681:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2682:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group injected conversion trigger: 2683:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * independent or from ADC group regular. 2684:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 JAUTO LL_ADC_INJ_GetTrigAuto 2685:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2686:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 2687:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_INDEPENDENT 2688:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_FROM_GRP_REGULAR 2689:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2690:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetTrigAuto(ADC_TypeDef *ADCx) 2691:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2692:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR1, ADC_CR1_JAUTO)); 2693:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2694:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2695:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2696:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC group injected offset. 2697:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note It sets: 2698:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - ADC group injected rank to which the offset programmed 2699:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * will be applied 2700:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - Offset level (offset to be subtracted from the raw 2701:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * converted data). 2702:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Caution: Offset format is dependent to ADC resolution: 2703:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * offset has to be left-aligned on bit 11, the LSB (right bits) ARM GAS /tmp/ccc82m4X.s page 73 2704:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * are set to 0. 2705:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Offset cannot be enabled or disabled. 2706:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * To emulate offset disabled, set an offset value equal to 0. 2707:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll JOFR1 JOFFSET1 LL_ADC_INJ_SetOffset\n 2708:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JOFR2 JOFFSET2 LL_ADC_INJ_SetOffset\n 2709:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JOFR3 JOFFSET3 LL_ADC_INJ_SetOffset\n 2710:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JOFR4 JOFFSET4 LL_ADC_INJ_SetOffset 2711:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2712:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Rank This parameter can be one of the following values: 2713:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1 2714:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2 2715:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3 2716:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4 2717:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param OffsetLevel Value between Min_Data=0x000 and Max_Data=0xFFF 2718:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 2719:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2720:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetOffset(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t OffsetLevel) 2721:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2722:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->JOFR1, __ADC_MASK_SHIFT(Rank, ADC_INJ_JOFRX_REGO 2723:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2724:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(*preg, 2725:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_JOFR1_JOFFSET1, 2726:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** OffsetLevel); 2727:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2728:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2729:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2730:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC group injected offset. 2731:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note It gives offset level (offset to be subtracted from the raw converted data). 2732:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Caution: Offset format is dependent to ADC resolution: 2733:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * offset has to be left-aligned on bit 11, the LSB (right bits) 2734:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * are set to 0. 2735:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll JOFR1 JOFFSET1 LL_ADC_INJ_GetOffset\n 2736:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JOFR2 JOFFSET2 LL_ADC_INJ_GetOffset\n 2737:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JOFR3 JOFFSET3 LL_ADC_INJ_GetOffset\n 2738:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * JOFR4 JOFFSET4 LL_ADC_INJ_GetOffset 2739:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2740:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Rank This parameter can be one of the following values: 2741:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1 2742:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2 2743:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3 2744:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4 2745:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0xFFF 2746:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2747:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetOffset(ADC_TypeDef *ADCx, uint32_t Rank) 2748:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2749:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->JOFR1, __ADC_MASK_SHIFT(Rank, ADC_INJ_JOFRX_REGO 2750:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2751:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(*preg, 2752:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_JOFR1_JOFFSET1) 2753:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ); 2754:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2755:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2756:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2757:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 2758:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2759:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2760:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_Channels Configuration of ADC hierarchical scope: channels ARM GAS /tmp/ccc82m4X.s page 74 2761:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 2762:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2763:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2764:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2765:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set sampling time of the selected ADC channel 2766:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Unit: ADC clock cycles. 2767:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this device, sampling time is on channel scope: independently 2768:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of channel mapped on ADC group regular or injected. 2769:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note In case of internal channel (VrefInt, TempSensor, ...) to be 2770:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * converted: 2771:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * sampling time constraints must be respected (sampling time can be 2772:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * adjusted in function of ADC clock frequency and sampling time 2773:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * setting). 2774:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet for timings values (parameters TS_vrefint, 2775:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * TS_temp, ...). 2776:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Conversion time is the addition of sampling time and processing time. 2777:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to reference manual for ADC processing time of 2778:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * this STM32 series. 2779:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note In case of ADC conversion of internal channel (VrefInt, 2780:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * temperature sensor, ...), a sampling time minimum value 2781:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is required. 2782:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet. 2783:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll SMPR1 SMP17 LL_ADC_SetChannelSamplingTime\n 2784:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP16 LL_ADC_SetChannelSamplingTime\n 2785:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP15 LL_ADC_SetChannelSamplingTime\n 2786:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP14 LL_ADC_SetChannelSamplingTime\n 2787:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP13 LL_ADC_SetChannelSamplingTime\n 2788:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP12 LL_ADC_SetChannelSamplingTime\n 2789:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP11 LL_ADC_SetChannelSamplingTime\n 2790:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP10 LL_ADC_SetChannelSamplingTime\n 2791:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP9 LL_ADC_SetChannelSamplingTime\n 2792:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP8 LL_ADC_SetChannelSamplingTime\n 2793:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP7 LL_ADC_SetChannelSamplingTime\n 2794:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP6 LL_ADC_SetChannelSamplingTime\n 2795:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP5 LL_ADC_SetChannelSamplingTime\n 2796:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP4 LL_ADC_SetChannelSamplingTime\n 2797:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP3 LL_ADC_SetChannelSamplingTime\n 2798:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP2 LL_ADC_SetChannelSamplingTime\n 2799:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP1 LL_ADC_SetChannelSamplingTime\n 2800:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP0 LL_ADC_SetChannelSamplingTime 2801:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2802:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Channel This parameter can be one of the following values: 2803:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 2804:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 2805:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 2806:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 2807:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 2808:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 2809:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6 2810:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7 2811:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8 2812:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9 2813:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10 2814:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11 2815:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12 2816:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13 2817:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14 ARM GAS /tmp/ccc82m4X.s page 75 2818:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15 2819:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16 2820:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17 2821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1) 2822:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) 2823:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 2824:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1. 2825:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param SamplingTime This parameter can be one of the following values: 2826:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_1CYCLE_5 2827:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_7CYCLES_5 2828:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_13CYCLES_5 2829:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_28CYCLES_5 2830:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_41CYCLES_5 2831:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_55CYCLES_5 2832:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_71CYCLES_5 2833:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_239CYCLES_5 2834:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 2835:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2836:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetChannelSamplingTime(ADC_TypeDef *ADCx, uint32_t Channel, uint32_t Sa 2837:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2838:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Set bits with content of parameter "SamplingTime" with bits position */ 2839:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* in register and register position depending on parameter "Channel". */ 2840:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* Parameter "Channel" is used with masks because containing */ 2841:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /* other bits reserved for other purpose. */ 2842:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SMPR1, __ADC_MASK_SHIFT(Channel, ADC_CHANNEL_SMP 2843:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2844:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(*preg, 2845:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_SMPR2_SMP0 << __ADC_MASK_SHIFT(Channel, ADC_CHANNEL_SMPx_BITOFFSET_MASK), 2846:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** SamplingTime << __ADC_MASK_SHIFT(Channel, ADC_CHANNEL_SMPx_BITOFFSET_MASK)); 2847:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2848:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2849:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2850:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get sampling time of the selected ADC channel 2851:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Unit: ADC clock cycles. 2852:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this device, sampling time is on channel scope: independently 2853:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of channel mapped on ADC group regular or injected. 2854:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Conversion time is the addition of sampling time and processing time. 2855:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to reference manual for ADC processing time of 2856:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * this STM32 series. 2857:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll SMPR1 SMP17 LL_ADC_GetChannelSamplingTime\n 2858:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP16 LL_ADC_GetChannelSamplingTime\n 2859:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP15 LL_ADC_GetChannelSamplingTime\n 2860:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP14 LL_ADC_GetChannelSamplingTime\n 2861:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP13 LL_ADC_GetChannelSamplingTime\n 2862:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP12 LL_ADC_GetChannelSamplingTime\n 2863:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP11 LL_ADC_GetChannelSamplingTime\n 2864:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR1 SMP10 LL_ADC_GetChannelSamplingTime\n 2865:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP9 LL_ADC_GetChannelSamplingTime\n 2866:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP8 LL_ADC_GetChannelSamplingTime\n 2867:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP7 LL_ADC_GetChannelSamplingTime\n 2868:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP6 LL_ADC_GetChannelSamplingTime\n 2869:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP5 LL_ADC_GetChannelSamplingTime\n 2870:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP4 LL_ADC_GetChannelSamplingTime\n 2871:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP3 LL_ADC_GetChannelSamplingTime\n 2872:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP2 LL_ADC_GetChannelSamplingTime\n 2873:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP1 LL_ADC_GetChannelSamplingTime\n 2874:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * SMPR2 SMP0 LL_ADC_GetChannelSamplingTime ARM GAS /tmp/ccc82m4X.s page 76 2875:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2876:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Channel This parameter can be one of the following values: 2877:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 2878:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 2879:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 2880:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 2881:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 2882:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 2883:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6 2884:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7 2885:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8 2886:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9 2887:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10 2888:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11 2889:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12 2890:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13 2891:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14 2892:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15 2893:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16 2894:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17 2895:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1) 2896:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1) 2897:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 2898:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1. 2899:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 2900:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_1CYCLE_5 2901:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_7CYCLES_5 2902:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_13CYCLES_5 2903:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_28CYCLES_5 2904:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_41CYCLES_5 2905:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_55CYCLES_5 2906:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_71CYCLES_5 2907:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_239CYCLES_5 2908:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2909:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetChannelSamplingTime(ADC_TypeDef *ADCx, uint32_t Channel) 2910:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 2911:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SMPR1, __ADC_MASK_SHIFT(Channel, ADC_CHANNEL_SMP 2912:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2913:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(*preg, 2914:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_SMPR2_SMP0 << __ADC_MASK_SHIFT(Channel, ADC_CHANNEL_SMPx_BITOFFSET 2915:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** >> __ADC_MASK_SHIFT(Channel, ADC_CHANNEL_SMPx_BITOFFSET_MASK) 2916:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ); 2917:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 2918:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2919:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2920:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 2921:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2922:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2923:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_AnalogWatchdog Configuration of ADC transversal scope: an 2924:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 2925:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 2926:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 2927:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 2928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC analog watchdog monitored channels: 2929:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * a single channel or all channels, 2930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * on ADC groups regular and-or injected. 2931:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Once monitored channels are selected, analog watchdog ARM GAS /tmp/ccc82m4X.s page 77 2932:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * is enabled. 2933:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note In case of need to define a single channel to monitor 2934:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * with analog watchdog from sequencer channel definition, 2935:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * use helper macro @ref __LL_ADC_ANALOGWD_CHANNEL_GROUP(). 2936:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, there is only 1 kind of analog watchdog 2937:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * instance: 2938:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - AWD standard (instance AWD1): 2939:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - channels monitored: can monitor 1 channel or all channels. 2940:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - groups monitored: ADC groups regular and-or injected. 2941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - resolution: resolution is not limited (corresponds to 2942:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC resolution configured). 2943:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 AWD1CH LL_ADC_SetAnalogWDMonitChannels\n 2944:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * CR1 AWD1SGL LL_ADC_SetAnalogWDMonitChannels\n 2945:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * CR1 AWD1EN LL_ADC_SetAnalogWDMonitChannels 2946:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 2947:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param AWDChannelGroup This parameter can be one of the following values: 2948:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_DISABLE 2949:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG 2950:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_INJ 2951:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG_INJ 2952:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG 2953:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_INJ 2954:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG_INJ 2955:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG 2956:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_INJ 2957:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG_INJ 2958:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG 2959:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_INJ 2960:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG_INJ 2961:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG 2962:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_INJ 2963:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG_INJ 2964:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG 2965:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_INJ 2966:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG_INJ 2967:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG 2968:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_INJ 2969:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG_INJ 2970:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG 2971:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_INJ 2972:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG_INJ 2973:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG 2974:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_INJ 2975:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG_INJ 2976:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG 2977:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_INJ 2978:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG_INJ 2979:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG 2980:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_INJ 2981:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG_INJ 2982:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG 2983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_INJ 2984:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG_INJ 2985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG 2986:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_INJ 2987:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG_INJ 2988:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG ARM GAS /tmp/ccc82m4X.s page 78 2989:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_INJ 2990:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG_INJ 2991:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG 2992:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_INJ 2993:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG_INJ 2994:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG 2995:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_INJ 2996:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG_INJ 2997:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG 2998:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_INJ 2999:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG_INJ 3000:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG 3001:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_INJ 3002:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG_INJ 3003:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG 3004:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_INJ 3005:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG_INJ 3006:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_REG (1) 3007:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_INJ (1) 3008:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_REG_INJ (1) 3009:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_REG (1) 3010:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_INJ (1) 3011:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_REG_INJ (1) 3012:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * 3013:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (1) On STM32F1, parameter available only on ADC instance: ADC1. 3014:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 3015:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 3016:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetAnalogWDMonitChannels(ADC_TypeDef *ADCx, uint32_t AWDChannelGroup) 3017:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 3018:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCx->CR1, 3019:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** (ADC_CR1_AWDEN | ADC_CR1_JAWDEN | ADC_CR1_AWDSGL | ADC_CR1_AWDCH), 3020:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** AWDChannelGroup); 3021:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 3022:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 3023:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 3024:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC analog watchdog monitored channel. 3025:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note Usage of the returned channel number: 3026:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - To reinject this channel into another function LL_ADC_xxx: 3027:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * the returned channel number is only partly formatted on definition 3028:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared 3029:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * with parts of literals LL_ADC_CHANNEL_x or using 3030:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * helper macro @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). 3031:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Then the selected literal LL_ADC_CHANNEL_x can be used 3032:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * as parameter for another function. 3033:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - To get the channel number in decimal format: 3034:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * process the returned value with the helper macro 3035:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). 3036:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Applicable only when the analog watchdog is set to monitor 3037:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * one channel. 3038:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, there is only 1 kind of analog watchdog 3039:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * instance: 3040:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - AWD standard (instance AWD1): 3041:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - channels monitored: can monitor 1 channel or all channels. 3042:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - groups monitored: ADC groups regular and-or injected. 3043:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - resolution: resolution is not limited (corresponds to 3044:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC resolution configured). 3045:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 AWD1CH LL_ADC_GetAnalogWDMonitChannels\n ARM GAS /tmp/ccc82m4X.s page 79 3046:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * CR1 AWD1SGL LL_ADC_GetAnalogWDMonitChannels\n 3047:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * CR1 AWD1EN LL_ADC_GetAnalogWDMonitChannels 3048:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 3049:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 3050:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_DISABLE 3051:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG 3052:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_INJ 3053:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG_INJ 3054:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG 3055:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_INJ 3056:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG_INJ 3057:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG 3058:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_INJ 3059:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG_INJ 3060:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG 3061:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_INJ 3062:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG_INJ 3063:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG 3064:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_INJ 3065:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG_INJ 3066:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG 3067:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_INJ 3068:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG_INJ 3069:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG 3070:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_INJ 3071:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG_INJ 3072:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG 3073:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_INJ 3074:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG_INJ 3075:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG 3076:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_INJ 3077:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG_INJ 3078:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG 3079:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_INJ 3080:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG_INJ 3081:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG 3082:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_INJ 3083:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG_INJ 3084:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG 3085:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_INJ 3086:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG_INJ 3087:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG 3088:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_INJ 3089:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG_INJ 3090:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG 3091:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_INJ 3092:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG_INJ 3093:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG 3094:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_INJ 3095:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG_INJ 3096:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG 3097:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_INJ 3098:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG_INJ 3099:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG 3100:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_INJ 3101:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG_INJ 3102:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG ARM GAS /tmp/ccc82m4X.s page 80 3103:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_INJ 3104:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG_INJ 3105:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG 3106:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_INJ 3107:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG_INJ 3108:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 3109:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetAnalogWDMonitChannels(ADC_TypeDef *ADCx) 3110:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 3111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CR1, (ADC_CR1_AWDEN | ADC_CR1_JAWDEN | ADC_CR1_AWDSGL | ADC_CR1_ 3112:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 3113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 3114:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 3115:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC analog watchdog threshold value of threshold 3116:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * high or low. 3117:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, there is only 1 kind of analog watchdog 3118:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * instance: 3119:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - AWD standard (instance AWD1): 3120:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - channels monitored: can monitor 1 channel or all channels. 3121:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - groups monitored: ADC groups regular and-or injected. 3122:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * - resolution: resolution is not limited (corresponds to 3123:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC resolution configured). 3124:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll HTR HT LL_ADC_SetAnalogWDThresholds\n 3125:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LTR LT LL_ADC_SetAnalogWDThresholds 3126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 3127:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param AWDThresholdsHighLow This parameter can be one of the following values: 3128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_THRESHOLD_HIGH 3129:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_THRESHOLD_LOW 3130:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param AWDThresholdValue: Value between Min_Data=0x000 and Max_Data=0xFFF 3131:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 3132:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 3133:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDThresholdsHighLow, 3134:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 3135:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->HTR, AWDThresholdsHighLow); 3136:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 3137:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(*preg, 3138:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ADC_HTR_HT, 3139:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** AWDThresholdValue); 3140:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 3141:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 3142:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 3143:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC analog watchdog threshold value of threshold high or 3144:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * threshold low. 3145:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note In case of ADC resolution different of 12 bits, 3146:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * analog watchdog thresholds data require a specific shift. 3147:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Use helper macro @ref __LL_ADC_ANALOGWD_GET_THRESHOLD_RESOLUTION(). 3148:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll HTR HT LL_ADC_GetAnalogWDThresholds\n 3149:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * LTR LT LL_ADC_GetAnalogWDThresholds 3150:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 3151:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param AWDThresholdsHighLow This parameter can be one of the following values: 3152:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_THRESHOLD_HIGH 3153:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_THRESHOLD_LOW 3154:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0xFFF 3155:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 3156:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDThresholdsHigh 3157:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 3158:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->HTR, AWDThresholdsHighLow); 3159:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** ARM GAS /tmp/ccc82m4X.s page 81 3160:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(*preg, ADC_HTR_HT)); 3161:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 3162:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 3163:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 3164:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 3165:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 3166:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 3167:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Multimode Configuration of ADC hierarchical scope: multim 3168:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 3169:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 3170:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 3171:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #if defined(ADC_MULTIMODE_SUPPORT) 3172:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 3173:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Set ADC multimode configuration to operate in independent mode 3174:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or multimode (for devices with several ADC instances). 3175:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note If multimode configuration: the selected ADC instance is 3176:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * either master or slave depending on hardware. 3177:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to reference manual. 3178:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 DUALMOD LL_ADC_SetMultimode 3179:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance 3180:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO 3181:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param Multimode This parameter can be one of the following values: 3182:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_INDEPENDENT 3183:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIMULT 3184:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTERL_FAST 3185:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTERL_SLOW 3186:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_INJ_SIMULT 3187:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_INJ_ALTERN 3188:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM 3189:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT 3190:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTFAST_INJ_SIM 3191:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTSLOW_INJ_SIM 3192:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 3193:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 3194:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetMultimode(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t Multimode) 3195:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 3196:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** MODIFY_REG(ADCxy_COMMON->CR1, ADC_CR1_DUALMOD, Multimode); 3197:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 3198:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 3199:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 3200:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get ADC multimode configuration to operate in independent mode 3201:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * or multimode (for devices with several ADC instances). 3202:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note If multimode configuration: the selected ADC instance is 3203:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * either master or slave depending on hardware. 3204:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to reference manual. 3205:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR1 DUALMOD LL_ADC_GetMultimode 3206:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance 3207:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO 3208:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval Returned value can be one of the following values: 3209:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_INDEPENDENT 3210:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIMULT 3211:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTERL_FAST 3212:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTERL_SLOW 3213:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_INJ_SIMULT 3214:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_INJ_ALTERN 3215:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM 3216:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT ARM GAS /tmp/ccc82m4X.s page 82 3217:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTFAST_INJ_SIM 3218:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTSLOW_INJ_SIM 3219:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 3220:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetMultimode(ADC_Common_TypeDef *ADCxy_COMMON) 3221:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 3222:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCxy_COMMON->CR1, ADC_CR1_DUALMOD)); 3223:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 3224:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 3225:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** #endif /* ADC_MULTIMODE_SUPPORT */ 3226:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 3227:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 3228:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @} 3229:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 3230:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Operation_ADC_Instance Operation on ADC hierarchical scope: ADC instance 3231:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @{ 3232:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 3233:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 3234:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 3235:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Enable the selected ADC instance. 3236:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @note On this STM32 series, after ADC enable, a delay for 3237:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC internal analog stabilization is required before performing a 3238:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * ADC conversion start. 3239:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * Refer to device datasheet, parameter tSTAB. 3240:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 ADON LL_ADC_Enable 3241:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 3242:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 3243:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 3244:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_Enable(ADC_TypeDef *ADCx) 3245:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 3246:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** SET_BIT(ADCx->CR2, ADC_CR2_ADON); 3247:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 3248:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 3249:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 3250:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Disable the selected ADC instance. 3251:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 ADON LL_ADC_Disable 3252:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 3253:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval None 3254:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 3255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_Disable(ADC_TypeDef *ADCx) 3256:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 3257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** CLEAR_BIT(ADCx->CR2, ADC_CR2_ADON); 3258:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 3259:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** 3260:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** /** 3261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @brief Get the selected ADC instance enable state. 3262:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @rmtoll CR2 ADON LL_ADC_IsEnabled 3263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @param ADCx ADC instance 3264:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** * @retval 0: ADC is disabled, 1: ADC is enabled. 3265:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** */ 3266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsEnabled(ADC_TypeDef *ADCx) 97 .loc 3 3266 26 view .LVU18 98 .LBB33: 3267:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 3268:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** return (READ_BIT(ADCx->CR2, ADC_CR2_ADON) == (ADC_CR2_ADON)); 99 .loc 3 3268 3 view .LVU19 100 .loc 3 3268 11 is_stmt 0 view .LVU20 101 0000 0C4B ldr r3, .L8 ARM GAS /tmp/ccc82m4X.s page 83 102 0002 9A68 ldr r2, [r3, #8] 103 .LVL5: 104 .loc 3 3268 11 view .LVU21 105 .LBE33: 106 .LBE32: 107 .LBB34: 108 .LBI34: 3266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 109 .loc 3 3266 26 is_stmt 1 view .LVU22 110 .LBB35: 111 .loc 3 3268 3 view .LVU23 112 .loc 3 3268 11 is_stmt 0 view .LVU24 113 0004 03F58063 add r3, r3, #1024 114 0008 9B68 ldr r3, [r3, #8] 115 .LVL6: 116 .loc 3 3268 11 view .LVU25 117 .LBE35: 118 .LBE34: 119 .loc 1 323 5 view .LVU26 120 000a 1343 orrs r3, r3, r2 121 000c 13F0010F tst r3, #1 122 0010 0ED1 bne .L7 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Configuration of ADC hierarchical scope: */ 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - common to several ADC */ 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* (all ADC instances belonging to the same ADC common instance) */ 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - multimode (if several ADC instances available on the */ 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* selected device) */ 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC multimode configuration */ 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC multimode DMA transfer */ 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC multimode: delay between 2 sampling phases */ 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC_MULTIMODE_SUPPORT) 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(ADC_CommonInitStruct->Multimode != LL_ADC_MULTI_INDEPENDENT) 123 .loc 1 334 5 is_stmt 1 view .LVU27 124 .loc 1 334 28 is_stmt 0 view .LVU28 125 0012 0B68 ldr r3, [r1] 126 .loc 1 334 7 view .LVU29 127 0014 33B1 cbz r3, .L6 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCxy_COMMON->CR1, 128 .loc 1 336 7 is_stmt 1 view .LVU30 129 0016 4268 ldr r2, [r0, #4] 130 0018 22F47022 bic r2, r2, #983040 131 001c 1343 orrs r3, r3, r2 132 001e 4360 str r3, [r0, #4] 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 133 .loc 1 310 15 is_stmt 0 view .LVU31 134 0020 0020 movs r0, #0 135 .LVL7: 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 136 .loc 1 310 15 view .LVU32 137 0022 7047 bx lr 138 .LVL8: 139 .L6: 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_DUALMOD, 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CommonInitStruct->Multimode 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); ARM GAS /tmp/ccc82m4X.s page 84 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** else 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCxy_COMMON->CR1, 140 .loc 1 343 7 is_stmt 1 view .LVU33 141 0024 4368 ldr r3, [r0, #4] 142 0026 23F47023 bic r3, r3, #983040 143 002a 4360 str r3, [r0, #4] 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 144 .loc 1 310 15 is_stmt 0 view .LVU34 145 002c 0020 movs r0, #0 146 .LVL9: 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 147 .loc 1 310 15 view .LVU35 148 002e 7047 bx lr 149 .LVL10: 150 .L7: 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_DUALMOD, 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_ADC_MULTI_INDEPENDENT 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** else 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Initialization error: One or several ADC instances belonging to */ 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* the same ADC common instance are not disabled. */ 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** status = ERROR; 151 .loc 1 354 12 view .LVU36 152 0030 0120 movs r0, #1 153 .LVL11: 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** return status; 154 .loc 1 357 3 is_stmt 1 view .LVU37 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 155 .loc 1 358 1 is_stmt 0 view .LVU38 156 0032 7047 bx lr 157 .L9: 158 .align 2 159 .L8: 160 0034 00240140 .word 1073816576 161 .cfi_endproc 162 .LFE157: 164 .section .text.LL_ADC_CommonStructInit,"ax",%progbits 165 .align 1 166 .global LL_ADC_CommonStructInit 167 .syntax unified 168 .thumb 169 .thumb_func 171 LL_ADC_CommonStructInit: 172 .LVL12: 173 .LFB158: 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Set each @ref LL_ADC_CommonInitTypeDef field to default value. 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_CommonInitStruct Pointer to a @ref LL_ADC_CommonInitTypeDef structure ARM GAS /tmp/ccc82m4X.s page 85 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * whose fields will be set to default values. 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval None 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** void LL_ADC_CommonStructInit(LL_ADC_CommonInitTypeDef *ADC_CommonInitStruct) 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 174 .loc 1 367 1 is_stmt 1 view -0 175 .cfi_startproc 176 @ args = 0, pretend = 0, frame = 0 177 @ frame_needed = 0, uses_anonymous_args = 0 178 @ link register save eliminated. 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set ADC_CommonInitStruct fields to default values */ 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set fields of ADC common */ 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* (all ADC instances belonging to the same ADC common instance) */ 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC_MULTIMODE_SUPPORT) 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set fields of ADC multimode */ 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CommonInitStruct->Multimode = LL_ADC_MULTI_INDEPENDENT; 179 .loc 1 374 3 view .LVU40 180 .loc 1 374 47 is_stmt 0 view .LVU41 181 0000 0023 movs r3, #0 182 0002 0360 str r3, [r0] 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif /* ADC_MULTIMODE_SUPPORT */ 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 183 .loc 1 376 1 view .LVU42 184 0004 7047 bx lr 185 .cfi_endproc 186 .LFE158: 188 .section .text.LL_ADC_DeInit,"ax",%progbits 189 .align 1 190 .global LL_ADC_DeInit 191 .syntax unified 192 .thumb 193 .thumb_func 195 LL_ADC_DeInit: 196 .LVL13: 197 .LFB159: 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief De-initialize registers of the selected ADC instance 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * to their default reset values. 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note To reset all ADC instances quickly (perform a hard reset), 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * use function @ref LL_ADC_CommonDeInit(). 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADCx ADC instance 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval An ErrorStatus enumeration value: 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - SUCCESS: ADC registers are de-initialized 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - ERROR: ADC registers are not de-initialized 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus LL_ADC_DeInit(ADC_TypeDef *ADCx) 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 198 .loc 1 389 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. 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus status = SUCCESS; 203 .loc 1 390 3 view .LVU44 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ARM GAS /tmp/ccc82m4X.s page 86 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check the parameters */ 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(ADCx)); 204 .loc 1 393 3 view .LVU45 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Disable ADC instance if not already disabled. */ 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(LL_ADC_IsEnabled(ADCx) == 1U) 205 .loc 1 396 3 view .LVU46 206 .LBB36: 207 .LBI36: 3266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 208 .loc 3 3266 26 view .LVU47 209 .LBB37: 210 .loc 3 3268 3 view .LVU48 211 .loc 3 3268 11 is_stmt 0 view .LVU49 212 0000 8368 ldr r3, [r0, #8] 213 .LVL14: 214 .loc 3 3268 11 view .LVU50 215 .LBE37: 216 .LBE36: 217 .loc 1 396 5 view .LVU51 218 0002 13F0010F tst r3, #1 219 0006 0BD0 beq .L12 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set ADC group regular trigger source to SW start to ensure to not */ 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* have an external trigger event occurring during the conversion stop */ 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC disable process. */ 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_ADC_REG_SetTriggerSource(ADCx, LL_ADC_REG_TRIG_SOFTWARE); 220 .loc 1 401 5 is_stmt 1 view .LVU52 221 .LVL15: 222 .LBB38: 223 .LBI38: 1814:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 224 .loc 3 1814 22 view .LVU53 225 .LBB39: 1821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 226 .loc 3 1821 3 view .LVU54 227 0008 8368 ldr r3, [r0, #8] 228 000a 43F46023 orr r3, r3, #917504 229 000e 8360 str r3, [r0, #8] 230 .LVL16: 1821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 231 .loc 3 1821 3 is_stmt 0 view .LVU55 232 .LBE39: 233 .LBE38: 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set ADC group injected trigger source to SW start to ensure to not */ 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* have an external trigger event occurring during the conversion stop */ 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC disable process. */ 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_ADC_INJ_SetTriggerSource(ADCx, LL_ADC_INJ_TRIG_SOFTWARE); 234 .loc 1 406 5 is_stmt 1 view .LVU56 235 .LBB40: 236 .LBI40: 2375:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 237 .loc 3 2375 22 view .LVU57 238 .LBB41: 2382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 239 .loc 3 2382 3 view .LVU58 ARM GAS /tmp/ccc82m4X.s page 87 240 0010 8368 ldr r3, [r0, #8] 241 0012 43F4E043 orr r3, r3, #28672 242 0016 8360 str r3, [r0, #8] 243 .LVL17: 2382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 244 .loc 3 2382 3 is_stmt 0 view .LVU59 245 .LBE41: 246 .LBE40: 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Disable the ADC instance */ 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_ADC_Disable(ADCx); 247 .loc 1 409 5 is_stmt 1 view .LVU60 248 .LBB42: 249 .LBI42: 3255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 250 .loc 3 3255 22 view .LVU61 251 .LBB43: 3257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 252 .loc 3 3257 3 view .LVU62 253 0018 8368 ldr r3, [r0, #8] 254 001a 23F00103 bic r3, r3, #1 255 001e 8360 str r3, [r0, #8] 256 .LVL18: 257 .L12: 3257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 258 .loc 3 3257 3 is_stmt 0 view .LVU63 259 .LBE43: 260 .LBE42: 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check whether ADC state is compliant with expected state */ 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* (hardware requirements of bits state to reset registers below) */ 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(READ_BIT(ADCx->CR2, ADC_CR2_ADON) == 0U) 261 .loc 1 414 3 is_stmt 1 view .LVU64 262 .loc 1 414 6 is_stmt 0 view .LVU65 263 0020 8368 ldr r3, [r0, #8] 264 .loc 1 414 5 view .LVU66 265 0022 13F0010F tst r3, #1 266 0026 47D1 bne .L13 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ========== Reset ADC registers ========== */ 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register SR */ 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->SR, 267 .loc 1 418 5 is_stmt 1 view .LVU67 268 0028 0368 ldr r3, [r0] 269 002a 23F01F03 bic r3, r3, #31 270 002e 0360 str r3, [r0] 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( LL_ADC_FLAG_STRT 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | LL_ADC_FLAG_JSTRT 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | LL_ADC_FLAG_EOS 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | LL_ADC_FLAG_JEOS 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | LL_ADC_FLAG_AWD1 ) 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register CR1 */ 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined (STM32F103x6) || defined (STM32F103xB) || defined (STM32F105xC) || defined (STM32F107 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ARM GAS /tmp/ccc82m4X.s page 88 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->CR1, 271 .loc 1 429 5 view .LVU68 272 0030 4268 ldr r2, [r0, #4] 273 0032 224B ldr r3, .L14 274 0034 1340 ands r3, r3, r2 275 0036 4360 str r3, [r0, #4] 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_CR1_AWDEN | ADC_CR1_JAWDEN | ADC_CR1_DUALMOD 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_DISCNUM | ADC_CR1_JDISCEN | ADC_CR1_DISCEN 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_JAUTO | ADC_CR1_AWDSGL | ADC_CR1_SCAN 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_JEOCIE | ADC_CR1_AWDIE | ADC_CR1_EOCIE 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_AWDCH ) 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->CR1, 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_CR1_AWDEN | ADC_CR1_JAWDEN | ADC_CR1_DISCNUM 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_JDISCEN | ADC_CR1_DISCEN | ADC_CR1_JAUTO 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_AWDSGL | ADC_CR1_SCAN | ADC_CR1_JEOCIE 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_AWDIE | ADC_CR1_EOCIE | ADC_CR1_AWDCH ) 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register CR2 */ 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->CR2, 276 .loc 1 447 5 view .LVU69 277 0038 8268 ldr r2, [r0, #8] 278 003a 214B ldr r3, .L14+4 279 003c 1340 ands r3, r3, r2 280 003e 8360 str r3, [r0, #8] 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_CR2_TSVREFE 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR2_SWSTART | ADC_CR2_EXTTRIG | ADC_CR2_EXTSEL 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR2_JSWSTART | ADC_CR2_JEXTTRIG | ADC_CR2_JEXTSEL 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR2_ALIGN | ADC_CR2_DMA 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR2_RSTCAL | ADC_CR2_CAL 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR2_CONT | ADC_CR2_ADON ) 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register SMPR1 */ 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->SMPR1, 281 .loc 1 457 5 view .LVU70 282 0040 C368 ldr r3, [r0, #12] 283 0042 03F07F43 and r3, r3, #-16777216 284 0046 C360 str r3, [r0, #12] 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_SMPR1_SMP17 | ADC_SMPR1_SMP16 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SMPR1_SMP15 | ADC_SMPR1_SMP14 | ADC_SMPR1_SMP13 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SMPR1_SMP12 | ADC_SMPR1_SMP11 | ADC_SMPR1_SMP10) 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register SMPR2 */ 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->SMPR2, 285 .loc 1 464 5 view .LVU71 286 0048 0369 ldr r3, [r0, #16] 287 004a 03F04043 and r3, r3, #-1073741824 288 004e 0361 str r3, [r0, #16] 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_SMPR2_SMP9 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SMPR2_SMP8 | ADC_SMPR2_SMP7 | ADC_SMPR2_SMP6 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SMPR2_SMP5 | ADC_SMPR2_SMP4 | ADC_SMPR2_SMP3 ARM GAS /tmp/ccc82m4X.s page 89 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SMPR2_SMP2 | ADC_SMPR2_SMP1 | ADC_SMPR2_SMP0) 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register JOFR1 */ 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->JOFR1, ADC_JOFR1_JOFFSET1); 289 .loc 1 472 5 view .LVU72 290 0050 4369 ldr r3, [r0, #20] 291 0052 23F47F63 bic r3, r3, #4080 292 0056 23F00F03 bic r3, r3, #15 293 005a 4361 str r3, [r0, #20] 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register JOFR2 */ 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->JOFR2, ADC_JOFR2_JOFFSET2); 294 .loc 1 474 5 view .LVU73 295 005c 8369 ldr r3, [r0, #24] 296 005e 23F47F63 bic r3, r3, #4080 297 0062 23F00F03 bic r3, r3, #15 298 0066 8361 str r3, [r0, #24] 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register JOFR3 */ 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->JOFR3, ADC_JOFR3_JOFFSET3); 299 .loc 1 476 5 view .LVU74 300 0068 C369 ldr r3, [r0, #28] 301 006a 23F47F63 bic r3, r3, #4080 302 006e 23F00F03 bic r3, r3, #15 303 0072 C361 str r3, [r0, #28] 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register JOFR4 */ 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->JOFR4, ADC_JOFR4_JOFFSET4); 304 .loc 1 478 5 view .LVU75 305 0074 036A ldr r3, [r0, #32] 306 0076 23F47F63 bic r3, r3, #4080 307 007a 23F00F03 bic r3, r3, #15 308 007e 0362 str r3, [r0, #32] 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register HTR */ 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** SET_BIT(ADCx->HTR, ADC_HTR_HT); 309 .loc 1 481 5 view .LVU76 310 0080 436A ldr r3, [r0, #36] 311 0082 6FEA1333 mvn r3, r3, lsr #12 312 0086 6FEA0333 mvn r3, r3, lsl #12 313 008a 4362 str r3, [r0, #36] 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register LTR */ 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->LTR, ADC_LTR_LT); 314 .loc 1 483 5 view .LVU77 315 008c 836A ldr r3, [r0, #40] 316 008e 23F47F63 bic r3, r3, #4080 317 0092 23F00F03 bic r3, r3, #15 318 0096 8362 str r3, [r0, #40] 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register SQR1 */ 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->SQR1, 319 .loc 1 486 5 view .LVU78 320 0098 C36A ldr r3, [r0, #44] 321 009a 03F07F43 and r3, r3, #-16777216 322 009e C362 str r3, [r0, #44] 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_SQR1_L 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SQR1_SQ16 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SQR1_SQ15 | ADC_SQR1_SQ14 | ADC_SQR1_SQ13) 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); ARM GAS /tmp/ccc82m4X.s page 90 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register SQR2 */ 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->SQR2, 323 .loc 1 493 5 view .LVU79 324 00a0 036B ldr r3, [r0, #48] 325 00a2 03F04043 and r3, r3, #-1073741824 326 00a6 0363 str r3, [r0, #48] 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_SQR2_SQ12 | ADC_SQR2_SQ11 | ADC_SQR2_SQ10 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SQR2_SQ9 | ADC_SQR2_SQ8 | ADC_SQR2_SQ7) 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register SQR3 */ 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->SQR3, 327 .loc 1 499 5 view .LVU80 328 00a8 436B ldr r3, [r0, #52] 329 00aa 03F04043 and r3, r3, #-1073741824 330 00ae 4363 str r3, [r0, #52] 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_SQR3_SQ6 | ADC_SQR3_SQ5 | ADC_SQR3_SQ4 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_SQR3_SQ3 | ADC_SQR3_SQ2 | ADC_SQR3_SQ1) 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register JSQR */ 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** CLEAR_BIT(ADCx->JSQR, 331 .loc 1 505 5 view .LVU81 332 00b0 836B ldr r3, [r0, #56] 333 00b2 9B0D lsrs r3, r3, #22 334 00b4 9B05 lsls r3, r3, #22 335 00b6 8363 str r3, [r0, #56] 336 .L13: 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ( ADC_JSQR_JL 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_JSQR_JSQ4 | ADC_JSQR_JSQ3 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_JSQR_JSQ2 | ADC_JSQR_JSQ1 ) 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset register DR */ 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* bits in access mode read only, no direct reset applicable */ 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Reset registers JDR1, JDR2, JDR3, JDR4 */ 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* bits in access mode read only, no direct reset applicable */ 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** return status; 337 .loc 1 519 3 view .LVU82 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 338 .loc 1 520 1 is_stmt 0 view .LVU83 339 00b8 0020 movs r0, #0 340 .LVL19: 341 .loc 1 520 1 view .LVU84 342 00ba 7047 bx lr 343 .L15: 344 .align 2 345 .L14: 346 00bc 000030FF .word -13631488 347 00c0 F00601FF .word -16709904 348 .cfi_endproc 349 .LFE159: ARM GAS /tmp/ccc82m4X.s page 91 351 .section .text.LL_ADC_Init,"ax",%progbits 352 .align 1 353 .global LL_ADC_Init 354 .syntax unified 355 .thumb 356 .thumb_func 358 LL_ADC_Init: 359 .LVL20: 360 .LFB160: 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Initialize some features of ADC instance. 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note These parameters have an impact on ADC scope: ADC instance. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Affects both group regular and group injected (availability 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * of ADC group injected depends on STM32 families). 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to corresponding unitary functions into 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @ref ADC_LL_EF_Configuration_ADC_Instance . 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note The setting of these parameters by function @ref LL_ADC_Init() 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * is conditioned to ADC state: 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * ADC instance must be disabled. 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * This condition is applied to all ADC features, for efficiency 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * and compatibility over all STM32 families. However, the different 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * features can be set under different ADC state conditions 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (setting possible with ADC enabled without conversion on going, 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * ADC enabled with conversion on going, ...) 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Each feature can be updated afterwards with a unitary function 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * and potentially with ADC in a different state than disabled, 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * refer to description of each function for setting 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * conditioned to ADC state. 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note After using this function, some other features must be configured 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * using LL unitary functions. 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * The minimum configuration remaining to be done is: 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - Set ADC group regular or group injected sequencer: 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * map channel on the selected sequencer rank. 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to function @ref LL_ADC_REG_SetSequencerRanks(). 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - Set ADC channel sampling time 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to function LL_ADC_SetChannelSamplingTime(); 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADCx ADC instance 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_InitStruct Pointer to a @ref LL_ADC_REG_InitTypeDef structure 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval An ErrorStatus enumeration value: 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - SUCCESS: ADC registers are initialized 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - ERROR: ADC registers are not initialized 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus LL_ADC_Init(ADC_TypeDef *ADCx, LL_ADC_InitTypeDef *ADC_InitStruct) 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 361 .loc 1 556 1 is_stmt 1 view -0 362 .cfi_startproc 363 @ args = 0, pretend = 0, frame = 0 364 @ frame_needed = 0, uses_anonymous_args = 0 365 @ link register save eliminated. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus status = SUCCESS; 366 .loc 1 557 3 view .LVU86 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check the parameters */ 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(ADCx)); 367 .loc 1 560 3 view .LVU87 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ARM GAS /tmp/ccc82m4X.s page 92 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_DATA_ALIGN(ADC_InitStruct->DataAlignment)); 368 .loc 1 562 3 view .LVU88 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_SCAN_SELECTION(ADC_InitStruct->SequencersScanMode)); 369 .loc 1 563 3 view .LVU89 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: Hardware constraint (refer to description of this function): */ 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC instance must be disabled. */ 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(LL_ADC_IsEnabled(ADCx) == 0U) 370 .loc 1 567 3 view .LVU90 371 .LBB44: 372 .LBI44: 3266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 373 .loc 3 3266 26 view .LVU91 374 .LBB45: 375 .loc 3 3268 3 view .LVU92 376 .loc 3 3268 11 is_stmt 0 view .LVU93 377 0000 8368 ldr r3, [r0, #8] 378 .LVL21: 379 .loc 3 3268 11 view .LVU94 380 .LBE45: 381 .LBE44: 382 .loc 1 567 5 view .LVU95 383 0002 13F0010F tst r3, #1 384 0006 0DD1 bne .L18 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Configuration of ADC hierarchical scope: */ 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - ADC instance */ 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC conversion data alignment */ 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR1, 385 .loc 1 572 5 is_stmt 1 view .LVU96 386 0008 4368 ldr r3, [r0, #4] 387 000a 23F48073 bic r3, r3, #256 388 000e 4A68 ldr r2, [r1, #4] 389 0010 1343 orrs r3, r3, r2 390 0012 4360 str r3, [r0, #4] 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_SCAN 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** , 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_InitStruct->SequencersScanMode 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR2, 391 .loc 1 578 5 view .LVU97 392 0014 8368 ldr r3, [r0, #8] 393 0016 23F40063 bic r3, r3, #2048 394 001a 0A68 ldr r2, [r1] 395 001c 1343 orrs r3, r3, r2 396 001e 8360 str r3, [r0, #8] 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 397 .loc 1 557 15 is_stmt 0 view .LVU98 398 0020 0020 movs r0, #0 399 .LVL22: 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 400 .loc 1 557 15 view .LVU99 401 0022 7047 bx lr 402 .LVL23: 403 .L18: 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR2_ALIGN ARM GAS /tmp/ccc82m4X.s page 93 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** , 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_InitStruct->DataAlignment 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** else 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Initialization error: ADC instance is not disabled. */ 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** status = ERROR; 404 .loc 1 588 12 view .LVU100 405 0024 0120 movs r0, #1 406 .LVL24: 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** return status; 407 .loc 1 590 3 is_stmt 1 view .LVU101 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 408 .loc 1 591 1 is_stmt 0 view .LVU102 409 0026 7047 bx lr 410 .cfi_endproc 411 .LFE160: 413 .section .text.LL_ADC_StructInit,"ax",%progbits 414 .align 1 415 .global LL_ADC_StructInit 416 .syntax unified 417 .thumb 418 .thumb_func 420 LL_ADC_StructInit: 421 .LVL25: 422 .LFB161: 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Set each @ref LL_ADC_InitTypeDef field to default value. 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_InitStruct Pointer to a @ref LL_ADC_InitTypeDef structure 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * whose fields will be set to default values. 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval None 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** void LL_ADC_StructInit(LL_ADC_InitTypeDef *ADC_InitStruct) 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 423 .loc 1 600 1 is_stmt 1 view -0 424 .cfi_startproc 425 @ args = 0, pretend = 0, frame = 0 426 @ frame_needed = 0, uses_anonymous_args = 0 427 @ link register save eliminated. 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set ADC_InitStruct fields to default values */ 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set fields of ADC instance */ 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_InitStruct->DataAlignment = LL_ADC_DATA_ALIGN_RIGHT; 428 .loc 1 603 3 view .LVU104 429 .loc 1 603 33 is_stmt 0 view .LVU105 430 0000 0023 movs r3, #0 431 0002 0360 str r3, [r0] 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Enable scan mode to have a generic behavior with ADC of other */ 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* STM32 families, without this setting available: */ 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC group regular sequencer and ADC group injected sequencer depend */ 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* only of their own configuration. */ 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_InitStruct->SequencersScanMode = LL_ADC_SEQ_SCAN_ENABLE; 432 .loc 1 609 3 is_stmt 1 view .LVU106 ARM GAS /tmp/ccc82m4X.s page 94 433 .loc 1 609 43 is_stmt 0 view .LVU107 434 0004 4FF48073 mov r3, #256 435 0008 4360 str r3, [r0, #4] 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 436 .loc 1 611 1 view .LVU108 437 000a 7047 bx lr 438 .cfi_endproc 439 .LFE161: 441 .section .text.LL_ADC_REG_Init,"ax",%progbits 442 .align 1 443 .global LL_ADC_REG_Init 444 .syntax unified 445 .thumb 446 .thumb_func 448 LL_ADC_REG_Init: 449 .LVL26: 450 .LFB162: 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Initialize some features of ADC group regular. 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note These parameters have an impact on ADC scope: ADC group regular. 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to corresponding unitary functions into 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @ref ADC_LL_EF_Configuration_ADC_Group_Regular 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (functions with prefix "REG"). 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note The setting of these parameters by function @ref LL_ADC_Init() 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * is conditioned to ADC state: 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * ADC instance must be disabled. 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * This condition is applied to all ADC features, for efficiency 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * and compatibility over all STM32 families. However, the different 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * features can be set under different ADC state conditions 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (setting possible with ADC enabled without conversion on going, 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * ADC enabled with conversion on going, ...) 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Each feature can be updated afterwards with a unitary function 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * and potentially with ADC in a different state than disabled, 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * refer to description of each function for setting 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * conditioned to ADC state. 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note After using this function, other features must be configured 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * using LL unitary functions. 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * The minimum configuration remaining to be done is: 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - Set ADC group regular or group injected sequencer: 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * map channel on the selected sequencer rank. 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to function @ref LL_ADC_REG_SetSequencerRanks(). 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - Set ADC channel sampling time 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to function LL_ADC_SetChannelSamplingTime(); 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADCx ADC instance 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_REG_InitStruct Pointer to a @ref LL_ADC_REG_InitTypeDef structure 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval An ErrorStatus enumeration value: 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - SUCCESS: ADC registers are initialized 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - ERROR: ADC registers are not initialized 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus LL_ADC_REG_Init(ADC_TypeDef *ADCx, LL_ADC_REG_InitTypeDef *ADC_REG_InitStruct) 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 451 .loc 1 646 1 is_stmt 1 view -0 452 .cfi_startproc 453 @ args = 0, pretend = 0, frame = 0 454 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/ccc82m4X.s page 95 455 @ link register save eliminated. 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus status = SUCCESS; 456 .loc 1 647 3 view .LVU110 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check the parameters */ 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(ADCx)); 457 .loc 1 650 3 view .LVU111 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC3) 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_REG_TRIG_SOURCE(ADCx, ADC_REG_InitStruct->TriggerSource)); 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_REG_TRIG_SOURCE(ADC_REG_InitStruct->TriggerSource)); 458 .loc 1 654 3 view .LVU112 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_REG_SEQ_SCAN_LENGTH(ADC_REG_InitStruct->SequencerLength)); 459 .loc 1 656 3 view .LVU113 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(ADC_REG_InitStruct->SequencerLength != LL_ADC_REG_SEQ_SCAN_DISABLE) 460 .loc 1 657 3 view .LVU114 461 .loc 1 657 24 is_stmt 0 view .LVU115 462 0000 4B68 ldr r3, [r1, #4] 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_REG_SEQ_SCAN_DISCONT_MODE(ADC_REG_InitStruct->SequencerDiscont)); 463 .loc 1 659 5 is_stmt 1 view .LVU116 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_REG_CONTINUOUS_MODE(ADC_REG_InitStruct->ContinuousMode)); 464 .loc 1 661 3 view .LVU117 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_REG_DMA_TRANSFER(ADC_REG_InitStruct->DMATransfer)); 465 .loc 1 662 3 view .LVU118 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC group regular continuous mode and discontinuous mode */ 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* can not be enabled simultenaeously */ 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param((ADC_REG_InitStruct->ContinuousMode == LL_ADC_REG_CONV_SINGLE) 466 .loc 1 666 3 view .LVU119 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** || (ADC_REG_InitStruct->SequencerDiscont == LL_ADC_REG_SEQ_DISCONT_DISABLE)); 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: Hardware constraint (refer to description of this function): */ 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC instance must be disabled. */ 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(LL_ADC_IsEnabled(ADCx) == 0U) 467 .loc 1 671 3 view .LVU120 468 .LVL27: 469 .LBB46: 470 .LBI46: 3266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 471 .loc 3 3266 26 view .LVU121 472 .LBB47: 473 .loc 3 3268 3 view .LVU122 474 .loc 3 3268 11 is_stmt 0 view .LVU123 475 0002 8268 ldr r2, [r0, #8] 476 .LVL28: 477 .loc 3 3268 11 view .LVU124 478 .LBE47: 479 .LBE46: 480 .loc 1 671 5 view .LVU125 481 0004 12F0010F tst r2, #1 482 0008 23D1 bne .L24 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus status = SUCCESS; 483 .loc 1 646 1 view .LVU126 484 000a 10B4 push {r4} ARM GAS /tmp/ccc82m4X.s page 96 485 .LCFI0: 486 .cfi_def_cfa_offset 4 487 .cfi_offset 4, -4 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Configuration of ADC hierarchical scope: */ 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - ADC group regular */ 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group regular trigger source */ 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group regular sequencer length */ 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group regular sequencer discontinuous mode */ 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group regular continuous mode */ 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group regular conversion data transfer: no transfer or */ 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* transfer by DMA, and DMA requests mode */ 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: On this STM32 series, ADC trigger edge is set when starting */ 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC conversion. */ 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Refer to function @ref LL_ADC_REG_StartConversionExtTrig(). */ 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(ADC_REG_InitStruct->SequencerLength != LL_ADC_REG_SEQ_SCAN_DISABLE) 488 .loc 1 684 5 is_stmt 1 view .LVU127 489 .loc 1 684 7 is_stmt 0 view .LVU128 490 000c DBB1 cbz r3, .L22 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR1, 491 .loc 1 686 7 is_stmt 1 view .LVU129 492 000e 4268 ldr r2, [r0, #4] 493 0010 22F46842 bic r2, r2, #59392 494 0014 8C68 ldr r4, [r1, #8] 495 0016 2343 orrs r3, r3, r4 496 0018 1343 orrs r3, r3, r2 497 001a 4360 str r3, [r0, #4] 498 .L23: 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_DISCEN 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_DISCNUM 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** , 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->SequencerLength 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_REG_InitStruct->SequencerDiscont 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** else 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR1, 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_DISCEN 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_DISCNUM 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** , 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->SequencerLength 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | LL_ADC_REG_SEQ_DISCONT_DISABLE 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR2, 499 .loc 1 705 5 view .LVU130 500 001c 8368 ldr r3, [r0, #8] 501 001e 23F46023 bic r3, r3, #917504 502 0022 23F48173 bic r3, r3, #258 503 0026 0A68 ldr r2, [r1] 504 0028 CC68 ldr r4, [r1, #12] 505 002a 2243 orrs r2, r2, r4 506 002c 0C69 ldr r4, [r1, #16] 507 002e 2243 orrs r2, r2, r4 ARM GAS /tmp/ccc82m4X.s page 97 508 0030 1343 orrs r3, r3, r2 509 0032 8360 str r3, [r0, #8] 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR2_EXTSEL 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR2_CONT 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR2_DMA 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** , 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->TriggerSource 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_REG_InitStruct->ContinuousMode 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_REG_InitStruct->DMATransfer 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set ADC group regular sequencer length and scan direction */ 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: Hardware constraint (refer to description of this function): */ 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: If ADC instance feature scan mode is disabled */ 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* (refer to ADC instance initialization structure */ 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* parameter @ref SequencersScanMode */ 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* or function @ref LL_ADC_SetSequencersScanMode() ), */ 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* this parameter is discarded. */ 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_ADC_REG_SetSequencerLength(ADCx, ADC_REG_InitStruct->SequencerLength); 510 .loc 1 722 5 view .LVU131 511 0034 4B68 ldr r3, [r1, #4] 512 .LVL29: 513 .LBB48: 514 .LBI48: 1939:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 515 .loc 3 1939 22 view .LVU132 516 .LBB49: 1941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 517 .loc 3 1941 3 view .LVU133 518 0036 C26A ldr r2, [r0, #44] 519 0038 22F47002 bic r2, r2, #15728640 520 003c 1343 orrs r3, r3, r2 521 .LVL30: 1941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 522 .loc 3 1941 3 is_stmt 0 view .LVU134 523 003e C362 str r3, [r0, #44] 524 .LVL31: 1941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 525 .loc 3 1941 3 view .LVU135 526 .LBE49: 527 .LBE48: 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 528 .loc 1 647 15 view .LVU136 529 0040 0020 movs r0, #0 530 .LVL32: 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** else 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Initialization error: ADC instance is not disabled. */ 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** status = ERROR; 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** return status; 531 .loc 1 729 3 is_stmt 1 view .LVU137 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 532 .loc 1 730 1 is_stmt 0 view .LVU138 533 0042 10BC pop {r4} 534 .LCFI1: ARM GAS /tmp/ccc82m4X.s page 98 535 .cfi_remember_state 536 .cfi_restore 4 537 .cfi_def_cfa_offset 0 538 0044 7047 bx lr 539 .LVL33: 540 .L22: 541 .LCFI2: 542 .cfi_restore_state 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_DISCEN 543 .loc 1 696 7 is_stmt 1 view .LVU139 544 0046 4268 ldr r2, [r0, #4] 545 0048 22F46842 bic r2, r2, #59392 546 004c 1343 orrs r3, r3, r2 547 004e 4360 str r3, [r0, #4] 548 0050 E4E7 b .L23 549 .L24: 550 .LCFI3: 551 .cfi_def_cfa_offset 0 552 .cfi_restore 4 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 553 .loc 1 727 12 is_stmt 0 view .LVU140 554 0052 0120 movs r0, #1 555 .LVL34: 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 556 .loc 1 729 3 is_stmt 1 view .LVU141 557 .loc 1 730 1 is_stmt 0 view .LVU142 558 0054 7047 bx lr 559 .cfi_endproc 560 .LFE162: 562 .section .text.LL_ADC_REG_StructInit,"ax",%progbits 563 .align 1 564 .global LL_ADC_REG_StructInit 565 .syntax unified 566 .thumb 567 .thumb_func 569 LL_ADC_REG_StructInit: 570 .LVL35: 571 .LFB163: 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Set each @ref LL_ADC_REG_InitTypeDef field to default value. 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_REG_InitStruct Pointer to a @ref LL_ADC_REG_InitTypeDef structure 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * whose fields will be set to default values. 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval None 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** void LL_ADC_REG_StructInit(LL_ADC_REG_InitTypeDef *ADC_REG_InitStruct) 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 572 .loc 1 739 1 is_stmt 1 view -0 573 .cfi_startproc 574 @ args = 0, pretend = 0, frame = 0 575 @ frame_needed = 0, uses_anonymous_args = 0 576 @ link register save eliminated. 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set ADC_REG_InitStruct fields to default values */ 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set fields of ADC group regular */ 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: On this STM32 series, ADC trigger edge is set when starting */ 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC conversion. */ 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Refer to function @ref LL_ADC_REG_StartConversionExtTrig(). */ ARM GAS /tmp/ccc82m4X.s page 99 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->TriggerSource = LL_ADC_REG_TRIG_SOFTWARE; 577 .loc 1 745 3 view .LVU144 578 .loc 1 745 40 is_stmt 0 view .LVU145 579 0000 4FF46023 mov r3, #917504 580 0004 0360 str r3, [r0] 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->SequencerLength = LL_ADC_REG_SEQ_SCAN_DISABLE; 581 .loc 1 746 3 is_stmt 1 view .LVU146 582 .loc 1 746 40 is_stmt 0 view .LVU147 583 0006 0023 movs r3, #0 584 0008 4360 str r3, [r0, #4] 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->SequencerDiscont = LL_ADC_REG_SEQ_DISCONT_DISABLE; 585 .loc 1 747 3 is_stmt 1 view .LVU148 586 .loc 1 747 40 is_stmt 0 view .LVU149 587 000a 8360 str r3, [r0, #8] 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->ContinuousMode = LL_ADC_REG_CONV_SINGLE; 588 .loc 1 748 3 is_stmt 1 view .LVU150 589 .loc 1 748 40 is_stmt 0 view .LVU151 590 000c C360 str r3, [r0, #12] 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_REG_InitStruct->DMATransfer = LL_ADC_REG_DMA_TRANSFER_NONE; 591 .loc 1 749 3 is_stmt 1 view .LVU152 592 .loc 1 749 40 is_stmt 0 view .LVU153 593 000e 0361 str r3, [r0, #16] 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 594 .loc 1 750 1 view .LVU154 595 0010 7047 bx lr 596 .cfi_endproc 597 .LFE163: 599 .section .text.LL_ADC_INJ_Init,"ax",%progbits 600 .align 1 601 .global LL_ADC_INJ_Init 602 .syntax unified 603 .thumb 604 .thumb_func 606 LL_ADC_INJ_Init: 607 .LVL36: 608 .LFB164: 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Initialize some features of ADC group injected. 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note These parameters have an impact on ADC scope: ADC group injected. 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to corresponding unitary functions into 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @ref ADC_LL_EF_Configuration_ADC_Group_Regular 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (functions with prefix "INJ"). 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note The setting of these parameters by function @ref LL_ADC_Init() 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * is conditioned to ADC state: 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * ADC instance must be disabled. 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * This condition is applied to all ADC features, for efficiency 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * and compatibility over all STM32 families. However, the different 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * features can be set under different ADC state conditions 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * (setting possible with ADC enabled without conversion on going, 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * ADC enabled with conversion on going, ...) 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Each feature can be updated afterwards with a unitary function 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * and potentially with ADC in a different state than disabled, 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * refer to description of each function for setting 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * conditioned to ADC state. 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @note After using this function, other features must be configured 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * using LL unitary functions. ARM GAS /tmp/ccc82m4X.s page 100 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * The minimum configuration remaining to be done is: 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - Set ADC group injected sequencer: 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * map channel on the selected sequencer rank. 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to function @ref LL_ADC_INJ_SetSequencerRanks(). 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - Set ADC channel sampling time 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * Refer to function LL_ADC_SetChannelSamplingTime(); 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADCx ADC instance 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_INJ_InitStruct Pointer to a @ref LL_ADC_INJ_InitTypeDef structure 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval An ErrorStatus enumeration value: 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - SUCCESS: ADC registers are initialized 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * - ERROR: ADC registers are not initialized 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus LL_ADC_INJ_Init(ADC_TypeDef *ADCx, LL_ADC_INJ_InitTypeDef *ADC_INJ_InitStruct) 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 609 .loc 1 785 1 is_stmt 1 view -0 610 .cfi_startproc 611 @ args = 0, pretend = 0, frame = 0 612 @ frame_needed = 0, uses_anonymous_args = 0 613 @ link register save eliminated. 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus status = SUCCESS; 614 .loc 1 786 3 view .LVU156 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Check the parameters */ 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(ADCx)); 615 .loc 1 789 3 view .LVU157 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #if defined(ADC3) 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_INJ_TRIG_SOURCE(ADCx, ADC_INJ_InitStruct->TriggerSource)); 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #else 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_INJ_TRIG_SOURCE(ADC_INJ_InitStruct->TriggerSource)); 616 .loc 1 793 3 view .LVU158 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** #endif 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_INJ_SEQ_SCAN_LENGTH(ADC_INJ_InitStruct->SequencerLength)); 617 .loc 1 795 3 view .LVU159 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(ADC_INJ_InitStruct->SequencerLength != LL_ADC_INJ_SEQ_SCAN_DISABLE) 618 .loc 1 796 3 view .LVU160 619 .loc 1 796 24 is_stmt 0 view .LVU161 620 0000 4A68 ldr r2, [r1, #4] 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_INJ_SEQ_SCAN_DISCONT_MODE(ADC_INJ_InitStruct->SequencerDiscont)); 621 .loc 1 798 5 is_stmt 1 view .LVU162 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** assert_param(IS_LL_ADC_INJ_TRIG_AUTO(ADC_INJ_InitStruct->TrigAuto)); 622 .loc 1 800 3 view .LVU163 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: Hardware constraint (refer to description of this function): */ 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC instance must be disabled. */ 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(LL_ADC_IsEnabled(ADCx) == 0U) 623 .loc 1 804 3 view .LVU164 624 .LVL37: 625 .LBB50: 626 .LBI50: 3266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 627 .loc 3 3266 26 view .LVU165 628 .LBB51: 629 .loc 3 3268 3 view .LVU166 630 .loc 3 3268 11 is_stmt 0 view .LVU167 631 0002 8368 ldr r3, [r0, #8] ARM GAS /tmp/ccc82m4X.s page 101 632 .LVL38: 633 .loc 3 3268 11 view .LVU168 634 .LBE51: 635 .LBE50: 636 .loc 1 804 5 view .LVU169 637 0004 13F0010F tst r3, #1 638 0008 1FD1 bne .L34 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ErrorStatus status = SUCCESS; 639 .loc 1 785 1 view .LVU170 640 000a 10B4 push {r4} 641 .LCFI4: 642 .cfi_def_cfa_offset 4 643 .cfi_offset 4, -4 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Configuration of ADC hierarchical scope: */ 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - ADC group injected */ 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group injected trigger source */ 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group injected sequencer length */ 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group injected sequencer discontinuous mode */ 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* - Set ADC group injected conversion trigger: independent or */ 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* from ADC group regular */ 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: On this STM32 series, ADC trigger edge is set when starting */ 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* ADC conversion. */ 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Refer to function @ref LL_ADC_INJ_StartConversionExtTrig(). */ 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** if(ADC_INJ_InitStruct->SequencerLength != LL_ADC_REG_SEQ_SCAN_DISABLE) 644 .loc 1 816 5 is_stmt 1 view .LVU171 645 .loc 1 816 7 is_stmt 0 view .LVU172 646 000c B2B1 cbz r2, .L32 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR1, 647 .loc 1 818 7 is_stmt 1 view .LVU173 648 000e 4368 ldr r3, [r0, #4] 649 0010 23F4A053 bic r3, r3, #5120 650 0014 8A68 ldr r2, [r1, #8] 651 0016 CC68 ldr r4, [r1, #12] 652 0018 2243 orrs r2, r2, r4 653 001a 1343 orrs r3, r3, r2 654 001c 4360 str r3, [r0, #4] 655 .L33: 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_JDISCEN 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_JAUTO 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** , 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_INJ_InitStruct->SequencerDiscont 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_INJ_InitStruct->TrigAuto 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** else 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR1, 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_JDISCEN 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_CR1_JAUTO 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** , 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_ADC_REG_SEQ_DISCONT_DISABLE 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** | ADC_INJ_InitStruct->TrigAuto 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ARM GAS /tmp/ccc82m4X.s page 102 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** MODIFY_REG(ADCx->CR2, 656 .loc 1 837 5 view .LVU174 657 001e 8368 ldr r3, [r0, #8] 658 0020 23F4E043 bic r3, r3, #28672 659 0024 0A68 ldr r2, [r1] 660 0026 1343 orrs r3, r3, r2 661 0028 8360 str r3, [r0, #8] 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR2_JEXTSEL 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** , 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_INJ_InitStruct->TriggerSource 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ); 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: Hardware constraint (refer to description of this function): */ 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Note: If ADC instance feature scan mode is disabled */ 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* (refer to ADC instance initialization structure */ 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* parameter @ref SequencersScanMode */ 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* or function @ref LL_ADC_SetSequencersScanMode() ), */ 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* this parameter is discarded. */ 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** LL_ADC_INJ_SetSequencerLength(ADCx, ADC_INJ_InitStruct->SequencerLength); 662 .loc 1 849 5 view .LVU175 663 002a 4B68 ldr r3, [r1, #4] 664 .LVL39: 665 .LBB52: 666 .LBI52: 2465:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** { 667 .loc 3 2465 22 view .LVU176 668 .LBB53: 2467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 669 .loc 3 2467 3 view .LVU177 670 002c 826B ldr r2, [r0, #56] 671 002e 22F44012 bic r2, r2, #3145728 672 0032 1343 orrs r3, r3, r2 673 .LVL40: 2467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 674 .loc 3 2467 3 is_stmt 0 view .LVU178 675 0034 8363 str r3, [r0, #56] 676 .LVL41: 2467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h **** } 677 .loc 3 2467 3 view .LVU179 678 .LBE53: 679 .LBE52: 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 680 .loc 1 786 15 view .LVU180 681 0036 0020 movs r0, #0 682 .LVL42: 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** else 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Initialization error: ADC instance is not disabled. */ 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** status = ERROR; 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** return status; 683 .loc 1 856 3 is_stmt 1 view .LVU181 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 684 .loc 1 857 1 is_stmt 0 view .LVU182 685 0038 10BC pop {r4} 686 .LCFI5: ARM GAS /tmp/ccc82m4X.s page 103 687 .cfi_remember_state 688 .cfi_restore 4 689 .cfi_def_cfa_offset 0 690 003a 7047 bx lr 691 .LVL43: 692 .L32: 693 .LCFI6: 694 .cfi_restore_state 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_CR1_JDISCEN 695 .loc 1 828 7 is_stmt 1 view .LVU183 696 003c 4368 ldr r3, [r0, #4] 697 003e 23F4A053 bic r3, r3, #5120 698 0042 CA68 ldr r2, [r1, #12] 699 0044 1343 orrs r3, r3, r2 700 0046 4360 str r3, [r0, #4] 701 0048 E9E7 b .L33 702 .L34: 703 .LCFI7: 704 .cfi_def_cfa_offset 0 705 .cfi_restore 4 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 706 .loc 1 854 12 is_stmt 0 view .LVU184 707 004a 0120 movs r0, #1 708 .LVL44: 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 709 .loc 1 856 3 is_stmt 1 view .LVU185 710 .loc 1 857 1 is_stmt 0 view .LVU186 711 004c 7047 bx lr 712 .cfi_endproc 713 .LFE164: 715 .section .text.LL_ADC_INJ_StructInit,"ax",%progbits 716 .align 1 717 .global LL_ADC_INJ_StructInit 718 .syntax unified 719 .thumb 720 .thumb_func 722 LL_ADC_INJ_StructInit: 723 .LVL45: 724 .LFB165: 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /** 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @brief Set each @ref LL_ADC_INJ_InitTypeDef field to default value. 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @param ADC_INJ_InitStruct Pointer to a @ref LL_ADC_INJ_InitTypeDef structure 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * whose fields will be set to default values. 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** * @retval None 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** */ 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** void LL_ADC_INJ_StructInit(LL_ADC_INJ_InitTypeDef *ADC_INJ_InitStruct) 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** { 725 .loc 1 866 1 is_stmt 1 view -0 726 .cfi_startproc 727 @ args = 0, pretend = 0, frame = 0 728 @ frame_needed = 0, uses_anonymous_args = 0 729 @ link register save eliminated. 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set ADC_INJ_InitStruct fields to default values */ 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** /* Set fields of ADC group injected */ 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_INJ_InitStruct->TriggerSource = LL_ADC_INJ_TRIG_SOFTWARE; 730 .loc 1 869 3 view .LVU188 ARM GAS /tmp/ccc82m4X.s page 104 731 .loc 1 869 40 is_stmt 0 view .LVU189 732 0000 4FF4E043 mov r3, #28672 733 0004 0360 str r3, [r0] 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_INJ_InitStruct->SequencerLength = LL_ADC_INJ_SEQ_SCAN_DISABLE; 734 .loc 1 870 3 is_stmt 1 view .LVU190 735 .loc 1 870 40 is_stmt 0 view .LVU191 736 0006 0023 movs r3, #0 737 0008 4360 str r3, [r0, #4] 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_INJ_InitStruct->SequencerDiscont = LL_ADC_INJ_SEQ_DISCONT_DISABLE; 738 .loc 1 871 3 is_stmt 1 view .LVU192 739 .loc 1 871 40 is_stmt 0 view .LVU193 740 000a 8360 str r3, [r0, #8] 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** ADC_INJ_InitStruct->TrigAuto = LL_ADC_INJ_TRIG_INDEPENDENT; 741 .loc 1 872 3 is_stmt 1 view .LVU194 742 .loc 1 872 40 is_stmt 0 view .LVU195 743 000c C360 str r3, [r0, #12] 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c **** } 744 .loc 1 873 1 view .LVU196 745 000e 7047 bx lr 746 .cfi_endproc 747 .LFE165: 749 .text 750 .Letext0: 751 .file 4 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h" 752 .file 5 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h" 753 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h" 754 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h" ARM GAS /tmp/ccc82m4X.s page 105 DEFINED SYMBOLS *ABS*:0000000000000000 stm32f1xx_ll_adc.c /tmp/ccc82m4X.s:18 .text.LL_ADC_CommonDeInit:0000000000000000 $t /tmp/ccc82m4X.s:24 .text.LL_ADC_CommonDeInit:0000000000000000 LL_ADC_CommonDeInit /tmp/ccc82m4X.s:71 .text.LL_ADC_CommonDeInit:0000000000000018 $d /tmp/ccc82m4X.s:76 .text.LL_ADC_CommonInit:0000000000000000 $t /tmp/ccc82m4X.s:82 .text.LL_ADC_CommonInit:0000000000000000 LL_ADC_CommonInit /tmp/ccc82m4X.s:160 .text.LL_ADC_CommonInit:0000000000000034 $d /tmp/ccc82m4X.s:165 .text.LL_ADC_CommonStructInit:0000000000000000 $t /tmp/ccc82m4X.s:171 .text.LL_ADC_CommonStructInit:0000000000000000 LL_ADC_CommonStructInit /tmp/ccc82m4X.s:189 .text.LL_ADC_DeInit:0000000000000000 $t /tmp/ccc82m4X.s:195 .text.LL_ADC_DeInit:0000000000000000 LL_ADC_DeInit /tmp/ccc82m4X.s:346 .text.LL_ADC_DeInit:00000000000000bc $d /tmp/ccc82m4X.s:352 .text.LL_ADC_Init:0000000000000000 $t /tmp/ccc82m4X.s:358 .text.LL_ADC_Init:0000000000000000 LL_ADC_Init /tmp/ccc82m4X.s:414 .text.LL_ADC_StructInit:0000000000000000 $t /tmp/ccc82m4X.s:420 .text.LL_ADC_StructInit:0000000000000000 LL_ADC_StructInit /tmp/ccc82m4X.s:442 .text.LL_ADC_REG_Init:0000000000000000 $t /tmp/ccc82m4X.s:448 .text.LL_ADC_REG_Init:0000000000000000 LL_ADC_REG_Init /tmp/ccc82m4X.s:563 .text.LL_ADC_REG_StructInit:0000000000000000 $t /tmp/ccc82m4X.s:569 .text.LL_ADC_REG_StructInit:0000000000000000 LL_ADC_REG_StructInit /tmp/ccc82m4X.s:600 .text.LL_ADC_INJ_Init:0000000000000000 $t /tmp/ccc82m4X.s:606 .text.LL_ADC_INJ_Init:0000000000000000 LL_ADC_INJ_Init /tmp/ccc82m4X.s:716 .text.LL_ADC_INJ_StructInit:0000000000000000 $t /tmp/ccc82m4X.s:722 .text.LL_ADC_INJ_StructInit:0000000000000000 LL_ADC_INJ_StructInit NO UNDEFINED SYMBOLS