ARM GAS /tmp/cc2GBi0Q.s page 1 1 .cpu cortex-m0plus 2 .eabi_attribute 20, 1 3 .eabi_attribute 21, 1 4 .eabi_attribute 23, 3 5 .eabi_attribute 24, 1 6 .eabi_attribute 25, 1 7 .eabi_attribute 26, 1 8 .eabi_attribute 30, 1 9 .eabi_attribute 34, 0 10 .eabi_attribute 18, 4 11 .file "stm32l0xx_ll_dac.c" 12 .text 13 .Ltext0: 14 .cfi_sections .debug_frame 15 .section .text.LL_DAC_DeInit,"ax",%progbits 16 .align 1 17 .global LL_DAC_DeInit 18 .syntax unified 19 .code 16 20 .thumb_func 21 .fpu softvfp 23 LL_DAC_DeInit: 24 .LFB105: 25 .file 1 "./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c" 1:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /** 2:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ****************************************************************************** 3:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @file stm32l0xx_ll_dac.c 4:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @author MCD Application Team 5:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @brief DAC LL module driver 6:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ****************************************************************************** 7:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @attention 8:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * 9:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** *

© COPYRIGHT(c) 2016 STMicroelectronics

10:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * 11:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * Redistribution and use in source and binary forms, with or without modification, 12:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * are permitted provided that the following conditions are met: 13:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * 1. Redistributions of source code must retain the above copyright notice, 14:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * this list of conditions and the following disclaimer. 15:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * 2. Redistributions in binary form must reproduce the above copyright notice, 16:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * this list of conditions and the following disclaimer in the documentation 17:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * and/or other materials provided with the distribution. 18:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 19:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * may be used to endorse or promote products derived from this software 20:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * without specific prior written permission. 21:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * 22:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 26:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * 33:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ****************************************************************************** ARM GAS /tmp/cc2GBi0Q.s page 2 34:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** */ 35:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #if defined(USE_FULL_LL_DRIVER) 36:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 37:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Includes ------------------------------------------------------------------*/ 38:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #include "stm32l0xx_ll_dac.h" 39:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #include "stm32l0xx_ll_bus.h" 40:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 41:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #ifdef USE_FULL_ASSERT 42:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #include "stm32_assert.h" 43:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #else 44:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #define assert_param(expr) ((void)0U) 45:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #endif 46:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 47:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /** @addtogroup STM32L0xx_LL_Driver 48:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @{ 49:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** */ 50:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 51:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #if defined (DAC1) 52:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 53:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /** @addtogroup DAC_LL DAC 54:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @{ 55:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** */ 56:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 57:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Private types -------------------------------------------------------------*/ 58:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Private variables ---------------------------------------------------------*/ 59:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Private constants ---------------------------------------------------------*/ 60:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Private macros ------------------------------------------------------------*/ 61:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 62:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /** @addtogroup DAC_LL_Private_Macros 63:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @{ 64:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** */ 65:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 66:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #if defined(DAC_CHANNEL2_SUPPORT) 67:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #define IS_LL_DAC_CHANNEL(__DACX__, __DAC_CHANNEL__) \ 68:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ( \ 69:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ((__DAC_CHANNEL__) == LL_DAC_CHANNEL_1) \ 70:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__DAC_CHANNEL__) == LL_DAC_CHANNEL_2) \ 71:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ) 72:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #else 73:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #define IS_LL_DAC_CHANNEL(__DACX__, __DAC_CHANNEL__) \ 74:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ( \ 75:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ((__DAC_CHANNEL__) == LL_DAC_CHANNEL_1) \ 76:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ) 77:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #endif /* DAC_CHANNEL2_SUPPORT */ 78:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 79:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #define IS_LL_DAC_TRIGGER_SOURCE(__TRIGGER_SOURCE__) \ 80:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ( ((__TRIGGER_SOURCE__) == LL_DAC_TRIG_SOFTWARE) \ 81:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__TRIGGER_SOURCE__) == LL_DAC_TRIG_EXT_TIM2_TRGO) \ 82:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__TRIGGER_SOURCE__) == LL_DAC_TRIG_EXT_TIM3_TRGO) \ 83:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__TRIGGER_SOURCE__) == LL_DAC_TRIG_EXT_TIM3_CH3) \ 84:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__TRIGGER_SOURCE__) == LL_DAC_TRIG_EXT_TIM6_TRGO) \ 85:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__TRIGGER_SOURCE__) == LL_DAC_TRIG_EXT_TIM7_TRGO) \ 86:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__TRIGGER_SOURCE__) == LL_DAC_TRIG_EXT_TIM21_TRGO) \ 87:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__TRIGGER_SOURCE__) == LL_DAC_TRIG_EXT_EXTI_LINE9) \ 88:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ) 89:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 90:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #define IS_LL_DAC_WAVE_AUTO_GENER_MODE(__WAVE_AUTO_GENERATION_MODE__) \ ARM GAS /tmp/cc2GBi0Q.s page 3 91:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ( ((__WAVE_AUTO_GENERATION_MODE__) == LL_DAC_WAVE_AUTO_GENERATION_NONE) \ 92:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_MODE__) == LL_DAC_WAVE_AUTO_GENERATION_NOISE) \ 93:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_MODE__) == LL_DAC_WAVE_AUTO_GENERATION_TRIANGLE) \ 94:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ) 95:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 96:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #define IS_LL_DAC_WAVE_AUTO_GENER_CONFIG(__WAVE_AUTO_GENERATION_CONFIG__) \ 97:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ( ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BIT0) \ 98:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS1_0) \ 99:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS2_0) \ 100:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS3_0) \ 101:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS4_0) \ 102:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS5_0) \ 103:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS6_0) \ 104:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS7_0) \ 105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS8_0) \ 106:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS9_0) \ 107:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS10_0) \ 108:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS11_0) \ 109:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_1) \ 110:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_3) \ 111:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_7) \ 112:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_15) \ 113:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_31) \ 114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_63) \ 115:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_127) \ 116:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_255) \ 117:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_511) \ 118:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_1023) \ 119:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_2047) \ 120:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_4095) \ 121:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ) 122:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 123:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** #define IS_LL_DAC_OUTPUT_BUFFER(__OUTPUT_BUFFER__) \ 124:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ( ((__OUTPUT_BUFFER__) == LL_DAC_OUTPUT_BUFFER_ENABLE) \ 125:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** || ((__OUTPUT_BUFFER__) == LL_DAC_OUTPUT_BUFFER_DISABLE) \ 126:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ) 127:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 128:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /** 129:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @} 130:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** */ 131:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 132:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 133:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Private function prototypes -----------------------------------------------*/ 134:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 135:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Exported functions --------------------------------------------------------*/ 136:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /** @addtogroup DAC_LL_Exported_Functions 137:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @{ 138:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** */ 139:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 140:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /** @addtogroup DAC_LL_EF_Init 141:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @{ 142:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** */ 143:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 144:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /** 145:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @brief De-initialize registers of the selected DAC instance 146:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * to their default reset values. 147:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @param DACx DAC instance ARM GAS /tmp/cc2GBi0Q.s page 4 148:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @retval An ErrorStatus enumeration value: 149:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * - SUCCESS: DAC registers are de-initialized 150:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * - ERROR: not applicable 151:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** */ 152:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ErrorStatus LL_DAC_DeInit(DAC_TypeDef *DACx) 153:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** { 26 .loc 1 153 0 27 .cfi_startproc 28 @ args = 0, pretend = 0, frame = 0 29 @ frame_needed = 0, uses_anonymous_args = 0 30 @ link register save eliminated. 31 .LVL0: 32 .LBB8: 33 .LBB9: 34 .file 2 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h" 1:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 2:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** ****************************************************************************** 3:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @file stm32l0xx_ll_bus.h 4:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @author MCD Application Team 5:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Header file of BUS LL module. 6:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 7:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** @verbatim 8:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** ##### RCC Limitations ##### 9:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** ============================================================================== 10:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** [..] 11:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** A delay between an RCC peripheral clock enable and the effective peripheral 12:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** enabling should be taken into account in order to manage the peripheral read/write 13:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** from/to registers. 14:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (+) This delay depends on the peripheral mapping. 15:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (++) AHB & APB peripherals, 1 dummy read is necessary 16:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 17:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** [..] 18:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** Workarounds: 19:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (#) For AHB & APB peripherals, a dummy read to the peripheral register has been 20:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** inserted in each LL_{BUS}_GRP{x}_EnableClock() function. 21:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 22:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** @endverbatim 23:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** ****************************************************************************** 24:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @attention 25:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 26:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** *

© COPYRIGHT(c) 2016 STMicroelectronics

27:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 28:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * Redistribution and use in source and binary forms, with or without modification, 29:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * are permitted provided that the following conditions are met: 30:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 1. Redistributions of source code must retain the above copyright notice, 31:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * this list of conditions and the following disclaimer. 32:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 2. Redistributions in binary form must reproduce the above copyright notice, 33:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * this list of conditions and the following disclaimer in the documentation 34:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * and/or other materials provided with the distribution. 35:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 36:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * may be used to endorse or promote products derived from this software 37:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * without specific prior written permission. 38:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 39:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 40:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 41:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 42:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE ARM GAS /tmp/cc2GBi0Q.s page 5 43:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 44:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 45:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 46:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 47:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 48:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 49:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 50:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** ****************************************************************************** 51:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 52:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 53:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 54:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #ifndef __STM32L0xx_LL_BUS_H 55:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define __STM32L0xx_LL_BUS_H 56:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 57:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #ifdef __cplusplus 58:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** extern "C" { 59:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 60:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 61:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Includes ------------------------------------------------------------------*/ 62:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #include "stm32l0xx.h" 63:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 64:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @addtogroup STM32L0xx_LL_Driver 65:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 66:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 67:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 68:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(RCC) 69:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 70:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL BUS 71:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 72:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 73:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 74:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Private types -------------------------------------------------------------*/ 75:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Private variables ---------------------------------------------------------*/ 76:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 77:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Private constants ---------------------------------------------------------*/ 78:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 79:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Private macros ------------------------------------------------------------*/ 80:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 81:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Exported types ------------------------------------------------------------*/ 82:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Exported constants --------------------------------------------------------*/ 83:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Constants BUS Exported Constants 84:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 85:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 86:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 87:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_AHB1_GRP1_PERIPH AHB1 GRP1 PERIPH 88:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 89:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 90:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU 91:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA1 RCC_AHBENR_DMA1EN /*!< DMA1 clock enable */ 92:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_MIF RCC_AHBENR_MIFEN /*!< MIF clock enable */ 93:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_SRAM RCC_AHBSMENR_SRAMSMEN /*!< Sleep Mode SRAM clock enable 94:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRC RCC_AHBENR_CRCEN /*!< CRC clock enable */ 95:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(TSC) 96:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_TSC RCC_AHBENR_TSCEN /*!< TSC clock enable */ 97:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*TSC*/ 98:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(RNG) 99:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_RNG RCC_AHBENR_RNGEN /*!< RNG clock enable */ ARM GAS /tmp/cc2GBi0Q.s page 6 100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*RNG*/ 101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(AES) 102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRYP RCC_AHBENR_CRYPEN /*!< CRYP clock enable */ 103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*AES*/ 104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 108:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 109:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB1_GRP1_PERIPH APB1 GRP1 PERIPH 110:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 111:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 112:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU 113:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM2 RCC_APB1ENR_TIM2EN /*!< TIM2 clock enable */ 114:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(TIM3) 115:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM3 RCC_APB1ENR_TIM3EN /*!< TIM3 clock enable */ 116:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 117:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(TIM6) 118:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM6 RCC_APB1ENR_TIM6EN /*!< TIM6 clock enable */ 119:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 120:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(TIM7) 121:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM7 RCC_APB1ENR_TIM7EN /*!< TIM7 clock enable */ 122:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 123:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(LCD) 124:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LCD RCC_APB1ENR_LCDEN /*!< LCD clock enable */ 125:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*LCD*/ 126:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_WWDG RCC_APB1ENR_WWDGEN /*!< WWDG clock enable */ 127:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(SPI2) 128:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI2 RCC_APB1ENR_SPI2EN /*!< SPI2 clock enable */ 129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 130:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART2 RCC_APB1ENR_USART2EN /*!< USART2 clock enable */ 131:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPUART1 RCC_APB1ENR_LPUART1EN /*!< LPUART1 clock enable */ 132:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(USART4) 133:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART4 RCC_APB1ENR_USART4EN /*!< USART4 clock enable */ 134:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 135:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(USART5) 136:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART5 RCC_APB1ENR_USART5EN /*!< USART5 clock enable */ 137:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 138:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C1 RCC_APB1ENR_I2C1EN /*!< I2C1 clock enable */ 139:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(I2C2) 140:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C2 RCC_APB1ENR_I2C2EN /*!< I2C2 clock enable */ 141:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 142:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(USB) 143:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USB RCC_APB1ENR_USBEN /*!< USB clock enable */ 144:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*USB*/ 145:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(CRS) 146:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CRS RCC_APB1ENR_CRSEN /*!< CRS clock enable */ 147:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*CRS*/ 148:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_PWR RCC_APB1ENR_PWREN /*!< PWR clock enable */ 149:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(DAC) 150:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_DAC1 RCC_APB1ENR_DACEN /*!< DAC clock enable */ 151:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 152:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(I2C3) 153:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C3 RCC_APB1ENR_I2C3EN /*!< I2C3 clock enable */ 154:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 155:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPTIM1 RCC_APB1ENR_LPTIM1EN /*!< LPTIM1 clock enable */ 156:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** ARM GAS /tmp/cc2GBi0Q.s page 7 157:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 158:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 159:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 160:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 161:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 162:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 163:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB2_GRP1_PERIPH APB2 GRP1 PERIPH 164:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 165:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 166:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU 167:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SYSCFG RCC_APB2ENR_SYSCFGEN /*!< SYSCFG clock enable */ 168:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM21 RCC_APB2ENR_TIM21EN /*!< TIM21 clock enable */ 169:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(TIM22) 170:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM22 RCC_APB2ENR_TIM22EN /*!< TIM22 clock enable */ 171:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 172:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_FW RCC_APB2ENR_FWEN /*!< FireWall clock enable */ 173:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC1 RCC_APB2ENR_ADC1EN /*!< ADC1 clock enable */ 174:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SPI1 RCC_APB2ENR_SPI1EN /*!< SPI1 clock enable */ 175:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(USART1) 176:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_USART1 RCC_APB2ENR_USART1EN /*!< USART1 clock enable */ 177:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 178:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_DBGMCU RCC_APB2ENR_DBGMCUEN /*!< DBGMCU clock enable */ 179:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 180:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 181:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 182:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 183:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 184:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 185:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 186:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_IOP_GRP1_PERIPH IOP GRP1 PERIPH 187:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 188:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 189:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU 190:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOA RCC_IOPENR_GPIOAEN /*!< GPIO port A control */ 191:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOB RCC_IOPENR_GPIOBEN /*!< GPIO port B control */ 192:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOC RCC_IOPENR_GPIOCEN /*!< GPIO port C control */ 193:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(GPIOD) 194:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOD RCC_IOPENR_GPIODEN /*!< GPIO port D control */ 195:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*GPIOD*/ 196:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(GPIOE) 197:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOE RCC_IOPENR_GPIOEEN /*!< GPIO port H control */ 198:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*GPIOE*/ 199:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(GPIOH) 200:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOH RCC_IOPENR_GPIOHEN /*!< GPIO port H control */ 201:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*GPIOH*/ 202:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 203:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 204:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 205:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 206:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 207:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 208:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 209:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 210:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 211:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Exported macro ------------------------------------------------------------*/ 212:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Exported functions --------------------------------------------------------*/ 213:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Functions BUS Exported Functions ARM GAS /tmp/cc2GBi0Q.s page 8 214:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 215:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 216:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 217:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_AHB1 AHB1 218:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 219:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 220:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 221:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 222:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Enable AHB1 peripherals clock. 223:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll AHBENR DMAEN LL_AHB1_GRP1_EnableClock\n 224:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR MIFEN LL_AHB1_GRP1_EnableClock\n 225:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_EnableClock\n 226:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR TSCEN LL_AHB1_GRP1_EnableClock\n 227:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_EnableClock\n 228:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR CRYPEN LL_AHB1_GRP1_EnableClock 229:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 230:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 231:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_MIF 232:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 233:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_TSC (*) 234:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*) 235:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*) 236:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 237:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 238:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 239:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 240:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClock(uint32_t Periphs) 241:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 242:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __IO uint32_t tmpreg; 243:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->AHBENR, Periphs); 244:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 245:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBENR, Periphs); 246:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (void)tmpreg; 247:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 248:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 249:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 250:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Check if AHB1 peripheral clock is enabled or not 251:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll AHBENR DMAEN LL_AHB1_GRP1_IsEnabledClock\n 252:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR MIFEN LL_AHB1_GRP1_IsEnabledClock\n 253:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_IsEnabledClock\n 254:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR TSCEN LL_AHB1_GRP1_IsEnabledClock\n 255:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_IsEnabledClock\n 256:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR CRYPEN LL_AHB1_GRP1_IsEnabledClock 257:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 258:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 259:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_MIF 260:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 261:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_TSC (*) 262:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*) 263:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*) 264:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 265:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 266:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval State of Periphs (1 or 0). 267:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 268:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_AHB1_GRP1_IsEnabledClock(uint32_t Periphs) 269:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 270:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** return (READ_BIT(RCC->AHBENR, Periphs) == Periphs); ARM GAS /tmp/cc2GBi0Q.s page 9 271:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 272:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 273:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 274:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Disable AHB1 peripherals clock. 275:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll AHBENR DMAEN LL_AHB1_GRP1_DisableClock\n 276:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR MIFEN LL_AHB1_GRP1_DisableClock\n 277:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_DisableClock\n 278:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR TSCEN LL_AHB1_GRP1_DisableClock\n 279:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_DisableClock\n 280:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR CRYPEN LL_AHB1_GRP1_DisableClock 281:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 282:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 283:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_MIF 284:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 285:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_TSC (*) 286:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*) 287:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*) 288:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 289:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 290:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 291:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 292:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClock(uint32_t Periphs) 293:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 294:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBENR, Periphs); 295:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 296:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 297:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 298:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Force AHB1 peripherals reset. 299:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll AHBRSTR DMARST LL_AHB1_GRP1_ForceReset\n 300:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR MIFRST LL_AHB1_GRP1_ForceReset\n 301:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR CRCRST LL_AHB1_GRP1_ForceReset\n 302:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR TSCRST LL_AHB1_GRP1_ForceReset\n 303:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR RNGRST LL_AHB1_GRP1_ForceReset\n 304:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR CRYPRST LL_AHB1_GRP1_ForceReset 305:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 306:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL 307:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 308:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_MIF 309:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 310:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_TSC (*) 311:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*) 312:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*) 313:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 314:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 315:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 316:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 317:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ForceReset(uint32_t Periphs) 318:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 319:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->AHBRSTR, Periphs); 320:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 321:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 322:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 323:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Release AHB1 peripherals reset. 324:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll AHBRSTR DMARST LL_AHB1_GRP1_ReleaseReset\n 325:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR MIFRST LL_AHB1_GRP1_ReleaseReset\n 326:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR CRCRST LL_AHB1_GRP1_ReleaseReset\n 327:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR TSCRST LL_AHB1_GRP1_ReleaseReset\n ARM GAS /tmp/cc2GBi0Q.s page 10 328:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR RNGRST LL_AHB1_GRP1_ReleaseReset\n 329:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR CRYPRST LL_AHB1_GRP1_ReleaseReset 330:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 331:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL 332:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 333:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_MIF 334:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 335:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_TSC (*) 336:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*) 337:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*) 338:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 339:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 340:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 341:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 342:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ReleaseReset(uint32_t Periphs) 343:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 344:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBRSTR, Periphs); 345:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 346:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 347:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 348:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Enable AHB1 peripherals clock during Low Power (Sleep) mode. 349:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll AHBSMENR DMASMEN LL_AHB1_GRP1_EnableClockSleep\n 350:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR MIFSMEN LL_AHB1_GRP1_EnableClockSleep\n 351:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR SRAMSMEN LL_AHB1_GRP1_EnableClockSleep\n 352:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR CRCSMEN LL_AHB1_GRP1_EnableClockSleep\n 353:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR TSCSMEN LL_AHB1_GRP1_EnableClockSleep\n 354:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR RNGSMEN LL_AHB1_GRP1_EnableClockSleep\n 355:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR CRYPSMEN LL_AHB1_GRP1_EnableClockSleep 356:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 357:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 358:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_MIF 359:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM 360:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 361:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_TSC (*) 362:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*) 363:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*) 364:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 365:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 366:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 367:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 368:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClockSleep(uint32_t Periphs) 369:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 370:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __IO uint32_t tmpreg; 371:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->AHBSMENR, Periphs); 372:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 373:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBSMENR, Periphs); 374:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (void)tmpreg; 375:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 376:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 377:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 378:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Disable AHB1 peripherals clock during Low Power (Sleep) mode. 379:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll AHBSMENR DMASMEN LL_AHB1_GRP1_DisableClockSleep\n 380:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR MIFSMEN LL_AHB1_GRP1_DisableClockSleep\n 381:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR SRAMSMEN LL_AHB1_GRP1_DisableClockSleep\n 382:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR CRCSMEN LL_AHB1_GRP1_DisableClockSleep\n 383:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR TSCSMEN LL_AHB1_GRP1_DisableClockSleep\n 384:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR RNGSMEN LL_AHB1_GRP1_DisableClockSleep\n ARM GAS /tmp/cc2GBi0Q.s page 11 385:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR CRYPSMEN LL_AHB1_GRP1_DisableClockSleep 386:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 387:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 388:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_MIF 389:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM 390:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 391:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_TSC (*) 392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*) 393:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*) 394:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 395:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 396:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 397:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 398:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClockSleep(uint32_t Periphs) 399:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 400:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBSMENR, Periphs); 401:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 402:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 403:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 404:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 405:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 406:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_APB1 APB1 408:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 409:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 410:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 411:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 412:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Enable APB1 peripherals clock. 413:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1ENR TIM2EN LL_APB1_GRP1_EnableClock\n 414:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_EnableClock\n 415:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_EnableClock\n 416:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_EnableClock\n 417:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LCDEN LL_APB1_GRP1_EnableClock\n 418:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_EnableClock\n 419:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_EnableClock\n 420:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_EnableClock\n 421:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LPUART1EN LL_APB1_GRP1_EnableClock\n 422:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART4EN LL_APB1_GRP1_EnableClock\n 423:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART5EN LL_APB1_GRP1_EnableClock\n 424:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_EnableClock\n 425:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_EnableClock\n 426:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_EnableClock\n 427:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR CRSEN LL_APB1_GRP1_EnableClock\n 428:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_EnableClock\n 429:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_EnableClock\n 430:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C3EN LL_APB1_GRP1_EnableClock\n 431:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LPTIM1EN LL_APB1_GRP1_EnableClock 432:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 433:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 434:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*) 435:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 436:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 437:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*) 438:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 439:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 440:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 441:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 ARM GAS /tmp/cc2GBi0Q.s page 12 442:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (*) 443:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (*) 444:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 445:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 446:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 447:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CRS (*) 448:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 449:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 450:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (*) 451:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 452:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 453:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 454:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 455:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 456:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_EnableClock(uint32_t Periphs) 457:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 458:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __IO uint32_t tmpreg; 459:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->APB1ENR, Periphs); 460:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 461:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APB1ENR, Periphs); 462:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (void)tmpreg; 463:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 464:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 465:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 466:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Check if APB1 peripheral clock is enabled or not 467:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1ENR TIM2EN LL_APB1_GRP1_IsEnabledClock\n 468:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_IsEnabledClock\n 469:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_IsEnabledClock\n 470:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_IsEnabledClock\n 471:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LCDEN LL_APB1_GRP1_IsEnabledClock\n 472:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_IsEnabledClock\n 473:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_IsEnabledClock\n 474:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_IsEnabledClock\n 475:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LPUART1EN LL_APB1_GRP1_IsEnabledClock\n 476:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART4EN LL_APB1_GRP1_IsEnabledClock\n 477:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART5EN LL_APB1_GRP1_IsEnabledClock\n 478:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_IsEnabledClock\n 479:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_IsEnabledClock\n 480:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_IsEnabledClock\n 481:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR CRSEN LL_APB1_GRP1_IsEnabledClock\n 482:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_IsEnabledClock\n 483:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_IsEnabledClock\n 484:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C3EN LL_APB1_GRP1_IsEnabledClock\n 485:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LPTIM1EN LL_APB1_GRP1_IsEnabledClock 486:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 487:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 488:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*) 489:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 490:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 491:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*) 492:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 493:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 494:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 495:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 496:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (*) 497:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (*) 498:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 ARM GAS /tmp/cc2GBi0Q.s page 13 499:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 500:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 501:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CRS (*) 502:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 503:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 504:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (*) 505:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 506:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 507:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 508:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval State of Periphs (1 or 0). 509:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 510:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_APB1_GRP1_IsEnabledClock(uint32_t Periphs) 511:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 512:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** return (READ_BIT(RCC->APB1ENR, Periphs) == Periphs); 513:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 514:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 515:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 516:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Disable APB1 peripherals clock. 517:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1ENR TIM2EN LL_APB1_GRP1_DisableClock\n 518:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_DisableClock\n 519:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_DisableClock\n 520:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_DisableClock\n 521:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LCDEN LL_APB1_GRP1_DisableClock\n 522:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_DisableClock\n 523:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_DisableClock\n 524:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_DisableClock\n 525:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LPUART1EN LL_APB1_GRP1_DisableClock\n 526:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART4EN LL_APB1_GRP1_DisableClock\n 527:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART5EN LL_APB1_GRP1_DisableClock\n 528:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_DisableClock\n 529:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_DisableClock\n 530:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_DisableClock\n 531:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR CRSEN LL_APB1_GRP1_DisableClock\n 532:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_DisableClock\n 533:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_DisableClock\n 534:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C3EN LL_APB1_GRP1_DisableClock\n 535:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LPTIM1EN LL_APB1_GRP1_DisableClock 536:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 537:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 538:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*) 539:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 540:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 541:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*) 542:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 543:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 544:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 545:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 546:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (*) 547:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (*) 548:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 549:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 550:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 551:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CRS (*) 552:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 553:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 554:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (*) 555:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 ARM GAS /tmp/cc2GBi0Q.s page 14 556:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 557:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 558:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 559:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 560:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_DisableClock(uint32_t Periphs) 561:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 562:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->APB1ENR, Periphs); 563:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 564:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 565:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 566:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Force APB1 peripherals reset. 567:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1RSTR TIM2RST LL_APB1_GRP1_ForceReset\n 568:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM3RST LL_APB1_GRP1_ForceReset\n 569:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM6RST LL_APB1_GRP1_ForceReset\n 570:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM7RST LL_APB1_GRP1_ForceReset\n 571:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LCDRST LL_APB1_GRP1_ForceReset\n 572:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR WWDGRST LL_APB1_GRP1_ForceReset\n 573:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR SPI2RST LL_APB1_GRP1_ForceReset\n 574:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART2RST LL_APB1_GRP1_ForceReset\n 575:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LPUART1RST LL_APB1_GRP1_ForceReset\n 576:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART4RST LL_APB1_GRP1_ForceReset\n 577:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART5RST LL_APB1_GRP1_ForceReset\n 578:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C1RST LL_APB1_GRP1_ForceReset\n 579:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C2RST LL_APB1_GRP1_ForceReset\n 580:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USBRST LL_APB1_GRP1_ForceReset\n 581:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR CRSRST LL_APB1_GRP1_ForceReset\n 582:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR PWRRST LL_APB1_GRP1_ForceReset\n 583:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR DACRST LL_APB1_GRP1_ForceReset\n 584:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C3RST LL_APB1_GRP1_ForceReset\n 585:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LPTIM1RST LL_APB1_GRP1_ForceReset 586:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 587:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_ALL 588:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 589:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*) 590:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 591:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 592:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*) 593:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 594:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 595:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 596:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 597:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (*) 598:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (*) 599:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 600:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 601:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 602:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CRS (*) 603:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 604:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 605:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (*) 606:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 607:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 608:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 609:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 610:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 611:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_ForceReset(uint32_t Periphs) 612:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { ARM GAS /tmp/cc2GBi0Q.s page 15 613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->APB1RSTR, Periphs); 35 .loc 2 613 0 36 0000 054B ldr r3, .L2 37 0002 996A ldr r1, [r3, #40] 38 0004 8022 movs r2, #128 39 0006 9205 lsls r2, r2, #22 40 0008 0A43 orrs r2, r1 41 000a 9A62 str r2, [r3, #40] 42 .LVL1: 43 .LBE9: 44 .LBE8: 45 .LBB10: 46 .LBB11: 614:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 615:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 616:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 617:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Release APB1 peripherals reset. 618:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1RSTR TIM2RST LL_APB1_GRP1_ReleaseReset\n 619:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM3RST LL_APB1_GRP1_ReleaseReset\n 620:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM6RST LL_APB1_GRP1_ReleaseReset\n 621:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM7RST LL_APB1_GRP1_ReleaseReset\n 622:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LCDRST LL_APB1_GRP1_ReleaseReset\n 623:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR WWDGRST LL_APB1_GRP1_ReleaseReset\n 624:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR SPI2RST LL_APB1_GRP1_ReleaseReset\n 625:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART2RST LL_APB1_GRP1_ReleaseReset\n 626:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LPUART1RST LL_APB1_GRP1_ReleaseReset\n 627:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART4RST LL_APB1_GRP1_ReleaseReset\n 628:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART5RST LL_APB1_GRP1_ReleaseReset\n 629:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C1RST LL_APB1_GRP1_ReleaseReset\n 630:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C2RST LL_APB1_GRP1_ReleaseReset\n 631:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USBRST LL_APB1_GRP1_ReleaseReset\n 632:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR CRSRST LL_APB1_GRP1_ReleaseReset\n 633:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR PWRRST LL_APB1_GRP1_ReleaseReset\n 634:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR DACRST LL_APB1_GRP1_ReleaseReset\n 635:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C3RST LL_APB1_GRP1_ReleaseReset\n 636:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LPTIM1RST LL_APB1_GRP1_ReleaseReset 637:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 638:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_ALL 639:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 640:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*) 641:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 642:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 643:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*) 644:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 645:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 646:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 647:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 648:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (*) 649:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (*) 650:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 651:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 652:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 653:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CRS (*) 654:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 655:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 656:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (*) 657:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 ARM GAS /tmp/cc2GBi0Q.s page 16 658:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 659:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 660:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 661:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 662:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_ReleaseReset(uint32_t Periphs) 663:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 664:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->APB1RSTR, Periphs); 47 .loc 2 664 0 48 000c 9A6A ldr r2, [r3, #40] 49 000e 0349 ldr r1, .L2+4 50 0010 0A40 ands r2, r1 51 0012 9A62 str r2, [r3, #40] 52 .LVL2: 53 .LBE11: 54 .LBE10: 154:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Check the parameters */ 155:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** assert_param(IS_DAC_ALL_INSTANCE(DACx)); 156:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 157:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Force reset of DAC clock */ 158:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_DAC1); 159:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 160:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Release reset of DAC clock */ 161:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_DAC1); 162:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 163:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** return SUCCESS; 164:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** } 55 .loc 1 164 0 56 0014 0120 movs r0, #1 57 .LVL3: 58 @ sp needed 59 0016 7047 bx lr 60 .L3: 61 .align 2 62 .L2: 63 0018 00100240 .word 1073876992 64 001c FFFFFFDF .word -536870913 65 .cfi_endproc 66 .LFE105: 68 .section .text.LL_DAC_Init,"ax",%progbits 69 .align 1 70 .global LL_DAC_Init 71 .syntax unified 72 .code 16 73 .thumb_func 74 .fpu softvfp 76 LL_DAC_Init: 77 .LFB106: 165:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 166:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /** 167:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @brief Initialize some features of DAC instance. 168:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @note The setting of these parameters by function @ref LL_DAC_Init() 169:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * is conditioned to DAC state: 170:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * DAC instance must be disabled. 171:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @param DACx DAC instance 172:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @param DAC_Channel This parameter can be one of the following values: 173:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @arg @ref LL_DAC_CHANNEL_1 174:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @arg @ref LL_DAC_CHANNEL_2 (1) ARM GAS /tmp/cc2GBi0Q.s page 17 175:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * 176:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * (1) On this STM32 serie, parameter not available on all devices. 177:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * Refer to device datasheet for channels availability. 178:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @param DAC_InitStruct Pointer to a @ref LL_DAC_InitTypeDef structure 179:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @retval An ErrorStatus enumeration value: 180:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * - SUCCESS: DAC registers are initialized 181:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * - ERROR: DAC registers are not initialized 182:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** */ 183:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ErrorStatus LL_DAC_Init(DAC_TypeDef *DACx, uint32_t DAC_Channel, LL_DAC_InitTypeDef *DAC_InitStruct 184:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** { 78 .loc 1 184 0 79 .cfi_startproc 80 @ args = 0, pretend = 0, frame = 0 81 @ frame_needed = 0, uses_anonymous_args = 0 82 .LVL4: 83 0000 30B5 push {r4, r5, lr} 84 .LCFI0: 85 .cfi_def_cfa_offset 12 86 .cfi_offset 4, -12 87 .cfi_offset 5, -8 88 .cfi_offset 14, -4 89 .LVL5: 185:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ErrorStatus status = SUCCESS; 186:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 187:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Check the parameters */ 188:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** assert_param(IS_DAC_ALL_INSTANCE(DACx)); 189:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** assert_param(IS_LL_DAC_CHANNEL(DACx, DAC_Channel)); 190:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** assert_param(IS_LL_DAC_TRIGGER_SOURCE(DAC_InitStruct->TriggerSource)); 191:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** assert_param(IS_LL_DAC_OUTPUT_BUFFER(DAC_InitStruct->OutputBuffer)); 192:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** assert_param(IS_LL_DAC_WAVE_AUTO_GENER_MODE(DAC_InitStruct->WaveAutoGeneration)); 193:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** if (DAC_InitStruct->WaveAutoGeneration != LL_DAC_WAVE_AUTO_GENERATION_NONE) 90 .loc 1 193 0 91 0002 5468 ldr r4, [r2, #4] 92 .LVL6: 93 .LBB12: 94 .LBB13: 95 .file 3 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h" 1:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 2:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ****************************************************************************** 3:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @file stm32l0xx_ll_dac.h 4:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @author MCD Application Team 5:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Header file of DAC LL module. 6:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ****************************************************************************** 7:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @attention 8:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 9:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** *

© COPYRIGHT(c) 2016 STMicroelectronics

10:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 11:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Redistribution and use in source and binary forms, with or without modification, 12:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * are permitted provided that the following conditions are met: 13:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 1. Redistributions of source code must retain the above copyright notice, 14:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * this list of conditions and the following disclaimer. 15:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 2. Redistributions in binary form must reproduce the above copyright notice, 16:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * this list of conditions and the following disclaimer in the documentation 17:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * and/or other materials provided with the distribution. 18:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 19:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * may be used to endorse or promote products derived from this software 20:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * without specific prior written permission. ARM GAS /tmp/cc2GBi0Q.s page 18 21:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 22:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 26:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 33:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ****************************************************************************** 34:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 35:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 36:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 37:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #ifndef __STM32L0xx_LL_DAC_H 38:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define __STM32L0xx_LL_DAC_H 39:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 40:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #ifdef __cplusplus 41:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** extern "C" { 42:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #endif 43:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 44:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Includes ------------------------------------------------------------------*/ 45:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #include "stm32l0xx.h" 46:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 47:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @addtogroup STM32L0xx_LL_Driver 48:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 49:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 50:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 51:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #if defined (DAC1) 52:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 53:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL DAC 54:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 55:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 56:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 57:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Private types -------------------------------------------------------------*/ 58:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Private variables ---------------------------------------------------------*/ 59:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 60:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Private constants ---------------------------------------------------------*/ 61:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_Private_Constants DAC Private Constants 62:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 63:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 64:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 65:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Internal masks for DAC channels definition */ 66:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* To select into literal LL_DAC_CHANNEL_x the relevant bits for: */ 67:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* - channel bits position into register CR */ 68:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* - channel bits position into register SWTRIG */ 69:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* - channel register offset of data holding register DHRx */ 70:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* - channel register offset of data output register DORx */ 71:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_CR_CH1_BITOFFSET 0U /* Position of channel bits into registers CR, MCR, CC 72:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_CR_CH2_BITOFFSET 16U /* Position of channel bits into registers CR, MCR, CC 73:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_CR_CHX_BITOFFSET_MASK (DAC_CR_CH1_BITOFFSET | DAC_CR_CH2_BITOFFSET) 74:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 75:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_SWTR_CH1 (DAC_SWTRIGR_SWTRIG1) /* Channel bit into register SWTRIGR o 76:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #if defined(DAC_CHANNEL2_SUPPORT) 77:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_SWTR_CH2 (DAC_SWTRIGR_SWTRIG2) /* Channel bit into register SWTRIGR o ARM GAS /tmp/cc2GBi0Q.s page 19 78:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_SWTR_CHX_MASK (DAC_SWTR_CH1 | DAC_SWTR_CH2) 79:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #else 80:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_SWTR_CHX_MASK (DAC_SWTR_CH1) 81:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #endif /* DAC_CHANNEL2_SUPPORT */ 82:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 83:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DHR12R1_REGOFFSET 0x00000000U /* Register DHR12Rx channel 1 taken 84:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DHR12L1_REGOFFSET 0x00100000U /* Register offset of DHR12Lx channe 85:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DHR8R1_REGOFFSET 0x02000000U /* Register offset of DHR8Rx channe 86:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #if defined(DAC_CHANNEL2_SUPPORT) 87:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DHR12R2_REGOFFSET 0x00030000U /* Register offset of DHR12Rx channe 88:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DHR12L2_REGOFFSET 0x00400000U /* Register offset of DHR12Lx channe 89:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DHR8R2_REGOFFSET 0x05000000U /* Register offset of DHR8Rx channe 90:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #endif /* DAC_CHANNEL2_SUPPORT */ 91:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DHR12RX_REGOFFSET_MASK 0x000F0000U 92:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DHR12LX_REGOFFSET_MASK 0x00F00000U 93:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DHR8RX_REGOFFSET_MASK 0x0F000000U 94:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DHRX_REGOFFSET_MASK (DAC_REG_DHR12RX_REGOFFSET_MASK | DAC_REG_DHR12LX_REGOFFSET_ 95:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 96:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DOR1_REGOFFSET 0x00000000U /* Register DORx channel 1 taken as 97:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #if defined(DAC_CHANNEL2_SUPPORT) 98:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DOR2_REGOFFSET 0x10000000U /* Register offset of DORx channel 1 99:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DORX_REGOFFSET_MASK (DAC_REG_DOR1_REGOFFSET | DAC_REG_DOR2_REGOFFSET) 100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #else 101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DORX_REGOFFSET_MASK (DAC_REG_DOR1_REGOFFSET) 102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #endif /* DAC_CHANNEL2_SUPPORT */ 103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_REGOFFSET_MASK_POSBIT0 0x0000000FU /* Mask of registers offset (DHR12R 105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DHR12RX_REGOFFSET_BITOFFSET_POS 16U /* Position of bits register offset 107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DHR12LX_REGOFFSET_BITOFFSET_POS 20U /* Position of bits register offset 108:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DHR8RX_REGOFFSET_BITOFFSET_POS 24U /* Position of bits register offset 109:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_REG_DORX_REGOFFSET_BITOFFSET_POS 28U /* Position of bits register offset 110:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 111:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* DAC registers bits positions */ 112:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #if defined(DAC_CHANNEL2_SUPPORT) 113:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_DHR12RD_DACC2DHR_BITOFFSET_POS 16U /* Value equivalent to POSITION_VAL( 114:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_DHR12LD_DACC2DHR_BITOFFSET_POS 20U /* Value equivalent to POSITION_VAL( 115:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_DHR8RD_DACC2DHR_BITOFFSET_POS 8U /* Value equivalent to POSITION_VAL( 116:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #endif /* DAC_CHANNEL2_SUPPORT */ 117:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 118:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Miscellaneous data */ 119:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define DAC_DIGITAL_SCALE_12BITS 4095U /* Full-scale digital value with a r 120:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 121:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 122:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 123:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 124:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 125:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 126:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Private macros ------------------------------------------------------------*/ 127:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_Private_Macros DAC Private Macros 128:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 130:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 131:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 132:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Driver macro reserved for internal use: set a pointer to 133:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * a register from a register basis from which an offset 134:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * is applied. ARM GAS /tmp/cc2GBi0Q.s page 20 135:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param __REG__ Register basis from which the offset is applied. 136:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param __REG_OFFFSET__ Offset to be applied (unit: number of registers). 137:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval Pointer to register address 138:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 139:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define __DAC_PTR_REG_OFFSET(__REG__, __REG_OFFFSET__) \ 140:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ((uint32_t *)((uint32_t) ((uint32_t)(&(__REG__)) + ((__REG_OFFFSET__) << 2U)))) 141:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 142:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 143:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 144:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 145:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 146:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 147:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Exported types ------------------------------------------------------------*/ 148:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #if defined(USE_FULL_LL_DRIVER) 149:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_ES_INIT DAC Exported Init structure 150:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 151:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 152:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 153:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 154:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Structure definition of some features of DAC instance. 155:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 156:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** typedef struct 157:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 158:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** uint32_t TriggerSource; /*!< Set the conversion trigger source for the selected DAC 159:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** This parameter can be a value of @ref DAC_LL_EC_TRIGGE 160:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 161:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** This feature can be modified afterwards using unitary 162:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 163:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** uint32_t WaveAutoGeneration; /*!< Set the waveform automatic generation mode for the sel 164:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** This parameter can be a value of @ref DAC_LL_EC_WAVE_A 165:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 166:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** This feature can be modified afterwards using unitary 167:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 168:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** uint32_t WaveAutoGenerationConfig; /*!< Set the waveform automatic generation mode for the sel 169:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** If waveform automatic generation mode is set to noise, 170:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** If waveform automatic generation mode is set to triang 171:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** @note If waveform automatic generation mode is disable 172:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 173:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** This feature can be modified afterwards using unitary 174:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 175:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** uint32_t OutputBuffer; /*!< Set the output buffer for the selected DAC channel. 176:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** This parameter can be a value of @ref DAC_LL_EC_OUTPUT 177:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 178:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** This feature can be modified afterwards using unitary 179:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 180:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } LL_DAC_InitTypeDef; 181:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 182:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 183:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 184:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 185:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #endif /* USE_FULL_LL_DRIVER */ 186:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 187:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Exported constants --------------------------------------------------------*/ 188:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_Exported_Constants DAC Exported Constants 189:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 190:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 191:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ARM GAS /tmp/cc2GBi0Q.s page 21 192:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EC_GET_FLAG DAC flags 193:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Flags defines which can be used with LL_DAC_ReadReg function 194:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 195:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 196:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* DAC channel 1 flags */ 197:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_FLAG_DMAUDR1 (DAC_SR_DMAUDR1) /*!< DAC channel 1 flag DMA underrun 198:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 199:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #if defined(DAC_CHANNEL2_SUPPORT) 200:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* DAC channel 2 flags */ 201:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_FLAG_DMAUDR2 (DAC_SR_DMAUDR2) /*!< DAC channel 2 flag DMA underrun 202:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #endif /* DAC_CHANNEL2_SUPPORT */ 203:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 204:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 205:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 206:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 207:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EC_IT DAC interruptions 208:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief IT defines which can be used with LL_DAC_ReadReg and LL_DAC_WriteReg functions 209:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 210:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 211:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_IT_DMAUDRIE1 (DAC_CR_DMAUDRIE1) /*!< DAC channel 1 interruption DMA u 212:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #if defined(DAC_CHANNEL2_SUPPORT) 213:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_IT_DMAUDRIE2 (DAC_CR_DMAUDRIE2) /*!< DAC channel 2 interruption DMA u 214:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #endif /* DAC_CHANNEL2_SUPPORT */ 215:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 216:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 217:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 218:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 219:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EC_CHANNEL DAC channels 220:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 221:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 222:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_CHANNEL_1 (DAC_REG_DOR1_REGOFFSET | DAC_REG_DHR12R1_REGOFFSET | DA 223:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #if defined(DAC_CHANNEL2_SUPPORT) 224:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_CHANNEL_2 (DAC_REG_DOR2_REGOFFSET | DAC_REG_DHR12R2_REGOFFSET | DA 225:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #endif /* DAC_CHANNEL2_SUPPORT */ 226:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 227:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 228:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 229:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 230:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EC_TRIGGER_SOURCE DAC trigger source 231:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 232:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 233:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIG_SOFTWARE (DAC_CR_TSEL1_2 | DAC_CR_TSEL1_1 | DAC_CR_TSEL1_0) /*!< 234:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIG_EXT_TIM2_TRGO (DAC_CR_TSEL1_2 ) /*!< 235:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIG_EXT_TIM3_TRGO ( DAC_CR_TSEL1_0) /*!< 236:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIG_EXT_TIM3_CH3 ( DAC_CR_TSEL1_1 ) /*!< 237:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIG_EXT_TIM6_TRGO 0x00000000U /*!< 238:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIG_EXT_TIM7_TRGO (DAC_CR_TSEL1_2 | DAC_CR_TSEL1_0) /*!< 239:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIG_EXT_TIM21_TRGO ( DAC_CR_TSEL1_1 | DAC_CR_TSEL1_0) /*!< 240:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIG_EXT_EXTI_LINE9 (DAC_CR_TSEL1_2 | DAC_CR_TSEL1_1 ) /*!< 241:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 242:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 243:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 244:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 245:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EC_WAVE_AUTO_GENERATION_MODE DAC waveform automatic generation mode 246:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 247:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 248:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_WAVE_AUTO_GENERATION_NONE 0x00000000U /*!< DAC channel wave auto gen ARM GAS /tmp/cc2GBi0Q.s page 22 249:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_WAVE_AUTO_GENERATION_NOISE (DAC_CR_WAVE1_0) /*!< DAC channel wave auto gen 250:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_WAVE_AUTO_GENERATION_TRIANGLE (DAC_CR_WAVE1_1) /*!< DAC channel wave auto gen 251:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 252:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 253:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 254:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 255:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EC_WAVE_NOISE_LFSR_UNMASK_BITS DAC wave generation - Noise LFSR unmask bits 256:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 257:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 258:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_NOISE_LFSR_UNMASK_BIT0 0x00000000U 259:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_NOISE_LFSR_UNMASK_BITS1_0 ( DAC_ 260:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_NOISE_LFSR_UNMASK_BITS2_0 ( DAC_CR_MAMP1_1 261:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_NOISE_LFSR_UNMASK_BITS3_0 ( DAC_CR_MAMP1_1 | DAC_ 262:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_NOISE_LFSR_UNMASK_BITS4_0 ( DAC_CR_MAMP1_2 263:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_NOISE_LFSR_UNMASK_BITS5_0 ( DAC_CR_MAMP1_2 | DAC_ 264:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_NOISE_LFSR_UNMASK_BITS6_0 ( DAC_CR_MAMP1_2 | DAC_CR_MAMP1_1 265:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_NOISE_LFSR_UNMASK_BITS7_0 ( DAC_CR_MAMP1_2 | DAC_CR_MAMP1_1 | DAC_ 266:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_NOISE_LFSR_UNMASK_BITS8_0 (DAC_CR_MAMP1_3 267:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_NOISE_LFSR_UNMASK_BITS9_0 (DAC_CR_MAMP1_3 | DAC_ 268:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_NOISE_LFSR_UNMASK_BITS10_0 (DAC_CR_MAMP1_3 | DAC_CR_MAMP1_1 269:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_NOISE_LFSR_UNMASK_BITS11_0 (DAC_CR_MAMP1_3 | DAC_CR_MAMP1_1 | DAC_ 270:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 271:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 272:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 273:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 274:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EC_WAVE_TRIANGLE_AMPLITUDE DAC wave generation - Triangle amplitude 275:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 276:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 277:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIANGLE_AMPLITUDE_1 0x00000000U 278:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIANGLE_AMPLITUDE_3 ( DAC_ 279:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIANGLE_AMPLITUDE_7 ( DAC_CR_MAMP1_1 280:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIANGLE_AMPLITUDE_15 ( DAC_CR_MAMP1_1 | DAC_ 281:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIANGLE_AMPLITUDE_31 ( DAC_CR_MAMP1_2 282:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIANGLE_AMPLITUDE_63 ( DAC_CR_MAMP1_2 | DAC_ 283:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIANGLE_AMPLITUDE_127 ( DAC_CR_MAMP1_2 | DAC_CR_MAMP1_1 284:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIANGLE_AMPLITUDE_255 ( DAC_CR_MAMP1_2 | DAC_CR_MAMP1_1 | DAC_ 285:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIANGLE_AMPLITUDE_511 (DAC_CR_MAMP1_3 286:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIANGLE_AMPLITUDE_1023 (DAC_CR_MAMP1_3 | DAC_ 287:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIANGLE_AMPLITUDE_2047 (DAC_CR_MAMP1_3 | DAC_CR_MAMP1_1 288:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_TRIANGLE_AMPLITUDE_4095 (DAC_CR_MAMP1_3 | DAC_CR_MAMP1_1 | DAC_ 289:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 290:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 291:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 292:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 293:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EC_OUTPUT_BUFFER DAC channel output buffer 294:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 295:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 296:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_OUTPUT_BUFFER_ENABLE 0x00000000U /*!< The selected DAC channel ou 297:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_OUTPUT_BUFFER_DISABLE (DAC_CR_BOFF1) /*!< The selected DAC channel ou 298:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 299:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 300:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 301:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 302:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 303:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EC_RESOLUTION DAC channel output resolution 304:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 305:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ ARM GAS /tmp/cc2GBi0Q.s page 23 306:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_RESOLUTION_12B 0x00000000U /*!< DAC channel resolution 12 b 307:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_RESOLUTION_8B 0x00000002U /*!< DAC channel resolution 8 bi 308:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 309:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 310:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 311:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 312:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EC_REGISTERS DAC registers compliant with specific purpose 313:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 314:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 315:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* List of DAC registers intended to be used (most commonly) with */ 316:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* DMA transfer. */ 317:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Refer to function @ref LL_DAC_DMA_GetRegAddr(). */ 318:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_DMA_REG_DATA_12BITS_RIGHT_ALIGNED DAC_REG_DHR12RX_REGOFFSET_BITOFFSET_POS /*!< DAC 319:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_DMA_REG_DATA_12BITS_LEFT_ALIGNED DAC_REG_DHR12LX_REGOFFSET_BITOFFSET_POS /*!< DAC 320:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_DMA_REG_DATA_8BITS_RIGHT_ALIGNED DAC_REG_DHR8RX_REGOFFSET_BITOFFSET_POS /*!< DAC 321:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 322:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 323:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 324:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 325:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EC_HW_DELAYS Definitions of DAC hardware constraints delays 326:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note Only DAC IP HW delays are defined in DAC LL driver driver, 327:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * not timeout values. 328:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * For details on delays values, refer to descriptions in source code 329:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * above each literal definition. 330:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 331:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 332:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 333:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Delay for DAC channel voltage settling time from DAC channel startup */ 334:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* (transition from disable to enable). */ 335:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Note: DAC channel startup time depends on board application environment: */ 336:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* impedance connected to DAC channel output. */ 337:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* The delay below is specified under conditions: */ 338:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* - voltage maximum transition (lowest to highest value) */ 339:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* - until voltage reaches final value +-1LSB */ 340:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* - DAC channel output buffer enabled */ 341:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* - load impedance of 5kOhm (min), 50pF (max) */ 342:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Literal set to maximum value (refer to device datasheet, */ 343:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* parameter "tWAKEUP"). */ 344:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Unit: us */ 345:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_DELAY_STARTUP_VOLTAGE_SETTLING_US 15U /*!< Delay for DAC channel voltag 346:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 347:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Delay for DAC channel voltage settling time. */ 348:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Note: DAC channel startup time depends on board application environment: */ 349:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* impedance connected to DAC channel output. */ 350:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* The delay below is specified under conditions: */ 351:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* - voltage maximum transition (lowest to highest value) */ 352:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* - until voltage reaches final value +-1LSB */ 353:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* - DAC channel output buffer enabled */ 354:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* - load impedance of 5kOhm min, 50pF max */ 355:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Literal set to maximum value (refer to device datasheet, */ 356:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* parameter "tSETTLING"). */ 357:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Unit: us */ 358:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_DELAY_VOLTAGE_SETTLING_US 12U /*!< Delay for DAC channel voltage 359:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 360:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 361:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 362:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ARM GAS /tmp/cc2GBi0Q.s page 24 363:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 364:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 365:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 366:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 367:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Exported macro ------------------------------------------------------------*/ 368:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_Exported_Macros DAC Exported Macros 369:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 370:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 371:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 372:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EM_WRITE_READ Common write and read registers macros 373:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 374:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 375:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 376:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 377:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Write a value in DAC register 378:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param __INSTANCE__ DAC Instance 379:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param __REG__ Register to be written 380:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param __VALUE__ Value to be written in the register 381:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval None 382:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 383:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALUE 384:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 385:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 386:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Read a value in DAC register 387:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param __INSTANCE__ DAC Instance 388:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param __REG__ Register to be read 389:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval Register value 390:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 391:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define LL_DAC_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__) 392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 393:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 394:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 395:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 396:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 397:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EM_HELPER_MACRO DAC helper macro 398:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 399:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 400:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 401:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 402:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Helper macro to get DAC channel number in decimal format 403:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * from literals LL_DAC_CHANNEL_x. 404:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Example: 405:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * __LL_DAC_CHANNEL_TO_DECIMAL_NB(LL_DAC_CHANNEL_1) 406:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * will return decimal number "1". 407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note The input can be a value from functions where a channel 408:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * number is returned. 409:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param __CHANNEL__ This parameter can be one of the following values: 410:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 411:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 412:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 413:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 414:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 415:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval 1...2 (value "2" depending on DAC channel 2 availability) 416:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 417:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define __LL_DAC_CHANNEL_TO_DECIMAL_NB(__CHANNEL__) \ 418:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ((__CHANNEL__) & DAC_SWTR_CHX_MASK) 419:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ARM GAS /tmp/cc2GBi0Q.s page 25 420:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 421:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Helper macro to get DAC channel in literal format LL_DAC_CHANNEL_x 422:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * from number in decimal format. 423:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Example: 424:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * __LL_DAC_DECIMAL_NB_TO_CHANNEL(1) 425:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * will return a data equivalent to "LL_DAC_CHANNEL_1". 426:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note If the input parameter does not correspond to a DAC channel, 427:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * this macro returns value '0'. 428:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param __DECIMAL_NB__ 1...2 (value "2" depending on DAC channel 2 availability) 429:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval Returned value can be one of the following values: 430:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 431:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 432:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 433:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 434:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 435:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 436:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #if defined(DAC_CHANNEL2_SUPPORT) 437:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define __LL_DAC_DECIMAL_NB_TO_CHANNEL(__DECIMAL_NB__) \ 438:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** (((__DECIMAL_NB__) == 1U) \ 439:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ? ( \ 440:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** LL_DAC_CHANNEL_1 \ 441:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ) \ 442:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** : \ 443:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** (((__DECIMAL_NB__) == 2U) \ 444:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ? ( \ 445:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** LL_DAC_CHANNEL_2 \ 446:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ) \ 447:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** : \ 448:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ( \ 449:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 0 \ 450:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ) \ 451:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ) \ 452:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ) 453:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #else 454:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define __LL_DAC_DECIMAL_NB_TO_CHANNEL(__DECIMAL_NB__) \ 455:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** (((__DECIMAL_NB__) == 1U) \ 456:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ? ( \ 457:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** LL_DAC_CHANNEL_1 \ 458:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ) \ 459:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** : \ 460:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ( \ 461:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 0 \ 462:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ) \ 463:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ) 464:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #endif /* DAC_CHANNEL2_SUPPORT */ 465:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 466:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 467:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Helper macro to define the DAC conversion data full-scale digital 468:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * value corresponding to the selected DAC resolution. 469:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note DAC conversion data full-scale corresponds to voltage range 470:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * determined by analog voltage references Vref+ and Vref- 471:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (refer to reference manual). 472:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param __DAC_RESOLUTION__ This parameter can be one of the following values: 473:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_RESOLUTION_12B 474:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_RESOLUTION_8B 475:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval ADC conversion data equivalent voltage value (unit: mVolt) 476:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ ARM GAS /tmp/cc2GBi0Q.s page 26 477:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define __LL_DAC_DIGITAL_SCALE(__DAC_RESOLUTION__) \ 478:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ((0x00000FFFU) >> ((__DAC_RESOLUTION__) << 1U)) 479:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 480:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 481:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Helper macro to calculate the DAC conversion data (unit: digital 482:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * value) corresponding to a voltage (unit: mVolt). 483:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note This helper macro is intended to provide input data in voltage 484:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * rather than digital value, 485:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * to be used with LL DAC functions such as 486:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @ref LL_DAC_ConvertData12RightAligned(). 487:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note Analog reference voltage (Vref+) must be either known from 488:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * user board environment or can be calculated using ADC measurement 489:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * and ADC helper macro @ref __LL_ADC_CALC_VREFANALOG_VOLTAGE(). 490:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param __VREFANALOG_VOLTAGE__ Analog reference voltage (unit: mV) 491:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param __DAC_VOLTAGE__ Voltage to be generated by DAC channel 492:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (unit: mVolt). 493:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param __DAC_RESOLUTION__ This parameter can be one of the following values: 494:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_RESOLUTION_12B 495:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_RESOLUTION_8B 496:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval DAC conversion data (unit: digital value) 497:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 498:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** #define __LL_DAC_CALC_VOLTAGE_TO_DATA(__VREFANALOG_VOLTAGE__,\ 499:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __DAC_VOLTAGE__,\ 500:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __DAC_RESOLUTION__) \ 501:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ((__DAC_VOLTAGE__) * __LL_DAC_DIGITAL_SCALE(__DAC_RESOLUTION__) \ 502:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** / (__VREFANALOG_VOLTAGE__) \ 503:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ) 504:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 505:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 506:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 507:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 508:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 509:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 510:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 511:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 512:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 513:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 514:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Exported functions --------------------------------------------------------*/ 515:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_Exported_Functions DAC Exported Functions 516:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 517:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 518:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EF_Configuration Configuration of DAC channels 519:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 520:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 521:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 522:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 523:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Set the conversion trigger source for the selected DAC channel. 524:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note For conversion trigger source to be effective, DAC trigger 525:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * must be enabled using function @ref LL_DAC_EnableTrigger(). 526:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note To set conversion trigger source, DAC channel must be disabled. 527:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Otherwise, the setting is discarded. 528:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note Availability of parameters of trigger sources from timer 529:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * depends on timers availability on the selected device. 530:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR TSEL1 LL_DAC_SetTriggerSource\n 531:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR TSEL2 LL_DAC_SetTriggerSource 532:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 533:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: ARM GAS /tmp/cc2GBi0Q.s page 27 534:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 535:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 536:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 537:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 538:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 539:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param TriggerSource This parameter can be one of the following values: 540:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_SOFTWARE 541:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_EXT_TIM2_TRGO 542:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_EXT_TIM3_TRGO 543:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_EXT_TIM3_CH3 544:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_EXT_TIM6_TRGO 545:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_EXT_TIM7_TRGO 546:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_EXT_TIM21_TRGO 547:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_EXT_EXTI_LINE9 548:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval None 549:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 550:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE void LL_DAC_SetTriggerSource(DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t Trig 551:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 552:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** MODIFY_REG(DACx->CR, 553:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** DAC_CR_TSEL1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK), 554:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** TriggerSource << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)); 555:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 556:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 557:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 558:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Get the conversion trigger source for the selected DAC channel. 559:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note For conversion trigger source to be effective, DAC trigger 560:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * must be enabled using function @ref LL_DAC_EnableTrigger(). 561:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note Availability of parameters of trigger sources from timer 562:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * depends on timers availability on the selected device. 563:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR TSEL1 LL_DAC_GetTriggerSource\n 564:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR TSEL2 LL_DAC_GetTriggerSource 565:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 566:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 567:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 568:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 569:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 570:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 571:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 572:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval Returned value can be one of the following values: 573:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_SOFTWARE 574:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_EXT_TIM2_TRGO 575:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_EXT_TIM3_TRGO 576:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_EXT_TIM3_CH3 577:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_EXT_TIM6_TRGO 578:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_EXT_TIM7_TRGO 579:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_EXT_TIM21_TRGO 580:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIG_EXT_EXTI_LINE9 581:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 582:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE uint32_t LL_DAC_GetTriggerSource(DAC_TypeDef *DACx, uint32_t DAC_Channel) 583:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 584:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** return (uint32_t)(READ_BIT(DACx->CR, DAC_CR_TSEL1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)) 585:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) 586:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ); 587:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 588:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 589:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 590:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Set the waveform automatic generation mode ARM GAS /tmp/cc2GBi0Q.s page 28 591:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * for the selected DAC channel. 592:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR WAVE1 LL_DAC_SetWaveAutoGeneration\n 593:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR WAVE2 LL_DAC_SetWaveAutoGeneration 594:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 595:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 596:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 597:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 598:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 599:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 600:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 601:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param WaveAutoGeneration This parameter can be one of the following values: 602:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_WAVE_AUTO_GENERATION_NONE 603:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_WAVE_AUTO_GENERATION_NOISE 604:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_WAVE_AUTO_GENERATION_TRIANGLE 605:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval None 606:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 607:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE void LL_DAC_SetWaveAutoGeneration(DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t 608:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 609:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** MODIFY_REG(DACx->CR, 610:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** DAC_CR_WAVE1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK), 611:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** WaveAutoGeneration << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)); 612:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 614:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 615:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Get the waveform automatic generation mode 616:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * for the selected DAC channel. 617:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR WAVE1 LL_DAC_GetWaveAutoGeneration\n 618:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR WAVE2 LL_DAC_GetWaveAutoGeneration 619:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 620:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 621:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 622:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 623:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 624:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 625:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 626:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval Returned value can be one of the following values: 627:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_WAVE_AUTO_GENERATION_NONE 628:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_WAVE_AUTO_GENERATION_NOISE 629:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_WAVE_AUTO_GENERATION_TRIANGLE 630:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 631:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE uint32_t LL_DAC_GetWaveAutoGeneration(DAC_TypeDef *DACx, uint32_t DAC_Channel) 632:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 633:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** return (uint32_t)(READ_BIT(DACx->CR, DAC_CR_WAVE1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)) 634:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) 635:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ); 636:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 637:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 638:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 639:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Set the noise waveform generation for the selected DAC channel: 640:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Noise mode and parameters LFSR (linear feedback shift register). 641:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note For wave generation to be effective, DAC channel 642:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * wave generation mode must be enabled using 643:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * function @ref LL_DAC_SetWaveAutoGeneration(). 644:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note This setting can be set when the selected DAC channel is disabled 645:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (otherwise, the setting operation is ignored). 646:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR MAMP1 LL_DAC_SetWaveNoiseLFSR\n 647:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR MAMP2 LL_DAC_SetWaveNoiseLFSR ARM GAS /tmp/cc2GBi0Q.s page 29 648:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 649:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 650:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 651:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 652:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 653:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 654:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 655:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param NoiseLFSRMask This parameter can be one of the following values: 656:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BIT0 657:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS1_0 658:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS2_0 659:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS3_0 660:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS4_0 661:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS5_0 662:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS6_0 663:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS7_0 664:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS8_0 665:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS9_0 666:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS10_0 667:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS11_0 668:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval None 669:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 670:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE void LL_DAC_SetWaveNoiseLFSR(DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t Nois 671:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 672:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** MODIFY_REG(DACx->CR, 673:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** DAC_CR_MAMP1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK), 674:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** NoiseLFSRMask << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)); 675:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 676:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 677:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 678:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Set the noise waveform generation for the selected DAC channel: 679:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Noise mode and parameters LFSR (linear feedback shift register). 680:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR MAMP1 LL_DAC_GetWaveNoiseLFSR\n 681:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR MAMP2 LL_DAC_GetWaveNoiseLFSR 682:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 683:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 684:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 685:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 686:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 687:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 688:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 689:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval Returned value can be one of the following values: 690:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BIT0 691:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS1_0 692:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS2_0 693:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS3_0 694:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS4_0 695:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS5_0 696:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS6_0 697:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS7_0 698:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS8_0 699:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS9_0 700:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS10_0 701:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS11_0 702:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 703:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE uint32_t LL_DAC_GetWaveNoiseLFSR(DAC_TypeDef *DACx, uint32_t DAC_Channel) 704:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { ARM GAS /tmp/cc2GBi0Q.s page 30 705:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** return (uint32_t)(READ_BIT(DACx->CR, DAC_CR_MAMP1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)) 706:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) 707:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ); 708:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 709:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 710:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 711:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Set the triangle waveform generation for the selected DAC channel: 712:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * triangle mode and amplitude. 713:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note For wave generation to be effective, DAC channel 714:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * wave generation mode must be enabled using 715:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * function @ref LL_DAC_SetWaveAutoGeneration(). 716:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note This setting can be set when the selected DAC channel is disabled 717:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (otherwise, the setting operation is ignored). 718:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR MAMP1 LL_DAC_SetWaveTriangleAmplitude\n 719:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR MAMP2 LL_DAC_SetWaveTriangleAmplitude 720:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 721:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 722:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 723:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 724:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 725:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 726:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 727:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param TriangleAmplitude This parameter can be one of the following values: 728:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_1 729:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_3 730:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_7 731:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_15 732:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_31 733:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_63 734:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_127 735:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_255 736:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_511 737:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_1023 738:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_2047 739:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_4095 740:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval None 741:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 742:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE void LL_DAC_SetWaveTriangleAmplitude(DAC_TypeDef *DACx, uint32_t DAC_Channel, uint3 743:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 744:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** MODIFY_REG(DACx->CR, 745:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** DAC_CR_MAMP1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK), 746:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** TriangleAmplitude << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)); 747:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 748:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 749:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 750:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Set the triangle waveform generation for the selected DAC channel: 751:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * triangle mode and amplitude. 752:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR MAMP1 LL_DAC_GetWaveTriangleAmplitude\n 753:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR MAMP2 LL_DAC_GetWaveTriangleAmplitude 754:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 755:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 756:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 757:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 758:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 759:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 760:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 761:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval Returned value can be one of the following values: ARM GAS /tmp/cc2GBi0Q.s page 31 762:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_1 763:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_3 764:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_7 765:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_15 766:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_31 767:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_63 768:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_127 769:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_255 770:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_511 771:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_1023 772:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_2047 773:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_4095 774:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 775:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE uint32_t LL_DAC_GetWaveTriangleAmplitude(DAC_TypeDef *DACx, uint32_t DAC_Channel) 776:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 777:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** return (uint32_t)(READ_BIT(DACx->CR, DAC_CR_MAMP1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)) 778:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) 779:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ); 780:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 781:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 782:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 783:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Set the output buffer for the selected DAC channel. 784:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR BOFF1 LL_DAC_SetOutputBuffer\n 785:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR BOFF2 LL_DAC_SetOutputBuffer 786:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 787:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 788:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 789:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 790:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 791:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 792:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 793:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param OutputBuffer This parameter can be one of the following values: 794:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_OUTPUT_BUFFER_ENABLE 795:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_OUTPUT_BUFFER_DISABLE 796:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval None 797:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 798:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE void LL_DAC_SetOutputBuffer(DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t Outpu 799:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 800:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** MODIFY_REG(DACx->CR, 801:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** DAC_CR_BOFF1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK), 802:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** OutputBuffer << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)); 803:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 804:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 805:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 806:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Get the output buffer state for the selected DAC channel. 807:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR BOFF1 LL_DAC_GetOutputBuffer\n 808:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR BOFF2 LL_DAC_GetOutputBuffer 809:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 810:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 811:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 812:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 813:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 814:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 815:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 816:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval Returned value can be one of the following values: 817:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_OUTPUT_BUFFER_ENABLE 818:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_OUTPUT_BUFFER_DISABLE ARM GAS /tmp/cc2GBi0Q.s page 32 819:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 820:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE uint32_t LL_DAC_GetOutputBuffer(DAC_TypeDef *DACx, uint32_t DAC_Channel) 821:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 822:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** return (uint32_t)(READ_BIT(DACx->CR, DAC_CR_BOFF1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)) 823:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) 824:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** ); 825:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 826:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 827:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 828:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 829:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 830:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 831:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EF_DMA_Management DMA Management 832:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 833:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 835:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 836:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Enable DAC DMA transfer request of the selected channel. 837:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note To configure DMA source address (peripheral address), 838:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * use function @ref LL_DAC_DMA_GetRegAddr(). 839:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR DMAEN1 LL_DAC_EnableDMAReq\n 840:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR DMAEN2 LL_DAC_EnableDMAReq 841:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 842:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 843:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 844:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 845:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 846:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 847:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 848:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval None 849:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 850:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE void LL_DAC_EnableDMAReq(DAC_TypeDef *DACx, uint32_t DAC_Channel) 851:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 852:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** SET_BIT(DACx->CR, 853:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** DAC_CR_DMAEN1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)); 854:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 855:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 856:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 857:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Disable DAC DMA transfer request of the selected channel. 858:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note To configure DMA source address (peripheral address), 859:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * use function @ref LL_DAC_DMA_GetRegAddr(). 860:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR DMAEN1 LL_DAC_DisableDMAReq\n 861:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR DMAEN2 LL_DAC_DisableDMAReq 862:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 863:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 864:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 865:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 866:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 867:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 868:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 869:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval None 870:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 871:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE void LL_DAC_DisableDMAReq(DAC_TypeDef *DACx, uint32_t DAC_Channel) 872:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 873:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** CLEAR_BIT(DACx->CR, 874:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** DAC_CR_DMAEN1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)); 875:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } ARM GAS /tmp/cc2GBi0Q.s page 33 876:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 877:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 878:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Get DAC DMA transfer request state of the selected channel. 879:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (0: DAC DMA transfer request is disabled, 1: DAC DMA transfer request is enabled) 880:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR DMAEN1 LL_DAC_IsDMAReqEnabled\n 881:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR DMAEN2 LL_DAC_IsDMAReqEnabled 882:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 883:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 884:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 885:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 886:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 887:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 888:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 889:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval State of bit (1 or 0). 890:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 891:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE uint32_t LL_DAC_IsDMAReqEnabled(DAC_TypeDef *DACx, uint32_t DAC_Channel) 892:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 893:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** return (READ_BIT(DACx->CR, 894:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** DAC_CR_DMAEN1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)) 895:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** == (DAC_CR_DMAEN1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK))); 896:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 897:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 898:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 899:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Function to help to configure DMA transfer to DAC: retrieve the 900:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * DAC register address from DAC instance and a list of DAC registers 901:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * intended to be used (most commonly) with DMA transfer. 902:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note These DAC registers are data holding registers: 903:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * when DAC conversion is requested, DAC generates a DMA transfer 904:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * request to have data available in DAC data holding registers. 905:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note This macro is intended to be used with LL DMA driver, refer to 906:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * function "LL_DMA_ConfigAddresses()". 907:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Example: 908:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * LL_DMA_ConfigAddresses(DMA1, 909:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * LL_DMA_CHANNEL_1, 910:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (uint32_t)&< array or variable >, 911:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * LL_DAC_DMA_GetRegAddr(DAC1, LL_DAC_CHANNEL_1, LL_DAC_DMA_REG_D 912:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * LL_DMA_DIRECTION_MEMORY_TO_PERIPH); 913:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll DHR12R1 DACC1DHR LL_DAC_DMA_GetRegAddr\n 914:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * DHR12L1 DACC1DHR LL_DAC_DMA_GetRegAddr\n 915:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * DHR8R1 DACC1DHR LL_DAC_DMA_GetRegAddr\n 916:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * DHR12R2 DACC2DHR LL_DAC_DMA_GetRegAddr\n 917:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * DHR12L2 DACC2DHR LL_DAC_DMA_GetRegAddr\n 918:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * DHR8R2 DACC2DHR LL_DAC_DMA_GetRegAddr 919:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 920:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 921:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 922:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 923:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 924:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 925:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 926:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param Register This parameter can be one of the following values: 927:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_DMA_REG_DATA_12BITS_RIGHT_ALIGNED 928:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_DMA_REG_DATA_12BITS_LEFT_ALIGNED 929:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_DMA_REG_DATA_8BITS_RIGHT_ALIGNED 930:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval DAC register address 931:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 932:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE uint32_t LL_DAC_DMA_GetRegAddr(DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t Re ARM GAS /tmp/cc2GBi0Q.s page 34 933:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 934:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* Retrieve address of register DHR12Rx, DHR12Lx or DHR8Rx depending on */ 935:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /* DAC channel selected. */ 936:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** return ((uint32_t)(__DAC_PTR_REG_OFFSET((DACx)->DHR12R1, ((DAC_Channel >> Register) & DAC_REG_REG 937:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 938:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 939:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @} 940:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 941:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 942:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** @defgroup DAC_LL_EF_Operation Operation on DAC channels 943:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @{ 944:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 945:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 946:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 947:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Enable DAC selected channel. 948:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR EN1 LL_DAC_Enable\n 949:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR EN2 LL_DAC_Enable 950:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @note After enable from off state, DAC channel requires a delay 951:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * for output voltage to reach accuracy +/- 1 LSB. 952:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet, parameter "tWAKEUP". 953:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 954:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 955:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 956:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 957:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 958:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 959:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 960:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval None 961:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 962:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE void LL_DAC_Enable(DAC_TypeDef *DACx, uint32_t DAC_Channel) 963:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 964:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** SET_BIT(DACx->CR, 965:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** DAC_CR_EN1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)); 966:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 967:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 968:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 969:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Disable DAC selected channel. 970:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR EN1 LL_DAC_Disable\n 971:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR EN2 LL_DAC_Disable 972:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 973:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 974:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 975:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 976:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 977:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 978:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 979:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval None 980:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 981:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE void LL_DAC_Disable(DAC_TypeDef *DACx, uint32_t DAC_Channel) 982:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 983:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** CLEAR_BIT(DACx->CR, 984:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** DAC_CR_EN1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)); 985:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** } 986:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** 987:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** /** 988:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @brief Get DAC enable state of the selected channel. 989:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (0: DAC channel is disabled, 1: DAC channel is enabled) ARM GAS /tmp/cc2GBi0Q.s page 35 990:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @rmtoll CR EN1 LL_DAC_IsEnabled\n 991:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * CR EN2 LL_DAC_IsEnabled 992:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DACx DAC instance 993:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @param DAC_Channel This parameter can be one of the following values: 994:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_1 995:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @arg @ref LL_DAC_CHANNEL_2 (1) 996:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * 997:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * (1) On this STM32 serie, parameter not available on all devices. 998:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * Refer to device datasheet for channels availability. 999:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** * @retval State of bit (1 or 0). 1000:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** */ 1001:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** __STATIC_INLINE uint32_t LL_DAC_IsEnabled(DAC_TypeDef *DACx, uint32_t DAC_Channel) 1002:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** { 1003:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dac.h **** return (READ_BIT(DACx->CR, 96 .loc 3 1003 0 97 0004 0568 ldr r5, [r0] 98 0006 1023 movs r3, #16 99 0008 1940 ands r1, r3 100 .LVL7: 101 000a 0F3B subs r3, r3, #15 102 000c 8B40 lsls r3, r3, r1 103 000e 1D40 ands r5, r3 104 .LVL8: 105 .LBE13: 106 .LBE12: 194:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** { 195:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** assert_param(IS_LL_DAC_WAVE_AUTO_GENER_CONFIG(DAC_InitStruct->WaveAutoGenerationConfig)); 196:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** } 197:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 198:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Note: Hardware constraint (refer to description of this function) */ 199:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* DAC instance must be disabled. */ 200:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** if(LL_DAC_IsEnabled(DACx, DAC_Channel) == 0U) 107 .loc 1 200 0 108 0010 AB42 cmp r3, r5 109 0012 1CD0 beq .L7 201:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** { 202:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Configuration of DAC channel: */ 203:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* - TriggerSource */ 204:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* - WaveAutoGeneration */ 205:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* - OutputBuffer */ 206:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** if (DAC_InitStruct->WaveAutoGeneration != LL_DAC_WAVE_AUTO_GENERATION_NONE) 110 .loc 1 206 0 111 0014 002C cmp r4, #0 112 0016 0BD1 bne .L8 207:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** { 208:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** MODIFY_REG(DACx->CR, 209:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ( DAC_CR_TSEL1 210:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** | DAC_CR_WAVE1 211:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** | DAC_CR_MAMP1 212:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** | DAC_CR_BOFF1 213:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ) << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) 214:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** , 215:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ( DAC_InitStruct->TriggerSource 216:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** | DAC_InitStruct->WaveAutoGeneration 217:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** | DAC_InitStruct->WaveAutoGenerationConfig 218:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** | DAC_InitStruct->OutputBuffer 219:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ) << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) ARM GAS /tmp/cc2GBi0Q.s page 36 220:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ); 221:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** } 222:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** else 223:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** { 224:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** MODIFY_REG(DACx->CR, 113 .loc 1 224 0 114 0018 0368 ldr r3, [r0] 115 001a FA24 movs r4, #250 116 001c 8C40 lsls r4, r4, r1 117 001e A343 bics r3, r4 118 0020 1468 ldr r4, [r2] 119 0022 D268 ldr r2, [r2, #12] 120 .LVL9: 121 0024 2243 orrs r2, r4 122 0026 8A40 lsls r2, r2, r1 123 0028 1343 orrs r3, r2 124 002a 0360 str r3, [r0] 185:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 125 .loc 1 185 0 126 002c 0120 movs r0, #1 127 .LVL10: 128 .L5: 225:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ( DAC_CR_TSEL1 226:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** | DAC_CR_WAVE1 227:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** | DAC_CR_BOFF1 228:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ) << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) 229:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** , 230:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ( DAC_InitStruct->TriggerSource 231:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** | LL_DAC_WAVE_AUTO_GENERATION_NONE 232:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** | DAC_InitStruct->OutputBuffer 233:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ) << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) 234:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ); 235:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** } 236:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** } 237:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** else 238:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** { 239:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Initialization error: DAC instance is not disabled. */ 240:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** status = ERROR; 241:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** } 242:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** return status; 243:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** } 129 .loc 1 243 0 130 @ sp needed 131 002e 30BD pop {r4, r5, pc} 132 .LVL11: 133 .L8: 208:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** ( DAC_CR_TSEL1 134 .loc 1 208 0 135 0030 0368 ldr r3, [r0] 136 0032 084D ldr r5, .L9 137 0034 8D40 lsls r5, r5, r1 138 0036 AB43 bics r3, r5 139 0038 1568 ldr r5, [r2] 140 003a 2C43 orrs r4, r5 141 003c 9568 ldr r5, [r2, #8] 142 003e 2C43 orrs r4, r5 143 0040 D268 ldr r2, [r2, #12] ARM GAS /tmp/cc2GBi0Q.s page 37 144 .LVL12: 145 0042 1443 orrs r4, r2 146 0044 8C40 lsls r4, r4, r1 147 0046 1C43 orrs r4, r3 148 0048 0460 str r4, [r0] 185:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 149 .loc 1 185 0 150 004a 0120 movs r0, #1 151 .LVL13: 152 004c EFE7 b .L5 153 .LVL14: 154 .L7: 240:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** } 155 .loc 1 240 0 156 004e 0020 movs r0, #0 157 .LVL15: 158 0050 EDE7 b .L5 159 .L10: 160 0052 C046 .align 2 161 .L9: 162 0054 FA0F0000 .word 4090 163 .cfi_endproc 164 .LFE106: 166 .section .text.LL_DAC_StructInit,"ax",%progbits 167 .align 1 168 .global LL_DAC_StructInit 169 .syntax unified 170 .code 16 171 .thumb_func 172 .fpu softvfp 174 LL_DAC_StructInit: 175 .LFB107: 244:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** 245:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /** 246:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @brief Set each @ref LL_DAC_InitTypeDef field to default value. 247:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @param DAC_InitStruct pointer to a @ref LL_DAC_InitTypeDef structure 248:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * whose fields will be set to default values. 249:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** * @retval None 250:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** */ 251:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** void LL_DAC_StructInit(LL_DAC_InitTypeDef *DAC_InitStruct) 252:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** { 176 .loc 1 252 0 177 .cfi_startproc 178 @ args = 0, pretend = 0, frame = 0 179 @ frame_needed = 0, uses_anonymous_args = 0 180 @ link register save eliminated. 181 .LVL16: 253:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Set DAC_InitStruct fields to default values */ 254:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** DAC_InitStruct->TriggerSource = LL_DAC_TRIG_SOFTWARE; 182 .loc 1 254 0 183 0000 3823 movs r3, #56 184 0002 0360 str r3, [r0] 255:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** DAC_InitStruct->WaveAutoGeneration = LL_DAC_WAVE_AUTO_GENERATION_NONE; 185 .loc 1 255 0 186 0004 0023 movs r3, #0 187 0006 4360 str r3, [r0, #4] 256:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* Note: Parameter discarded if wave auto generation is disabled, */ ARM GAS /tmp/cc2GBi0Q.s page 38 257:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** /* set anyway to its default value. */ 258:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** DAC_InitStruct->WaveAutoGenerationConfig = LL_DAC_NOISE_LFSR_UNMASK_BIT0; 188 .loc 1 258 0 189 0008 8360 str r3, [r0, #8] 259:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** DAC_InitStruct->OutputBuffer = LL_DAC_OUTPUT_BUFFER_ENABLE; 190 .loc 1 259 0 191 000a C360 str r3, [r0, #12] 260:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dac.c **** } 192 .loc 1 260 0 193 @ sp needed 194 000c 7047 bx lr 195 .cfi_endproc 196 .LFE107: 198 .text 199 .Letext0: 200 .file 4 "/usr/arm-none-eabi/include/machine/_default_types.h" 201 .file 5 "/usr/arm-none-eabi/include/sys/_stdint.h" 202 .file 6 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h" 203 .file 7 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h" 204 .file 8 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h" 205 .file 9 "/usr/arm-none-eabi/include/sys/lock.h" 206 .file 10 "/usr/arm-none-eabi/include/sys/_types.h" 207 .file 11 "/usr/lib/gcc/arm-none-eabi/7.2.0/include/stddef.h" 208 .file 12 "/usr/arm-none-eabi/include/sys/reent.h" ARM GAS /tmp/cc2GBi0Q.s page 39 DEFINED SYMBOLS *ABS*:0000000000000000 stm32l0xx_ll_dac.c /tmp/cc2GBi0Q.s:16 .text.LL_DAC_DeInit:0000000000000000 $t /tmp/cc2GBi0Q.s:23 .text.LL_DAC_DeInit:0000000000000000 LL_DAC_DeInit /tmp/cc2GBi0Q.s:63 .text.LL_DAC_DeInit:0000000000000018 $d /tmp/cc2GBi0Q.s:69 .text.LL_DAC_Init:0000000000000000 $t /tmp/cc2GBi0Q.s:76 .text.LL_DAC_Init:0000000000000000 LL_DAC_Init /tmp/cc2GBi0Q.s:162 .text.LL_DAC_Init:0000000000000054 $d /tmp/cc2GBi0Q.s:167 .text.LL_DAC_StructInit:0000000000000000 $t /tmp/cc2GBi0Q.s:174 .text.LL_DAC_StructInit:0000000000000000 LL_DAC_StructInit .debug_frame:0000000000000010 $d NO UNDEFINED SYMBOLS