|
|
|
|
ARM GAS /tmp/ccUXNvYH.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_i2c.c"
|
|
|
|
|
12 .text
|
|
|
|
|
13 .Ltext0:
|
|
|
|
|
14 .cfi_sections .debug_frame
|
|
|
|
|
15 .section .text.LL_I2C_DeInit,"ax",%progbits
|
|
|
|
|
16 .align 1
|
|
|
|
|
17 .global LL_I2C_DeInit
|
|
|
|
|
18 .syntax unified
|
|
|
|
|
19 .code 16
|
|
|
|
|
20 .thumb_func
|
|
|
|
|
21 .fpu softvfp
|
|
|
|
|
23 LL_I2C_DeInit:
|
|
|
|
|
24 .LFB201:
|
|
|
|
|
25 .file 1 "./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c"
|
|
|
|
|
1:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /**
|
|
|
|
|
2:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** ******************************************************************************
|
|
|
|
|
3:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @file stm32l0xx_ll_i2c.c
|
|
|
|
|
4:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @author MCD Application Team
|
|
|
|
|
5:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @brief I2C LL module driver.
|
|
|
|
|
6:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** ******************************************************************************
|
|
|
|
|
7:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @attention
|
|
|
|
|
8:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** *
|
|
|
|
|
9:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
|
|
|
|
|
10:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** *
|
|
|
|
|
11:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * Redistribution and use in source and binary forms, with or without modification,
|
|
|
|
|
12:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * are permitted provided that the following conditions are met:
|
|
|
|
|
13:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * 1. Redistributions of source code must retain the above copyright notice,
|
|
|
|
|
14:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * this list of conditions and the following disclaimer.
|
|
|
|
|
15:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
|
16:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * this list of conditions and the following disclaimer in the documentation
|
|
|
|
|
17:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * and/or other materials provided with the distribution.
|
|
|
|
|
18:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * 3. Neither the name of STMicroelectronics nor the names of its contributors
|
|
|
|
|
19:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * may be used to endorse or promote products derived from this software
|
|
|
|
|
20:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * without specific prior written permission.
|
|
|
|
|
21:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** *
|
|
|
|
|
22:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
|
23:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
|
24:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
|
25:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
|
|
|
26:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
|
27:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
|
|
|
28:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
|
|
|
29:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
|
|
|
30:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
|
31:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
32:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** *
|
|
|
|
|
33:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** ******************************************************************************
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
35:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #if defined(USE_FULL_LL_DRIVER)
|
|
|
|
|
36:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
37:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Includes ------------------------------------------------------------------*/
|
|
|
|
|
38:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #include "stm32l0xx_ll_i2c.h"
|
|
|
|
|
39:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #include "stm32l0xx_ll_bus.h"
|
|
|
|
|
40:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #ifdef USE_FULL_ASSERT
|
|
|
|
|
41:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #include "stm32_assert.h"
|
|
|
|
|
42:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #else
|
|
|
|
|
43:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #define assert_param(expr) ((void)0U)
|
|
|
|
|
44:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #endif
|
|
|
|
|
45:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
46:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /** @addtogroup STM32L0xx_LL_Driver
|
|
|
|
|
47:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @{
|
|
|
|
|
48:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
49:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
50:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #if defined (I2C1) || defined (I2C2) || defined (I2C3)
|
|
|
|
|
51:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
52:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /** @defgroup I2C_LL I2C
|
|
|
|
|
53:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @{
|
|
|
|
|
54:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
55:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
56:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Private types -------------------------------------------------------------*/
|
|
|
|
|
57:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Private variables ---------------------------------------------------------*/
|
|
|
|
|
58:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Private constants ---------------------------------------------------------*/
|
|
|
|
|
59:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Private macros ------------------------------------------------------------*/
|
|
|
|
|
60:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /** @addtogroup I2C_LL_Private_Macros
|
|
|
|
|
61:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @{
|
|
|
|
|
62:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
63:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
64:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #define IS_LL_I2C_PERIPHERAL_MODE(__VALUE__) (((__VALUE__) == LL_I2C_MODE_I2C) || \
|
|
|
|
|
65:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** ((__VALUE__) == LL_I2C_MODE_SMBUS_HOST) || \
|
|
|
|
|
66:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** ((__VALUE__) == LL_I2C_MODE_SMBUS_DEVICE) || \
|
|
|
|
|
67:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** ((__VALUE__) == LL_I2C_MODE_SMBUS_DEVICE_ARP))
|
|
|
|
|
68:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
69:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #define IS_LL_I2C_ANALOG_FILTER(__VALUE__) (((__VALUE__) == LL_I2C_ANALOGFILTER_ENABLE) || \
|
|
|
|
|
70:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** ((__VALUE__) == LL_I2C_ANALOGFILTER_DISABLE))
|
|
|
|
|
71:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
72:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #define IS_LL_I2C_DIGITAL_FILTER(__VALUE__) ((__VALUE__) <= 0x0000000FU)
|
|
|
|
|
73:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
74:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #define IS_LL_I2C_OWN_ADDRESS1(__VALUE__) ((__VALUE__) <= 0x000003FFU)
|
|
|
|
|
75:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
76:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #define IS_LL_I2C_TYPE_ACKNOWLEDGE(__VALUE__) (((__VALUE__) == LL_I2C_ACK) || \
|
|
|
|
|
77:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** ((__VALUE__) == LL_I2C_NACK))
|
|
|
|
|
78:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
79:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #define IS_LL_I2C_OWN_ADDRSIZE(__VALUE__) (((__VALUE__) == LL_I2C_OWNADDRESS1_7BIT) || \
|
|
|
|
|
80:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** ((__VALUE__) == LL_I2C_OWNADDRESS1_10BIT))
|
|
|
|
|
81:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /**
|
|
|
|
|
82:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @}
|
|
|
|
|
83:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
84:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
85:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Private function prototypes -----------------------------------------------*/
|
|
|
|
|
86:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
87:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Exported functions --------------------------------------------------------*/
|
|
|
|
|
88:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /** @addtogroup I2C_LL_Exported_Functions
|
|
|
|
|
89:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @{
|
|
|
|
|
90:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
92:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /** @addtogroup I2C_LL_EF_Init
|
|
|
|
|
93:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @{
|
|
|
|
|
94:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
95:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
96:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /**
|
|
|
|
|
97:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @brief De-initialize the I2C registers to their default reset values.
|
|
|
|
|
98:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @param I2Cx I2C Instance.
|
|
|
|
|
99:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @retval An ErrorStatus enumeration value:
|
|
|
|
|
100:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * - SUCCESS: I2C registers are de-initialized
|
|
|
|
|
101:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * - ERROR: I2C registers are not de-initialized
|
|
|
|
|
102:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
103:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** uint32_t LL_I2C_DeInit(I2C_TypeDef *I2Cx)
|
|
|
|
|
104:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** {
|
|
|
|
|
26 .loc 1 104 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:
|
|
|
|
|
105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** ErrorStatus status = SUCCESS;
|
|
|
|
|
106:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
107:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Check the I2C Instance I2Cx */
|
|
|
|
|
108:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** assert_param(IS_I2C_ALL_INSTANCE(I2Cx));
|
|
|
|
|
109:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
110:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** if (I2Cx == I2C1)
|
|
|
|
|
32 .loc 1 110 0
|
|
|
|
|
33 0000 174B ldr r3, .L9
|
|
|
|
|
34 0002 9842 cmp r0, r3
|
|
|
|
|
35 0004 07D0 beq .L6
|
|
|
|
|
111:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** {
|
|
|
|
|
112:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Force reset of I2C clock */
|
|
|
|
|
113:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_I2C1);
|
|
|
|
|
114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
115:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Release reset of I2C clock */
|
|
|
|
|
116:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_I2C1);
|
|
|
|
|
117:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** }
|
|
|
|
|
118:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #if defined(I2C2)
|
|
|
|
|
119:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** else if (I2Cx == I2C2)
|
|
|
|
|
36 .loc 1 119 0
|
|
|
|
|
37 0006 174B ldr r3, .L9+4
|
|
|
|
|
38 0008 9842 cmp r0, r3
|
|
|
|
|
39 000a 10D0 beq .L7
|
|
|
|
|
120:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** {
|
|
|
|
|
121:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Force reset of I2C clock */
|
|
|
|
|
122:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_I2C2);
|
|
|
|
|
123:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
124:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Release reset of I2C clock */
|
|
|
|
|
125:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_I2C2);
|
|
|
|
|
126:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
127:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** }
|
|
|
|
|
128:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #endif
|
|
|
|
|
129:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #if defined(I2C3)
|
|
|
|
|
130:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** else if (I2Cx == I2C3)
|
|
|
|
|
40 .loc 1 130 0
|
|
|
|
|
41 000c 164B ldr r3, .L9+8
|
|
|
|
|
42 000e 9842 cmp r0, r3
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 0010 19D0 beq .L8
|
|
|
|
|
131:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** {
|
|
|
|
|
132:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Force reset of I2C clock */
|
|
|
|
|
133:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_I2C3);
|
|
|
|
|
134:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
135:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Release reset of I2C clock */
|
|
|
|
|
136:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_I2C3);
|
|
|
|
|
137:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** }
|
|
|
|
|
138:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** #endif
|
|
|
|
|
139:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** else
|
|
|
|
|
140:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** {
|
|
|
|
|
141:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** status = ERROR;
|
|
|
|
|
44 .loc 1 141 0
|
|
|
|
|
45 0012 0020 movs r0, #0
|
|
|
|
|
46 .LVL1:
|
|
|
|
|
47 .L3:
|
|
|
|
|
142:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** }
|
|
|
|
|
143:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
144:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** return status;
|
|
|
|
|
145:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** }
|
|
|
|
|
48 .loc 1 145 0
|
|
|
|
|
49 @ sp needed
|
|
|
|
|
50 0014 7047 bx lr
|
|
|
|
|
51 .LVL2:
|
|
|
|
|
52 .L6:
|
|
|
|
|
53 .LBB32:
|
|
|
|
|
54 .LBB33:
|
|
|
|
|
55 .file 2 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h"
|
|
|
|
|
1:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /**
|
|
|
|
|
2:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** ******************************************************************************
|
|
|
|
|
3:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @file stm32l0xx_ll_bus.h
|
|
|
|
|
4:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @author MCD Application Team
|
|
|
|
|
5:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Header file of BUS LL module.
|
|
|
|
|
6:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h ****
|
|
|
|
|
7:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** @verbatim
|
|
|
|
|
8:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** ##### RCC Limitations #####
|
|
|
|
|
9:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** ==============================================================================
|
|
|
|
|
10:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** [..]
|
|
|
|
|
11:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** A delay between an RCC peripheral clock enable and the effective peripheral
|
|
|
|
|
12:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** enabling should be taken into account in order to manage the peripheral read/write
|
|
|
|
|
13:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** from/to registers.
|
|
|
|
|
14:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (+) This delay depends on the peripheral mapping.
|
|
|
|
|
15:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (++) AHB & APB peripherals, 1 dummy read is necessary
|
|
|
|
|
16:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h ****
|
|
|
|
|
17:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** [..]
|
|
|
|
|
18:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** Workarounds:
|
|
|
|
|
19:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (#) For AHB & APB peripherals, a dummy read to the peripheral register has been
|
|
|
|
|
20:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** inserted in each LL_{BUS}_GRP{x}_EnableClock() function.
|
|
|
|
|
21:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h ****
|
|
|
|
|
22:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** @endverbatim
|
|
|
|
|
23:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** ******************************************************************************
|
|
|
|
|
24:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @attention
|
|
|
|
|
25:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** *
|
|
|
|
|
26:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
|
|
|
|
|
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:
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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" {
|
|
|
|
|
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 ****
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 */
|
|
|
|
|
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 */
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 */
|
|
|
|
|
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 */
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:
|
|
|
|
|
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:
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 (*)
|
|
|
|
|
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.
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 **** {
|
|
|
|
|
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);
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
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
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 **** {
|
|
|
|
|
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
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 ****
|
|
|
|
|
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
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 14
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 15
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
56 .loc 2 613 0
|
|
|
|
|
57 0016 154B ldr r3, .L9+12
|
|
|
|
|
58 0018 996A ldr r1, [r3, #40]
|
|
|
|
|
59 001a 8022 movs r2, #128
|
|
|
|
|
60 001c 9203 lsls r2, r2, #14
|
|
|
|
|
61 001e 0A43 orrs r2, r1
|
|
|
|
|
62 0020 9A62 str r2, [r3, #40]
|
|
|
|
|
63 .LVL3:
|
|
|
|
|
64 .LBE33:
|
|
|
|
|
65 .LBE32:
|
|
|
|
|
66 .LBB34:
|
|
|
|
|
67 .LBB35:
|
|
|
|
|
614:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** }
|
|
|
|
|
615:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h ****
|
|
|
|
|
616:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /**
|
|
|
|
|
617:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Release APB1 peripherals reset.
|
|
|
|
|
618:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1RSTR TIM2RST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
619:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM3RST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
620:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM6RST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
621:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM7RST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
622:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LCDRST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
623:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR WWDGRST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
624:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR SPI2RST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
625:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART2RST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
626:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LPUART1RST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
627:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART4RST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
628:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART5RST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
629:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C1RST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
630:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C2RST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
631:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USBRST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
632:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR CRSRST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
633:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR PWRRST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
634:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR DACRST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
635:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C3RST LL_APB1_GRP1_ReleaseReset\n
|
|
|
|
|
636:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LPTIM1RST LL_APB1_GRP1_ReleaseReset
|
|
|
|
|
637:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values:
|
|
|
|
|
638:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_ALL
|
|
|
|
|
639:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2
|
|
|
|
|
640:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*)
|
|
|
|
|
641:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*)
|
|
|
|
|
642:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*)
|
|
|
|
|
643:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*)
|
|
|
|
|
644:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 16
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
68 .loc 2 664 0
|
|
|
|
|
69 0022 9A6A ldr r2, [r3, #40]
|
|
|
|
|
70 0024 1249 ldr r1, .L9+16
|
|
|
|
|
71 0026 0A40 ands r2, r1
|
|
|
|
|
72 0028 9A62 str r2, [r3, #40]
|
|
|
|
|
73 .LBE35:
|
|
|
|
|
74 .LBE34:
|
|
|
|
|
105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
75 .loc 1 105 0
|
|
|
|
|
76 002a 0120 movs r0, #1
|
|
|
|
|
77 .LVL4:
|
|
|
|
|
78 002c F2E7 b .L3
|
|
|
|
|
79 .LVL5:
|
|
|
|
|
80 .L7:
|
|
|
|
|
81 .LBB36:
|
|
|
|
|
82 .LBB37:
|
|
|
|
|
613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** }
|
|
|
|
|
83 .loc 2 613 0
|
|
|
|
|
84 002e 0F4B ldr r3, .L9+12
|
|
|
|
|
85 0030 996A ldr r1, [r3, #40]
|
|
|
|
|
86 0032 8022 movs r2, #128
|
|
|
|
|
87 0034 D203 lsls r2, r2, #15
|
|
|
|
|
88 0036 0A43 orrs r2, r1
|
|
|
|
|
89 0038 9A62 str r2, [r3, #40]
|
|
|
|
|
90 .LVL6:
|
|
|
|
|
91 .LBE37:
|
|
|
|
|
92 .LBE36:
|
|
|
|
|
93 .LBB38:
|
|
|
|
|
94 .LBB39:
|
|
|
|
|
95 .loc 2 664 0
|
|
|
|
|
96 003a 9A6A ldr r2, [r3, #40]
|
|
|
|
|
97 003c 0D49 ldr r1, .L9+20
|
|
|
|
|
98 003e 0A40 ands r2, r1
|
|
|
|
|
99 0040 9A62 str r2, [r3, #40]
|
|
|
|
|
100 .LBE39:
|
|
|
|
|
101 .LBE38:
|
|
|
|
|
105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 17
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 .loc 1 105 0
|
|
|
|
|
103 0042 0120 movs r0, #1
|
|
|
|
|
104 .LVL7:
|
|
|
|
|
105 0044 E6E7 b .L3
|
|
|
|
|
106 .LVL8:
|
|
|
|
|
107 .L8:
|
|
|
|
|
108 .LBB40:
|
|
|
|
|
109 .LBB41:
|
|
|
|
|
613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** }
|
|
|
|
|
110 .loc 2 613 0
|
|
|
|
|
111 0046 094B ldr r3, .L9+12
|
|
|
|
|
112 0048 996A ldr r1, [r3, #40]
|
|
|
|
|
113 004a 8022 movs r2, #128
|
|
|
|
|
114 004c D205 lsls r2, r2, #23
|
|
|
|
|
115 004e 0A43 orrs r2, r1
|
|
|
|
|
116 0050 9A62 str r2, [r3, #40]
|
|
|
|
|
117 .LVL9:
|
|
|
|
|
118 .LBE41:
|
|
|
|
|
119 .LBE40:
|
|
|
|
|
120 .LBB42:
|
|
|
|
|
121 .LBB43:
|
|
|
|
|
122 .loc 2 664 0
|
|
|
|
|
123 0052 9A6A ldr r2, [r3, #40]
|
|
|
|
|
124 0054 0849 ldr r1, .L9+24
|
|
|
|
|
125 0056 0A40 ands r2, r1
|
|
|
|
|
126 0058 9A62 str r2, [r3, #40]
|
|
|
|
|
127 .LBE43:
|
|
|
|
|
128 .LBE42:
|
|
|
|
|
105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
129 .loc 1 105 0
|
|
|
|
|
130 005a 0120 movs r0, #1
|
|
|
|
|
131 .LVL10:
|
|
|
|
|
132 005c DAE7 b .L3
|
|
|
|
|
133 .L10:
|
|
|
|
|
134 005e C046 .align 2
|
|
|
|
|
135 .L9:
|
|
|
|
|
136 0060 00540040 .word 1073763328
|
|
|
|
|
137 0064 00580040 .word 1073764352
|
|
|
|
|
138 0068 00780040 .word 1073772544
|
|
|
|
|
139 006c 00100240 .word 1073876992
|
|
|
|
|
140 0070 FFFFDFFF .word -2097153
|
|
|
|
|
141 0074 FFFFBFFF .word -4194305
|
|
|
|
|
142 0078 FFFFFFBF .word -1073741825
|
|
|
|
|
143 .cfi_endproc
|
|
|
|
|
144 .LFE201:
|
|
|
|
|
146 .section .text.LL_I2C_Init,"ax",%progbits
|
|
|
|
|
147 .align 1
|
|
|
|
|
148 .global LL_I2C_Init
|
|
|
|
|
149 .syntax unified
|
|
|
|
|
150 .code 16
|
|
|
|
|
151 .thumb_func
|
|
|
|
|
152 .fpu softvfp
|
|
|
|
|
154 LL_I2C_Init:
|
|
|
|
|
155 .LFB202:
|
|
|
|
|
146:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
147:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /**
|
|
|
|
|
148:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @brief Initialize the I2C registers according to the specified parameters in I2C_InitStruct.
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 18
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @param I2Cx I2C Instance.
|
|
|
|
|
150:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @param I2C_InitStruct pointer to a @ref LL_I2C_InitTypeDef structure.
|
|
|
|
|
151:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @retval An ErrorStatus enumeration value:
|
|
|
|
|
152:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * - SUCCESS: I2C registers are initialized
|
|
|
|
|
153:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * - ERROR: Not applicable
|
|
|
|
|
154:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
155:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** uint32_t LL_I2C_Init(I2C_TypeDef *I2Cx, LL_I2C_InitTypeDef *I2C_InitStruct)
|
|
|
|
|
156:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** {
|
|
|
|
|
156 .loc 1 156 0
|
|
|
|
|
157 .cfi_startproc
|
|
|
|
|
158 @ args = 0, pretend = 0, frame = 0
|
|
|
|
|
159 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
|
|
160 .LVL11:
|
|
|
|
|
161 0000 30B5 push {r4, r5, lr}
|
|
|
|
|
162 .LCFI0:
|
|
|
|
|
163 .cfi_def_cfa_offset 12
|
|
|
|
|
164 .cfi_offset 4, -12
|
|
|
|
|
165 .cfi_offset 5, -8
|
|
|
|
|
166 .cfi_offset 14, -4
|
|
|
|
|
167 .LVL12:
|
|
|
|
|
168 .LBB44:
|
|
|
|
|
169 .LBB45:
|
|
|
|
|
170 .file 3 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h"
|
|
|
|
|
1:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
2:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** ******************************************************************************
|
|
|
|
|
3:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @file stm32l0xx_ll_i2c.h
|
|
|
|
|
4:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @author MCD Application Team
|
|
|
|
|
5:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Header file of I2C LL module.
|
|
|
|
|
6:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** ******************************************************************************
|
|
|
|
|
7:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @attention
|
|
|
|
|
8:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** *
|
|
|
|
|
9:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
|
|
|
|
|
10:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** *
|
|
|
|
|
11:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * Redistribution and use in source and binary forms, with or without modification,
|
|
|
|
|
12:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * are permitted provided that the following conditions are met:
|
|
|
|
|
13:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * 1. Redistributions of source code must retain the above copyright notice,
|
|
|
|
|
14:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * this list of conditions and the following disclaimer.
|
|
|
|
|
15:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
|
16:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * this list of conditions and the following disclaimer in the documentation
|
|
|
|
|
17:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * and/or other materials provided with the distribution.
|
|
|
|
|
18:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * 3. Neither the name of STMicroelectronics nor the names of its contributors
|
|
|
|
|
19:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * may be used to endorse or promote products derived from this software
|
|
|
|
|
20:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * without specific prior written permission.
|
|
|
|
|
21:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** *
|
|
|
|
|
22:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
|
23:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
|
24:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
|
25:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
|
|
|
26:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
|
27:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
|
|
|
28:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
|
|
|
29:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
|
|
|
30:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
|
31:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
32:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** *
|
|
|
|
|
33:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** ******************************************************************************
|
|
|
|
|
34:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 19
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
36:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /* Define to prevent recursive inclusion -------------------------------------*/
|
|
|
|
|
37:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #ifndef __STM32L0xx_LL_I2C_H
|
|
|
|
|
38:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define __STM32L0xx_LL_I2C_H
|
|
|
|
|
39:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
40:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #ifdef __cplusplus
|
|
|
|
|
41:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** extern "C" {
|
|
|
|
|
42:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #endif
|
|
|
|
|
43:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
44:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /* Includes ------------------------------------------------------------------*/
|
|
|
|
|
45:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #include "stm32l0xx.h"
|
|
|
|
|
46:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
47:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @addtogroup STM32L0xx_LL_Driver
|
|
|
|
|
48:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
49:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
50:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
51:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #if defined (I2C1) || defined (I2C2) || defined (I2C3)
|
|
|
|
|
52:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
53:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL I2C
|
|
|
|
|
54:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
55:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
56:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
57:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /* Private types -------------------------------------------------------------*/
|
|
|
|
|
58:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /* Private variables ---------------------------------------------------------*/
|
|
|
|
|
59:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
60:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /* Private constants ---------------------------------------------------------*/
|
|
|
|
|
61:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_Private_Constants I2C Private Constants
|
|
|
|
|
62:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
63:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
64:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
65:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
66:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
67:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
68:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /* Private macros ------------------------------------------------------------*/
|
|
|
|
|
69:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #if defined(USE_FULL_LL_DRIVER)
|
|
|
|
|
70:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_Private_Macros I2C Private Macros
|
|
|
|
|
71:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
72:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
73:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
74:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
75:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
76:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #endif /*USE_FULL_LL_DRIVER*/
|
|
|
|
|
77:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
78:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /* Exported types ------------------------------------------------------------*/
|
|
|
|
|
79:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #if defined(USE_FULL_LL_DRIVER)
|
|
|
|
|
80:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_ES_INIT I2C Exported Init structure
|
|
|
|
|
81:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
82:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
83:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** typedef struct
|
|
|
|
|
84:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
85:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** uint32_t PeripheralMode; /*!< Specifies the peripheral mode.
|
|
|
|
|
86:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** This parameter can be a value of @ref I2C_LL_EC_PERIPHERAL_MOD
|
|
|
|
|
87:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
88:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** This feature can be modified afterwards using unitary function
|
|
|
|
|
89:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
90:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** uint32_t Timing; /*!< Specifies the SDA setup, hold time and the SCL high, low perio
|
|
|
|
|
91:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** This parameter must be set by referring to the STM32CubeMX Too
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 20
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** the helper macro @ref __LL_I2C_CONVERT_TIMINGS()
|
|
|
|
|
93:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
94:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** This feature can be modified afterwards using unitary function
|
|
|
|
|
95:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
96:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** uint32_t AnalogFilter; /*!< Enables or disables analog noise filter.
|
|
|
|
|
97:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** This parameter can be a value of @ref I2C_LL_EC_ANALOGFILTER_S
|
|
|
|
|
98:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
99:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** This feature can be modified afterwards using unitary function
|
|
|
|
|
100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** uint32_t DigitalFilter; /*!< Configures the digital noise filter.
|
|
|
|
|
102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** This parameter can be a number between Min_Data = 0x00 and Max
|
|
|
|
|
103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** This feature can be modified afterwards using unitary function
|
|
|
|
|
105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** uint32_t OwnAddress1; /*!< Specifies the device own address 1.
|
|
|
|
|
107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** This parameter must be a value between Min_Data = 0x00 and Max
|
|
|
|
|
108:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
109:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** This feature can be modified afterwards using unitary function
|
|
|
|
|
110:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
111:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** uint32_t TypeAcknowledge; /*!< Specifies the ACKnowledge or Non ACKnowledge condition after t
|
|
|
|
|
112:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** This parameter can be a value of @ref I2C_LL_EC_I2C_ACKNOWLEDG
|
|
|
|
|
113:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
114:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** This feature can be modified afterwards using unitary function
|
|
|
|
|
115:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
116:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** uint32_t OwnAddrSize; /*!< Specifies the device own address 1 size (7-bit or 10-bit).
|
|
|
|
|
117:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** This parameter can be a value of @ref I2C_LL_EC_OWNADDRESS1
|
|
|
|
|
118:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
119:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** This feature can be modified afterwards using unitary function
|
|
|
|
|
120:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** } LL_I2C_InitTypeDef;
|
|
|
|
|
121:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
122:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
123:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
124:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #endif /*USE_FULL_LL_DRIVER*/
|
|
|
|
|
125:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
126:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /* Exported constants --------------------------------------------------------*/
|
|
|
|
|
127:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_Exported_Constants I2C Exported Constants
|
|
|
|
|
128:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
130:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
131:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_CLEAR_FLAG Clear Flags Defines
|
|
|
|
|
132:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Flags defines which can be used with LL_I2C_WriteReg function
|
|
|
|
|
133:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
134:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
135:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ICR_ADDRCF I2C_ICR_ADDRCF /*!< Address Matched flag */
|
|
|
|
|
136:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ICR_NACKCF I2C_ICR_NACKCF /*!< Not Acknowledge flag */
|
|
|
|
|
137:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ICR_STOPCF I2C_ICR_STOPCF /*!< Stop detection flag */
|
|
|
|
|
138:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ICR_BERRCF I2C_ICR_BERRCF /*!< Bus error flag */
|
|
|
|
|
139:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ICR_ARLOCF I2C_ICR_ARLOCF /*!< Arbitration Lost flag */
|
|
|
|
|
140:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ICR_OVRCF I2C_ICR_OVRCF /*!< Overrun/Underrun flag */
|
|
|
|
|
141:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ICR_PECCF I2C_ICR_PECCF /*!< PEC error flag */
|
|
|
|
|
142:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ICR_TIMOUTCF I2C_ICR_TIMOUTCF /*!< Timeout detection flag */
|
|
|
|
|
143:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ICR_ALERTCF I2C_ICR_ALERTCF /*!< Alert flag */
|
|
|
|
|
144:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
145:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
146:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
147:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
148:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_GET_FLAG Get Flags Defines
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 21
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Flags defines which can be used with LL_I2C_ReadReg function
|
|
|
|
|
150:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
151:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
152:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_TXE I2C_ISR_TXE /*!< Transmit data register emp
|
|
|
|
|
153:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_TXIS I2C_ISR_TXIS /*!< Transmit interrupt status
|
|
|
|
|
154:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_RXNE I2C_ISR_RXNE /*!< Receive data register not
|
|
|
|
|
155:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_ADDR I2C_ISR_ADDR /*!< Address matched (slave mod
|
|
|
|
|
156:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_NACKF I2C_ISR_NACKF /*!< Not Acknowledge received f
|
|
|
|
|
157:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_STOPF I2C_ISR_STOPF /*!< Stop detection flag
|
|
|
|
|
158:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_TC I2C_ISR_TC /*!< Transfer Complete (master
|
|
|
|
|
159:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_TCR I2C_ISR_TCR /*!< Transfer Complete Reload
|
|
|
|
|
160:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_BERR I2C_ISR_BERR /*!< Bus error
|
|
|
|
|
161:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_ARLO I2C_ISR_ARLO /*!< Arbitration lost
|
|
|
|
|
162:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_OVR I2C_ISR_OVR /*!< Overrun/Underrun (slave mo
|
|
|
|
|
163:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_PECERR I2C_ISR_PECERR /*!< PEC Error in reception (SM
|
|
|
|
|
164:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_TIMEOUT I2C_ISR_TIMEOUT /*!< Timeout detection flag (SM
|
|
|
|
|
165:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_ALERT I2C_ISR_ALERT /*!< SMBus alert (SMBus mode)
|
|
|
|
|
166:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ISR_BUSY I2C_ISR_BUSY /*!< Bus busy
|
|
|
|
|
167:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
168:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
169:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
170:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
171:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_IT IT Defines
|
|
|
|
|
172:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief IT defines which can be used with LL_I2C_ReadReg and LL_I2C_WriteReg functions
|
|
|
|
|
173:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
174:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
175:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_CR1_TXIE I2C_CR1_TXIE /*!< TX Interrupt enable
|
|
|
|
|
176:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_CR1_RXIE I2C_CR1_RXIE /*!< RX Interrupt enable
|
|
|
|
|
177:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_CR1_ADDRIE I2C_CR1_ADDRIE /*!< Address match Interrupt en
|
|
|
|
|
178:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_CR1_NACKIE I2C_CR1_NACKIE /*!< Not acknowledge received I
|
|
|
|
|
179:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_CR1_STOPIE I2C_CR1_STOPIE /*!< STOP detection Interrupt e
|
|
|
|
|
180:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_CR1_TCIE I2C_CR1_TCIE /*!< Transfer Complete interrup
|
|
|
|
|
181:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_CR1_ERRIE I2C_CR1_ERRIE /*!< Error interrupts enable
|
|
|
|
|
182:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
183:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
184:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
185:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
186:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_PERIPHERAL_MODE Peripheral Mode
|
|
|
|
|
187:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
188:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
189:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_MODE_I2C 0x00000000U /*!< I2C Master or Slave mode
|
|
|
|
|
190:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_MODE_SMBUS_HOST I2C_CR1_SMBHEN /*!< SMBus Host address acknowl
|
|
|
|
|
191:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_MODE_SMBUS_DEVICE 0x00000000U /*!< SMBus Device default mode
|
|
|
|
|
192:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_MODE_SMBUS_DEVICE_ARP I2C_CR1_SMBDEN /*!< SMBus Device Default addre
|
|
|
|
|
193:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
194:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
195:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
196:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
197:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_ANALOGFILTER_SELECTION Analog Filter Selection
|
|
|
|
|
198:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
199:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
200:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ANALOGFILTER_ENABLE 0x00000000U /*!< Analog filter is enabled.
|
|
|
|
|
201:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ANALOGFILTER_DISABLE I2C_CR1_ANFOFF /*!< Analog filter is disabled.
|
|
|
|
|
202:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
203:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
204:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
205:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 22
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_ADDRESSING_MODE Master Addressing Mode
|
|
|
|
|
207:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
208:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
209:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ADDRESSING_MODE_7BIT 0x00000000U /*!< Master operates in 7-bit
|
|
|
|
|
210:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ADDRESSING_MODE_10BIT I2C_CR2_ADD10 /*!< Master operates in 10-bit
|
|
|
|
|
211:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
212:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
213:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
214:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
215:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_OWNADDRESS1 Own Address 1 Length
|
|
|
|
|
216:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
217:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
218:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_OWNADDRESS1_7BIT 0x00000000U /*!< Own address 1 is a 7-bit a
|
|
|
|
|
219:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_OWNADDRESS1_10BIT I2C_OAR1_OA1MODE /*!< Own address 1 is a 10-bit
|
|
|
|
|
220:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
221:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
222:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
223:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
224:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_OWNADDRESS2 Own Address 2 Masks
|
|
|
|
|
225:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
226:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
227:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_OWNADDRESS2_NOMASK I2C_OAR2_OA2NOMASK /*!< Own Address2 No mask.
|
|
|
|
|
228:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_OWNADDRESS2_MASK01 I2C_OAR2_OA2MASK01 /*!< Only Address2 bits[7:2] ar
|
|
|
|
|
229:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_OWNADDRESS2_MASK02 I2C_OAR2_OA2MASK02 /*!< Only Address2 bits[7:3] ar
|
|
|
|
|
230:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_OWNADDRESS2_MASK03 I2C_OAR2_OA2MASK03 /*!< Only Address2 bits[7:4] ar
|
|
|
|
|
231:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_OWNADDRESS2_MASK04 I2C_OAR2_OA2MASK04 /*!< Only Address2 bits[7:5] ar
|
|
|
|
|
232:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_OWNADDRESS2_MASK05 I2C_OAR2_OA2MASK05 /*!< Only Address2 bits[7:6] ar
|
|
|
|
|
233:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_OWNADDRESS2_MASK06 I2C_OAR2_OA2MASK06 /*!< Only Address2 bits[7] are
|
|
|
|
|
234:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_OWNADDRESS2_MASK07 I2C_OAR2_OA2MASK07 /*!< No comparison is done. All
|
|
|
|
|
235:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
236:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
237:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
238:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
239:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_I2C_ACKNOWLEDGE Acknowledge Generation
|
|
|
|
|
240:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
241:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
242:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ACK 0x00000000U /*!< ACK is sent after current
|
|
|
|
|
243:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_NACK I2C_CR2_NACK /*!< NACK is sent after curren
|
|
|
|
|
244:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
245:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
246:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
247:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
248:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_ADDRSLAVE Slave Address Length
|
|
|
|
|
249:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
250:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
251:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ADDRSLAVE_7BIT 0x00000000U /*!< Slave Address in 7-bit. *
|
|
|
|
|
252:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ADDRSLAVE_10BIT I2C_CR2_ADD10 /*!< Slave Address in 10-bit.*
|
|
|
|
|
253:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
254:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
255:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
256:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
257:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_REQUEST Transfer Request Direction
|
|
|
|
|
258:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
259:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
260:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_REQUEST_WRITE 0x00000000U /*!< Master request a write tr
|
|
|
|
|
261:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_REQUEST_READ I2C_CR2_RD_WRN /*!< Master request a read tra
|
|
|
|
|
262:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 23
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
263:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
264:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
265:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
266:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_MODE Transfer End Mode
|
|
|
|
|
267:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
268:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
269:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_MODE_RELOAD I2C_CR2_RELOAD /*!
|
|
|
|
|
270:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_MODE_AUTOEND I2C_CR2_AUTOEND /*!
|
|
|
|
|
271:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_MODE_SOFTEND 0x00000000U /*!
|
|
|
|
|
272:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_MODE_SMBUS_RELOAD LL_I2C_MODE_RELOAD /*!
|
|
|
|
|
273:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_MODE_SMBUS_AUTOEND_NO_PEC LL_I2C_MODE_AUTOEND /*!
|
|
|
|
|
274:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_MODE_SMBUS_SOFTEND_NO_PEC LL_I2C_MODE_SOFTEND /*!
|
|
|
|
|
275:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_MODE_SMBUS_AUTOEND_WITH_PEC (uint32_t)(LL_I2C_MODE_AUTOEND | I2C_CR2_PECBYTE) /*!
|
|
|
|
|
276:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_MODE_SMBUS_SOFTEND_WITH_PEC (uint32_t)(LL_I2C_MODE_SOFTEND | I2C_CR2_PECBYTE) /*!
|
|
|
|
|
277:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
278:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
279:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
280:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
281:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_GENERATE Start And Stop Generation
|
|
|
|
|
282:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
283:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
284:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_GENERATE_NOSTARTSTOP 0x00000000U
|
|
|
|
|
285:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_GENERATE_STOP (uint32_t)(0x80000000U | I2C_CR2_STOP)
|
|
|
|
|
286:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_GENERATE_START_READ (uint32_t)(0x80000000U | I2C_CR2_START | I2C_CR2_RD_WRN
|
|
|
|
|
287:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_GENERATE_START_WRITE (uint32_t)(0x80000000U | I2C_CR2_START)
|
|
|
|
|
288:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_GENERATE_RESTART_7BIT_READ (uint32_t)(0x80000000U | I2C_CR2_START | I2C_CR2_RD_WRN
|
|
|
|
|
289:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_GENERATE_RESTART_7BIT_WRITE (uint32_t)(0x80000000U | I2C_CR2_START)
|
|
|
|
|
290:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_GENERATE_RESTART_10BIT_READ (uint32_t)(0x80000000U | I2C_CR2_START | I2C_CR2_RD_WRN
|
|
|
|
|
291:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_GENERATE_RESTART_10BIT_WRITE (uint32_t)(0x80000000U | I2C_CR2_START)
|
|
|
|
|
292:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
293:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
294:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
295:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
296:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_DIRECTION Read Write Direction
|
|
|
|
|
297:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
298:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
299:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_DIRECTION_WRITE 0x00000000U /*!< Write transfer request by
|
|
|
|
|
300:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_DIRECTION_READ I2C_ISR_DIR /*!< Read transfer request by
|
|
|
|
|
301:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
302:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
303:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
304:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
305:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_DMA_REG_DATA DMA Register Data
|
|
|
|
|
306:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
307:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
308:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_DMA_REG_DATA_TRANSMIT 0x00000000U /*!< Get address of data regis
|
|
|
|
|
309:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_DMA_REG_DATA_RECEIVE 0x00000001U /*!< Get address of data regis
|
|
|
|
|
310:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
311:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
312:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
313:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
314:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_SMBUS_TIMEOUTA_MODE SMBus TimeoutA Mode SCL SDA Timeout
|
|
|
|
|
315:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
316:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
317:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_SMBUS_TIMEOUTA_MODE_SCL_LOW 0x00000000U /*!< TimeoutA is used to detec
|
|
|
|
|
318:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_SMBUS_TIMEOUTA_MODE_SDA_SCL_HIGH I2C_TIMEOUTR_TIDLE /*!< TimeoutA is used to detec
|
|
|
|
|
319:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 24
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
321:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
322:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
323:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EC_SMBUS_TIMEOUT_SELECTION SMBus Timeout Selection
|
|
|
|
|
324:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
325:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
326:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_SMBUS_TIMEOUTA I2C_TIMEOUTR_TIMOUTEN
|
|
|
|
|
327:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_SMBUS_TIMEOUTB I2C_TIMEOUTR_TEXTEN
|
|
|
|
|
328:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_SMBUS_ALL_TIMEOUT (uint32_t)(I2C_TIMEOUTR_TIMOUTEN | I2C_TIMEOUTR_TEXTEN)
|
|
|
|
|
329:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
330:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
331:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
332:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
333:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
334:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
335:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
336:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
337:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /* Exported macro ------------------------------------------------------------*/
|
|
|
|
|
338:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_Exported_Macros I2C Exported Macros
|
|
|
|
|
339:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
340:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
341:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
342:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EM_WRITE_READ Common Write and read registers Macros
|
|
|
|
|
343:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
344:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
345:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
346:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
347:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Write a value in I2C register
|
|
|
|
|
348:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param __INSTANCE__ I2C Instance
|
|
|
|
|
349:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param __REG__ Register to be written
|
|
|
|
|
350:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param __VALUE__ Value to be written in the register
|
|
|
|
|
351:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
352:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
353:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALUE
|
|
|
|
|
354:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
355:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
356:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Read a value in I2C register
|
|
|
|
|
357:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param __INSTANCE__ I2C Instance
|
|
|
|
|
358:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param __REG__ Register to be read
|
|
|
|
|
359:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Register value
|
|
|
|
|
360:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
361:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define LL_I2C_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__)
|
|
|
|
|
362:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
363:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
364:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
365:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
366:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EM_CONVERT_TIMINGS Convert SDA SCL timings
|
|
|
|
|
367:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
368:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
369:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
370:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Configure the SDA setup, hold time and the SCL high, low period.
|
|
|
|
|
371:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param __PRESCALER__ This parameter must be a value between Min_Data=0 and Max_Data=0xF.
|
|
|
|
|
372:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param __DATA_SETUP_TIME__ This parameter must be a value between Min_Data=0 and Max_Data=0xF.
|
|
|
|
|
373:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param __DATA_HOLD_TIME__ This parameter must be a value between Min_Data=0 and Max_Data=0xF.
|
|
|
|
|
374:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param __CLOCK_HIGH_PERIOD__ This parameter must be a value between Min_Data=0 and Max_Data=0x
|
|
|
|
|
375:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param __CLOCK_LOW_PERIOD__ This parameter must be a value between Min_Data=0 and Max_Data=0x
|
|
|
|
|
376:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Value between Min_Data=0 and Max_Data=0xFFFFFFFF
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 25
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
377:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
378:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** #define __LL_I2C_CONVERT_TIMINGS(__PRESCALER__, __DATA_SETUP_TIME__, __DATA_HOLD_TIME__, __CLOCK_HI
|
|
|
|
|
379:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** ((((uint32_t)(__PRESCALER__) << I2C_TIMINGR_PRESC_Pos) & I2C_TIMINGR_PRESC) | \
|
|
|
|
|
380:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** (((uint32_t)(__DATA_SETUP_TIME__) << I2C_TIMINGR_SCLDEL_Pos) & I2C_TIMINGR_SCLDEL) | \
|
|
|
|
|
381:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** (((uint32_t)(__DATA_HOLD_TIME__) << I2C_TIMINGR_SDADEL_Pos) & I2C_TIMINGR_SDADEL) | \
|
|
|
|
|
382:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** (((uint32_t)(__CLOCK_HIGH_PERIOD__) << I2C_TIMINGR_SCLH_Pos) & I2C_TIMINGR_SCLH) | \
|
|
|
|
|
383:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** (((uint32_t)(__CLOCK_LOW_PERIOD__) << I2C_TIMINGR_SCLL_Pos) & I2C_TIMINGR_SCLL))
|
|
|
|
|
384:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
385:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
386:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
387:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
388:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
389:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
390:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
391:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /* Exported functions --------------------------------------------------------*/
|
|
|
|
|
393:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_Exported_Functions I2C Exported Functions
|
|
|
|
|
394:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
395:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
396:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
397:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EF_Configuration Configuration
|
|
|
|
|
398:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
399:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
400:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
401:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
402:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable I2C peripheral (PE = 1).
|
|
|
|
|
403:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 PE LL_I2C_Enable
|
|
|
|
|
404:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
405:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
406:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_Enable(I2C_TypeDef *I2Cx)
|
|
|
|
|
408:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
409:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_PE);
|
|
|
|
|
410:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
411:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
412:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
413:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable I2C peripheral (PE = 0).
|
|
|
|
|
414:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note When PE = 0, the I2C SCL and SDA lines are released.
|
|
|
|
|
415:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * Internal state machines and status bits are put back to their reset value.
|
|
|
|
|
416:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * When cleared, PE must be kept low for at least 3 APB clock cycles.
|
|
|
|
|
417:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 PE LL_I2C_Disable
|
|
|
|
|
418:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
419:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
420:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
421:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_Disable(I2C_TypeDef *I2Cx)
|
|
|
|
|
422:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
423:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_PE);
|
|
|
|
|
171 .loc 3 423 0
|
|
|
|
|
172 0002 0268 ldr r2, [r0]
|
|
|
|
|
173 0004 0124 movs r4, #1
|
|
|
|
|
174 0006 A243 bics r2, r4
|
|
|
|
|
175 0008 0260 str r2, [r0]
|
|
|
|
|
176 .LVL13:
|
|
|
|
|
177 .LBE45:
|
|
|
|
|
178 .LBE44:
|
|
|
|
|
179 .LBB46:
|
|
|
|
|
180 .LBB47:
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 26
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
424:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
425:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
426:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
427:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if the I2C peripheral is enabled or disabled.
|
|
|
|
|
428:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 PE LL_I2C_IsEnabled
|
|
|
|
|
429:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
430:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
431:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
432:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabled(I2C_TypeDef *I2Cx)
|
|
|
|
|
433:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
434:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_PE) == (I2C_CR1_PE));
|
|
|
|
|
435:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
436:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
437:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
438:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Configure Noise Filters (Analog and Digital).
|
|
|
|
|
439:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note If the analog filter is also enabled, the digital filter is added to analog filter.
|
|
|
|
|
440:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * The filters can only be programmed when the I2C is disabled (PE = 0).
|
|
|
|
|
441:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 ANFOFF LL_I2C_ConfigFilters\n
|
|
|
|
|
442:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * CR1 DNF LL_I2C_ConfigFilters
|
|
|
|
|
443:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
444:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param AnalogFilter This parameter can be one of the following values:
|
|
|
|
|
445:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_ANALOGFILTER_ENABLE
|
|
|
|
|
446:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_ANALOGFILTER_DISABLE
|
|
|
|
|
447:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param DigitalFilter This parameter must be a value between Min_Data=0x00 (Digital filter disa
|
|
|
|
|
448:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * This parameter is used to configure the digital noise filter on SDA and SCL input.
|
|
|
|
|
449:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * The digital filter will filter spikes with a length of up to DNF[3:0]*ti2cclk.
|
|
|
|
|
450:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
451:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
452:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_ConfigFilters(I2C_TypeDef *I2Cx, uint32_t AnalogFilter, uint32_t Digita
|
|
|
|
|
453:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
454:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** MODIFY_REG(I2Cx->CR1, I2C_CR1_ANFOFF | I2C_CR1_DNF, AnalogFilter | (DigitalFilter << I2C_CR1_DNF_
|
|
|
|
|
181 .loc 3 454 0
|
|
|
|
|
182 000a 0368 ldr r3, [r0]
|
|
|
|
|
183 000c 174A ldr r2, .L13
|
|
|
|
|
184 000e 1340 ands r3, r2
|
|
|
|
|
185 0010 CA68 ldr r2, [r1, #12]
|
|
|
|
|
186 0012 1202 lsls r2, r2, #8
|
|
|
|
|
187 0014 8D68 ldr r5, [r1, #8]
|
|
|
|
|
188 0016 2A43 orrs r2, r5
|
|
|
|
|
189 0018 1343 orrs r3, r2
|
|
|
|
|
190 001a 0360 str r3, [r0]
|
|
|
|
|
191 .LVL14:
|
|
|
|
|
192 .LBE47:
|
|
|
|
|
193 .LBE46:
|
|
|
|
|
194 .LBB48:
|
|
|
|
|
195 .LBB49:
|
|
|
|
|
455:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
456:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
457:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
458:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Configure Digital Noise Filter.
|
|
|
|
|
459:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note If the analog filter is also enabled, the digital filter is added to analog filter.
|
|
|
|
|
460:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * This filter can only be programmed when the I2C is disabled (PE = 0).
|
|
|
|
|
461:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 DNF LL_I2C_SetDigitalFilter
|
|
|
|
|
462:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
463:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param DigitalFilter This parameter must be a value between Min_Data=0x00 (Digital filter disa
|
|
|
|
|
464:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * This parameter is used to configure the digital noise filter on SDA and SCL input.
|
|
|
|
|
465:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * The digital filter will filter spikes with a length of up to DNF[3:0]*ti2cclk.
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 27
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
466:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
467:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
468:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_SetDigitalFilter(I2C_TypeDef *I2Cx, uint32_t DigitalFilter)
|
|
|
|
|
469:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
470:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** MODIFY_REG(I2Cx->CR1, I2C_CR1_DNF, DigitalFilter << I2C_CR1_DNF_Pos);
|
|
|
|
|
471:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
472:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
473:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
474:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Get the current Digital Noise Filter configuration.
|
|
|
|
|
475:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 DNF LL_I2C_GetDigitalFilter
|
|
|
|
|
476:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
477:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Value between Min_Data=0x0 and Max_Data=0xF
|
|
|
|
|
478:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
479:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_GetDigitalFilter(I2C_TypeDef *I2Cx)
|
|
|
|
|
480:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
481:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (uint32_t)(READ_BIT(I2Cx->CR1, I2C_CR1_DNF) >> I2C_CR1_DNF_Pos);
|
|
|
|
|
482:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
483:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
484:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
485:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable Analog Noise Filter.
|
|
|
|
|
486:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note This filter can only be programmed when the I2C is disabled (PE = 0).
|
|
|
|
|
487:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 ANFOFF LL_I2C_EnableAnalogFilter
|
|
|
|
|
488:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
489:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
490:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
491:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableAnalogFilter(I2C_TypeDef *I2Cx)
|
|
|
|
|
492:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
493:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_ANFOFF);
|
|
|
|
|
494:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
495:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
496:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
497:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable Analog Noise Filter.
|
|
|
|
|
498:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note This filter can only be programmed when the I2C is disabled (PE = 0).
|
|
|
|
|
499:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 ANFOFF LL_I2C_DisableAnalogFilter
|
|
|
|
|
500:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
501:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
502:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
503:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableAnalogFilter(I2C_TypeDef *I2Cx)
|
|
|
|
|
504:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
505:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_ANFOFF);
|
|
|
|
|
506:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
507:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
508:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
509:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if Analog Noise Filter is enabled or disabled.
|
|
|
|
|
510:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 ANFOFF LL_I2C_IsEnabledAnalogFilter
|
|
|
|
|
511:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
512:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
513:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
514:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledAnalogFilter(I2C_TypeDef *I2Cx)
|
|
|
|
|
515:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
516:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_ANFOFF) != (I2C_CR1_ANFOFF));
|
|
|
|
|
517:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
518:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
519:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
520:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable DMA transmission requests.
|
|
|
|
|
521:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 TXDMAEN LL_I2C_EnableDMAReq_TX
|
|
|
|
|
522:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 28
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
523:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
524:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
525:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableDMAReq_TX(I2C_TypeDef *I2Cx)
|
|
|
|
|
526:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
527:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_TXDMAEN);
|
|
|
|
|
528:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
529:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
530:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
531:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable DMA transmission requests.
|
|
|
|
|
532:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 TXDMAEN LL_I2C_DisableDMAReq_TX
|
|
|
|
|
533:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
534:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
535:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
536:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableDMAReq_TX(I2C_TypeDef *I2Cx)
|
|
|
|
|
537:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
538:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_TXDMAEN);
|
|
|
|
|
539:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
540:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
541:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
542:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if DMA transmission requests are enabled or disabled.
|
|
|
|
|
543:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 TXDMAEN LL_I2C_IsEnabledDMAReq_TX
|
|
|
|
|
544:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
545:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
546:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
547:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledDMAReq_TX(I2C_TypeDef *I2Cx)
|
|
|
|
|
548:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
549:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_TXDMAEN) == (I2C_CR1_TXDMAEN));
|
|
|
|
|
550:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
551:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
552:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
553:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable DMA reception requests.
|
|
|
|
|
554:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 RXDMAEN LL_I2C_EnableDMAReq_RX
|
|
|
|
|
555:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
556:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
557:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
558:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableDMAReq_RX(I2C_TypeDef *I2Cx)
|
|
|
|
|
559:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
560:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_RXDMAEN);
|
|
|
|
|
561:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
562:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
563:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
564:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable DMA reception requests.
|
|
|
|
|
565:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 RXDMAEN LL_I2C_DisableDMAReq_RX
|
|
|
|
|
566:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
567:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
568:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
569:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableDMAReq_RX(I2C_TypeDef *I2Cx)
|
|
|
|
|
570:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
571:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_RXDMAEN);
|
|
|
|
|
572:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
573:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
574:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
575:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if DMA reception requests are enabled or disabled.
|
|
|
|
|
576:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 RXDMAEN LL_I2C_IsEnabledDMAReq_RX
|
|
|
|
|
577:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
578:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
579:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 29
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
580:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledDMAReq_RX(I2C_TypeDef *I2Cx)
|
|
|
|
|
581:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
582:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_RXDMAEN) == (I2C_CR1_RXDMAEN));
|
|
|
|
|
583:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
584:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
585:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
586:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Get the data register address used for DMA transfer
|
|
|
|
|
587:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TXDR TXDATA LL_I2C_DMA_GetRegAddr\n
|
|
|
|
|
588:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * RXDR RXDATA LL_I2C_DMA_GetRegAddr
|
|
|
|
|
589:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance
|
|
|
|
|
590:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param Direction This parameter can be one of the following values:
|
|
|
|
|
591:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_DMA_REG_DATA_TRANSMIT
|
|
|
|
|
592:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_DMA_REG_DATA_RECEIVE
|
|
|
|
|
593:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Address of data register
|
|
|
|
|
594:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
595:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_DMA_GetRegAddr(I2C_TypeDef *I2Cx, uint32_t Direction)
|
|
|
|
|
596:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
597:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** register uint32_t data_reg_addr = 0U;
|
|
|
|
|
598:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
599:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** if (Direction == LL_I2C_DMA_REG_DATA_TRANSMIT)
|
|
|
|
|
600:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
601:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /* return address of TXDR register */
|
|
|
|
|
602:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** data_reg_addr = (uint32_t) & (I2Cx->TXDR);
|
|
|
|
|
603:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
604:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** else
|
|
|
|
|
605:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
606:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /* return address of RXDR register */
|
|
|
|
|
607:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** data_reg_addr = (uint32_t) & (I2Cx->RXDR);
|
|
|
|
|
608:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
609:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
610:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return data_reg_addr;
|
|
|
|
|
611:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
612:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
614:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable Clock stretching.
|
|
|
|
|
615:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note This bit can only be programmed when the I2C is disabled (PE = 0).
|
|
|
|
|
616:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 NOSTRETCH LL_I2C_EnableClockStretching
|
|
|
|
|
617:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
618:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
619:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
620:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableClockStretching(I2C_TypeDef *I2Cx)
|
|
|
|
|
621:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
622:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_NOSTRETCH);
|
|
|
|
|
623:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
624:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
625:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
626:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable Clock stretching.
|
|
|
|
|
627:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note This bit can only be programmed when the I2C is disabled (PE = 0).
|
|
|
|
|
628:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 NOSTRETCH LL_I2C_DisableClockStretching
|
|
|
|
|
629:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
630:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
631:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
632:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableClockStretching(I2C_TypeDef *I2Cx)
|
|
|
|
|
633:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
634:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_NOSTRETCH);
|
|
|
|
|
635:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
636:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
637:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
638:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if Clock stretching is enabled or disabled.
|
|
|
|
|
639:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 NOSTRETCH LL_I2C_IsEnabledClockStretching
|
|
|
|
|
640:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
641:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
642:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
643:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledClockStretching(I2C_TypeDef *I2Cx)
|
|
|
|
|
644:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
645:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_NOSTRETCH) != (I2C_CR1_NOSTRETCH));
|
|
|
|
|
646:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
647:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
648:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
649:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable hardware byte control in slave mode.
|
|
|
|
|
650:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 SBC LL_I2C_EnableSlaveByteControl
|
|
|
|
|
651:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
652:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
653:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
654:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableSlaveByteControl(I2C_TypeDef *I2Cx)
|
|
|
|
|
655:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
656:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_SBC);
|
|
|
|
|
657:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
658:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
659:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
660:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable hardware byte control in slave mode.
|
|
|
|
|
661:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 SBC LL_I2C_DisableSlaveByteControl
|
|
|
|
|
662:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
663:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
664:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
665:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableSlaveByteControl(I2C_TypeDef *I2Cx)
|
|
|
|
|
666:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
667:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_SBC);
|
|
|
|
|
668:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
669:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
670:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
671:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if hardware byte control in slave mode is enabled or disabled.
|
|
|
|
|
672:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 SBC LL_I2C_IsEnabledSlaveByteControl
|
|
|
|
|
673:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
674:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
675:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
676:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledSlaveByteControl(I2C_TypeDef *I2Cx)
|
|
|
|
|
677:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
678:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_SBC) == (I2C_CR1_SBC));
|
|
|
|
|
679:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
680:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
681:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
682:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable Wakeup from STOP.
|
|
|
|
|
683:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_I2C_WAKEUP_FROMSTOP_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
684:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * WakeUpFromStop feature is supported by the I2Cx Instance.
|
|
|
|
|
685:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note This bit can only be programmed when Digital Filter is disabled.
|
|
|
|
|
686:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 WUPEN LL_I2C_EnableWakeUpFromStop
|
|
|
|
|
687:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
688:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
689:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
690:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableWakeUpFromStop(I2C_TypeDef *I2Cx)
|
|
|
|
|
691:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
692:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_WUPEN);
|
|
|
|
|
693:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 31
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
694:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
695:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
696:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable Wakeup from STOP.
|
|
|
|
|
697:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_I2C_WAKEUP_FROMSTOP_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
698:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * WakeUpFromStop feature is supported by the I2Cx Instance.
|
|
|
|
|
699:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 WUPEN LL_I2C_DisableWakeUpFromStop
|
|
|
|
|
700:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
701:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
702:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
703:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableWakeUpFromStop(I2C_TypeDef *I2Cx)
|
|
|
|
|
704:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
705:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_WUPEN);
|
|
|
|
|
706:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
707:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
708:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
709:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if Wakeup from STOP is enabled or disabled.
|
|
|
|
|
710:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_I2C_WAKEUP_FROMSTOP_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
711:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * WakeUpFromStop feature is supported by the I2Cx Instance.
|
|
|
|
|
712:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 WUPEN LL_I2C_IsEnabledWakeUpFromStop
|
|
|
|
|
713:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
714:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
715:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
716:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledWakeUpFromStop(I2C_TypeDef *I2Cx)
|
|
|
|
|
717:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
718:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_WUPEN) == (I2C_CR1_WUPEN));
|
|
|
|
|
719:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
720:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
721:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
722:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable General Call.
|
|
|
|
|
723:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note When enabled the Address 0x00 is ACKed.
|
|
|
|
|
724:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 GCEN LL_I2C_EnableGeneralCall
|
|
|
|
|
725:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
726:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
727:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
728:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableGeneralCall(I2C_TypeDef *I2Cx)
|
|
|
|
|
729:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
730:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_GCEN);
|
|
|
|
|
731:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
732:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
733:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
734:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable General Call.
|
|
|
|
|
735:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note When disabled the Address 0x00 is NACKed.
|
|
|
|
|
736:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 GCEN LL_I2C_DisableGeneralCall
|
|
|
|
|
737:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
738:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
739:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
740:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableGeneralCall(I2C_TypeDef *I2Cx)
|
|
|
|
|
741:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
742:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_GCEN);
|
|
|
|
|
743:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
744:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
745:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
746:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if General Call is enabled or disabled.
|
|
|
|
|
747:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 GCEN LL_I2C_IsEnabledGeneralCall
|
|
|
|
|
748:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
749:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
750:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 32
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
751:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledGeneralCall(I2C_TypeDef *I2Cx)
|
|
|
|
|
752:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
753:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_GCEN) == (I2C_CR1_GCEN));
|
|
|
|
|
754:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
755:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
756:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
757:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Configure the Master to operate in 7-bit or 10-bit addressing mode.
|
|
|
|
|
758:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Changing this bit is not allowed, when the START bit is set.
|
|
|
|
|
759:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR2 ADD10 LL_I2C_SetMasterAddressingMode
|
|
|
|
|
760:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
761:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param AddressingMode This parameter can be one of the following values:
|
|
|
|
|
762:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_ADDRESSING_MODE_7BIT
|
|
|
|
|
763:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_ADDRESSING_MODE_10BIT
|
|
|
|
|
764:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
765:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
766:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_SetMasterAddressingMode(I2C_TypeDef *I2Cx, uint32_t AddressingMode)
|
|
|
|
|
767:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
768:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** MODIFY_REG(I2Cx->CR2, I2C_CR2_ADD10, AddressingMode);
|
|
|
|
|
769:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
770:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
771:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
772:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Get the Master addressing mode.
|
|
|
|
|
773:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR2 ADD10 LL_I2C_GetMasterAddressingMode
|
|
|
|
|
774:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
775:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
776:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_ADDRESSING_MODE_7BIT
|
|
|
|
|
777:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_ADDRESSING_MODE_10BIT
|
|
|
|
|
778:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
779:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_GetMasterAddressingMode(I2C_TypeDef *I2Cx)
|
|
|
|
|
780:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
781:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (uint32_t)(READ_BIT(I2Cx->CR2, I2C_CR2_ADD10));
|
|
|
|
|
782:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
783:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
784:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
785:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Set the Own Address1.
|
|
|
|
|
786:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll OAR1 OA1 LL_I2C_SetOwnAddress1\n
|
|
|
|
|
787:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * OAR1 OA1MODE LL_I2C_SetOwnAddress1
|
|
|
|
|
788:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
789:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param OwnAddress1 This parameter must be a value between Min_Data=0 and Max_Data=0x3FF.
|
|
|
|
|
790:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param OwnAddrSize This parameter can be one of the following values:
|
|
|
|
|
791:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_OWNADDRESS1_7BIT
|
|
|
|
|
792:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_OWNADDRESS1_10BIT
|
|
|
|
|
793:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
794:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
795:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_SetOwnAddress1(I2C_TypeDef *I2Cx, uint32_t OwnAddress1, uint32_t OwnAdd
|
|
|
|
|
796:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
797:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** MODIFY_REG(I2Cx->OAR1, I2C_OAR1_OA1 | I2C_OAR1_OA1MODE, OwnAddress1 | OwnAddrSize);
|
|
|
|
|
798:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
799:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
800:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
801:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable acknowledge on Own Address1 match address.
|
|
|
|
|
802:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll OAR1 OA1EN LL_I2C_EnableOwnAddress1
|
|
|
|
|
803:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
804:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
805:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
806:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableOwnAddress1(I2C_TypeDef *I2Cx)
|
|
|
|
|
807:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 33
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
808:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->OAR1, I2C_OAR1_OA1EN);
|
|
|
|
|
809:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
810:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
811:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
812:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable acknowledge on Own Address1 match address.
|
|
|
|
|
813:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll OAR1 OA1EN LL_I2C_DisableOwnAddress1
|
|
|
|
|
814:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
815:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
816:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
817:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableOwnAddress1(I2C_TypeDef *I2Cx)
|
|
|
|
|
818:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
819:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->OAR1, I2C_OAR1_OA1EN);
|
|
|
|
|
820:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
821:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
822:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
823:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if Own Address1 acknowledge is enabled or disabled.
|
|
|
|
|
824:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll OAR1 OA1EN LL_I2C_IsEnabledOwnAddress1
|
|
|
|
|
825:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
826:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
827:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
828:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledOwnAddress1(I2C_TypeDef *I2Cx)
|
|
|
|
|
829:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
830:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->OAR1, I2C_OAR1_OA1EN) == (I2C_OAR1_OA1EN));
|
|
|
|
|
831:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
832:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
833:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Set the 7bits Own Address2.
|
|
|
|
|
835:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note This action has no effect if own address2 is enabled.
|
|
|
|
|
836:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll OAR2 OA2 LL_I2C_SetOwnAddress2\n
|
|
|
|
|
837:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * OAR2 OA2MSK LL_I2C_SetOwnAddress2
|
|
|
|
|
838:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
839:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param OwnAddress2 Value between Min_Data=0 and Max_Data=0x7F.
|
|
|
|
|
840:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param OwnAddrMask This parameter can be one of the following values:
|
|
|
|
|
841:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_OWNADDRESS2_NOMASK
|
|
|
|
|
842:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_OWNADDRESS2_MASK01
|
|
|
|
|
843:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_OWNADDRESS2_MASK02
|
|
|
|
|
844:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_OWNADDRESS2_MASK03
|
|
|
|
|
845:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_OWNADDRESS2_MASK04
|
|
|
|
|
846:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_OWNADDRESS2_MASK05
|
|
|
|
|
847:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_OWNADDRESS2_MASK06
|
|
|
|
|
848:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_OWNADDRESS2_MASK07
|
|
|
|
|
849:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
850:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
851:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_SetOwnAddress2(I2C_TypeDef *I2Cx, uint32_t OwnAddress2, uint32_t OwnAdd
|
|
|
|
|
852:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
853:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** MODIFY_REG(I2Cx->OAR2, I2C_OAR2_OA2 | I2C_OAR2_OA2MSK, OwnAddress2 | OwnAddrMask);
|
|
|
|
|
854:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
855:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
856:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
857:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable acknowledge on Own Address2 match address.
|
|
|
|
|
858:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll OAR2 OA2EN LL_I2C_EnableOwnAddress2
|
|
|
|
|
859:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
860:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
861:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
862:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableOwnAddress2(I2C_TypeDef *I2Cx)
|
|
|
|
|
863:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
864:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->OAR2, I2C_OAR2_OA2EN);
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 34
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
865:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
866:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
867:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
868:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable acknowledge on Own Address2 match address.
|
|
|
|
|
869:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll OAR2 OA2EN LL_I2C_DisableOwnAddress2
|
|
|
|
|
870:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
871:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
872:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
873:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableOwnAddress2(I2C_TypeDef *I2Cx)
|
|
|
|
|
874:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
875:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->OAR2, I2C_OAR2_OA2EN);
|
|
|
|
|
876:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
877:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
878:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
879:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if Own Address1 acknowledge is enabled or disabled.
|
|
|
|
|
880:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll OAR2 OA2EN LL_I2C_IsEnabledOwnAddress2
|
|
|
|
|
881:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
882:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
883:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
884:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledOwnAddress2(I2C_TypeDef *I2Cx)
|
|
|
|
|
885:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
886:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->OAR2, I2C_OAR2_OA2EN) == (I2C_OAR2_OA2EN));
|
|
|
|
|
887:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
888:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
889:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
890:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Configure the SDA setup, hold time and the SCL high, low period.
|
|
|
|
|
891:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note This bit can only be programmed when the I2C is disabled (PE = 0).
|
|
|
|
|
892:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMINGR TIMINGR LL_I2C_SetTiming
|
|
|
|
|
893:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
894:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param Timing This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF.
|
|
|
|
|
895:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note This parameter is computed with the STM32CubeMX Tool.
|
|
|
|
|
896:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
897:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
898:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_SetTiming(I2C_TypeDef *I2Cx, uint32_t Timing)
|
|
|
|
|
899:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
900:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** WRITE_REG(I2Cx->TIMINGR, Timing);
|
|
|
|
|
196 .loc 3 900 0
|
|
|
|
|
197 001c 4B68 ldr r3, [r1, #4]
|
|
|
|
|
198 001e 0361 str r3, [r0, #16]
|
|
|
|
|
199 .LVL15:
|
|
|
|
|
200 .LBE49:
|
|
|
|
|
201 .LBE48:
|
|
|
|
|
202 .LBB50:
|
|
|
|
|
203 .LBB51:
|
|
|
|
|
409:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
204 .loc 3 409 0
|
|
|
|
|
205 0020 0368 ldr r3, [r0]
|
|
|
|
|
206 0022 2343 orrs r3, r4
|
|
|
|
|
207 0024 0360 str r3, [r0]
|
|
|
|
|
208 .LVL16:
|
|
|
|
|
209 .LBE51:
|
|
|
|
|
210 .LBE50:
|
|
|
|
|
211 .LBB52:
|
|
|
|
|
212 .LBB53:
|
|
|
|
|
819:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
213 .loc 3 819 0
|
|
|
|
|
214 0026 8368 ldr r3, [r0, #8]
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 35
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
215 0028 114A ldr r2, .L13+4
|
|
|
|
|
216 002a 1340 ands r3, r2
|
|
|
|
|
217 002c 8360 str r3, [r0, #8]
|
|
|
|
|
218 .LVL17:
|
|
|
|
|
219 .LBE53:
|
|
|
|
|
220 .LBE52:
|
|
|
|
|
221 .LBB54:
|
|
|
|
|
222 .LBB55:
|
|
|
|
|
797:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
223 .loc 3 797 0
|
|
|
|
|
224 002e 8368 ldr r3, [r0, #8]
|
|
|
|
|
225 0030 DB0A lsrs r3, r3, #11
|
|
|
|
|
226 0032 DB02 lsls r3, r3, #11
|
|
|
|
|
227 0034 0A69 ldr r2, [r1, #16]
|
|
|
|
|
228 0036 8C69 ldr r4, [r1, #24]
|
|
|
|
|
229 0038 2243 orrs r2, r4
|
|
|
|
|
230 003a 1343 orrs r3, r2
|
|
|
|
|
231 003c 8360 str r3, [r0, #8]
|
|
|
|
|
232 .LVL18:
|
|
|
|
|
233 .LBE55:
|
|
|
|
|
234 .LBE54:
|
|
|
|
|
157:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Check the I2C Instance I2Cx */
|
|
|
|
|
158:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** assert_param(IS_I2C_ALL_INSTANCE(I2Cx));
|
|
|
|
|
159:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
160:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Check the I2C parameters from I2C_InitStruct */
|
|
|
|
|
161:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** assert_param(IS_LL_I2C_PERIPHERAL_MODE(I2C_InitStruct->PeripheralMode));
|
|
|
|
|
162:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** assert_param(IS_LL_I2C_ANALOG_FILTER(I2C_InitStruct->AnalogFilter));
|
|
|
|
|
163:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** assert_param(IS_LL_I2C_DIGITAL_FILTER(I2C_InitStruct->DigitalFilter));
|
|
|
|
|
164:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** assert_param(IS_LL_I2C_OWN_ADDRESS1(I2C_InitStruct->OwnAddress1));
|
|
|
|
|
165:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** assert_param(IS_LL_I2C_TYPE_ACKNOWLEDGE(I2C_InitStruct->TypeAcknowledge));
|
|
|
|
|
166:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** assert_param(IS_LL_I2C_OWN_ADDRSIZE(I2C_InitStruct->OwnAddrSize));
|
|
|
|
|
167:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
168:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Disable the selected I2Cx Peripheral */
|
|
|
|
|
169:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_I2C_Disable(I2Cx);
|
|
|
|
|
170:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
171:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /*---------------------------- I2Cx CR1 Configuration ------------------------
|
|
|
|
|
172:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * Configure the analog and digital noise filters with parameters :
|
|
|
|
|
173:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * - AnalogFilter: I2C_CR1_ANFOFF bit
|
|
|
|
|
174:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * - DigitalFilter: I2C_CR1_DNF[3:0] bits
|
|
|
|
|
175:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
176:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_I2C_ConfigFilters(I2Cx, I2C_InitStruct->AnalogFilter, I2C_InitStruct->DigitalFilter);
|
|
|
|
|
177:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
178:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /*---------------------------- I2Cx TIMINGR Configuration --------------------
|
|
|
|
|
179:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * Configure the SDA setup, hold time and the SCL high, low period with parameter :
|
|
|
|
|
180:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * - Timing: I2C_TIMINGR_PRESC[3:0], I2C_TIMINGR_SCLDEL[3:0], I2C_TIMINGR_SDADEL[3:0],
|
|
|
|
|
181:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * I2C_TIMINGR_SCLH[7:0] and I2C_TIMINGR_SCLL[7:0] bits
|
|
|
|
|
182:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
183:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_I2C_SetTiming(I2Cx, I2C_InitStruct->Timing);
|
|
|
|
|
184:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
185:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Enable the selected I2Cx Peripheral */
|
|
|
|
|
186:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_I2C_Enable(I2Cx);
|
|
|
|
|
187:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
188:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /*---------------------------- I2Cx OAR1 Configuration -----------------------
|
|
|
|
|
189:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * Disable, Configure and Enable I2Cx device own address 1 with parameters :
|
|
|
|
|
190:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * - OwnAddress1: I2C_OAR1_OA1[9:0] bits
|
|
|
|
|
191:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * - OwnAddrSize: I2C_OAR1_OA1MODE bit
|
|
|
|
|
192:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 36
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_I2C_DisableOwnAddress1(I2Cx);
|
|
|
|
|
194:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_I2C_SetOwnAddress1(I2Cx, I2C_InitStruct->OwnAddress1, I2C_InitStruct->OwnAddrSize);
|
|
|
|
|
195:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
196:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* OwnAdress1 == 0 is reserved for General Call address */
|
|
|
|
|
197:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** if (I2C_InitStruct->OwnAddress1 != 0U)
|
|
|
|
|
235 .loc 1 197 0
|
|
|
|
|
236 003e 0B69 ldr r3, [r1, #16]
|
|
|
|
|
237 0040 002B cmp r3, #0
|
|
|
|
|
238 0042 04D0 beq .L12
|
|
|
|
|
239 .LVL19:
|
|
|
|
|
240 .LBB56:
|
|
|
|
|
241 .LBB57:
|
|
|
|
|
808:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
242 .loc 3 808 0
|
|
|
|
|
243 0044 8268 ldr r2, [r0, #8]
|
|
|
|
|
244 0046 8023 movs r3, #128
|
|
|
|
|
245 0048 1B02 lsls r3, r3, #8
|
|
|
|
|
246 004a 1343 orrs r3, r2
|
|
|
|
|
247 004c 8360 str r3, [r0, #8]
|
|
|
|
|
248 .LVL20:
|
|
|
|
|
249 .L12:
|
|
|
|
|
250 .LBE57:
|
|
|
|
|
251 .LBE56:
|
|
|
|
|
252 .LBB58:
|
|
|
|
|
253 .LBB59:
|
|
|
|
|
901:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
902:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
903:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
904:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Get the Timing Prescaler setting.
|
|
|
|
|
905:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMINGR PRESC LL_I2C_GetTimingPrescaler
|
|
|
|
|
906:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
907:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Value between Min_Data=0x0 and Max_Data=0xF
|
|
|
|
|
908:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
909:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_GetTimingPrescaler(I2C_TypeDef *I2Cx)
|
|
|
|
|
910:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
911:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (uint32_t)(READ_BIT(I2Cx->TIMINGR, I2C_TIMINGR_PRESC) >> I2C_TIMINGR_PRESC_Pos);
|
|
|
|
|
912:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
913:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
914:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
915:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Get the SCL low period setting.
|
|
|
|
|
916:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMINGR SCLL LL_I2C_GetClockLowPeriod
|
|
|
|
|
917:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
918:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFF
|
|
|
|
|
919:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
920:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_GetClockLowPeriod(I2C_TypeDef *I2Cx)
|
|
|
|
|
921:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
922:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (uint32_t)(READ_BIT(I2Cx->TIMINGR, I2C_TIMINGR_SCLL) >> I2C_TIMINGR_SCLL_Pos);
|
|
|
|
|
923:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
924:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
925:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
926:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Get the SCL high period setting.
|
|
|
|
|
927:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMINGR SCLH LL_I2C_GetClockHighPeriod
|
|
|
|
|
928:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
929:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFF
|
|
|
|
|
930:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
931:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_GetClockHighPeriod(I2C_TypeDef *I2Cx)
|
|
|
|
|
932:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 37
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
933:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (uint32_t)(READ_BIT(I2Cx->TIMINGR, I2C_TIMINGR_SCLH) >> I2C_TIMINGR_SCLH_Pos);
|
|
|
|
|
934:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
935:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
936:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
937:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Get the SDA hold time.
|
|
|
|
|
938:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMINGR SDADEL LL_I2C_GetDataHoldTime
|
|
|
|
|
939:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
940:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Value between Min_Data=0x0 and Max_Data=0xF
|
|
|
|
|
941:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
942:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_GetDataHoldTime(I2C_TypeDef *I2Cx)
|
|
|
|
|
943:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
944:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (uint32_t)(READ_BIT(I2Cx->TIMINGR, I2C_TIMINGR_SDADEL) >> I2C_TIMINGR_SDADEL_Pos);
|
|
|
|
|
945:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
946:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
947:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
948:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Get the SDA setup time.
|
|
|
|
|
949:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMINGR SCLDEL LL_I2C_GetDataSetupTime
|
|
|
|
|
950:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
951:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Value between Min_Data=0x0 and Max_Data=0xF
|
|
|
|
|
952:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
953:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_GetDataSetupTime(I2C_TypeDef *I2Cx)
|
|
|
|
|
954:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
955:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (uint32_t)(READ_BIT(I2Cx->TIMINGR, I2C_TIMINGR_SCLDEL) >> I2C_TIMINGR_SCLDEL_Pos);
|
|
|
|
|
956:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
957:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
958:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
959:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Configure peripheral mode.
|
|
|
|
|
960:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
961:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
962:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 SMBHEN LL_I2C_SetMode\n
|
|
|
|
|
963:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * CR1 SMBDEN LL_I2C_SetMode
|
|
|
|
|
964:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
965:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param PeripheralMode This parameter can be one of the following values:
|
|
|
|
|
966:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_MODE_I2C
|
|
|
|
|
967:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_MODE_SMBUS_HOST
|
|
|
|
|
968:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_MODE_SMBUS_DEVICE
|
|
|
|
|
969:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_MODE_SMBUS_DEVICE_ARP
|
|
|
|
|
970:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
971:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
972:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_SetMode(I2C_TypeDef *I2Cx, uint32_t PeripheralMode)
|
|
|
|
|
973:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
974:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** MODIFY_REG(I2Cx->CR1, I2C_CR1_SMBHEN | I2C_CR1_SMBDEN, PeripheralMode);
|
|
|
|
|
254 .loc 3 974 0
|
|
|
|
|
255 004e 0368 ldr r3, [r0]
|
|
|
|
|
256 0050 084A ldr r2, .L13+8
|
|
|
|
|
257 0052 1340 ands r3, r2
|
|
|
|
|
258 0054 0A68 ldr r2, [r1]
|
|
|
|
|
259 0056 1343 orrs r3, r2
|
|
|
|
|
260 0058 0360 str r3, [r0]
|
|
|
|
|
261 .LVL21:
|
|
|
|
|
262 .LBE59:
|
|
|
|
|
263 .LBE58:
|
|
|
|
|
198:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** {
|
|
|
|
|
199:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_I2C_EnableOwnAddress1(I2Cx);
|
|
|
|
|
200:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** }
|
|
|
|
|
201:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
202:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /*---------------------------- I2Cx MODE Configuration -----------------------
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 38
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * Configure I2Cx peripheral mode with parameter :
|
|
|
|
|
204:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * - PeripheralMode: I2C_CR1_SMBDEN and I2C_CR1_SMBHEN bits
|
|
|
|
|
205:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
206:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_I2C_SetMode(I2Cx, I2C_InitStruct->PeripheralMode);
|
|
|
|
|
207:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
208:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /*---------------------------- I2Cx CR2 Configuration ------------------------
|
|
|
|
|
209:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * Configure the ACKnowledge or Non ACKnowledge condition
|
|
|
|
|
210:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * after the address receive match code or next received byte with parameter :
|
|
|
|
|
211:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * - TypeAcknowledge: I2C_CR2_NACK bit
|
|
|
|
|
212:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
213:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** LL_I2C_AcknowledgeNextData(I2Cx, I2C_InitStruct->TypeAcknowledge);
|
|
|
|
|
264 .loc 1 213 0
|
|
|
|
|
265 005a 4B69 ldr r3, [r1, #20]
|
|
|
|
|
266 .LVL22:
|
|
|
|
|
267 .LBB60:
|
|
|
|
|
268 .LBB61:
|
|
|
|
|
975:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
976:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
977:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
978:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Get peripheral mode.
|
|
|
|
|
979:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
980:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
981:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 SMBHEN LL_I2C_GetMode\n
|
|
|
|
|
982:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * CR1 SMBDEN LL_I2C_GetMode
|
|
|
|
|
983:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
984:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
985:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_MODE_I2C
|
|
|
|
|
986:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_MODE_SMBUS_HOST
|
|
|
|
|
987:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_MODE_SMBUS_DEVICE
|
|
|
|
|
988:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_MODE_SMBUS_DEVICE_ARP
|
|
|
|
|
989:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
990:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_GetMode(I2C_TypeDef *I2Cx)
|
|
|
|
|
991:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
992:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (uint32_t)(READ_BIT(I2Cx->CR1, I2C_CR1_SMBHEN | I2C_CR1_SMBDEN));
|
|
|
|
|
993:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
994:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
995:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
996:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable SMBus alert (Host or Device mode)
|
|
|
|
|
997:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
998:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
999:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note SMBus Device mode:
|
|
|
|
|
1000:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * - SMBus Alert pin is drived low and
|
|
|
|
|
1001:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * Alert Response Address Header acknowledge is enabled.
|
|
|
|
|
1002:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus Host mode:
|
|
|
|
|
1003:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * - SMBus Alert pin management is supported.
|
|
|
|
|
1004:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 ALERTEN LL_I2C_EnableSMBusAlert
|
|
|
|
|
1005:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1006:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1007:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1008:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableSMBusAlert(I2C_TypeDef *I2Cx)
|
|
|
|
|
1009:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1010:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_ALERTEN);
|
|
|
|
|
1011:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1012:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1013:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1014:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable SMBus alert (Host or Device mode)
|
|
|
|
|
1015:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 39
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1016:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1017:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note SMBus Device mode:
|
|
|
|
|
1018:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * - SMBus Alert pin is not drived (can be used as a standard GPIO) and
|
|
|
|
|
1019:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * Alert Response Address Header acknowledge is disabled.
|
|
|
|
|
1020:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus Host mode:
|
|
|
|
|
1021:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * - SMBus Alert pin management is not supported.
|
|
|
|
|
1022:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 ALERTEN LL_I2C_DisableSMBusAlert
|
|
|
|
|
1023:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1024:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1025:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1026:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableSMBusAlert(I2C_TypeDef *I2Cx)
|
|
|
|
|
1027:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1028:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_ALERTEN);
|
|
|
|
|
1029:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1030:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1031:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1032:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if SMBus alert (Host or Device mode) is enabled or disabled.
|
|
|
|
|
1033:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1034:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1035:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 ALERTEN LL_I2C_IsEnabledSMBusAlert
|
|
|
|
|
1036:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1037:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1038:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1039:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledSMBusAlert(I2C_TypeDef *I2Cx)
|
|
|
|
|
1040:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1041:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_ALERTEN) == (I2C_CR1_ALERTEN));
|
|
|
|
|
1042:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1043:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1044:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1045:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable SMBus Packet Error Calculation (PEC).
|
|
|
|
|
1046:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1047:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1048:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 PECEN LL_I2C_EnableSMBusPEC
|
|
|
|
|
1049:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1050:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1051:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1052:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableSMBusPEC(I2C_TypeDef *I2Cx)
|
|
|
|
|
1053:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1054:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_PECEN);
|
|
|
|
|
1055:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1056:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1057:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1058:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable SMBus Packet Error Calculation (PEC).
|
|
|
|
|
1059:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1060:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1061:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 PECEN LL_I2C_DisableSMBusPEC
|
|
|
|
|
1062:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1063:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1064:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1065:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableSMBusPEC(I2C_TypeDef *I2Cx)
|
|
|
|
|
1066:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1067:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_PECEN);
|
|
|
|
|
1068:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1069:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1070:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1071:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if SMBus Packet Error Calculation (PEC) is enabled or disabled.
|
|
|
|
|
1072:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 40
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1073:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1074:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 PECEN LL_I2C_IsEnabledSMBusPEC
|
|
|
|
|
1075:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1076:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1077:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1078:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledSMBusPEC(I2C_TypeDef *I2Cx)
|
|
|
|
|
1079:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1080:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_PECEN) == (I2C_CR1_PECEN));
|
|
|
|
|
1081:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1082:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1083:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1084:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Configure the SMBus Clock Timeout.
|
|
|
|
|
1085:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1086:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1087:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note This configuration can only be programmed when associated Timeout is disabled (TimeoutA
|
|
|
|
|
1088:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMEOUTR TIMEOUTA LL_I2C_ConfigSMBusTimeout\n
|
|
|
|
|
1089:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * TIMEOUTR TIDLE LL_I2C_ConfigSMBusTimeout\n
|
|
|
|
|
1090:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * TIMEOUTR TIMEOUTB LL_I2C_ConfigSMBusTimeout
|
|
|
|
|
1091:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1092:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param TimeoutA This parameter must be a value between Min_Data=0 and Max_Data=0xFFF.
|
|
|
|
|
1093:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param TimeoutAMode This parameter can be one of the following values:
|
|
|
|
|
1094:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_TIMEOUTA_MODE_SCL_LOW
|
|
|
|
|
1095:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_TIMEOUTA_MODE_SDA_SCL_HIGH
|
|
|
|
|
1096:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param TimeoutB
|
|
|
|
|
1097:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1098:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1099:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_ConfigSMBusTimeout(I2C_TypeDef *I2Cx, uint32_t TimeoutA, uint32_t Timeo
|
|
|
|
|
1100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** uint32_t TimeoutB)
|
|
|
|
|
1101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** MODIFY_REG(I2Cx->TIMEOUTR, I2C_TIMEOUTR_TIMEOUTA | I2C_TIMEOUTR_TIDLE | I2C_TIMEOUTR_TIMEOUTB,
|
|
|
|
|
1103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** TimeoutA | TimeoutAMode | (TimeoutB << I2C_TIMEOUTR_TIMEOUTB_Pos));
|
|
|
|
|
1104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Configure the SMBus Clock TimeoutA (SCL low timeout or SCL and SDA high timeout depends
|
|
|
|
|
1108:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1109:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1110:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note These bits can only be programmed when TimeoutA is disabled.
|
|
|
|
|
1111:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMEOUTR TIMEOUTA LL_I2C_SetSMBusTimeoutA
|
|
|
|
|
1112:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1113:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param TimeoutA This parameter must be a value between Min_Data=0 and Max_Data=0xFFF.
|
|
|
|
|
1114:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1115:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1116:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_SetSMBusTimeoutA(I2C_TypeDef *I2Cx, uint32_t TimeoutA)
|
|
|
|
|
1117:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1118:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** WRITE_REG(I2Cx->TIMEOUTR, TimeoutA);
|
|
|
|
|
1119:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1120:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1121:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1122:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Get the SMBus Clock TimeoutA setting.
|
|
|
|
|
1123:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1124:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1125:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMEOUTR TIMEOUTA LL_I2C_GetSMBusTimeoutA
|
|
|
|
|
1126:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1127:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Value between Min_Data=0 and Max_Data=0xFFF
|
|
|
|
|
1128:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_GetSMBusTimeoutA(I2C_TypeDef *I2Cx)
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 41
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1130:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1131:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (uint32_t)(READ_BIT(I2Cx->TIMEOUTR, I2C_TIMEOUTR_TIMEOUTA));
|
|
|
|
|
1132:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1133:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1134:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1135:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Set the SMBus Clock TimeoutA mode.
|
|
|
|
|
1136:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1137:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1138:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note This bit can only be programmed when TimeoutA is disabled.
|
|
|
|
|
1139:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMEOUTR TIDLE LL_I2C_SetSMBusTimeoutAMode
|
|
|
|
|
1140:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1141:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param TimeoutAMode This parameter can be one of the following values:
|
|
|
|
|
1142:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_TIMEOUTA_MODE_SCL_LOW
|
|
|
|
|
1143:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_TIMEOUTA_MODE_SDA_SCL_HIGH
|
|
|
|
|
1144:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1145:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1146:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_SetSMBusTimeoutAMode(I2C_TypeDef *I2Cx, uint32_t TimeoutAMode)
|
|
|
|
|
1147:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1148:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** WRITE_REG(I2Cx->TIMEOUTR, TimeoutAMode);
|
|
|
|
|
1149:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1150:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1151:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1152:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Get the SMBus Clock TimeoutA mode.
|
|
|
|
|
1153:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1154:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1155:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMEOUTR TIDLE LL_I2C_GetSMBusTimeoutAMode
|
|
|
|
|
1156:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1157:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1158:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_TIMEOUTA_MODE_SCL_LOW
|
|
|
|
|
1159:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_TIMEOUTA_MODE_SDA_SCL_HIGH
|
|
|
|
|
1160:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1161:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_GetSMBusTimeoutAMode(I2C_TypeDef *I2Cx)
|
|
|
|
|
1162:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1163:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (uint32_t)(READ_BIT(I2Cx->TIMEOUTR, I2C_TIMEOUTR_TIDLE));
|
|
|
|
|
1164:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1165:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1166:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1167:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Configure the SMBus Extended Cumulative Clock TimeoutB (Master or Slave mode).
|
|
|
|
|
1168:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1169:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1170:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note These bits can only be programmed when TimeoutB is disabled.
|
|
|
|
|
1171:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMEOUTR TIMEOUTB LL_I2C_SetSMBusTimeoutB
|
|
|
|
|
1172:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1173:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param TimeoutB This parameter must be a value between Min_Data=0 and Max_Data=0xFFF.
|
|
|
|
|
1174:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1175:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1176:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_SetSMBusTimeoutB(I2C_TypeDef *I2Cx, uint32_t TimeoutB)
|
|
|
|
|
1177:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1178:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** WRITE_REG(I2Cx->TIMEOUTR, TimeoutB << I2C_TIMEOUTR_TIMEOUTB_Pos);
|
|
|
|
|
1179:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1180:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1181:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1182:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Get the SMBus Extented Cumulative Clock TimeoutB setting.
|
|
|
|
|
1183:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1184:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1185:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMEOUTR TIMEOUTB LL_I2C_GetSMBusTimeoutB
|
|
|
|
|
1186:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 42
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1187:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Value between Min_Data=0 and Max_Data=0xFFF
|
|
|
|
|
1188:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1189:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_GetSMBusTimeoutB(I2C_TypeDef *I2Cx)
|
|
|
|
|
1190:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1191:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (uint32_t)(READ_BIT(I2Cx->TIMEOUTR, I2C_TIMEOUTR_TIMEOUTB) >> I2C_TIMEOUTR_TIMEOUTB_Pos);
|
|
|
|
|
1192:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1193:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1194:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1195:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable the SMBus Clock Timeout.
|
|
|
|
|
1196:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1197:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1198:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMEOUTR TIMOUTEN LL_I2C_EnableSMBusTimeout\n
|
|
|
|
|
1199:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * TIMEOUTR TEXTEN LL_I2C_EnableSMBusTimeout
|
|
|
|
|
1200:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1201:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param ClockTimeout This parameter can be one of the following values:
|
|
|
|
|
1202:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_TIMEOUTA
|
|
|
|
|
1203:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_TIMEOUTB
|
|
|
|
|
1204:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_ALL_TIMEOUT
|
|
|
|
|
1205:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1206:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1207:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableSMBusTimeout(I2C_TypeDef *I2Cx, uint32_t ClockTimeout)
|
|
|
|
|
1208:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1209:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->TIMEOUTR, ClockTimeout);
|
|
|
|
|
1210:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1211:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1212:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1213:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable the SMBus Clock Timeout.
|
|
|
|
|
1214:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1215:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1216:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMEOUTR TIMOUTEN LL_I2C_DisableSMBusTimeout\n
|
|
|
|
|
1217:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * TIMEOUTR TEXTEN LL_I2C_DisableSMBusTimeout
|
|
|
|
|
1218:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1219:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param ClockTimeout This parameter can be one of the following values:
|
|
|
|
|
1220:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_TIMEOUTA
|
|
|
|
|
1221:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_TIMEOUTB
|
|
|
|
|
1222:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_ALL_TIMEOUT
|
|
|
|
|
1223:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1224:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1225:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableSMBusTimeout(I2C_TypeDef *I2Cx, uint32_t ClockTimeout)
|
|
|
|
|
1226:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1227:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->TIMEOUTR, ClockTimeout);
|
|
|
|
|
1228:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1229:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1230:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1231:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if the SMBus Clock Timeout is enabled or disabled.
|
|
|
|
|
1232:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1233:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1234:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll TIMEOUTR TIMOUTEN LL_I2C_IsEnabledSMBusTimeout\n
|
|
|
|
|
1235:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * TIMEOUTR TEXTEN LL_I2C_IsEnabledSMBusTimeout
|
|
|
|
|
1236:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1237:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param ClockTimeout This parameter can be one of the following values:
|
|
|
|
|
1238:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_TIMEOUTA
|
|
|
|
|
1239:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_TIMEOUTB
|
|
|
|
|
1240:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_SMBUS_ALL_TIMEOUT
|
|
|
|
|
1241:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1242:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1243:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledSMBusTimeout(I2C_TypeDef *I2Cx, uint32_t ClockTimeout)
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 43
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1244:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1245:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->TIMEOUTR, (I2C_TIMEOUTR_TIMOUTEN | I2C_TIMEOUTR_TEXTEN)) == (ClockTimeout)
|
|
|
|
|
1246:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1247:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1248:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1249:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
1250:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1251:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1252:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EF_IT_Management IT_Management
|
|
|
|
|
1253:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
1254:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1255:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1256:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1257:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable TXIS interrupt.
|
|
|
|
|
1258:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 TXIE LL_I2C_EnableIT_TX
|
|
|
|
|
1259:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1260:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1261:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1262:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableIT_TX(I2C_TypeDef *I2Cx)
|
|
|
|
|
1263:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1264:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_TXIE);
|
|
|
|
|
1265:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1266:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1267:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1268:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable TXIS interrupt.
|
|
|
|
|
1269:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 TXIE LL_I2C_DisableIT_TX
|
|
|
|
|
1270:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1271:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1272:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1273:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableIT_TX(I2C_TypeDef *I2Cx)
|
|
|
|
|
1274:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1275:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_TXIE);
|
|
|
|
|
1276:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1277:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1278:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1279:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if the TXIS Interrupt is enabled or disabled.
|
|
|
|
|
1280:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 TXIE LL_I2C_IsEnabledIT_TX
|
|
|
|
|
1281:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1282:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1283:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1284:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_TX(I2C_TypeDef *I2Cx)
|
|
|
|
|
1285:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1286:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_TXIE) == (I2C_CR1_TXIE));
|
|
|
|
|
1287:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1288:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1289:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1290:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable RXNE interrupt.
|
|
|
|
|
1291:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 RXIE LL_I2C_EnableIT_RX
|
|
|
|
|
1292:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1293:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1294:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1295:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableIT_RX(I2C_TypeDef *I2Cx)
|
|
|
|
|
1296:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1297:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_RXIE);
|
|
|
|
|
1298:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1299:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1300:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 44
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1301:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable RXNE interrupt.
|
|
|
|
|
1302:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 RXIE LL_I2C_DisableIT_RX
|
|
|
|
|
1303:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1304:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1305:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1306:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableIT_RX(I2C_TypeDef *I2Cx)
|
|
|
|
|
1307:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1308:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_RXIE);
|
|
|
|
|
1309:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1310:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1311:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1312:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if the RXNE Interrupt is enabled or disabled.
|
|
|
|
|
1313:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 RXIE LL_I2C_IsEnabledIT_RX
|
|
|
|
|
1314:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1315:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1316:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1317:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_RX(I2C_TypeDef *I2Cx)
|
|
|
|
|
1318:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1319:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_RXIE) == (I2C_CR1_RXIE));
|
|
|
|
|
1320:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1321:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1322:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1323:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable Address match interrupt (slave mode only).
|
|
|
|
|
1324:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 ADDRIE LL_I2C_EnableIT_ADDR
|
|
|
|
|
1325:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1326:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1327:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1328:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableIT_ADDR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1329:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1330:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_ADDRIE);
|
|
|
|
|
1331:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1332:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1333:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1334:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable Address match interrupt (slave mode only).
|
|
|
|
|
1335:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 ADDRIE LL_I2C_DisableIT_ADDR
|
|
|
|
|
1336:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1337:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1338:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1339:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableIT_ADDR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1340:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1341:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_ADDRIE);
|
|
|
|
|
1342:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1343:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1344:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1345:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if Address match interrupt is enabled or disabled.
|
|
|
|
|
1346:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 ADDRIE LL_I2C_IsEnabledIT_ADDR
|
|
|
|
|
1347:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1348:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1349:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1350:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_ADDR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1351:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1352:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_ADDRIE) == (I2C_CR1_ADDRIE));
|
|
|
|
|
1353:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1354:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1355:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1356:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable Not acknowledge received interrupt.
|
|
|
|
|
1357:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 NACKIE LL_I2C_EnableIT_NACK
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 45
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1358:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1359:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1360:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1361:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableIT_NACK(I2C_TypeDef *I2Cx)
|
|
|
|
|
1362:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1363:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_NACKIE);
|
|
|
|
|
1364:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1365:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1366:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1367:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable Not acknowledge received interrupt.
|
|
|
|
|
1368:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 NACKIE LL_I2C_DisableIT_NACK
|
|
|
|
|
1369:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1370:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1371:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1372:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableIT_NACK(I2C_TypeDef *I2Cx)
|
|
|
|
|
1373:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1374:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_NACKIE);
|
|
|
|
|
1375:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1376:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1377:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1378:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if Not acknowledge received interrupt is enabled or disabled.
|
|
|
|
|
1379:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 NACKIE LL_I2C_IsEnabledIT_NACK
|
|
|
|
|
1380:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1381:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1382:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1383:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_NACK(I2C_TypeDef *I2Cx)
|
|
|
|
|
1384:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1385:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_NACKIE) == (I2C_CR1_NACKIE));
|
|
|
|
|
1386:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1387:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1388:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1389:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable STOP detection interrupt.
|
|
|
|
|
1390:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 STOPIE LL_I2C_EnableIT_STOP
|
|
|
|
|
1391:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1393:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1394:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableIT_STOP(I2C_TypeDef *I2Cx)
|
|
|
|
|
1395:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1396:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_STOPIE);
|
|
|
|
|
1397:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1398:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1399:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1400:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable STOP detection interrupt.
|
|
|
|
|
1401:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 STOPIE LL_I2C_DisableIT_STOP
|
|
|
|
|
1402:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1403:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1404:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1405:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableIT_STOP(I2C_TypeDef *I2Cx)
|
|
|
|
|
1406:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_STOPIE);
|
|
|
|
|
1408:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1409:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1410:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1411:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if STOP detection interrupt is enabled or disabled.
|
|
|
|
|
1412:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 STOPIE LL_I2C_IsEnabledIT_STOP
|
|
|
|
|
1413:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1414:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 46
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1415:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1416:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_STOP(I2C_TypeDef *I2Cx)
|
|
|
|
|
1417:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1418:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_STOPIE) == (I2C_CR1_STOPIE));
|
|
|
|
|
1419:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1420:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1421:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1422:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable Transfer Complete interrupt.
|
|
|
|
|
1423:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Any of these events will generate interrupt :
|
|
|
|
|
1424:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * Transfer Complete (TC)
|
|
|
|
|
1425:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * Transfer Complete Reload (TCR)
|
|
|
|
|
1426:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 TCIE LL_I2C_EnableIT_TC
|
|
|
|
|
1427:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1428:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1429:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1430:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableIT_TC(I2C_TypeDef *I2Cx)
|
|
|
|
|
1431:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1432:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_TCIE);
|
|
|
|
|
1433:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1434:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1435:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1436:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable Transfer Complete interrupt.
|
|
|
|
|
1437:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Any of these events will generate interrupt :
|
|
|
|
|
1438:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * Transfer Complete (TC)
|
|
|
|
|
1439:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * Transfer Complete Reload (TCR)
|
|
|
|
|
1440:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 TCIE LL_I2C_DisableIT_TC
|
|
|
|
|
1441:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1442:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1443:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1444:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableIT_TC(I2C_TypeDef *I2Cx)
|
|
|
|
|
1445:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1446:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_TCIE);
|
|
|
|
|
1447:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1448:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1449:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1450:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if Transfer Complete interrupt is enabled or disabled.
|
|
|
|
|
1451:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 TCIE LL_I2C_IsEnabledIT_TC
|
|
|
|
|
1452:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1453:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1454:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1455:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_TC(I2C_TypeDef *I2Cx)
|
|
|
|
|
1456:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1457:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_TCIE) == (I2C_CR1_TCIE));
|
|
|
|
|
1458:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1459:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1460:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1461:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable Error interrupts.
|
|
|
|
|
1462:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1463:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1464:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Any of these errors will generate interrupt :
|
|
|
|
|
1465:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * Arbitration Loss (ARLO)
|
|
|
|
|
1466:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * Bus Error detection (BERR)
|
|
|
|
|
1467:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * Overrun/Underrun (OVR)
|
|
|
|
|
1468:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus Timeout detection (TIMEOUT)
|
|
|
|
|
1469:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus PEC error detection (PECERR)
|
|
|
|
|
1470:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus Alert pin event detection (ALERT)
|
|
|
|
|
1471:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 ERRIE LL_I2C_EnableIT_ERR
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 47
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1472:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1473:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1474:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1475:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableIT_ERR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1476:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1477:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR1, I2C_CR1_ERRIE);
|
|
|
|
|
1478:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1479:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1480:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1481:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable Error interrupts.
|
|
|
|
|
1482:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1483:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1484:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Any of these errors will generate interrupt :
|
|
|
|
|
1485:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * Arbitration Loss (ARLO)
|
|
|
|
|
1486:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * Bus Error detection (BERR)
|
|
|
|
|
1487:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * Overrun/Underrun (OVR)
|
|
|
|
|
1488:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus Timeout detection (TIMEOUT)
|
|
|
|
|
1489:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus PEC error detection (PECERR)
|
|
|
|
|
1490:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus Alert pin event detection (ALERT)
|
|
|
|
|
1491:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 ERRIE LL_I2C_DisableIT_ERR
|
|
|
|
|
1492:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1493:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1494:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1495:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableIT_ERR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1496:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1497:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR1, I2C_CR1_ERRIE);
|
|
|
|
|
1498:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1499:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1500:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1501:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if Error interrupts are enabled or disabled.
|
|
|
|
|
1502:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR1 ERRIE LL_I2C_IsEnabledIT_ERR
|
|
|
|
|
1503:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1504:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1505:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1506:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_ERR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1507:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1508:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR1, I2C_CR1_ERRIE) == (I2C_CR1_ERRIE));
|
|
|
|
|
1509:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1510:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1511:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1512:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
1513:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1514:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1515:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EF_FLAG_management FLAG_management
|
|
|
|
|
1516:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
1517:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1518:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1519:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1520:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of Transmit data register empty flag.
|
|
|
|
|
1521:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: When next data is written in Transmit data register.
|
|
|
|
|
1522:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When Transmit data register is empty.
|
|
|
|
|
1523:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR TXE LL_I2C_IsActiveFlag_TXE
|
|
|
|
|
1524:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1525:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1526:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1527:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_TXE(I2C_TypeDef *I2Cx)
|
|
|
|
|
1528:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 48
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1529:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_TXE) == (I2C_ISR_TXE));
|
|
|
|
|
1530:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1531:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1532:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1533:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of Transmit interrupt flag.
|
|
|
|
|
1534:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: When next data is written in Transmit data register.
|
|
|
|
|
1535:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When Transmit data register is empty.
|
|
|
|
|
1536:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR TXIS LL_I2C_IsActiveFlag_TXIS
|
|
|
|
|
1537:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1538:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1539:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1540:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_TXIS(I2C_TypeDef *I2Cx)
|
|
|
|
|
1541:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1542:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_TXIS) == (I2C_ISR_TXIS));
|
|
|
|
|
1543:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1544:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1545:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1546:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of Receive data register not empty flag.
|
|
|
|
|
1547:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: When Receive data register is read.
|
|
|
|
|
1548:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When the received data is copied in Receive data register.
|
|
|
|
|
1549:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR RXNE LL_I2C_IsActiveFlag_RXNE
|
|
|
|
|
1550:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1551:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1552:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1553:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_RXNE(I2C_TypeDef *I2Cx)
|
|
|
|
|
1554:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1555:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_RXNE) == (I2C_ISR_RXNE));
|
|
|
|
|
1556:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1557:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1558:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1559:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of Address matched flag (slave mode).
|
|
|
|
|
1560:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: Clear default value.
|
|
|
|
|
1561:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When the received slave address matched with one of the enabled slave address.
|
|
|
|
|
1562:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR ADDR LL_I2C_IsActiveFlag_ADDR
|
|
|
|
|
1563:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1564:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1565:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1566:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_ADDR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1567:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1568:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_ADDR) == (I2C_ISR_ADDR));
|
|
|
|
|
1569:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1570:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1571:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1572:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of Not Acknowledge received flag.
|
|
|
|
|
1573:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: Clear default value.
|
|
|
|
|
1574:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When a NACK is received after a byte transmission.
|
|
|
|
|
1575:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR NACKF LL_I2C_IsActiveFlag_NACK
|
|
|
|
|
1576:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1577:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1578:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1579:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_NACK(I2C_TypeDef *I2Cx)
|
|
|
|
|
1580:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1581:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_NACKF) == (I2C_ISR_NACKF));
|
|
|
|
|
1582:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1583:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1584:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1585:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of Stop detection flag.
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 49
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1586:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: Clear default value.
|
|
|
|
|
1587:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When a Stop condition is detected.
|
|
|
|
|
1588:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR STOPF LL_I2C_IsActiveFlag_STOP
|
|
|
|
|
1589:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1590:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1591:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1592:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_STOP(I2C_TypeDef *I2Cx)
|
|
|
|
|
1593:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1594:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_STOPF) == (I2C_ISR_STOPF));
|
|
|
|
|
1595:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1596:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1597:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1598:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of Transfer complete flag (master mode).
|
|
|
|
|
1599:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: Clear default value.
|
|
|
|
|
1600:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When RELOAD=0, AUTOEND=0 and NBYTES date have been transferred.
|
|
|
|
|
1601:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR TC LL_I2C_IsActiveFlag_TC
|
|
|
|
|
1602:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1603:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1604:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1605:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_TC(I2C_TypeDef *I2Cx)
|
|
|
|
|
1606:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1607:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_TC) == (I2C_ISR_TC));
|
|
|
|
|
1608:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1609:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1610:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1611:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of Transfer complete flag (master mode).
|
|
|
|
|
1612:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: Clear default value.
|
|
|
|
|
1613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When RELOAD=1 and NBYTES date have been transferred.
|
|
|
|
|
1614:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR TCR LL_I2C_IsActiveFlag_TCR
|
|
|
|
|
1615:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1616:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1617:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1618:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_TCR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1619:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1620:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_TCR) == (I2C_ISR_TCR));
|
|
|
|
|
1621:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1622:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1623:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1624:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of Bus error flag.
|
|
|
|
|
1625:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: Clear default value.
|
|
|
|
|
1626:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When a misplaced Start or Stop condition is detected.
|
|
|
|
|
1627:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR BERR LL_I2C_IsActiveFlag_BERR
|
|
|
|
|
1628:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1629:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1630:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1631:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_BERR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1632:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1633:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_BERR) == (I2C_ISR_BERR));
|
|
|
|
|
1634:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1635:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1636:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1637:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of Arbitration lost flag.
|
|
|
|
|
1638:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: Clear default value.
|
|
|
|
|
1639:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When arbitration lost.
|
|
|
|
|
1640:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR ARLO LL_I2C_IsActiveFlag_ARLO
|
|
|
|
|
1641:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1642:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 50
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1643:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1644:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_ARLO(I2C_TypeDef *I2Cx)
|
|
|
|
|
1645:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1646:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_ARLO) == (I2C_ISR_ARLO));
|
|
|
|
|
1647:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1648:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1649:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1650:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of Overrun/Underrun flag (slave mode).
|
|
|
|
|
1651:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: Clear default value.
|
|
|
|
|
1652:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When an overrun/underrun error occurs (Clock Stretching Disabled).
|
|
|
|
|
1653:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR OVR LL_I2C_IsActiveFlag_OVR
|
|
|
|
|
1654:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1655:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1656:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1657:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_OVR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1658:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1659:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_OVR) == (I2C_ISR_OVR));
|
|
|
|
|
1660:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1661:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1662:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1663:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of SMBus PEC error flag in reception.
|
|
|
|
|
1664:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1665:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1666:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: Clear default value.
|
|
|
|
|
1667:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When the received PEC does not match with the PEC register content.
|
|
|
|
|
1668:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR PECERR LL_I2C_IsActiveSMBusFlag_PECERR
|
|
|
|
|
1669:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1670:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1671:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1672:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveSMBusFlag_PECERR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1673:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1674:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_PECERR) == (I2C_ISR_PECERR));
|
|
|
|
|
1675:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1676:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1677:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1678:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of SMBus Timeout detection flag.
|
|
|
|
|
1679:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1680:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1681:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: Clear default value.
|
|
|
|
|
1682:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When a timeout or extended clock timeout occurs.
|
|
|
|
|
1683:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR TIMEOUT LL_I2C_IsActiveSMBusFlag_TIMEOUT
|
|
|
|
|
1684:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1685:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1686:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1687:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveSMBusFlag_TIMEOUT(I2C_TypeDef *I2Cx)
|
|
|
|
|
1688:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1689:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_TIMEOUT) == (I2C_ISR_TIMEOUT));
|
|
|
|
|
1690:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1691:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1692:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1693:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of SMBus alert flag.
|
|
|
|
|
1694:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1695:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1696:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: Clear default value.
|
|
|
|
|
1697:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When SMBus host configuration, SMBus alert enabled and
|
|
|
|
|
1698:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * a falling edge event occurs on SMBA pin.
|
|
|
|
|
1699:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR ALERT LL_I2C_IsActiveSMBusFlag_ALERT
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 51
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1700:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1701:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1702:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1703:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveSMBusFlag_ALERT(I2C_TypeDef *I2Cx)
|
|
|
|
|
1704:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1705:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_ALERT) == (I2C_ISR_ALERT));
|
|
|
|
|
1706:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1707:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1708:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1709:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Indicate the status of Bus Busy flag.
|
|
|
|
|
1710:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note RESET: Clear default value.
|
|
|
|
|
1711:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SET: When a Start condition is detected.
|
|
|
|
|
1712:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR BUSY LL_I2C_IsActiveFlag_BUSY
|
|
|
|
|
1713:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1714:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1715:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1716:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_BUSY(I2C_TypeDef *I2Cx)
|
|
|
|
|
1717:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1718:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->ISR, I2C_ISR_BUSY) == (I2C_ISR_BUSY));
|
|
|
|
|
1719:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1720:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1721:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1722:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Clear Address Matched flag.
|
|
|
|
|
1723:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ICR ADDRCF LL_I2C_ClearFlag_ADDR
|
|
|
|
|
1724:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1725:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1726:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1727:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_ClearFlag_ADDR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1728:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1729:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->ICR, I2C_ICR_ADDRCF);
|
|
|
|
|
1730:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1731:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1732:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1733:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Clear Not Acknowledge flag.
|
|
|
|
|
1734:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ICR NACKCF LL_I2C_ClearFlag_NACK
|
|
|
|
|
1735:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1736:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1737:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1738:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_ClearFlag_NACK(I2C_TypeDef *I2Cx)
|
|
|
|
|
1739:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1740:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->ICR, I2C_ICR_NACKCF);
|
|
|
|
|
1741:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1742:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1743:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1744:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Clear Stop detection flag.
|
|
|
|
|
1745:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ICR STOPCF LL_I2C_ClearFlag_STOP
|
|
|
|
|
1746:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1747:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1748:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1749:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_ClearFlag_STOP(I2C_TypeDef *I2Cx)
|
|
|
|
|
1750:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1751:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->ICR, I2C_ICR_STOPCF);
|
|
|
|
|
1752:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1753:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1754:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1755:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Clear Transmit data register empty flag (TXE).
|
|
|
|
|
1756:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note This bit can be clear by software in order to flush the transmit data register (TXDR).
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 52
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1757:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ISR TXE LL_I2C_ClearFlag_TXE
|
|
|
|
|
1758:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1759:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1760:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1761:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_ClearFlag_TXE(I2C_TypeDef *I2Cx)
|
|
|
|
|
1762:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1763:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** WRITE_REG(I2Cx->ISR, I2C_ISR_TXE);
|
|
|
|
|
1764:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1765:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1766:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1767:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Clear Bus error flag.
|
|
|
|
|
1768:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ICR BERRCF LL_I2C_ClearFlag_BERR
|
|
|
|
|
1769:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1770:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1771:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1772:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_ClearFlag_BERR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1773:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1774:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->ICR, I2C_ICR_BERRCF);
|
|
|
|
|
1775:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1776:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1777:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1778:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Clear Arbitration lost flag.
|
|
|
|
|
1779:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ICR ARLOCF LL_I2C_ClearFlag_ARLO
|
|
|
|
|
1780:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1781:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1782:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1783:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_ClearFlag_ARLO(I2C_TypeDef *I2Cx)
|
|
|
|
|
1784:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1785:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->ICR, I2C_ICR_ARLOCF);
|
|
|
|
|
1786:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1787:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1788:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1789:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Clear Overrun/Underrun flag.
|
|
|
|
|
1790:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ICR OVRCF LL_I2C_ClearFlag_OVR
|
|
|
|
|
1791:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1792:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1793:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1794:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_ClearFlag_OVR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1795:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1796:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->ICR, I2C_ICR_OVRCF);
|
|
|
|
|
1797:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1798:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1799:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1800:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Clear SMBus PEC error flag.
|
|
|
|
|
1801:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1802:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1803:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ICR PECCF LL_I2C_ClearSMBusFlag_PECERR
|
|
|
|
|
1804:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1805:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1806:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1807:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_ClearSMBusFlag_PECERR(I2C_TypeDef *I2Cx)
|
|
|
|
|
1808:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1809:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->ICR, I2C_ICR_PECCF);
|
|
|
|
|
1810:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1811:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1812:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1813:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Clear SMBus Timeout detection flag.
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 53
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1814:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1815:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1816:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ICR TIMOUTCF LL_I2C_ClearSMBusFlag_TIMEOUT
|
|
|
|
|
1817:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1818:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1819:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1820:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_ClearSMBusFlag_TIMEOUT(I2C_TypeDef *I2Cx)
|
|
|
|
|
1821:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1822:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->ICR, I2C_ICR_TIMOUTCF);
|
|
|
|
|
1823:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1824:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1825:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1826:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Clear SMBus Alert flag.
|
|
|
|
|
1827:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Macro @ref IS_SMBUS_INSTANCE(I2Cx) can be used to check whether or not
|
|
|
|
|
1828:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * SMBus feature is supported by the I2Cx Instance.
|
|
|
|
|
1829:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll ICR ALERTCF LL_I2C_ClearSMBusFlag_ALERT
|
|
|
|
|
1830:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1831:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1832:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1833:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_ClearSMBusFlag_ALERT(I2C_TypeDef *I2Cx)
|
|
|
|
|
1834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1835:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->ICR, I2C_ICR_ALERTCF);
|
|
|
|
|
1836:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1837:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1838:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1839:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @}
|
|
|
|
|
1840:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1841:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1842:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /** @defgroup I2C_LL_EF_Data_Management Data_Management
|
|
|
|
|
1843:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @{
|
|
|
|
|
1844:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1845:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1846:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1847:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable automatic STOP condition generation (master mode).
|
|
|
|
|
1848:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Automatic end mode : a STOP condition is automatically sent when NBYTES data are transf
|
|
|
|
|
1849:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * This bit has no effect in slave mode or when RELOAD bit is set.
|
|
|
|
|
1850:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR2 AUTOEND LL_I2C_EnableAutoEndMode
|
|
|
|
|
1851:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1852:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1853:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1854:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableAutoEndMode(I2C_TypeDef *I2Cx)
|
|
|
|
|
1855:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1856:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR2, I2C_CR2_AUTOEND);
|
|
|
|
|
1857:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1858:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1859:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1860:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable automatic STOP condition generation (master mode).
|
|
|
|
|
1861:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Software end mode : TC flag is set when NBYTES data are transferre, stretching SCL low.
|
|
|
|
|
1862:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR2 AUTOEND LL_I2C_DisableAutoEndMode
|
|
|
|
|
1863:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1864:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1865:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1866:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableAutoEndMode(I2C_TypeDef *I2Cx)
|
|
|
|
|
1867:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1868:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR2, I2C_CR2_AUTOEND);
|
|
|
|
|
1869:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1870:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 54
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1871:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1872:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if automatic STOP condition is enabled or disabled.
|
|
|
|
|
1873:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR2 AUTOEND LL_I2C_IsEnabledAutoEndMode
|
|
|
|
|
1874:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1875:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1876:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1877:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledAutoEndMode(I2C_TypeDef *I2Cx)
|
|
|
|
|
1878:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1879:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR2, I2C_CR2_AUTOEND) == (I2C_CR2_AUTOEND));
|
|
|
|
|
1880:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1881:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1882:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1883:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Enable reload mode (master mode).
|
|
|
|
|
1884:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note The transfer is not completed after the NBYTES data transfer, NBYTES will be reloaded w
|
|
|
|
|
1885:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR2 RELOAD LL_I2C_EnableReloadMode
|
|
|
|
|
1886:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1887:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1888:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1889:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_EnableReloadMode(I2C_TypeDef *I2Cx)
|
|
|
|
|
1890:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1891:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** SET_BIT(I2Cx->CR2, I2C_CR2_RELOAD);
|
|
|
|
|
1892:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1893:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1894:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1895:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Disable reload mode (master mode).
|
|
|
|
|
1896:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note The transfer is completed after the NBYTES data transfer(STOP or RESTART will follow).
|
|
|
|
|
1897:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR2 RELOAD LL_I2C_DisableReloadMode
|
|
|
|
|
1898:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1899:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1900:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1901:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_DisableReloadMode(I2C_TypeDef *I2Cx)
|
|
|
|
|
1902:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1903:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** CLEAR_BIT(I2Cx->CR2, I2C_CR2_RELOAD);
|
|
|
|
|
1904:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1905:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1906:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1907:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Check if reload mode is enabled or disabled.
|
|
|
|
|
1908:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR2 RELOAD LL_I2C_IsEnabledReloadMode
|
|
|
|
|
1909:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1910:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1911:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1912:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_IsEnabledReloadMode(I2C_TypeDef *I2Cx)
|
|
|
|
|
1913:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1914:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (READ_BIT(I2Cx->CR2, I2C_CR2_RELOAD) == (I2C_CR2_RELOAD));
|
|
|
|
|
1915:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1916:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1917:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1918:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Configure the number of bytes for transfer.
|
|
|
|
|
1919:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Changing these bits when START bit is set is not allowed.
|
|
|
|
|
1920:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR2 NBYTES LL_I2C_SetTransferSize
|
|
|
|
|
1921:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1922:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param TransferSize This parameter must be a value between Min_Data=0x00 and Max_Data=0xFF.
|
|
|
|
|
1923:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1924:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1925:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_SetTransferSize(I2C_TypeDef *I2Cx, uint32_t TransferSize)
|
|
|
|
|
1926:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1927:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** MODIFY_REG(I2Cx->CR2, I2C_CR2_NBYTES, TransferSize << I2C_CR2_NBYTES_Pos);
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 55
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1928:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1929:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1930:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1931:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Get the number of bytes configured for transfer.
|
|
|
|
|
1932:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR2 NBYTES LL_I2C_GetTransferSize
|
|
|
|
|
1933:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1934:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval Value between Min_Data=0x0 and Max_Data=0xFF
|
|
|
|
|
1935:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1936:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE uint32_t LL_I2C_GetTransferSize(I2C_TypeDef *I2Cx)
|
|
|
|
|
1937:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1938:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** return (uint32_t)(READ_BIT(I2Cx->CR2, I2C_CR2_NBYTES) >> I2C_CR2_NBYTES_Pos);
|
|
|
|
|
1939:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** }
|
|
|
|
|
1940:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h ****
|
|
|
|
|
1941:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** /**
|
|
|
|
|
1942:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @brief Prepare the generation of a ACKnowledge or Non ACKnowledge condition after the address
|
|
|
|
|
1943:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @note Usage in Slave mode only.
|
|
|
|
|
1944:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @rmtoll CR2 NACK LL_I2C_AcknowledgeNextData
|
|
|
|
|
1945:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param I2Cx I2C Instance.
|
|
|
|
|
1946:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @param TypeAcknowledge This parameter can be one of the following values:
|
|
|
|
|
1947:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_ACK
|
|
|
|
|
1948:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @arg @ref LL_I2C_NACK
|
|
|
|
|
1949:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** * @retval None
|
|
|
|
|
1950:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** */
|
|
|
|
|
1951:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** __STATIC_INLINE void LL_I2C_AcknowledgeNextData(I2C_TypeDef *I2Cx, uint32_t TypeAcknowledge)
|
|
|
|
|
1952:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** {
|
|
|
|
|
1953:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h **** MODIFY_REG(I2Cx->CR2, I2C_CR2_NACK, TypeAcknowledge);
|
|
|
|
|
269 .loc 3 1953 0
|
|
|
|
|
270 005c 4268 ldr r2, [r0, #4]
|
|
|
|
|
271 005e 0449 ldr r1, .L13+4
|
|
|
|
|
272 .LVL23:
|
|
|
|
|
273 0060 0A40 ands r2, r1
|
|
|
|
|
274 0062 1343 orrs r3, r2
|
|
|
|
|
275 .LVL24:
|
|
|
|
|
276 0064 4360 str r3, [r0, #4]
|
|
|
|
|
277 .LVL25:
|
|
|
|
|
278 .LBE61:
|
|
|
|
|
279 .LBE60:
|
|
|
|
|
214:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
215:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** return SUCCESS;
|
|
|
|
|
216:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** }
|
|
|
|
|
280 .loc 1 216 0
|
|
|
|
|
281 0066 0120 movs r0, #1
|
|
|
|
|
282 .LVL26:
|
|
|
|
|
283 @ sp needed
|
|
|
|
|
284 0068 30BD pop {r4, r5, pc}
|
|
|
|
|
285 .L14:
|
|
|
|
|
286 006a C046 .align 2
|
|
|
|
|
287 .L13:
|
|
|
|
|
288 006c FFE0FFFF .word -7937
|
|
|
|
|
289 0070 FF7FFFFF .word -32769
|
|
|
|
|
290 0074 FFFFCFFF .word -3145729
|
|
|
|
|
291 .cfi_endproc
|
|
|
|
|
292 .LFE202:
|
|
|
|
|
294 .section .text.LL_I2C_StructInit,"ax",%progbits
|
|
|
|
|
295 .align 1
|
|
|
|
|
296 .global LL_I2C_StructInit
|
|
|
|
|
297 .syntax unified
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 56
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
298 .code 16
|
|
|
|
|
299 .thumb_func
|
|
|
|
|
300 .fpu softvfp
|
|
|
|
|
302 LL_I2C_StructInit:
|
|
|
|
|
303 .LFB203:
|
|
|
|
|
217:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c ****
|
|
|
|
|
218:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /**
|
|
|
|
|
219:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @brief Set each @ref LL_I2C_InitTypeDef field to default value.
|
|
|
|
|
220:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @param I2C_InitStruct Pointer to a @ref LL_I2C_InitTypeDef structure.
|
|
|
|
|
221:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** * @retval None
|
|
|
|
|
222:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** */
|
|
|
|
|
223:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** void LL_I2C_StructInit(LL_I2C_InitTypeDef *I2C_InitStruct)
|
|
|
|
|
224:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** {
|
|
|
|
|
304 .loc 1 224 0
|
|
|
|
|
305 .cfi_startproc
|
|
|
|
|
306 @ args = 0, pretend = 0, frame = 0
|
|
|
|
|
307 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
|
|
308 @ link register save eliminated.
|
|
|
|
|
309 .LVL27:
|
|
|
|
|
225:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** /* Set I2C_InitStruct fields to default values */
|
|
|
|
|
226:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** I2C_InitStruct->PeripheralMode = LL_I2C_MODE_I2C;
|
|
|
|
|
310 .loc 1 226 0
|
|
|
|
|
311 0000 0023 movs r3, #0
|
|
|
|
|
312 0002 0360 str r3, [r0]
|
|
|
|
|
227:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** I2C_InitStruct->Timing = 0U;
|
|
|
|
|
313 .loc 1 227 0
|
|
|
|
|
314 0004 4360 str r3, [r0, #4]
|
|
|
|
|
228:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** I2C_InitStruct->AnalogFilter = LL_I2C_ANALOGFILTER_ENABLE;
|
|
|
|
|
315 .loc 1 228 0
|
|
|
|
|
316 0006 8360 str r3, [r0, #8]
|
|
|
|
|
229:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** I2C_InitStruct->DigitalFilter = 0U;
|
|
|
|
|
317 .loc 1 229 0
|
|
|
|
|
318 0008 C360 str r3, [r0, #12]
|
|
|
|
|
230:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** I2C_InitStruct->OwnAddress1 = 0U;
|
|
|
|
|
319 .loc 1 230 0
|
|
|
|
|
320 000a 0361 str r3, [r0, #16]
|
|
|
|
|
231:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** I2C_InitStruct->TypeAcknowledge = LL_I2C_NACK;
|
|
|
|
|
321 .loc 1 231 0
|
|
|
|
|
322 000c 8022 movs r2, #128
|
|
|
|
|
323 000e 1202 lsls r2, r2, #8
|
|
|
|
|
324 0010 4261 str r2, [r0, #20]
|
|
|
|
|
232:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** I2C_InitStruct->OwnAddrSize = LL_I2C_OWNADDRESS1_7BIT;
|
|
|
|
|
325 .loc 1 232 0
|
|
|
|
|
326 0012 8361 str r3, [r0, #24]
|
|
|
|
|
233:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c **** }
|
|
|
|
|
327 .loc 1 233 0
|
|
|
|
|
328 @ sp needed
|
|
|
|
|
329 0014 7047 bx lr
|
|
|
|
|
330 .cfi_endproc
|
|
|
|
|
331 .LFE203:
|
|
|
|
|
333 .text
|
|
|
|
|
334 .Letext0:
|
|
|
|
|
335 .file 4 "/usr/arm-none-eabi/include/machine/_default_types.h"
|
|
|
|
|
336 .file 5 "/usr/arm-none-eabi/include/sys/_stdint.h"
|
|
|
|
|
337 .file 6 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h"
|
|
|
|
|
338 .file 7 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h"
|
|
|
|
|
339 .file 8 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h"
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 57
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
340 .file 9 "/usr/arm-none-eabi/include/sys/lock.h"
|
|
|
|
|
341 .file 10 "/usr/arm-none-eabi/include/sys/_types.h"
|
|
|
|
|
342 .file 11 "/usr/lib/gcc/arm-none-eabi/7.2.0/include/stddef.h"
|
|
|
|
|
343 .file 12 "/usr/arm-none-eabi/include/sys/reent.h"
|
|
|
|
|
ARM GAS /tmp/ccUXNvYH.s page 58
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DEFINED SYMBOLS
|
|
|
|
|
*ABS*:0000000000000000 stm32l0xx_ll_i2c.c
|
|
|
|
|
/tmp/ccUXNvYH.s:16 .text.LL_I2C_DeInit:0000000000000000 $t
|
|
|
|
|
/tmp/ccUXNvYH.s:23 .text.LL_I2C_DeInit:0000000000000000 LL_I2C_DeInit
|
|
|
|
|
/tmp/ccUXNvYH.s:136 .text.LL_I2C_DeInit:0000000000000060 $d
|
|
|
|
|
/tmp/ccUXNvYH.s:147 .text.LL_I2C_Init:0000000000000000 $t
|
|
|
|
|
/tmp/ccUXNvYH.s:154 .text.LL_I2C_Init:0000000000000000 LL_I2C_Init
|
|
|
|
|
/tmp/ccUXNvYH.s:288 .text.LL_I2C_Init:000000000000006c $d
|
|
|
|
|
/tmp/ccUXNvYH.s:295 .text.LL_I2C_StructInit:0000000000000000 $t
|
|
|
|
|
/tmp/ccUXNvYH.s:302 .text.LL_I2C_StructInit:0000000000000000 LL_I2C_StructInit
|
|
|
|
|
.debug_frame:0000000000000010 $d
|
|
|
|
|
|
|
|
|
|
NO UNDEFINED SYMBOLS
|