ARM GAS /tmp/ccIphHaE.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_spi.c" 12 .text 13 .Ltext0: 14 .cfi_sections .debug_frame 15 .section .text.LL_SPI_DeInit,"ax",%progbits 16 .align 1 17 .global LL_SPI_DeInit 18 .syntax unified 19 .code 16 20 .thumb_func 21 .fpu softvfp 23 LL_SPI_DeInit: 24 .LFB312: 25 .file 1 "./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c" 1:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** 2:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** ****************************************************************************** 3:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @file stm32l0xx_ll_spi.c 4:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @author MCD Application Team 5:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @brief SPI LL module driver. 6:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** ****************************************************************************** 7:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @attention 8:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * 9:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** *

© COPYRIGHT(c) 2016 STMicroelectronics

10:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * 11:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * Redistribution and use in source and binary forms, with or without modification, 12:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * are permitted provided that the following conditions are met: 13:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * 1. Redistributions of source code must retain the above copyright notice, 14:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * this list of conditions and the following disclaimer. 15:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * 2. Redistributions in binary form must reproduce the above copyright notice, 16:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * this list of conditions and the following disclaimer in the documentation 17:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * and/or other materials provided with the distribution. 18:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 19:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * may be used to endorse or promote products derived from this software 20:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * without specific prior written permission. 21:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * 22:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 26:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * 33:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** ****************************************************************************** ARM GAS /tmp/ccIphHaE.s page 2 34:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 35:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #if defined(USE_FULL_LL_DRIVER) 36:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 37:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Includes ------------------------------------------------------------------*/ 38:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #include "stm32l0xx_ll_spi.h" 39:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #include "stm32l0xx_ll_bus.h" 40:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #include "stm32l0xx_ll_rcc.h" 41:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 42:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #ifdef USE_FULL_ASSERT 43:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #include "stm32_assert.h" 44:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #else 45:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define assert_param(expr) ((void)0U) 46:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #endif 47:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 48:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** @addtogroup STM32L0xx_LL_Driver 49:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @{ 50:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 51:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 52:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #if defined (SPI1) || defined (SPI2) 53:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 54:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** @addtogroup SPI_LL 55:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @{ 56:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 57:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 58:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Private types -------------------------------------------------------------*/ 59:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Private variables ---------------------------------------------------------*/ 60:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 61:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Private constants ---------------------------------------------------------*/ 62:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** @defgroup SPI_LL_Private_Constants SPI Private Constants 63:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @{ 64:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 65:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* SPI registers Masks */ 66:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define SPI_CR1_CLEAR_MASK (SPI_CR1_CPHA | SPI_CR1_CPOL | SPI_CR1_MSTR | \ 67:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_CR1_BR | SPI_CR1_LSBFIRST | SPI_CR1_SSI | \ 68:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_CR1_SSM | SPI_CR1_RXONLY | SPI_CR1_DFF | \ 69:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_CR1_CRCNEXT | SPI_CR1_CRCEN | SPI_CR1_BIDIOE | \ 70:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_CR1_BIDIMODE) 71:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** 72:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @} 73:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 74:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 75:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Private macros ------------------------------------------------------------*/ 76:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** @defgroup SPI_LL_Private_Macros SPI Private Macros 77:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @{ 78:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 79:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_SPI_TRANSFER_DIRECTION(__VALUE__) (((__VALUE__) == LL_SPI_FULL_DUPLEX) \ 80:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_SIMPLEX_RX) \ 81:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_HALF_DUPLEX_RX) \ 82:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_HALF_DUPLEX_TX)) 83:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 84:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_SPI_MODE(__VALUE__) (((__VALUE__) == LL_SPI_MODE_MASTER) \ 85:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_MODE_SLAVE)) 86:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 87:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_SPI_DATAWIDTH(__VALUE__) (((__VALUE__) == LL_SPI_DATAWIDTH_8BIT) \ 88:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_DATAWIDTH_16BIT)) 89:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 90:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_SPI_POLARITY(__VALUE__) (((__VALUE__) == LL_SPI_POLARITY_LOW) \ ARM GAS /tmp/ccIphHaE.s page 3 91:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_POLARITY_HIGH)) 92:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 93:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_SPI_PHASE(__VALUE__) (((__VALUE__) == LL_SPI_PHASE_1EDGE) \ 94:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_PHASE_2EDGE)) 95:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 96:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_SPI_NSS(__VALUE__) (((__VALUE__) == LL_SPI_NSS_SOFT) \ 97:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_NSS_HARD_INPUT) \ 98:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_NSS_HARD_OUTPUT)) 99:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 100:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_SPI_BAUDRATE(__VALUE__) (((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV2) \ 101:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV4) \ 102:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV8) \ 103:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV16) \ 104:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV32) \ 105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV64) \ 106:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV128) \ 107:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_BAUDRATEPRESCALER_DIV256)) 108:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 109:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_SPI_BITORDER(__VALUE__) (((__VALUE__) == LL_SPI_LSB_FIRST) \ 110:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_MSB_FIRST)) 111:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 112:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_SPI_CRCCALCULATION(__VALUE__) (((__VALUE__) == LL_SPI_CRCCALCULATION_ENABLE) \ 113:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_SPI_CRCCALCULATION_DISABLE)) 114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 115:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_SPI_CRC_POLYNOMIAL(__VALUE__) ((__VALUE__) >= 0x1U) 116:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 117:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** 118:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @} 119:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 120:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 121:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Private function prototypes -----------------------------------------------*/ 122:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 123:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Exported functions --------------------------------------------------------*/ 124:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** @addtogroup SPI_LL_Exported_Functions 125:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @{ 126:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 127:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 128:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** @addtogroup SPI_LL_EF_Init 129:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @{ 130:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 131:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 132:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** 133:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @brief De-initialize the SPI registers to their default reset values. 134:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @param SPIx SPI Instance 135:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @retval An ErrorStatus enumeration value: 136:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - SUCCESS: SPI registers are de-initialized 137:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - ERROR: SPI registers are not de-initialized 138:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 139:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** ErrorStatus LL_SPI_DeInit(SPI_TypeDef *SPIx) 140:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 26 .loc 1 140 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: 141:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** ErrorStatus status = ERROR; ARM GAS /tmp/ccIphHaE.s page 4 142:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 143:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Check the parameters */ 144:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_SPI_ALL_INSTANCE(SPIx)); 145:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 146:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #if defined(SPI1) 147:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** if (SPIx == SPI1) 32 .loc 1 147 0 33 0000 104B ldr r3, .L7 34 0002 9842 cmp r0, r3 35 0004 05D0 beq .L5 141:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** ErrorStatus status = ERROR; 36 .loc 1 141 0 37 0006 0023 movs r3, #0 38 .LVL1: 39 .L2: 148:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 149:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Force reset of SPI clock */ 150:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_SPI1); 151:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 152:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Release reset of SPI clock */ 153:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_SPI1); 154:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 155:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** status = SUCCESS; 156:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 157:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #endif /* SPI1 */ 158:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #if defined(SPI2) 159:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** if (SPIx == SPI2) 40 .loc 1 159 0 41 0008 0F4A ldr r2, .L7+4 42 000a 9042 cmp r0, r2 43 000c 0DD0 beq .L6 44 .LVL2: 45 .L3: 160:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 161:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Force reset of SPI clock */ 162:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_SPI2); 163:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 164:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Release reset of SPI clock */ 165:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_SPI2); 166:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 167:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** status = SUCCESS; 168:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 169:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #endif /* SPI2 */ 170:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 171:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** return status; 172:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 46 .loc 1 172 0 47 000e 1800 movs r0, r3 48 .LVL3: 49 @ sp needed 50 0010 7047 bx lr 51 .LVL4: 52 .L5: 53 .LBB26: 54 .LBB27: 55 .file 2 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h" 1:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** ARM GAS /tmp/ccIphHaE.s page 5 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 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" { ARM GAS /tmp/ccIphHaE.s page 6 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 */ 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 */ ARM GAS /tmp/ccIphHaE.s page 7 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 **** /** 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 */ ARM GAS /tmp/ccIphHaE.s page 8 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 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: ARM GAS /tmp/ccIphHaE.s page 9 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); 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 (*) ARM GAS /tmp/ccIphHaE.s page 10 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 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 **** { ARM GAS /tmp/ccIphHaE.s page 11 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 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); ARM GAS /tmp/ccIphHaE.s page 12 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 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 **** { ARM GAS /tmp/ccIphHaE.s page 13 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 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 **** ARM GAS /tmp/ccIphHaE.s page 14 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 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 ARM GAS /tmp/ccIphHaE.s page 15 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 **** { 613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->APB1RSTR, Periphs); 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 ARM GAS /tmp/ccIphHaE.s page 16 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 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); 665:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 666:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 667:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 668:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Enable APB1 peripherals clock during Low Power (Sleep) mode. 669:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1SMENR TIM2SMEN LL_APB1_GRP1_EnableClockSleep\n 670:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR TIM3SMEN LL_APB1_GRP1_EnableClockSleep\n 671:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR TIM6SMEN LL_APB1_GRP1_EnableClockSleep\n 672:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR TIM7SMEN LL_APB1_GRP1_EnableClockSleep\n 673:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR LCDSMEN LL_APB1_GRP1_EnableClockSleep\n 674:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR WWDGSMEN LL_APB1_GRP1_EnableClockSleep\n 675:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR SPI2SMEN LL_APB1_GRP1_EnableClockSleep\n 676:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USART2SMEN LL_APB1_GRP1_EnableClockSleep\n 677:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR LPUART1SMEN LL_APB1_GRP1_EnableClockSleep\n 678:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USART4SMEN LL_APB1_GRP1_EnableClockSleep\n 679:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USART5SMEN LL_APB1_GRP1_EnableClockSleep\n 680:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR I2C1SMEN LL_APB1_GRP1_EnableClockSleep\n 681:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR I2C2SMEN LL_APB1_GRP1_EnableClockSleep\n 682:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USBSMEN LL_APB1_GRP1_EnableClockSleep\n 683:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR CRSSMEN LL_APB1_GRP1_EnableClockSleep\n 684:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR PWRSMEN LL_APB1_GRP1_EnableClockSleep\n 685:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR DACSMEN LL_APB1_GRP1_EnableClockSleep\n ARM GAS /tmp/ccIphHaE.s page 17 686:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR I2C3SMEN LL_APB1_GRP1_EnableClockSleep\n 687:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR LPTIM1SMEN LL_APB1_GRP1_EnableClockSleep 688:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 689:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 690:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*) 691:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 692:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 693:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*) 694:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 695:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 696:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 697:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 698:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (*) 699:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (*) 700:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 701:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 702:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 703:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CRS (*) 704:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 705:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 706:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (*) 707:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 708:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 709:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 710:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 711:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 712:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_EnableClockSleep(uint32_t Periphs) 713:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 714:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __IO uint32_t tmpreg; 715:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->APB1SMENR, Periphs); 716:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 717:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APB1SMENR, Periphs); 718:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (void)tmpreg; 719:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 720:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 721:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 722:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Disable APB1 peripherals clock during Low Power (Sleep) mode. 723:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1SMENR TIM2SMEN LL_APB1_GRP1_DisableClockSleep\n 724:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR TIM3SMEN LL_APB1_GRP1_DisableClockSleep\n 725:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR TIM6SMEN LL_APB1_GRP1_DisableClockSleep\n 726:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR TIM7SMEN LL_APB1_GRP1_DisableClockSleep\n 727:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR LCDSMEN LL_APB1_GRP1_DisableClockSleep\n 728:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR WWDGSMEN LL_APB1_GRP1_DisableClockSleep\n 729:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR SPI2SMEN LL_APB1_GRP1_DisableClockSleep\n 730:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USART2SMEN LL_APB1_GRP1_DisableClockSleep\n 731:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR LPUART1SMEN LL_APB1_GRP1_DisableClockSleep\n 732:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USART4SMEN LL_APB1_GRP1_DisableClockSleep\n 733:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USART5SMEN LL_APB1_GRP1_DisableClockSleep\n 734:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR I2C1SMEN LL_APB1_GRP1_DisableClockSleep\n 735:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR I2C2SMEN LL_APB1_GRP1_DisableClockSleep\n 736:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USBSMEN LL_APB1_GRP1_DisableClockSleep\n 737:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR CRSSMEN LL_APB1_GRP1_DisableClockSleep\n 738:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR PWRSMEN LL_APB1_GRP1_DisableClockSleep\n 739:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR DACSMEN LL_APB1_GRP1_DisableClockSleep\n 740:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR I2C3SMEN LL_APB1_GRP1_DisableClockSleep\n 741:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR LPTIM1SMEN LL_APB1_GRP1_DisableClockSleep 742:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: ARM GAS /tmp/ccIphHaE.s page 18 743:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 744:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*) 745:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 746:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 747:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*) 748:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 749:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 750:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 751:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 752:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (*) 753:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (*) 754:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 755:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 756:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 757:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CRS (*) 758:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 759:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 760:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (*) 761:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 762:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 763:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 764:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 765:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 766:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_DisableClockSleep(uint32_t Periphs) 767:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 768:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->APB1SMENR, Periphs); 769:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 770:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 771:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 772:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 773:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 774:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 775:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_APB2 APB2 776:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 777:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 778:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 779:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 780:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Enable APB2 peripherals clock. 781:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB2ENR SYSCFGEN LL_APB2_GRP1_EnableClock\n 782:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR TIM21EN LL_APB2_GRP1_EnableClock\n 783:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR TIM22EN LL_APB2_GRP1_EnableClock\n 784:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR FWEN LL_APB2_GRP1_EnableClock\n 785:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR ADCEN LL_APB2_GRP1_EnableClock\n 786:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_EnableClock\n 787:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_EnableClock\n 788:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR DBGEN LL_APB2_GRP1_EnableClock 789:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 790:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SYSCFG 791:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM21 792:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM22 (*) 793:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_FW 794:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 795:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 796:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 (*) 797:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_DBGMCU 798:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 799:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. ARM GAS /tmp/ccIphHaE.s page 19 800:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 801:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 802:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_EnableClock(uint32_t Periphs) 803:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 804:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __IO uint32_t tmpreg; 805:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->APB2ENR, Periphs); 806:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 807:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APB2ENR, Periphs); 808:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (void)tmpreg; 809:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 810:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 811:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 812:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Check if APB2 peripheral clock is enabled or not 813:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB2ENR SYSCFGEN LL_APB2_GRP1_IsEnabledClock\n 814:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR TIM21EN LL_APB2_GRP1_IsEnabledClock\n 815:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR TIM22EN LL_APB2_GRP1_IsEnabledClock\n 816:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR FWEN LL_APB2_GRP1_IsEnabledClock\n 817:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR ADCEN LL_APB2_GRP1_IsEnabledClock\n 818:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_IsEnabledClock\n 819:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_IsEnabledClock\n 820:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR DBGEN LL_APB2_GRP1_IsEnabledClock 821:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 822:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SYSCFG 823:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM21 824:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM22 (*) 825:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_FW 826:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 827:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 828:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 (*) 829:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_DBGMCU 830:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 831:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 832:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval State of Periphs (1 or 0). 833:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_APB2_GRP1_IsEnabledClock(uint32_t Periphs) 835:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 836:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** return (READ_BIT(RCC->APB2ENR, Periphs) == Periphs); 837:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 838:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 839:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 840:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Disable APB2 peripherals clock. 841:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB2ENR SYSCFGEN LL_APB2_GRP1_DisableClock\n 842:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR TIM21EN LL_APB2_GRP1_DisableClock\n 843:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR TIM22EN LL_APB2_GRP1_DisableClock\n 844:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR FWEN LL_APB2_GRP1_DisableClock\n 845:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR ADCEN LL_APB2_GRP1_DisableClock\n 846:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_DisableClock\n 847:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_DisableClock\n 848:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR DBGEN LL_APB2_GRP1_DisableClock 849:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 850:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SYSCFG 851:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM21 852:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM22 (*) 853:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_FW 854:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 855:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 856:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 (*) ARM GAS /tmp/ccIphHaE.s page 20 857:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_DBGMCU 858:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 859:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 860:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 861:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 862:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_DisableClock(uint32_t Periphs) 863:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 864:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->APB2ENR, Periphs); 865:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 866:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 867:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 868:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Force APB2 peripherals reset. 869:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB2RSTR SYSCFGRST LL_APB2_GRP1_ForceReset\n 870:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR TIM21RST LL_APB2_GRP1_ForceReset\n 871:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR TIM22RST LL_APB2_GRP1_ForceReset\n 872:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR ADCRST LL_APB2_GRP1_ForceReset\n 873:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR SPI1RST LL_APB2_GRP1_ForceReset\n 874:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR USART1RST LL_APB2_GRP1_ForceReset\n 875:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR DBGRST LL_APB2_GRP1_ForceReset 876:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 877:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ALL 878:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SYSCFG 879:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM21 880:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM22 (*) 881:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 882:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 883:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 (*) 884:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_DBGMCU 885:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 886:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 887:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 888:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 889:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_ForceReset(uint32_t Periphs) 890:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 891:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->APB2RSTR, Periphs); 56 .loc 2 891 0 57 0012 0E4B ldr r3, .L7+8 58 0014 596A ldr r1, [r3, #36] 59 0016 8022 movs r2, #128 60 0018 5201 lsls r2, r2, #5 61 001a 0A43 orrs r2, r1 62 001c 5A62 str r2, [r3, #36] 63 .LVL5: 64 .LBE27: 65 .LBE26: 66 .LBB28: 67 .LBB29: 892:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 893:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 894:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 895:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Release APB2 peripherals reset. 896:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB2RSTR SYSCFGRST LL_APB2_GRP1_ReleaseReset\n 897:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR TIM21RST LL_APB2_GRP1_ReleaseReset\n 898:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR TIM22RST LL_APB2_GRP1_ReleaseReset\n 899:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR ADCRST LL_APB2_GRP1_ReleaseReset\n 900:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR SPI1RST LL_APB2_GRP1_ReleaseReset\n 901:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR USART1RST LL_APB2_GRP1_ReleaseReset\n ARM GAS /tmp/ccIphHaE.s page 21 902:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR DBGRST LL_APB2_GRP1_ReleaseReset 903:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 904:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ALL 905:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SYSCFG 906:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM21 907:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM22 (*) 908:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 909:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 910:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 (*) 911:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_DBGMCU 912:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 913:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 914:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 915:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 916:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_ReleaseReset(uint32_t Periphs) 917:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 918:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->APB2RSTR, Periphs); 68 .loc 2 918 0 69 001e 5A6A ldr r2, [r3, #36] 70 0020 0B49 ldr r1, .L7+12 71 0022 0A40 ands r2, r1 72 0024 5A62 str r2, [r3, #36] 73 .LVL6: 74 .LBE29: 75 .LBE28: 155:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 76 .loc 1 155 0 77 0026 0123 movs r3, #1 78 0028 EEE7 b .L2 79 .LVL7: 80 .L6: 81 .LBB30: 82 .LBB31: 613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 83 .loc 2 613 0 84 002a 084B ldr r3, .L7+8 85 .LVL8: 86 002c 996A ldr r1, [r3, #40] 87 002e 8022 movs r2, #128 88 0030 D201 lsls r2, r2, #7 89 0032 0A43 orrs r2, r1 90 0034 9A62 str r2, [r3, #40] 91 .LVL9: 92 .LBE31: 93 .LBE30: 94 .LBB32: 95 .LBB33: 664:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 96 .loc 2 664 0 97 0036 9A6A ldr r2, [r3, #40] 98 0038 0649 ldr r1, .L7+16 99 003a 0A40 ands r2, r1 100 003c 9A62 str r2, [r3, #40] 101 .LVL10: 102 .LBE33: 103 .LBE32: 167:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } ARM GAS /tmp/ccIphHaE.s page 22 104 .loc 1 167 0 105 003e 0123 movs r3, #1 106 0040 E5E7 b .L3 107 .L8: 108 0042 C046 .align 2 109 .L7: 110 0044 00300140 .word 1073819648 111 0048 00380040 .word 1073756160 112 004c 00100240 .word 1073876992 113 0050 FFEFFFFF .word -4097 114 0054 FFBFFFFF .word -16385 115 .cfi_endproc 116 .LFE312: 118 .section .text.LL_SPI_Init,"ax",%progbits 119 .align 1 120 .global LL_SPI_Init 121 .syntax unified 122 .code 16 123 .thumb_func 124 .fpu softvfp 126 LL_SPI_Init: 127 .LFB313: 173:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 174:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** 175:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @brief Initialize the SPI registers according to the specified parameters in SPI_InitStruct. 176:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @note As some bits in SPI configuration registers can only be written when the SPI is disable 177:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * SPI IP should be in disabled state prior calling this function. Otherwise, ERROR result 178:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @param SPIx SPI Instance 179:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @param SPI_InitStruct pointer to a @ref LL_SPI_InitTypeDef structure 180:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @retval An ErrorStatus enumeration value. (Return always SUCCESS) 181:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 182:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** ErrorStatus LL_SPI_Init(SPI_TypeDef *SPIx, LL_SPI_InitTypeDef *SPI_InitStruct) 183:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 128 .loc 1 183 0 129 .cfi_startproc 130 @ args = 0, pretend = 0, frame = 0 131 @ frame_needed = 0, uses_anonymous_args = 0 132 .LVL11: 133 0000 10B5 push {r4, lr} 134 .LCFI0: 135 .cfi_def_cfa_offset 8 136 .cfi_offset 4, -8 137 .cfi_offset 14, -4 138 .LVL12: 139 .LBB34: 140 .LBB35: 141 .file 3 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h" 1:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 2:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** ****************************************************************************** 3:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @file stm32l0xx_ll_spi.h 4:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @author MCD Application Team 5:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Header file of SPI LL module. 6:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** ****************************************************************************** 7:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @attention 8:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * 9:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** *

© COPYRIGHT(c) 2016 STMicroelectronics

10:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * ARM GAS /tmp/ccIphHaE.s page 23 11:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * Redistribution and use in source and binary forms, with or without modification, 12:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * are permitted provided that the following conditions are met: 13:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * 1. Redistributions of source code must retain the above copyright notice, 14:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * this list of conditions and the following disclaimer. 15:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * 2. Redistributions in binary form must reproduce the above copyright notice, 16:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * this list of conditions and the following disclaimer in the documentation 17:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * and/or other materials provided with the distribution. 18:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 19:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * may be used to endorse or promote products derived from this software 20:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * without specific prior written permission. 21:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * 22:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 26:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * 33:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** ****************************************************************************** 34:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 35:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 36:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 37:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #ifndef __STM32L0xx_LL_SPI_H 38:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define __STM32L0xx_LL_SPI_H 39:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 40:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #ifdef __cplusplus 41:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** extern "C" { 42:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #endif 43:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 44:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Includes ------------------------------------------------------------------*/ 45:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #include "stm32l0xx.h" 46:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 47:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @addtogroup STM32L0xx_LL_Driver 48:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 49:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 50:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 51:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #if defined (SPI1) || defined (SPI2) 52:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 53:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL SPI 54:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 55:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 56:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 57:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Private types -------------------------------------------------------------*/ 58:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Private variables ---------------------------------------------------------*/ 59:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Private macros ------------------------------------------------------------*/ 60:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 61:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Exported types ------------------------------------------------------------*/ 62:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #if defined(USE_FULL_LL_DRIVER) 63:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_ES_INIT SPI Exported Init structure 64:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 65:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 66:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 67:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** ARM GAS /tmp/ccIphHaE.s page 24 68:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief SPI Init structures definition 69:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 70:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** typedef struct 71:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 72:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t TransferDirection; /*!< Specifies the SPI unidirectional or bidirectional data mod 73:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref SPI_LL_EC_TRANSFER_M 74:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 75:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 76:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 77:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t Mode; /*!< Specifies the SPI mode (Master/Slave). 78:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref SPI_LL_EC_MODE. 79:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 80:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 81:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 82:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t DataWidth; /*!< Specifies the SPI data width. 83:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref SPI_LL_EC_DATAWIDTH. 84:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 85:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 86:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 87:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t ClockPolarity; /*!< Specifies the serial clock steady state. 88:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref SPI_LL_EC_POLARITY. 89:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 90:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 91:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 92:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t ClockPhase; /*!< Specifies the clock active edge for the bit capture. 93:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref SPI_LL_EC_PHASE. 94:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 95:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 96:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 97:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t NSS; /*!< Specifies whether the NSS signal is managed by hardware (N 98:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref SPI_LL_EC_NSS_MODE. 99:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t BaudRate; /*!< Specifies the BaudRate prescaler value which will be used 103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref SPI_LL_EC_BAUDRATEPR 104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** @note The communication clock is derived from the master c 105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 108:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t BitOrder; /*!< Specifies whether data transfers start from MSB or LSB bit 109:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref SPI_LL_EC_BIT_ORDER. 110:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 111:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 112:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 113:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t CRCCalculation; /*!< Specifies if the CRC calculation is enabled or not. 114:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref SPI_LL_EC_CRC_CALCUL 115:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 116:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 117:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 118:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t CRCPoly; /*!< Specifies the polynomial used for the CRC calculation. 119:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter must be a number between Min_Data = 0x00 an 120:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 121:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 122:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 123:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } LL_SPI_InitTypeDef; 124:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** ARM GAS /tmp/ccIphHaE.s page 25 125:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 126:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 127:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 128:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #endif /* USE_FULL_LL_DRIVER */ 129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 130:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Exported constants --------------------------------------------------------*/ 131:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_Exported_Constants SPI Exported Constants 132:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 133:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 134:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 135:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EC_GET_FLAG Get Flags Defines 136:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Flags defines which can be used with LL_SPI_ReadReg function 137:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 138:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 139:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_SR_RXNE SPI_SR_RXNE /*!< Rx buffer not empty flag 140:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_SR_TXE SPI_SR_TXE /*!< Tx buffer empty flag 141:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_SR_BSY SPI_SR_BSY /*!< Busy flag 142:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_SR_UDR SPI_SR_UDR /*!< Underrun flag 143:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_SR_CRCERR SPI_SR_CRCERR /*!< CRC error flag 144:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_SR_MODF SPI_SR_MODF /*!< Mode fault flag 145:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_SR_OVR SPI_SR_OVR /*!< Overrun flag 146:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_SR_FRE SPI_SR_FRE /*!< TI mode frame format erro 147:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 148:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 149:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 150:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 151:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EC_IT IT Defines 152:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief IT defines which can be used with LL_SPI_ReadReg and LL_SPI_WriteReg functions 153:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 154:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 155:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_CR2_RXNEIE SPI_CR2_RXNEIE /*!< Rx buffer not empty inter 156:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_CR2_TXEIE SPI_CR2_TXEIE /*!< Tx buffer empty interrupt 157:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_CR2_ERRIE SPI_CR2_ERRIE /*!< Error interrupt enable 158:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 159:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 160:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 161:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 162:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EC_MODE Operation Mode 163:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 164:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 165:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_MODE_MASTER (SPI_CR1_MSTR | SPI_CR1_SSI) /*!< Master configuratio 166:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_MODE_SLAVE ((uint32_t)0x00000000U) /*!< Slave configuration 167:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 168:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 169:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 170:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 171:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EC_PROTOCOL Serial Protocol 172:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 173:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 174:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_PROTOCOL_MOTOROLA ((uint32_t)0x00000000U) /*!< Motorola mode. Used as de 175:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_PROTOCOL_TI (SPI_CR2_FRF) /*!< TI mode 176:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 177:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 178:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 179:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 180:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EC_PHASE Clock Phase 181:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ ARM GAS /tmp/ccIphHaE.s page 26 182:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 183:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_PHASE_1EDGE ((uint32_t)0x00000000U) /*!< First clock transition is 184:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_PHASE_2EDGE (SPI_CR1_CPHA) /*!< Second clock transition i 185:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 186:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 187:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 188:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 189:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EC_POLARITY Clock Polarity 190:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 191:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 192:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_POLARITY_LOW ((uint32_t)0x00000000U) /*!< Clock to 0 when idle */ 193:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_POLARITY_HIGH (SPI_CR1_CPOL) /*!< Clock to 1 when idle */ 194:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 195:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 196:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 197:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 198:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EC_BAUDRATEPRESCALER Baud Rate Prescaler 199:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 200:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 201:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_BAUDRATEPRESCALER_DIV2 ((uint32_t)0x00000000U) /*!< Baud 202:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_BAUDRATEPRESCALER_DIV4 (SPI_CR1_BR_0) /*!< Baud 203:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_BAUDRATEPRESCALER_DIV8 (SPI_CR1_BR_1) /*!< Baud 204:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_BAUDRATEPRESCALER_DIV16 (SPI_CR1_BR_1 | SPI_CR1_BR_0) /*!< Baud 205:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_BAUDRATEPRESCALER_DIV32 (SPI_CR1_BR_2) /*!< Baud 206:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_BAUDRATEPRESCALER_DIV64 (SPI_CR1_BR_2 | SPI_CR1_BR_0) /*!< Baud 207:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_BAUDRATEPRESCALER_DIV128 (SPI_CR1_BR_2 | SPI_CR1_BR_1) /*!< Baud 208:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_BAUDRATEPRESCALER_DIV256 (SPI_CR1_BR_2 | SPI_CR1_BR_1 | SPI_CR1_BR_0) /*!< Baud 209:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 210:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 211:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 212:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 213:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EC_BIT_ORDER Transmission Bit Order 214:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 215:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 216:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_LSB_FIRST (SPI_CR1_LSBFIRST) /*!< Data is transmitted/recei 217:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_MSB_FIRST ((uint32_t)0x00000000U) /*!< Data is transmitted/recei 218:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 219:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 220:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 221:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 222:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EC_TRANSFER_MODE Transfer Mode 223:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 224:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 225:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_FULL_DUPLEX ((uint32_t)0x00000000U) /*!< Full-Duplex mo 226:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_SIMPLEX_RX (SPI_CR1_RXONLY) /*!< Simplex Rx mod 227:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_HALF_DUPLEX_RX (SPI_CR1_BIDIMODE) /*!< Half-Duplex Rx 228:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_HALF_DUPLEX_TX (SPI_CR1_BIDIMODE | SPI_CR1_BIDIOE) /*!< Half-Duplex Tx 229:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 230:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 231:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 232:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 233:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EC_NSS_MODE Slave Select Pin Mode 234:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 235:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 236:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_NSS_SOFT (SPI_CR1_SSM) /*!< NSS managed inter 237:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_NSS_HARD_INPUT ((uint32_t)0x00000000U) /*!< NSS pin used in I 238:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_NSS_HARD_OUTPUT (((uint32_t)SPI_CR2_SSOE << 16U)) /*!< NSS pin used in O ARM GAS /tmp/ccIphHaE.s page 27 239:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 240:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 241:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 242:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 243:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EC_DATAWIDTH Datawidth 244:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 245:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 246:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_DATAWIDTH_8BIT ((uint32_t)0x00000000U) /*!< Data length for S 247:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_DATAWIDTH_16BIT (SPI_CR1_DFF) /*!< Data length for S 248:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 249:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 250:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 251:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #if defined(USE_FULL_LL_DRIVER) 252:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 253:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EC_CRC_CALCULATION CRC Calculation 254:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 255:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 256:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_CRCCALCULATION_DISABLE ((uint32_t)0x00000000U) /*!< CRC calculation d 257:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_CRCCALCULATION_ENABLE (SPI_CR1_CRCEN) /*!< CRC calculation e 258:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 259:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 260:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 261:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #endif /* USE_FULL_LL_DRIVER */ 262:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 263:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 264:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 265:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 266:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 267:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Exported macro ------------------------------------------------------------*/ 268:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_Exported_Macros SPI Exported Macros 269:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 270:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 271:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 272:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EM_WRITE_READ Common Write and read registers Macros 273:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 274:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 275:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 276:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 277:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Write a value in SPI register 278:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param __INSTANCE__ SPI Instance 279:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param __REG__ Register to be written 280:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param __VALUE__ Value to be written in the register 281:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 282:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 283:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALUE 284:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 285:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 286:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Read a value in SPI register 287:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param __INSTANCE__ SPI Instance 288:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param __REG__ Register to be read 289:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Register value 290:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 291:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_SPI_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__) 292:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 293:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 294:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 295:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** ARM GAS /tmp/ccIphHaE.s page 28 296:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 297:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 298:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 299:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 300:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Exported functions --------------------------------------------------------*/ 301:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_Exported_Functions SPI Exported Functions 302:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 303:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 304:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 305:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EF_Configuration Configuration 306:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 307:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 308:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 309:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 310:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Enable SPI peripheral 311:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 SPE LL_SPI_Enable 312:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 313:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 314:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 315:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_Enable(SPI_TypeDef *SPIx) 316:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 317:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** SET_BIT(SPIx->CR1, SPI_CR1_SPE); 318:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 319:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 320:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 321:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Disable SPI peripheral 322:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note When disabling the SPI, follow the procedure described in the Reference Manual. 323:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 SPE LL_SPI_Disable 324:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 325:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 326:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 327:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_Disable(SPI_TypeDef *SPIx) 328:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 329:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** CLEAR_BIT(SPIx->CR1, SPI_CR1_SPE); 330:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 331:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 332:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 333:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Check if SPI peripheral is enabled 334:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 SPE LL_SPI_IsEnabled 335:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 336:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 337:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 338:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_IsEnabled(SPI_TypeDef *SPIx) 339:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 340:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->CR1, SPI_CR1_SPE) == (SPI_CR1_SPE)); 142 .loc 3 340 0 143 0002 0368 ldr r3, [r0] 144 .LVL13: 145 .LBE35: 146 .LBE34: 184:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** ErrorStatus status = ERROR; 185:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 186:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Check the SPI Instance SPIx*/ 187:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_SPI_ALL_INSTANCE(SPIx)); 188:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 189:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Check the SPI parameters from SPI_InitStruct*/ 190:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_SPI_TRANSFER_DIRECTION(SPI_InitStruct->TransferDirection)); ARM GAS /tmp/ccIphHaE.s page 29 191:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_SPI_MODE(SPI_InitStruct->Mode)); 192:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_SPI_DATAWIDTH(SPI_InitStruct->DataWidth)); 193:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_SPI_POLARITY(SPI_InitStruct->ClockPolarity)); 194:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_SPI_PHASE(SPI_InitStruct->ClockPhase)); 195:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_SPI_NSS(SPI_InitStruct->NSS)); 196:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_SPI_BAUDRATE(SPI_InitStruct->BaudRate)); 197:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_SPI_BITORDER(SPI_InitStruct->BitOrder)); 198:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_SPI_CRCCALCULATION(SPI_InitStruct->CRCCalculation)); 199:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 200:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** if (LL_SPI_IsEnabled(SPIx) == 0x00000000U) 147 .loc 1 200 0 148 0004 5B06 lsls r3, r3, #25 149 0006 28D4 bmi .L11 201:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 202:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /*---------------------------- SPIx CR1 Configuration ------------------------ 203:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * Configure SPIx CR1 with parameters: 204:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - TransferDirection: SPI_CR1_BIDIMODE, SPI_CR1_BIDIOE and SPI_CR1_RXONLY bits 205:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - Master/Slave Mode: SPI_CR1_MSTR bit 206:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - DataWidth: SPI_CR1_DFF bit 207:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - ClockPolarity: SPI_CR1_CPOL bit 208:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - ClockPhase: SPI_CR1_CPHA bit 209:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - NSS management: SPI_CR1_SSM bit 210:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - BaudRate prescaler: SPI_CR1_BR[2:0] bits 211:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - BitOrder: SPI_CR1_LSBFIRST bit 212:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - CRCCalculation: SPI_CR1_CRCEN bit 213:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 214:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** MODIFY_REG(SPIx->CR1, 150 .loc 1 214 0 151 0008 0368 ldr r3, [r0] 152 000a 174A ldr r2, .L14 153 000c 1A40 ands r2, r3 154 000e 0B68 ldr r3, [r1] 155 0010 4C68 ldr r4, [r1, #4] 156 0012 2343 orrs r3, r4 157 0014 8C68 ldr r4, [r1, #8] 158 0016 2343 orrs r3, r4 159 0018 CC68 ldr r4, [r1, #12] 160 001a 2343 orrs r3, r4 161 001c 0C69 ldr r4, [r1, #16] 162 001e 2343 orrs r3, r4 163 0020 4C69 ldr r4, [r1, #20] 164 0022 2343 orrs r3, r4 165 0024 8C69 ldr r4, [r1, #24] 166 0026 2343 orrs r3, r4 167 0028 CC69 ldr r4, [r1, #28] 168 002a 2343 orrs r3, r4 169 002c 0C6A ldr r4, [r1, #32] 170 002e 2343 orrs r3, r4 171 0030 1343 orrs r3, r2 172 0032 0360 str r3, [r0] 215:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_CR1_CLEAR_MASK, 216:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_InitStruct->TransferDirection | SPI_InitStruct->Mode | SPI_InitStruct->DataWidth 217:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_InitStruct->ClockPolarity | SPI_InitStruct->ClockPhase | 218:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_InitStruct->NSS | SPI_InitStruct->BaudRate | 219:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_InitStruct->BitOrder | SPI_InitStruct->CRCCalculation); 220:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 221:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /*---------------------------- SPIx CR2 Configuration ------------------------ ARM GAS /tmp/ccIphHaE.s page 30 222:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * Configure SPIx CR2 with parameters: 223:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - NSS management: SSOE bit 224:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 225:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** MODIFY_REG(SPIx->CR2, SPI_CR2_SSOE, (SPI_InitStruct->NSS >> 16U)); 173 .loc 1 225 0 174 0034 4368 ldr r3, [r0, #4] 175 0036 0422 movs r2, #4 176 0038 9343 bics r3, r2 177 003a CA8A ldrh r2, [r1, #22] 178 003c 1343 orrs r3, r2 179 003e 4360 str r3, [r0, #4] 226:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 227:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /*---------------------------- SPIx CRCPR Configuration ---------------------- 228:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * Configure SPIx CRCPR with parameters: 229:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - CRCPoly: CRCPOLY[15:0] bits 230:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 231:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** if (SPI_InitStruct->CRCCalculation == LL_SPI_CRCCALCULATION_ENABLE) 180 .loc 1 231 0 181 0040 8023 movs r3, #128 182 0042 9B01 lsls r3, r3, #6 183 0044 0A6A ldr r2, [r1, #32] 184 0046 9A42 cmp r2, r3 185 0048 01D0 beq .L13 232:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 233:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_SPI_CRC_POLYNOMIAL(SPI_InitStruct->CRCPoly)); 234:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** LL_SPI_SetCRCPolynomial(SPIx, SPI_InitStruct->CRCPoly); 235:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 236:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** status = SUCCESS; 186 .loc 1 236 0 187 004a 0121 movs r1, #1 188 .LVL14: 189 004c 06E0 b .L10 190 .LVL15: 191 .L13: 234:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 192 .loc 1 234 0 193 004e 4B6A ldr r3, [r1, #36] 194 .LVL16: 195 0050 1B04 lsls r3, r3, #16 196 .LVL17: 197 0052 1B0C lsrs r3, r3, #16 198 .LBB36: 199 .LBB37: 341:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 342:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 343:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 344:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Set SPI operation mode to Master or Slave 345:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note This bit should not be changed when communication is ongoing. 346:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 MSTR LL_SPI_SetMode\n 347:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * CR1 SSI LL_SPI_SetMode 348:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 349:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param Mode This parameter can be one of the following values: 350:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_MODE_MASTER 351:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_MODE_SLAVE 352:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 353:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 354:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_SetMode(SPI_TypeDef *SPIx, uint32_t Mode) ARM GAS /tmp/ccIphHaE.s page 31 355:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 356:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** MODIFY_REG(SPIx->CR1, SPI_CR1_MSTR | SPI_CR1_SSI, Mode); 357:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 358:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 359:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 360:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get SPI operation mode (Master or Slave) 361:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 MSTR LL_SPI_GetMode\n 362:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * CR1 SSI LL_SPI_GetMode 363:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 364:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Returned value can be one of the following values: 365:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_MODE_MASTER 366:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_MODE_SLAVE 367:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 368:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_GetMode(SPI_TypeDef *SPIx) 369:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 370:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (uint32_t)(READ_BIT(SPIx->CR1, SPI_CR1_MSTR | SPI_CR1_SSI)); 371:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 372:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 373:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 374:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Set serial protocol used 375:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note This bit should be written only when SPI is disabled (SPE = 0) for correct operation. 376:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 FRF LL_SPI_SetStandard 377:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 378:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param Standard This parameter can be one of the following values: 379:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_PROTOCOL_MOTOROLA 380:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_PROTOCOL_TI 381:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 382:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 383:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_SetStandard(SPI_TypeDef *SPIx, uint32_t Standard) 384:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 385:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** MODIFY_REG(SPIx->CR2, SPI_CR2_FRF, Standard); 386:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 387:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 388:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 389:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get serial protocol used 390:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 FRF LL_SPI_GetStandard 391:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Returned value can be one of the following values: 393:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_PROTOCOL_MOTOROLA 394:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_PROTOCOL_TI 395:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 396:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_GetStandard(SPI_TypeDef *SPIx) 397:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 398:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (uint32_t)(READ_BIT(SPIx->CR2, SPI_CR2_FRF)); 399:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 400:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 401:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 402:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Set clock phase 403:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note This bit should not be changed when communication is ongoing. 404:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * This bit is not used in SPI TI mode. 405:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 CPHA LL_SPI_SetClockPhase 406:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param ClockPhase This parameter can be one of the following values: 408:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_PHASE_1EDGE 409:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_PHASE_2EDGE 410:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 411:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ ARM GAS /tmp/ccIphHaE.s page 32 412:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_SetClockPhase(SPI_TypeDef *SPIx, uint32_t ClockPhase) 413:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 414:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** MODIFY_REG(SPIx->CR1, SPI_CR1_CPHA, ClockPhase); 415:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 416:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 417:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 418:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get clock phase 419:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 CPHA LL_SPI_GetClockPhase 420:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 421:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Returned value can be one of the following values: 422:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_PHASE_1EDGE 423:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_PHASE_2EDGE 424:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 425:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_GetClockPhase(SPI_TypeDef *SPIx) 426:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 427:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (uint32_t)(READ_BIT(SPIx->CR1, SPI_CR1_CPHA)); 428:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 429:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 430:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 431:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Set clock polarity 432:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note This bit should not be changed when communication is ongoing. 433:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * This bit is not used in SPI TI mode. 434:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 CPOL LL_SPI_SetClockPolarity 435:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 436:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param ClockPolarity This parameter can be one of the following values: 437:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_POLARITY_LOW 438:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_POLARITY_HIGH 439:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 440:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 441:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_SetClockPolarity(SPI_TypeDef *SPIx, uint32_t ClockPolarity) 442:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 443:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** MODIFY_REG(SPIx->CR1, SPI_CR1_CPOL, ClockPolarity); 444:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 445:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 446:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 447:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get clock polarity 448:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 CPOL LL_SPI_GetClockPolarity 449:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 450:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Returned value can be one of the following values: 451:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_POLARITY_LOW 452:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_POLARITY_HIGH 453:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 454:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_GetClockPolarity(SPI_TypeDef *SPIx) 455:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 456:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (uint32_t)(READ_BIT(SPIx->CR1, SPI_CR1_CPOL)); 457:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 458:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 459:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 460:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Set baud rate prescaler 461:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note These bits should not be changed when communication is ongoing. SPI BaudRate = fPCLK/Pr 462:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 BR LL_SPI_SetBaudRatePrescaler 463:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 464:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param BaudRate This parameter can be one of the following values: 465:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV2 466:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV4 467:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV8 468:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV16 ARM GAS /tmp/ccIphHaE.s page 33 469:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV32 470:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV64 471:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV128 472:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV256 473:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 474:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 475:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_SetBaudRatePrescaler(SPI_TypeDef *SPIx, uint32_t BaudRate) 476:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 477:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** MODIFY_REG(SPIx->CR1, SPI_CR1_BR, BaudRate); 478:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 479:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 480:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 481:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get baud rate prescaler 482:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 BR LL_SPI_GetBaudRatePrescaler 483:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 484:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Returned value can be one of the following values: 485:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV2 486:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV4 487:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV8 488:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV16 489:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV32 490:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV64 491:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV128 492:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_BAUDRATEPRESCALER_DIV256 493:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 494:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_GetBaudRatePrescaler(SPI_TypeDef *SPIx) 495:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 496:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (uint32_t)(READ_BIT(SPIx->CR1, SPI_CR1_BR)); 497:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 498:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 499:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 500:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Set transfer bit order 501:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note This bit should not be changed when communication is ongoing. This bit is not used in S 502:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 LSBFIRST LL_SPI_SetTransferBitOrder 503:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 504:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param BitOrder This parameter can be one of the following values: 505:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_LSB_FIRST 506:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_MSB_FIRST 507:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 508:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 509:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_SetTransferBitOrder(SPI_TypeDef *SPIx, uint32_t BitOrder) 510:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 511:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** MODIFY_REG(SPIx->CR1, SPI_CR1_LSBFIRST, BitOrder); 512:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 513:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 514:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 515:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get transfer bit order 516:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 LSBFIRST LL_SPI_GetTransferBitOrder 517:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 518:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Returned value can be one of the following values: 519:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_LSB_FIRST 520:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_MSB_FIRST 521:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 522:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_GetTransferBitOrder(SPI_TypeDef *SPIx) 523:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 524:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (uint32_t)(READ_BIT(SPIx->CR1, SPI_CR1_LSBFIRST)); 525:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } ARM GAS /tmp/ccIphHaE.s page 34 526:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 527:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 528:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Set transfer direction mode 529:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note For Half-Duplex mode, Rx Direction is set by default. 530:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * In master mode, the MOSI pin is used and in slave mode, the MISO pin is used for Half-D 531:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 RXONLY LL_SPI_SetTransferDirection\n 532:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * CR1 BIDIMODE LL_SPI_SetTransferDirection\n 533:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * CR1 BIDIOE LL_SPI_SetTransferDirection 534:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 535:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param TransferDirection This parameter can be one of the following values: 536:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_FULL_DUPLEX 537:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_SIMPLEX_RX 538:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_HALF_DUPLEX_RX 539:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_HALF_DUPLEX_TX 540:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 541:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 542:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_SetTransferDirection(SPI_TypeDef *SPIx, uint32_t TransferDirection) 543:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 544:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** MODIFY_REG(SPIx->CR1, SPI_CR1_RXONLY | SPI_CR1_BIDIMODE | SPI_CR1_BIDIOE, TransferDirection); 545:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 546:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 547:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 548:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get transfer direction mode 549:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 RXONLY LL_SPI_GetTransferDirection\n 550:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * CR1 BIDIMODE LL_SPI_GetTransferDirection\n 551:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * CR1 BIDIOE LL_SPI_GetTransferDirection 552:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 553:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Returned value can be one of the following values: 554:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_FULL_DUPLEX 555:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_SIMPLEX_RX 556:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_HALF_DUPLEX_RX 557:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_HALF_DUPLEX_TX 558:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 559:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_GetTransferDirection(SPI_TypeDef *SPIx) 560:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 561:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (uint32_t)(READ_BIT(SPIx->CR1, SPI_CR1_RXONLY | SPI_CR1_BIDIMODE | SPI_CR1_BIDIOE)); 562:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 563:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 564:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 565:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Set frame data width 566:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 DFF LL_SPI_SetDataWidth 567:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 568:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param DataWidth This parameter can be one of the following values: 569:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_DATAWIDTH_8BIT 570:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_DATAWIDTH_16BIT 571:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 572:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 573:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_SetDataWidth(SPI_TypeDef *SPIx, uint32_t DataWidth) 574:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 575:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** MODIFY_REG(SPIx->CR1, SPI_CR1_DFF, DataWidth); 576:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 577:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 578:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 579:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get frame data width 580:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 DFF LL_SPI_GetDataWidth 581:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 582:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Returned value can be one of the following values: ARM GAS /tmp/ccIphHaE.s page 35 583:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_DATAWIDTH_8BIT 584:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_DATAWIDTH_16BIT 585:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 586:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_GetDataWidth(SPI_TypeDef *SPIx) 587:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 588:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (uint32_t)(READ_BIT(SPIx->CR1, SPI_CR1_DFF)); 589:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 590:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 591:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 592:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 593:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 594:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 595:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EF_CRC_Management CRC Management 596:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 597:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 598:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 599:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 600:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Enable CRC 601:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note This bit should be written only when SPI is disabled (SPE = 0) for correct operation. 602:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 CRCEN LL_SPI_EnableCRC 603:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 604:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 605:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 606:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_EnableCRC(SPI_TypeDef *SPIx) 607:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 608:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** SET_BIT(SPIx->CR1, SPI_CR1_CRCEN); 609:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 610:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 611:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 612:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Disable CRC 613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note This bit should be written only when SPI is disabled (SPE = 0) for correct operation. 614:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 CRCEN LL_SPI_DisableCRC 615:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 616:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 617:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 618:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_DisableCRC(SPI_TypeDef *SPIx) 619:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 620:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** CLEAR_BIT(SPIx->CR1, SPI_CR1_CRCEN); 621:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 622:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 623:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 624:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Check if CRC is enabled 625:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note This bit should be written only when SPI is disabled (SPE = 0) for correct operation. 626:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 CRCEN LL_SPI_IsEnabledCRC 627:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 628:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 629:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 630:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_IsEnabledCRC(SPI_TypeDef *SPIx) 631:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 632:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->CR1, SPI_CR1_CRCEN) == (SPI_CR1_CRCEN)); 633:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 634:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 635:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 636:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Set CRCNext to transfer CRC on the line 637:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note This bit has to be written as soon as the last data is written in the SPIx_DR register. 638:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 CRCNEXT LL_SPI_SetCRCNext 639:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance ARM GAS /tmp/ccIphHaE.s page 36 640:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 641:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 642:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_SetCRCNext(SPI_TypeDef *SPIx) 643:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 644:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** SET_BIT(SPIx->CR1, SPI_CR1_CRCNEXT); 645:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 646:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 647:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 648:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Set polynomial for CRC calculation 649:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CRCPR CRCPOLY LL_SPI_SetCRCPolynomial 650:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 651:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param CRCPoly This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFFFF 652:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 653:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 654:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_SetCRCPolynomial(SPI_TypeDef *SPIx, uint32_t CRCPoly) 655:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 656:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** WRITE_REG(SPIx->CRCPR, (uint16_t)CRCPoly); 200 .loc 3 656 0 201 0054 0361 str r3, [r0, #16] 202 .LVL18: 203 .LBE37: 204 .LBE36: 205 .loc 1 236 0 206 0056 0121 movs r1, #1 207 .LVL19: 208 0058 00E0 b .L10 209 .LVL20: 210 .L11: 184:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 211 .loc 1 184 0 212 005a 0021 movs r1, #0 213 .LVL21: 214 .L10: 237:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 238:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 239:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #if defined (SPI_I2S_SUPPORT) 240:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Activate the SPI mode (Reset I2SMOD bit in I2SCFGR register) */ 241:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** CLEAR_BIT(SPIx->I2SCFGR, SPI_I2SCFGR_I2SMOD); 215 .loc 1 241 0 216 005c C369 ldr r3, [r0, #28] 217 005e 034A ldr r2, .L14+4 218 0060 1340 ands r3, r2 219 0062 C361 str r3, [r0, #28] 242:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #endif /* SPI_I2S_SUPPORT */ 243:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** return status; 244:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 220 .loc 1 244 0 221 0064 0800 movs r0, r1 222 .LVL22: 223 @ sp needed 224 0066 10BD pop {r4, pc} 225 .L15: 226 .align 2 227 .L14: 228 0068 4000FFFF .word -65472 229 006c FFF7FFFF .word -2049 230 .cfi_endproc ARM GAS /tmp/ccIphHaE.s page 37 231 .LFE313: 233 .section .text.LL_SPI_StructInit,"ax",%progbits 234 .align 1 235 .global LL_SPI_StructInit 236 .syntax unified 237 .code 16 238 .thumb_func 239 .fpu softvfp 241 LL_SPI_StructInit: 242 .LFB314: 245:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 246:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** 247:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @brief Set each @ref LL_SPI_InitTypeDef field to default value. 248:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @param SPI_InitStruct pointer to a @ref LL_SPI_InitTypeDef structure 249:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * whose fields will be set to default values. 250:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @retval None 251:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 252:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** void LL_SPI_StructInit(LL_SPI_InitTypeDef *SPI_InitStruct) 253:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 243 .loc 1 253 0 244 .cfi_startproc 245 @ args = 0, pretend = 0, frame = 0 246 @ frame_needed = 0, uses_anonymous_args = 0 247 @ link register save eliminated. 248 .LVL23: 254:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Set SPI_InitStruct fields to default values */ 255:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_InitStruct->TransferDirection = LL_SPI_FULL_DUPLEX; 249 .loc 1 255 0 250 0000 0023 movs r3, #0 251 0002 0360 str r3, [r0] 256:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_InitStruct->Mode = LL_SPI_MODE_SLAVE; 252 .loc 1 256 0 253 0004 4360 str r3, [r0, #4] 257:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_InitStruct->DataWidth = LL_SPI_DATAWIDTH_8BIT; 254 .loc 1 257 0 255 0006 8360 str r3, [r0, #8] 258:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_InitStruct->ClockPolarity = LL_SPI_POLARITY_LOW; 256 .loc 1 258 0 257 0008 C360 str r3, [r0, #12] 259:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_InitStruct->ClockPhase = LL_SPI_PHASE_1EDGE; 258 .loc 1 259 0 259 000a 0361 str r3, [r0, #16] 260:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_InitStruct->NSS = LL_SPI_NSS_HARD_INPUT; 260 .loc 1 260 0 261 000c 4361 str r3, [r0, #20] 261:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_InitStruct->BaudRate = LL_SPI_BAUDRATEPRESCALER_DIV2; 262 .loc 1 261 0 263 000e 8361 str r3, [r0, #24] 262:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_InitStruct->BitOrder = LL_SPI_MSB_FIRST; 264 .loc 1 262 0 265 0010 C361 str r3, [r0, #28] 263:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_InitStruct->CRCCalculation = LL_SPI_CRCCALCULATION_DISABLE; 266 .loc 1 263 0 267 0012 0362 str r3, [r0, #32] 264:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_InitStruct->CRCPoly = 7U; 268 .loc 1 264 0 269 0014 0733 adds r3, r3, #7 ARM GAS /tmp/ccIphHaE.s page 38 270 0016 4362 str r3, [r0, #36] 265:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 271 .loc 1 265 0 272 @ sp needed 273 0018 7047 bx lr 274 .cfi_endproc 275 .LFE314: 277 .section .text.LL_I2S_DeInit,"ax",%progbits 278 .align 1 279 .global LL_I2S_DeInit 280 .syntax unified 281 .code 16 282 .thumb_func 283 .fpu softvfp 285 LL_I2S_DeInit: 286 .LFB315: 266:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 267:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** 268:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @} 269:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 270:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 271:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** 272:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @} 273:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 274:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 275:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** 276:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @} 277:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 278:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 279:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #if defined(SPI_I2S_SUPPORT) 280:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** @addtogroup I2S_LL 281:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @{ 282:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 283:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 284:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Private types -------------------------------------------------------------*/ 285:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Private variables ---------------------------------------------------------*/ 286:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Private constants ---------------------------------------------------------*/ 287:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** @defgroup I2S_LL_Private_Constants I2S Private Constants 288:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @{ 289:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 290:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* I2S registers Masks */ 291:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define I2S_I2SCFGR_CLEAR_MASK (SPI_I2SCFGR_CHLEN | SPI_I2SCFGR_DATLEN | \ 292:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_I2SCFGR_CKPOL | SPI_I2SCFGR_I2SSTD | \ 293:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_I2SCFGR_I2SCFG | SPI_I2SCFGR_I2SMOD ) 294:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 295:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define I2S_I2SPR_CLEAR_MASK 0x0002U 296:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** 297:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @} 298:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 299:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Private macros ------------------------------------------------------------*/ 300:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** @defgroup I2S_LL_Private_Macros I2S Private Macros 301:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @{ 302:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 303:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 304:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_I2S_DATAFORMAT(__VALUE__) (((__VALUE__) == LL_I2S_DATAFORMAT_16B) \ 305:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_I2S_DATAFORMAT_16B_EXTENDED) \ 306:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_I2S_DATAFORMAT_24B) \ ARM GAS /tmp/ccIphHaE.s page 39 307:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_I2S_DATAFORMAT_32B)) 308:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 309:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_I2S_CPOL(__VALUE__) (((__VALUE__) == LL_I2S_POLARITY_LOW) \ 310:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_I2S_POLARITY_HIGH)) 311:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 312:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_I2S_STANDARD(__VALUE__) (((__VALUE__) == LL_I2S_STANDARD_PHILIPS) \ 313:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_I2S_STANDARD_MSB) \ 314:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_I2S_STANDARD_LSB) \ 315:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_I2S_STANDARD_PCM_SHORT) \ 316:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_I2S_STANDARD_PCM_LONG)) 317:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 318:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_I2S_MODE(__VALUE__) (((__VALUE__) == LL_I2S_MODE_SLAVE_TX) \ 319:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_I2S_MODE_SLAVE_RX) \ 320:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_I2S_MODE_MASTER_TX) \ 321:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_I2S_MODE_MASTER_RX)) 322:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 323:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_I2S_MCLK_OUTPUT(__VALUE__) (((__VALUE__) == LL_I2S_MCLK_OUTPUT_ENABLE) \ 324:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_I2S_MCLK_OUTPUT_DISABLE)) 325:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 326:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_I2S_AUDIO_FREQ(__VALUE__) ((((__VALUE__) >= LL_I2S_AUDIOFREQ_8K) \ 327:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** && ((__VALUE__) <= LL_I2S_AUDIOFREQ_192K)) \ 328:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_I2S_AUDIOFREQ_DEFAULT)) 329:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 330:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_I2S_PRESCALER_LINEAR(__VALUE__) ((__VALUE__) >= 0x2U) 331:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 332:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** #define IS_LL_I2S_PRESCALER_PARITY(__VALUE__) (((__VALUE__) == LL_I2S_PRESCALER_PARITY_EVEN) \ 333:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** || ((__VALUE__) == LL_I2S_PRESCALER_PARITY_ODD)) 334:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** 335:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @} 336:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 337:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 338:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Private function prototypes -----------------------------------------------*/ 339:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 340:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Exported functions --------------------------------------------------------*/ 341:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** @addtogroup I2S_LL_Exported_Functions 342:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @{ 343:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 344:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 345:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** @addtogroup I2S_LL_EF_Init 346:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @{ 347:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 348:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 349:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** 350:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @brief De-initialize the SPI/I2S registers to their default reset values. 351:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @param SPIx SPI Instance 352:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @retval An ErrorStatus enumeration value: 353:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - SUCCESS: SPI registers are de-initialized 354:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - ERROR: SPI registers are not de-initialized 355:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 356:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** ErrorStatus LL_I2S_DeInit(SPI_TypeDef *SPIx) 357:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 287 .loc 1 357 0 288 .cfi_startproc 289 @ args = 0, pretend = 0, frame = 0 290 @ frame_needed = 0, uses_anonymous_args = 0 291 @ link register save eliminated. 292 .LVL24: ARM GAS /tmp/ccIphHaE.s page 40 293 .LBB38: 294 .LBB39: 147:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 295 .loc 1 147 0 296 0000 104B ldr r3, .L23 297 0002 9842 cmp r0, r3 298 0004 05D0 beq .L21 141:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 299 .loc 1 141 0 300 0006 0023 movs r3, #0 301 .LVL25: 302 .L18: 159:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 303 .loc 1 159 0 304 0008 0F4A ldr r2, .L23+4 305 000a 9042 cmp r0, r2 306 000c 0DD0 beq .L22 307 .LVL26: 308 .L19: 309 .LBE39: 310 .LBE38: 358:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** return LL_SPI_DeInit(SPIx); 359:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 311 .loc 1 359 0 312 000e 1800 movs r0, r3 313 .LVL27: 314 @ sp needed 315 0010 7047 bx lr 316 .LVL28: 317 .L21: 318 .LBB49: 319 .LBB48: 320 .LBB40: 321 .LBB41: 891:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 322 .loc 2 891 0 323 0012 0E4B ldr r3, .L23+8 324 0014 596A ldr r1, [r3, #36] 325 0016 8022 movs r2, #128 326 0018 5201 lsls r2, r2, #5 327 001a 0A43 orrs r2, r1 328 001c 5A62 str r2, [r3, #36] 329 .LVL29: 330 .LBE41: 331 .LBE40: 332 .LBB42: 333 .LBB43: 334 .loc 2 918 0 335 001e 5A6A ldr r2, [r3, #36] 336 0020 0B49 ldr r1, .L23+12 337 0022 0A40 ands r2, r1 338 0024 5A62 str r2, [r3, #36] 339 .LVL30: 340 .LBE43: 341 .LBE42: 155:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 342 .loc 1 155 0 ARM GAS /tmp/ccIphHaE.s page 41 343 0026 0123 movs r3, #1 344 0028 EEE7 b .L18 345 .LVL31: 346 .L22: 347 .LBB44: 348 .LBB45: 613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 349 .loc 2 613 0 350 002a 084B ldr r3, .L23+8 351 .LVL32: 352 002c 996A ldr r1, [r3, #40] 353 002e 8022 movs r2, #128 354 0030 D201 lsls r2, r2, #7 355 0032 0A43 orrs r2, r1 356 0034 9A62 str r2, [r3, #40] 357 .LVL33: 358 .LBE45: 359 .LBE44: 360 .LBB46: 361 .LBB47: 664:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 362 .loc 2 664 0 363 0036 9A6A ldr r2, [r3, #40] 364 0038 0649 ldr r1, .L23+16 365 003a 0A40 ands r2, r1 366 003c 9A62 str r2, [r3, #40] 367 .LVL34: 368 .LBE47: 369 .LBE46: 167:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 370 .loc 1 167 0 371 003e 0123 movs r3, #1 372 0040 E5E7 b .L19 373 .L24: 374 0042 C046 .align 2 375 .L23: 376 0044 00300140 .word 1073819648 377 0048 00380040 .word 1073756160 378 004c 00100240 .word 1073876992 379 0050 FFEFFFFF .word -4097 380 0054 FFBFFFFF .word -16385 381 .LBE48: 382 .LBE49: 383 .cfi_endproc 384 .LFE315: 386 .global __aeabi_uidiv 387 .section .text.LL_I2S_Init,"ax",%progbits 388 .align 1 389 .global LL_I2S_Init 390 .syntax unified 391 .code 16 392 .thumb_func 393 .fpu softvfp 395 LL_I2S_Init: 396 .LFB316: 360:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 361:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** ARM GAS /tmp/ccIphHaE.s page 42 362:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @brief Initializes the SPI/I2S registers according to the specified parameters in I2S_InitStru 363:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @note As some bits in SPI configuration registers can only be written when the SPI is disable 364:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * SPI IP should be in disabled state prior calling this function. Otherwise, ERROR result 365:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @param SPIx SPI Instance 366:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @param I2S_InitStruct pointer to a @ref LL_I2S_InitTypeDef structure 367:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @retval An ErrorStatus enumeration value: 368:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - SUCCESS: SPI registers are Initialized 369:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - ERROR: SPI registers are not Initialized 370:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 371:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** ErrorStatus LL_I2S_Init(SPI_TypeDef *SPIx, LL_I2S_InitTypeDef *I2S_InitStruct) 372:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 397 .loc 1 372 0 398 .cfi_startproc 399 @ args = 0, pretend = 0, frame = 16 400 @ frame_needed = 0, uses_anonymous_args = 0 401 .LVL35: 402 0000 70B5 push {r4, r5, r6, lr} 403 .LCFI1: 404 .cfi_def_cfa_offset 16 405 .cfi_offset 4, -16 406 .cfi_offset 5, -12 407 .cfi_offset 6, -8 408 .cfi_offset 14, -4 409 0002 84B0 sub sp, sp, #16 410 .LCFI2: 411 .cfi_def_cfa_offset 32 412 0004 0500 movs r5, r0 413 0006 0C00 movs r4, r1 414 .LVL36: 415 .LBB50: 416 .LBB51: 657:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 658:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 659:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 660:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get polynomial for CRC calculation 661:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CRCPR CRCPOLY LL_SPI_GetCRCPolynomial 662:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 663:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Returned value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF 664:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 665:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_GetCRCPolynomial(SPI_TypeDef *SPIx) 666:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 667:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (uint32_t)(READ_REG(SPIx->CRCPR)); 668:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 669:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 670:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 671:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get Rx CRC 672:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll RXCRCR RXCRC LL_SPI_GetRxCRC 673:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 674:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Returned value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF 675:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 676:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_GetRxCRC(SPI_TypeDef *SPIx) 677:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 678:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (uint32_t)(READ_REG(SPIx->RXCRCR)); 679:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 680:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 681:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 682:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get Tx CRC ARM GAS /tmp/ccIphHaE.s page 43 683:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll TXCRCR TXCRC LL_SPI_GetTxCRC 684:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 685:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Returned value is a number between Min_Data = 0x00 and Max_Data = 0xFFFF 686:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 687:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_GetTxCRC(SPI_TypeDef *SPIx) 688:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 689:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (uint32_t)(READ_REG(SPIx->TXCRCR)); 690:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 691:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 692:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 693:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 694:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 695:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 696:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EF_NSS_Management Slave Select Pin Management 697:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 698:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 699:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 700:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 701:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Set NSS mode 702:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note LL_SPI_NSS_SOFT Mode is not used in SPI TI mode. 703:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 SSM LL_SPI_SetNSSMode\n 704:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 SSOE LL_SPI_SetNSSMode 705:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 706:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param NSS This parameter can be one of the following values: 707:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_NSS_SOFT 708:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_NSS_HARD_INPUT 709:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_NSS_HARD_OUTPUT 710:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 711:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 712:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_SetNSSMode(SPI_TypeDef *SPIx, uint32_t NSS) 713:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 714:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** MODIFY_REG(SPIx->CR1, SPI_CR1_SSM, NSS); 715:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** MODIFY_REG(SPIx->CR2, SPI_CR2_SSOE, ((uint32_t)(NSS >> 16U))); 716:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 717:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 718:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 719:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get NSS mode 720:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR1 SSM LL_SPI_GetNSSMode\n 721:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 SSOE LL_SPI_GetNSSMode 722:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 723:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Returned value can be one of the following values: 724:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_NSS_SOFT 725:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_NSS_HARD_INPUT 726:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @arg @ref LL_SPI_NSS_HARD_OUTPUT 727:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 728:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_GetNSSMode(SPI_TypeDef *SPIx) 729:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 730:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** register uint32_t Ssm = (READ_BIT(SPIx->CR1, SPI_CR1_SSM)); 731:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** register uint32_t Ssoe = (READ_BIT(SPIx->CR2, SPI_CR2_SSOE) << 16U); 732:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (Ssm | Ssoe); 733:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 734:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 735:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 736:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 737:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 738:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 739:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EF_FLAG_Management FLAG Management ARM GAS /tmp/ccIphHaE.s page 44 740:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 741:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 742:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 743:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 744:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Check if Rx buffer is not empty 745:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll SR RXNE LL_SPI_IsActiveFlag_RXNE 746:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 747:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 748:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 749:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_RXNE(SPI_TypeDef *SPIx) 750:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 751:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->SR, SPI_SR_RXNE) == (SPI_SR_RXNE)); 752:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 753:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 754:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 755:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Check if Tx buffer is empty 756:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll SR TXE LL_SPI_IsActiveFlag_TXE 757:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 758:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 759:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 760:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_TXE(SPI_TypeDef *SPIx) 761:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 762:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->SR, SPI_SR_TXE) == (SPI_SR_TXE)); 763:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 764:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 765:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 766:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get CRC error flag 767:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll SR CRCERR LL_SPI_IsActiveFlag_CRCERR 768:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 769:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 770:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 771:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_CRCERR(SPI_TypeDef *SPIx) 772:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 773:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->SR, SPI_SR_CRCERR) == (SPI_SR_CRCERR)); 774:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 775:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 776:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 777:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get mode fault error flag 778:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll SR MODF LL_SPI_IsActiveFlag_MODF 779:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 780:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 781:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 782:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_MODF(SPI_TypeDef *SPIx) 783:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 784:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->SR, SPI_SR_MODF) == (SPI_SR_MODF)); 785:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 786:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 787:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 788:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get overrun error flag 789:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll SR OVR LL_SPI_IsActiveFlag_OVR 790:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 791:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 792:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 793:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_OVR(SPI_TypeDef *SPIx) 794:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 795:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->SR, SPI_SR_OVR) == (SPI_SR_OVR)); 796:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } ARM GAS /tmp/ccIphHaE.s page 45 797:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 798:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 799:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get busy flag 800:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note The BSY flag is cleared under any one of the following conditions: 801:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * -When the SPI is correctly disabled 802:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * -When a fault is detected in Master mode (MODF bit set to 1) 803:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * -In Master mode, when it finishes a data transmission and no new data is ready to be 804:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * sent 805:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * -In Slave mode, when the BSY flag is set to '0' for at least one SPI clock cycle between 806:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * each data transfer. 807:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll SR BSY LL_SPI_IsActiveFlag_BSY 808:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 809:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 810:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 811:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_BSY(SPI_TypeDef *SPIx) 812:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 813:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->SR, SPI_SR_BSY) == (SPI_SR_BSY)); 814:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 815:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 816:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 817:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get frame format error flag 818:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll SR FRE LL_SPI_IsActiveFlag_FRE 819:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 820:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 821:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 822:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_FRE(SPI_TypeDef *SPIx) 823:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 824:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->SR, SPI_SR_FRE) == (SPI_SR_FRE)); 825:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 826:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 827:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 828:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Clear CRC error flag 829:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll SR CRCERR LL_SPI_ClearFlag_CRCERR 830:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 831:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 832:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 833:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_ClearFlag_CRCERR(SPI_TypeDef *SPIx) 834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 835:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** CLEAR_BIT(SPIx->SR, SPI_SR_CRCERR); 836:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 837:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 838:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 839:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Clear mode fault error flag 840:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note Clearing this flag is done by a read access to the SPIx_SR 841:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * register followed by a write access to the SPIx_CR1 register 842:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll SR MODF LL_SPI_ClearFlag_MODF 843:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 844:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 845:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 846:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_ClearFlag_MODF(SPI_TypeDef *SPIx) 847:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 848:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __IO uint32_t tmpreg; 849:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** tmpreg = SPIx->SR; 850:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** (void) tmpreg; 851:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** tmpreg = CLEAR_BIT(SPIx->CR1, SPI_CR1_SPE); 852:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** (void) tmpreg; 853:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } ARM GAS /tmp/ccIphHaE.s page 46 854:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 855:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 856:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Clear overrun error flag 857:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note Clearing this flag is done by a read access to the SPIx_DR 858:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * register followed by a read access to the SPIx_SR register 859:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll SR OVR LL_SPI_ClearFlag_OVR 860:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 861:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 862:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 863:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_ClearFlag_OVR(SPI_TypeDef *SPIx) 864:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 865:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __IO uint32_t tmpreg; 866:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** tmpreg = SPIx->DR; 867:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** (void) tmpreg; 868:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** tmpreg = SPIx->SR; 869:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** (void) tmpreg; 870:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 871:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 872:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 873:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Clear frame format error flag 874:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note Clearing this flag is done by reading SPIx_SR register 875:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll SR FRE LL_SPI_ClearFlag_FRE 876:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 877:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 878:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 879:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_ClearFlag_FRE(SPI_TypeDef *SPIx) 880:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 881:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __IO uint32_t tmpreg; 882:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** tmpreg = SPIx->SR; 883:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** (void) tmpreg; 884:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 885:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 886:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 887:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 888:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 889:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 890:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EF_IT_Management Interrupt Management 891:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 892:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 893:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 894:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 895:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Enable error interrupt 896:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note This bit controls the generation of an interrupt when an error condition occurs (CRCERR 897:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 ERRIE LL_SPI_EnableIT_ERR 898:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 899:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 900:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 901:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_EnableIT_ERR(SPI_TypeDef *SPIx) 902:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 903:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** SET_BIT(SPIx->CR2, SPI_CR2_ERRIE); 904:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 905:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 906:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 907:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Enable Rx buffer not empty interrupt 908:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 RXNEIE LL_SPI_EnableIT_RXNE 909:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 910:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None ARM GAS /tmp/ccIphHaE.s page 47 911:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 912:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_EnableIT_RXNE(SPI_TypeDef *SPIx) 913:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 914:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** SET_BIT(SPIx->CR2, SPI_CR2_RXNEIE); 915:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 916:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 917:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 918:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Enable Tx buffer empty interrupt 919:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 TXEIE LL_SPI_EnableIT_TXE 920:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 921:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 922:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 923:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_EnableIT_TXE(SPI_TypeDef *SPIx) 924:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 925:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** SET_BIT(SPIx->CR2, SPI_CR2_TXEIE); 926:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 927:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 928:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 929:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Disable error interrupt 930:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @note This bit controls the generation of an interrupt when an error condition occurs (CRCERR 931:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 ERRIE LL_SPI_DisableIT_ERR 932:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 933:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 934:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 935:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_DisableIT_ERR(SPI_TypeDef *SPIx) 936:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 937:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** CLEAR_BIT(SPIx->CR2, SPI_CR2_ERRIE); 938:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 939:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 940:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 941:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Disable Rx buffer not empty interrupt 942:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 RXNEIE LL_SPI_DisableIT_RXNE 943:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 944:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 945:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 946:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_DisableIT_RXNE(SPI_TypeDef *SPIx) 947:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 948:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** CLEAR_BIT(SPIx->CR2, SPI_CR2_RXNEIE); 949:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 950:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 951:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 952:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Disable Tx buffer empty interrupt 953:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 TXEIE LL_SPI_DisableIT_TXE 954:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 955:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 956:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 957:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_DisableIT_TXE(SPI_TypeDef *SPIx) 958:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 959:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** CLEAR_BIT(SPIx->CR2, SPI_CR2_TXEIE); 960:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 961:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 962:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 963:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Check if error interrupt is enabled 964:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 ERRIE LL_SPI_IsEnabledIT_ERR 965:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 966:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 967:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ ARM GAS /tmp/ccIphHaE.s page 48 968:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_ERR(SPI_TypeDef *SPIx) 969:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 970:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->CR2, SPI_CR2_ERRIE) == (SPI_CR2_ERRIE)); 971:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 972:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 973:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 974:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Check if Rx buffer not empty interrupt is enabled 975:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 RXNEIE LL_SPI_IsEnabledIT_RXNE 976:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 977:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 978:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 979:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_RXNE(SPI_TypeDef *SPIx) 980:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 981:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->CR2, SPI_CR2_RXNEIE) == (SPI_CR2_RXNEIE)); 982:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 983:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 984:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 985:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Check if Tx buffer empty interrupt 986:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 TXEIE LL_SPI_IsEnabledIT_TXE 987:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 988:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 989:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 990:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_TXE(SPI_TypeDef *SPIx) 991:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 992:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->CR2, SPI_CR2_TXEIE) == (SPI_CR2_TXEIE)); 993:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 994:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 995:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 996:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 997:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 998:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 999:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EF_DMA_Management DMA Management 1000:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1001:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1002:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1003:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1004:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Enable DMA Rx 1005:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 RXDMAEN LL_SPI_EnableDMAReq_RX 1006:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 1007:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 1008:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1009:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_EnableDMAReq_RX(SPI_TypeDef *SPIx) 1010:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1011:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** SET_BIT(SPIx->CR2, SPI_CR2_RXDMAEN); 1012:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 1013:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1014:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1015:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Disable DMA Rx 1016:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 RXDMAEN LL_SPI_DisableDMAReq_RX 1017:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 1018:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 1019:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1020:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_DisableDMAReq_RX(SPI_TypeDef *SPIx) 1021:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1022:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** CLEAR_BIT(SPIx->CR2, SPI_CR2_RXDMAEN); 1023:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 1024:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** ARM GAS /tmp/ccIphHaE.s page 49 1025:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1026:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Check if DMA Rx is enabled 1027:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 RXDMAEN LL_SPI_IsEnabledDMAReq_RX 1028:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 1029:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 1030:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1031:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_IsEnabledDMAReq_RX(SPI_TypeDef *SPIx) 1032:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1033:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->CR2, SPI_CR2_RXDMAEN) == (SPI_CR2_RXDMAEN)); 1034:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 1035:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1036:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1037:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Enable DMA Tx 1038:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 TXDMAEN LL_SPI_EnableDMAReq_TX 1039:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 1040:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 1041:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1042:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_EnableDMAReq_TX(SPI_TypeDef *SPIx) 1043:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1044:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** SET_BIT(SPIx->CR2, SPI_CR2_TXDMAEN); 1045:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 1046:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1047:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1048:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Disable DMA Tx 1049:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 TXDMAEN LL_SPI_DisableDMAReq_TX 1050:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 1051:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 1052:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1053:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_DisableDMAReq_TX(SPI_TypeDef *SPIx) 1054:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1055:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** CLEAR_BIT(SPIx->CR2, SPI_CR2_TXDMAEN); 1056:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 1057:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1058:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1059:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Check if DMA Tx is enabled 1060:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll CR2 TXDMAEN LL_SPI_IsEnabledDMAReq_TX 1061:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 1062:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 1063:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1064:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_IsEnabledDMAReq_TX(SPI_TypeDef *SPIx) 1065:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1066:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->CR2, SPI_CR2_TXDMAEN) == (SPI_CR2_TXDMAEN)); 1067:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 1068:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1069:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1070:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Get the data register address used for DMA transfer 1071:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll DR DR LL_SPI_DMA_GetRegAddr 1072:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 1073:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Address of data register 1074:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1075:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_SPI_DMA_GetRegAddr(SPI_TypeDef *SPIx) 1076:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1077:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (uint32_t) & (SPIx->DR); 1078:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 1079:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1080:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1081:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} ARM GAS /tmp/ccIphHaE.s page 50 1082:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1083:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1084:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EF_DATA_Management DATA Management 1085:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1086:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1087:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1088:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1089:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Read 8-Bits in the data register 1090:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll DR DR LL_SPI_ReceiveData8 1091:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 1092:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval RxData Value between Min_Data=0x00 and Max_Data=0xFF 1093:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1094:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint8_t LL_SPI_ReceiveData8(SPI_TypeDef *SPIx) 1095:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1096:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (uint8_t)(READ_REG(SPIx->DR)); 1097:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 1098:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1099:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Read 16-Bits in the data register 1101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll DR DR LL_SPI_ReceiveData16 1102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 1103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval RxData Value between Min_Data=0x00 and Max_Data=0xFFFF 1104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint16_t LL_SPI_ReceiveData16(SPI_TypeDef *SPIx) 1106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (uint16_t)(READ_REG(SPIx->DR)); 1108:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 1109:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1110:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1111:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Write 8-Bits in the data register 1112:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll DR DR LL_SPI_TransmitData8 1113:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 1114:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param TxData Value between Min_Data=0x00 and Max_Data=0xFF 1115:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 1116:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1117:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_TransmitData8(SPI_TypeDef *SPIx, uint8_t TxData) 1118:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1119:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** *((__IO uint8_t *)&SPIx->DR) = TxData; 1120:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 1121:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1122:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1123:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Write 16-Bits in the data register 1124:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll DR DR LL_SPI_TransmitData16 1125:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 1126:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param TxData Value between Min_Data=0x00 and Max_Data=0xFFFF 1127:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 1128:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_SPI_TransmitData16(SPI_TypeDef *SPIx, uint16_t TxData) 1130:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1131:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** *((__IO uint16_t *)&SPIx->DR) = TxData; 1132:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 1133:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1134:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1135:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1136:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1137:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #if defined(USE_FULL_LL_DRIVER) 1138:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EF_Init Initialization and de-initialization functions ARM GAS /tmp/ccIphHaE.s page 51 1139:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1140:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1141:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1142:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** ErrorStatus LL_SPI_DeInit(SPI_TypeDef *SPIx); 1143:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** ErrorStatus LL_SPI_Init(SPI_TypeDef *SPIx, LL_SPI_InitTypeDef *SPI_InitStruct); 1144:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** void LL_SPI_StructInit(LL_SPI_InitTypeDef *SPI_InitStruct); 1145:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1146:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1147:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1148:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1149:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #endif /* USE_FULL_LL_DRIVER */ 1150:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1151:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1152:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1153:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1154:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1155:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1156:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1157:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1158:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #if defined(SPI_I2S_SUPPORT) 1159:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL I2S 1160:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1161:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1162:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1163:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Private variables ---------------------------------------------------------*/ 1164:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Private constants ---------------------------------------------------------*/ 1165:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Private macros ------------------------------------------------------------*/ 1166:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1167:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Exported types ------------------------------------------------------------*/ 1168:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #if defined(USE_FULL_LL_DRIVER) 1169:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL_ES_INIT I2S Exported Init structure 1170:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1171:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1172:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1173:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1174:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief I2S Init structure definition 1175:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1176:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1177:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** typedef struct 1178:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1179:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t Mode; /*!< Specifies the I2S operating mode. 1180:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref I2S_LL_EC_MODE 1181:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1182:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 1183:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1184:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t Standard; /*!< Specifies the standard used for the I2S communication. 1185:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref I2S_LL_EC_STANDARD 1186:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1187:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 1188:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1189:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1190:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t DataFormat; /*!< Specifies the data format for the I2S communication. 1191:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref I2S_LL_EC_DATA_FORMA 1192:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1193:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 1194:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1195:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** ARM GAS /tmp/ccIphHaE.s page 52 1196:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t MCLKOutput; /*!< Specifies whether the I2S MCLK output is enabled or not. 1197:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref I2S_LL_EC_MCLK_OUTPU 1198:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1199:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 1200:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1201:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1202:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t AudioFreq; /*!< Specifies the frequency selected for the I2S communication 1203:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref I2S_LL_EC_AUDIO_FREQ 1204:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1205:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** Audio Frequency can be modified afterwards using Reference 1206:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** and unitary functions @ref LL_I2S_SetPrescalerLinear() and 1207:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1208:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1209:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** uint32_t ClockPolarity; /*!< Specifies the idle state of the I2S clock. 1210:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This parameter can be a value of @ref I2S_LL_EC_POLARITY 1211:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1212:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** This feature can be modified afterwards using unitary func 1213:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1214:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } LL_I2S_InitTypeDef; 1215:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1216:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1217:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1218:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1219:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #endif /*USE_FULL_LL_DRIVER*/ 1220:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1221:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Exported constants --------------------------------------------------------*/ 1222:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL_Exported_Constants I2S Exported Constants 1223:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1224:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1225:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1226:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL_EC_GET_FLAG Get Flags Defines 1227:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Flags defines which can be used with LL_I2S_ReadReg function 1228:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1229:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1230:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_SR_RXNE LL_SPI_SR_RXNE /*!< Rx buffer not empty flag 1231:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_SR_TXE LL_SPI_SR_TXE /*!< Tx buffer empty flag 1232:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_SR_BSY LL_SPI_SR_BSY /*!< Busy flag 1233:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_SR_UDR LL_SPI_SR_UDR /*!< Underrun flag 1234:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_SR_OVR LL_SPI_SR_OVR /*!< Overrun flag 1235:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_SR_FRE LL_SPI_SR_FRE /*!< TI mode frame format erro 1236:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1237:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1238:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1239:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1240:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup SPI_LL_EC_IT IT Defines 1241:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief IT defines which can be used with LL_SPI_ReadReg and LL_SPI_WriteReg functions 1242:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1243:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1244:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_CR2_RXNEIE LL_SPI_CR2_RXNEIE /*!< Rx buffer not empty inter 1245:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_CR2_TXEIE LL_SPI_CR2_TXEIE /*!< Tx buffer empty interrupt 1246:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_CR2_ERRIE LL_SPI_CR2_ERRIE /*!< Error interrupt enable 1247:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1248:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1249:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1250:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1251:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL_EC_DATA_FORMAT Data format 1252:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ ARM GAS /tmp/ccIphHaE.s page 53 1253:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1254:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_DATAFORMAT_16B ((uint32_t)0x00000000U) /*!< Data 1255:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_DATAFORMAT_16B_EXTENDED (SPI_I2SCFGR_CHLEN) /*!< Data 1256:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_DATAFORMAT_24B (SPI_I2SCFGR_CHLEN | SPI_I2SCFGR_DATLEN_0) /*!< Data 1257:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_DATAFORMAT_32B (SPI_I2SCFGR_CHLEN | SPI_I2SCFGR_DATLEN_1) /*!< Data 1258:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1259:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1260:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1261:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1262:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL_EC_POLARITY Clock Polarity 1263:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1264:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1265:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_POLARITY_LOW ((uint32_t)0x00000000U) /*!< Clock steady state is low 1266:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_POLARITY_HIGH (SPI_I2SCFGR_CKPOL) /*!< Clock steady state is hig 1267:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1268:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1269:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1270:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1271:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL_EC_STANDARD I2s Standard 1272:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1273:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1274:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_STANDARD_PHILIPS ((uint32_t)0x00000000U) 1275:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_STANDARD_MSB (SPI_I2SCFGR_I2SSTD_0) 1276:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_STANDARD_LSB (SPI_I2SCFGR_I2SSTD_1) 1277:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_STANDARD_PCM_SHORT (SPI_I2SCFGR_I2SSTD_0 | SPI_I2SCFGR_I2SSTD_1) 1278:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_STANDARD_PCM_LONG (SPI_I2SCFGR_I2SSTD_0 | SPI_I2SCFGR_I2SSTD_1 | SPI_I2SCF 1279:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1280:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1281:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1282:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1283:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL_EC_MODE Operation Mode 1284:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1285:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1286:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_MODE_SLAVE_TX ((uint32_t)0x00000000U) /*!< Slave 1287:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_MODE_SLAVE_RX (SPI_I2SCFGR_I2SCFG_0) /*!< Slave 1288:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_MODE_MASTER_TX (SPI_I2SCFGR_I2SCFG_1) /*!< Maste 1289:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_MODE_MASTER_RX (SPI_I2SCFGR_I2SCFG_0 | SPI_I2SCFGR_I2SCFG_1) /*!< Maste 1290:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1291:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1292:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1293:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1294:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL_EC_PRESCALER_FACTOR Prescaler Factor 1295:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1296:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1297:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_PRESCALER_PARITY_EVEN ((uint32_t)0x00000000U) /*!< Odd factor: Real divider 1298:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_PRESCALER_PARITY_ODD (SPI_I2SPR_ODD >> 8U) /*!< Odd factor: Real divider 1299:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1300:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1301:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1302:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1303:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #if defined(USE_FULL_LL_DRIVER) 1304:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1305:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL_EC_MCLK_OUTPUT MCLK Output 1306:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1307:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1308:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_MCLK_OUTPUT_DISABLE ((uint32_t)0x00000000U) /*!< Master clock output is di 1309:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_MCLK_OUTPUT_ENABLE (SPI_I2SPR_MCKOE) /*!< Master clock output is en ARM GAS /tmp/ccIphHaE.s page 54 1310:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1311:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1312:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1313:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1314:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL_EC_AUDIO_FREQ Audio Frequency 1315:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1316:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1317:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1318:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_AUDIOFREQ_192K ((uint32_t)192000) /*!< Audio Frequency configura 1319:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_AUDIOFREQ_96K ((uint32_t) 96000) /*!< Audio Frequency configura 1320:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_AUDIOFREQ_48K ((uint32_t) 48000) /*!< Audio Frequency configura 1321:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_AUDIOFREQ_44K ((uint32_t) 44100) /*!< Audio Frequency configura 1322:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_AUDIOFREQ_32K ((uint32_t) 32000) /*!< Audio Frequency configura 1323:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_AUDIOFREQ_22K ((uint32_t) 22050) /*!< Audio Frequency configura 1324:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_AUDIOFREQ_16K ((uint32_t) 16000) /*!< Audio Frequency configura 1325:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_AUDIOFREQ_11K ((uint32_t) 11025) /*!< Audio Frequency configura 1326:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_AUDIOFREQ_8K ((uint32_t) 8000) /*!< Audio Frequency configura 1327:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_AUDIOFREQ_DEFAULT ((uint32_t) 2) /*!< Audio Freq not specified. 1328:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1329:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1330:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1331:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #endif /* USE_FULL_LL_DRIVER */ 1332:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1333:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1334:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1335:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1336:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1337:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Exported macro ------------------------------------------------------------*/ 1338:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL_Exported_Macros I2S Exported Macros 1339:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1340:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1341:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1342:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL_EM_WRITE_READ Common Write and read registers Macros 1343:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1344:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1345:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1346:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1347:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Write a value in I2S register 1348:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param __INSTANCE__ I2S Instance 1349:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param __REG__ Register to be written 1350:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param __VALUE__ Value to be written in the register 1351:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 1352:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1353:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALUE 1354:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1355:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1356:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Read a value in I2S register 1357:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param __INSTANCE__ I2S Instance 1358:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param __REG__ Register to be read 1359:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval Register value 1360:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1361:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** #define LL_I2S_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__) 1362:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1363:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1364:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1365:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1366:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** ARM GAS /tmp/ccIphHaE.s page 55 1367:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @} 1368:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1369:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1370:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1371:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /* Exported functions --------------------------------------------------------*/ 1372:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1373:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL_Exported_Functions I2S Exported Functions 1374:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1375:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1376:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1377:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** @defgroup I2S_LL_EF_Configuration Configuration 1378:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @{ 1379:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1380:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1381:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1382:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Select I2S mode and Enable I2S peripheral 1383:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll I2SCFGR I2SMOD LL_I2S_Enable\n 1384:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * I2SCFGR I2SE LL_I2S_Enable 1385:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 1386:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 1387:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1388:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_I2S_Enable(SPI_TypeDef *SPIx) 1389:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1390:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** SET_BIT(SPIx->I2SCFGR, SPI_I2SCFGR_I2SMOD | SPI_I2SCFGR_I2SE); 1391:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 1392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1393:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1394:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Disable I2S peripheral 1395:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll I2SCFGR I2SE LL_I2S_Disable 1396:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 1397:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval None 1398:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1399:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE void LL_I2S_Disable(SPI_TypeDef *SPIx) 1400:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1401:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** CLEAR_BIT(SPIx->I2SCFGR, SPI_I2SCFGR_I2SMOD | SPI_I2SCFGR_I2SE); 1402:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** } 1403:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** 1404:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** /** 1405:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @brief Check if I2S peripheral is enabled 1406:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @rmtoll I2SCFGR I2SE LL_I2S_IsEnabled 1407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @param SPIx SPI Instance 1408:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** * @retval State of bit (1 or 0). 1409:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** */ 1410:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** __STATIC_INLINE uint32_t LL_I2S_IsEnabled(SPI_TypeDef *SPIx) 1411:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** { 1412:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_spi.h **** return (READ_BIT(SPIx->I2SCFGR, SPI_I2SCFGR_I2SE) == (SPI_I2SCFGR_I2SE)); 417 .loc 3 1412 0 418 0008 C369 ldr r3, [r0, #28] 419 .LVL37: 420 .LBE51: 421 .LBE50: 373:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** uint16_t i2sdiv = 2U, i2sodd = 0U, packetlength = 1U; 374:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** uint32_t tmp = 0U; 375:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** LL_RCC_ClocksTypeDef rcc_clocks; 376:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** uint32_t sourceclock = 0U; 377:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** ErrorStatus status = ERROR; 378:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** ARM GAS /tmp/ccIphHaE.s page 56 379:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Check the I2S parameters */ 380:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_I2S_ALL_INSTANCE(SPIx)); 381:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_I2S_MODE(I2S_InitStruct->Mode)); 382:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_I2S_STANDARD(I2S_InitStruct->Standard)); 383:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_I2S_DATAFORMAT(I2S_InitStruct->DataFormat)); 384:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_I2S_MCLK_OUTPUT(I2S_InitStruct->MCLKOutput)); 385:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_I2S_AUDIO_FREQ(I2S_InitStruct->AudioFreq)); 386:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_I2S_CPOL(I2S_InitStruct->ClockPolarity)); 387:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 388:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** if (LL_I2S_IsEnabled(SPIx) == 0x00000000U) 422 .loc 1 388 0 423 000a 5B05 lsls r3, r3, #21 424 000c 4FD4 bmi .L32 389:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 390:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /*---------------------------- SPIx I2SCFGR Configuration -------------------- 391:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * Configure SPIx I2SCFGR with parameters: 392:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - Mode: SPI_I2SCFGR_I2SCFG[1:0] bit 393:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - Standard: SPI_I2SCFGR_I2SSTD[1:0] and SPI_I2SCFGR_PCMSYNC bits 394:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - DataFormat: SPI_I2SCFGR_CHLEN and SPI_I2SCFGR_DATLEN bits 395:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - ClockPolarity: SPI_I2SCFGR_CKPOL bit 396:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 397:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 398:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Write to SPIx I2SCFGR */ 399:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** MODIFY_REG(SPIx->I2SCFGR, 425 .loc 1 399 0 426 000e C369 ldr r3, [r0, #28] 427 0010 284A ldr r2, .L37 428 0012 1A40 ands r2, r3 429 0014 0B68 ldr r3, [r1] 430 0016 4968 ldr r1, [r1, #4] 431 .LVL38: 432 0018 0B43 orrs r3, r1 433 001a A168 ldr r1, [r4, #8] 434 001c 0B43 orrs r3, r1 435 001e 6169 ldr r1, [r4, #20] 436 0020 0B43 orrs r3, r1 437 0022 1343 orrs r3, r2 438 0024 8022 movs r2, #128 439 0026 1201 lsls r2, r2, #4 440 0028 1343 orrs r3, r2 441 002a C361 str r3, [r0, #28] 400:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** I2S_I2SCFGR_CLEAR_MASK, 401:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** I2S_InitStruct->Mode | I2S_InitStruct->Standard | 402:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** I2S_InitStruct->DataFormat | I2S_InitStruct->ClockPolarity | 403:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** SPI_I2SCFGR_I2SMOD); 404:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 405:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /*---------------------------- SPIx I2SPR Configuration ---------------------- 406:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * Configure SPIx I2SPR with parameters: 407:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - MCLKOutput: SPI_I2SPR_MCKOE bit 408:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * - AudioFreq: SPI_I2SPR_I2SDIV[7:0] and SPI_I2SPR_ODD bits 409:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 410:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 411:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* If the requested audio frequency is not the default, compute the prescaler (i2sodd, i2sdiv) 412:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * else, default values are used: i2sodd = 0U, i2sdiv = 2U. 413:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 414:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** if (I2S_InitStruct->AudioFreq != LL_I2S_AUDIOFREQ_DEFAULT) 442 .loc 1 414 0 ARM GAS /tmp/ccIphHaE.s page 57 443 002c 2369 ldr r3, [r4, #16] 444 002e 022B cmp r3, #2 445 0030 3AD0 beq .L33 415:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 416:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Check the frame length (For the Prescaler computing) 417:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * Default value: LL_I2S_DATAFORMAT_16B (packetlength = 1U). 418:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 419:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** if (I2S_InitStruct->DataFormat != LL_I2S_DATAFORMAT_16B) 446 .loc 1 419 0 447 0032 A368 ldr r3, [r4, #8] 448 0034 002B cmp r3, #0 449 0036 2AD1 bne .L34 373:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** uint32_t tmp = 0U; 450 .loc 1 373 0 451 0038 0126 movs r6, #1 452 .L28: 453 .LVL39: 420:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 421:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Packet length is 32 bits */ 422:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** packetlength = 2U; 423:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 424:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 425:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* I2S Clock source is System clock: Get System Clock frequency */ 426:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** LL_RCC_GetSystemClocksFreq(&rcc_clocks); 454 .loc 1 426 0 455 003a 6846 mov r0, sp 456 .LVL40: 457 003c FFF7FEFF bl LL_RCC_GetSystemClocksFreq 458 .LVL41: 427:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 428:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Get the source clock value: based on System Clock value */ 429:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** sourceclock = rcc_clocks.SYSCLK_Frequency; 459 .loc 1 429 0 460 0040 0098 ldr r0, [sp] 461 .LVL42: 430:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 431:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Compute the Real divider depending on the MCLK output state with a floating point */ 432:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** if (I2S_InitStruct->MCLKOutput == LL_I2S_MCLK_OUTPUT_ENABLE) 462 .loc 1 432 0 463 0042 8023 movs r3, #128 464 0044 9B00 lsls r3, r3, #2 465 0046 E268 ldr r2, [r4, #12] 466 0048 9A42 cmp r2, r3 467 004a 22D0 beq .L36 433:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 434:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* MCLK output is enabled */ 435:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** tmp = (uint16_t)(((((sourceclock / 256U) * 10U) / I2S_InitStruct->AudioFreq)) + 5U); 436:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 437:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** else 438:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 439:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* MCLK output is disabled */ 440:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** tmp = (uint16_t)(((((sourceclock / (32U * packetlength)) * 10U) / I2S_InitStruct->AudioFreq 468 .loc 1 440 0 469 004c 7101 lsls r1, r6, #5 470 004e FFF7FEFF bl __aeabi_uidiv 471 .LVL43: 472 0052 8300 lsls r3, r0, #2 ARM GAS /tmp/ccIphHaE.s page 58 473 0054 1B18 adds r3, r3, r0 474 0056 5800 lsls r0, r3, #1 475 0058 2169 ldr r1, [r4, #16] 476 005a FFF7FEFF bl __aeabi_uidiv 477 .LVL44: 478 005e 0530 adds r0, r0, #5 479 0060 80B2 uxth r0, r0 480 .LVL45: 481 .L30: 441:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 442:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 443:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Remove the floating point */ 444:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** tmp = tmp / 10U; 482 .loc 1 444 0 483 0062 0A21 movs r1, #10 484 0064 FFF7FEFF bl __aeabi_uidiv 485 .LVL46: 445:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 446:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Check the parity of the divider */ 447:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** i2sodd = (uint16_t)(tmp & (uint16_t)0x0001U); 486 .loc 1 447 0 487 0068 0122 movs r2, #1 488 006a 0240 ands r2, r0 489 .LVL47: 448:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 449:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Compute the i2sdiv prescaler */ 450:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** i2sdiv = (uint16_t)((tmp - i2sodd) / 2U); 490 .loc 1 450 0 491 006c 831A subs r3, r0, r2 492 006e 5B08 lsrs r3, r3, #1 493 0070 98B2 uxth r0, r3 494 .LVL48: 451:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 452:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Get the Mask for the Odd bit (SPI_I2SPR[8]) register */ 453:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** i2sodd = (uint16_t)(i2sodd << 8U); 495 .loc 1 453 0 496 0072 1302 lsls r3, r2, #8 497 .LVL49: 498 .L27: 454:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 455:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 456:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Test if the divider is 1 or 0 or greater than 0xFF */ 457:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** if ((i2sdiv < 2U) || (i2sdiv > 0xFFU)) 499 .loc 1 457 0 500 0074 821E subs r2, r0, #2 501 0076 92B2 uxth r2, r2 502 0078 FD2A cmp r2, #253 503 007a 01D9 bls .L31 458:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 459:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Set the default values */ 460:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** i2sdiv = 2U; 461:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** i2sodd = 0U; 504 .loc 1 461 0 505 007c 0023 movs r3, #0 506 .LVL50: 460:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** i2sodd = 0U; 507 .loc 1 460 0 ARM GAS /tmp/ccIphHaE.s page 59 508 007e 0220 movs r0, #2 509 .LVL51: 510 .L31: 462:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 463:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 464:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Write to SPIx I2SPR register the computed value */ 465:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** WRITE_REG(SPIx->I2SPR, i2sdiv | i2sodd | I2S_InitStruct->MCLKOutput); 511 .loc 1 465 0 512 0080 1843 orrs r0, r3 513 .LVL52: 514 0082 E368 ldr r3, [r4, #12] 515 .LVL53: 516 0084 1843 orrs r0, r3 517 0086 2862 str r0, [r5, #32] 518 .LVL54: 466:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 467:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** status = SUCCESS; 519 .loc 1 467 0 520 0088 0120 movs r0, #1 521 .LVL55: 522 .L26: 468:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 469:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** return status; 470:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 523 .loc 1 470 0 524 008a 04B0 add sp, sp, #16 525 @ sp needed 526 .LVL56: 527 .LVL57: 528 008c 70BD pop {r4, r5, r6, pc} 529 .LVL58: 530 .L34: 422:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 531 .loc 1 422 0 532 008e 0226 movs r6, #2 533 0090 D3E7 b .L28 534 .LVL59: 535 .L36: 435:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 536 .loc 1 435 0 537 0092 000A lsrs r0, r0, #8 538 .LVL60: 539 0094 8300 lsls r3, r0, #2 540 0096 1818 adds r0, r3, r0 541 0098 4300 lsls r3, r0, #1 542 009a 1800 movs r0, r3 543 009c 2169 ldr r1, [r4, #16] 544 009e FFF7FEFF bl __aeabi_uidiv 545 .LVL61: 546 00a2 0530 adds r0, r0, #5 547 00a4 80B2 uxth r0, r0 548 .LVL62: 549 00a6 DCE7 b .L30 550 .LVL63: 551 .L33: 373:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** uint32_t tmp = 0U; 552 .loc 1 373 0 ARM GAS /tmp/ccIphHaE.s page 60 553 00a8 0023 movs r3, #0 554 00aa 0220 movs r0, #2 555 .LVL64: 556 00ac E2E7 b .L27 557 .LVL65: 558 .L32: 377:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 559 .loc 1 377 0 560 00ae 0020 movs r0, #0 561 .LVL66: 562 00b0 EBE7 b .L26 563 .L38: 564 00b2 C046 .align 2 565 .L37: 566 00b4 C0F4FFFF .word -2880 567 .cfi_endproc 568 .LFE316: 570 .section .text.LL_I2S_StructInit,"ax",%progbits 571 .align 1 572 .global LL_I2S_StructInit 573 .syntax unified 574 .code 16 575 .thumb_func 576 .fpu softvfp 578 LL_I2S_StructInit: 579 .LFB317: 471:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 472:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** 473:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @brief Set each @ref LL_I2S_InitTypeDef field to default value. 474:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @param I2S_InitStruct pointer to a @ref LL_I2S_InitTypeDef structure 475:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * whose fields will be set to default values. 476:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @retval None 477:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 478:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** void LL_I2S_StructInit(LL_I2S_InitTypeDef *I2S_InitStruct) 479:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 580 .loc 1 479 0 581 .cfi_startproc 582 @ args = 0, pretend = 0, frame = 0 583 @ frame_needed = 0, uses_anonymous_args = 0 584 @ link register save eliminated. 585 .LVL67: 480:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /*--------------- Reset I2S init structure parameters values -----------------*/ 481:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** I2S_InitStruct->Mode = LL_I2S_MODE_SLAVE_TX; 586 .loc 1 481 0 587 0000 0023 movs r3, #0 588 0002 0360 str r3, [r0] 482:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** I2S_InitStruct->Standard = LL_I2S_STANDARD_PHILIPS; 589 .loc 1 482 0 590 0004 4360 str r3, [r0, #4] 483:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** I2S_InitStruct->DataFormat = LL_I2S_DATAFORMAT_16B; 591 .loc 1 483 0 592 0006 8360 str r3, [r0, #8] 484:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** I2S_InitStruct->MCLKOutput = LL_I2S_MCLK_OUTPUT_DISABLE; 593 .loc 1 484 0 594 0008 C360 str r3, [r0, #12] 485:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** I2S_InitStruct->AudioFreq = LL_I2S_AUDIOFREQ_DEFAULT; 595 .loc 1 485 0 ARM GAS /tmp/ccIphHaE.s page 61 596 000a 0222 movs r2, #2 597 000c 0261 str r2, [r0, #16] 486:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** I2S_InitStruct->ClockPolarity = LL_I2S_POLARITY_LOW; 598 .loc 1 486 0 599 000e 4361 str r3, [r0, #20] 487:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 600 .loc 1 487 0 601 @ sp needed 602 0010 7047 bx lr 603 .cfi_endproc 604 .LFE317: 606 .section .text.LL_I2S_ConfigPrescaler,"ax",%progbits 607 .align 1 608 .global LL_I2S_ConfigPrescaler 609 .syntax unified 610 .code 16 611 .thumb_func 612 .fpu softvfp 614 LL_I2S_ConfigPrescaler: 615 .LFB318: 488:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 489:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /** 490:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @brief Set linear and parity prescaler. 491:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @note To calculate value of PrescalerLinear(I2SDIV[7:0] bits) and PrescalerParity(ODD bit)\n 492:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * Check Audio frequency table and formulas inside Reference Manual (SPI/I2S). 493:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @param SPIx SPI Instance 494:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @param PrescalerLinear value: Min_Data=0x02 and Max_Data=0xFF. 495:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @param PrescalerParity This parameter can be one of the following values: 496:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @arg @ref LL_I2S_PRESCALER_PARITY_EVEN 497:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @arg @ref LL_I2S_PRESCALER_PARITY_ODD 498:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** * @retval None 499:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** */ 500:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** void LL_I2S_ConfigPrescaler(SPI_TypeDef *SPIx, uint32_t PrescalerLinear, uint32_t PrescalerParity) 501:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** { 616 .loc 1 501 0 617 .cfi_startproc 618 @ args = 0, pretend = 0, frame = 0 619 @ frame_needed = 0, uses_anonymous_args = 0 620 @ link register save eliminated. 621 .LVL68: 502:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Check the I2S parameters */ 503:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_I2S_ALL_INSTANCE(SPIx)); 504:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_I2S_PRESCALER_LINEAR(PrescalerLinear)); 505:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** assert_param(IS_LL_I2S_PRESCALER_PARITY(PrescalerParity)); 506:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** 507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** /* Write to SPIx I2SPR */ 508:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** MODIFY_REG(SPIx->I2SPR, SPI_I2SPR_I2SDIV | SPI_I2SPR_ODD, PrescalerLinear | (PrescalerParity << 8 622 .loc 1 508 0 623 0000 036A ldr r3, [r0, #32] 624 0002 5B0A lsrs r3, r3, #9 625 0004 5B02 lsls r3, r3, #9 626 0006 1202 lsls r2, r2, #8 627 .LVL69: 628 0008 1143 orrs r1, r2 629 .LVL70: 630 000a 1943 orrs r1, r3 631 000c 0162 str r1, [r0, #32] ARM GAS /tmp/ccIphHaE.s page 62 509:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_spi.c **** } 632 .loc 1 509 0 633 @ sp needed 634 000e 7047 bx lr 635 .cfi_endproc 636 .LFE318: 638 .text 639 .Letext0: 640 .file 4 "/usr/arm-none-eabi/include/machine/_default_types.h" 641 .file 5 "/usr/arm-none-eabi/include/sys/_stdint.h" 642 .file 6 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h" 643 .file 7 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h" 644 .file 8 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h" 645 .file 9 "/usr/arm-none-eabi/include/sys/lock.h" 646 .file 10 "/usr/arm-none-eabi/include/sys/_types.h" 647 .file 11 "/usr/lib/gcc/arm-none-eabi/7.2.0/include/stddef.h" 648 .file 12 "/usr/arm-none-eabi/include/sys/reent.h" 649 .file 13 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h" ARM GAS /tmp/ccIphHaE.s page 63 DEFINED SYMBOLS *ABS*:0000000000000000 stm32l0xx_ll_spi.c /tmp/ccIphHaE.s:16 .text.LL_SPI_DeInit:0000000000000000 $t /tmp/ccIphHaE.s:23 .text.LL_SPI_DeInit:0000000000000000 LL_SPI_DeInit /tmp/ccIphHaE.s:110 .text.LL_SPI_DeInit:0000000000000044 $d /tmp/ccIphHaE.s:119 .text.LL_SPI_Init:0000000000000000 $t /tmp/ccIphHaE.s:126 .text.LL_SPI_Init:0000000000000000 LL_SPI_Init /tmp/ccIphHaE.s:228 .text.LL_SPI_Init:0000000000000068 $d /tmp/ccIphHaE.s:234 .text.LL_SPI_StructInit:0000000000000000 $t /tmp/ccIphHaE.s:241 .text.LL_SPI_StructInit:0000000000000000 LL_SPI_StructInit /tmp/ccIphHaE.s:278 .text.LL_I2S_DeInit:0000000000000000 $t /tmp/ccIphHaE.s:285 .text.LL_I2S_DeInit:0000000000000000 LL_I2S_DeInit /tmp/ccIphHaE.s:376 .text.LL_I2S_DeInit:0000000000000044 $d /tmp/ccIphHaE.s:388 .text.LL_I2S_Init:0000000000000000 $t /tmp/ccIphHaE.s:395 .text.LL_I2S_Init:0000000000000000 LL_I2S_Init /tmp/ccIphHaE.s:566 .text.LL_I2S_Init:00000000000000b4 $d /tmp/ccIphHaE.s:571 .text.LL_I2S_StructInit:0000000000000000 $t /tmp/ccIphHaE.s:578 .text.LL_I2S_StructInit:0000000000000000 LL_I2S_StructInit /tmp/ccIphHaE.s:607 .text.LL_I2S_ConfigPrescaler:0000000000000000 $t /tmp/ccIphHaE.s:614 .text.LL_I2S_ConfigPrescaler:0000000000000000 LL_I2S_ConfigPrescaler .debug_frame:0000000000000010 $d UNDEFINED SYMBOLS __aeabi_uidiv LL_RCC_GetSystemClocksFreq