diff options
Diffstat (limited to 'Blink/build/stm32f0xx_hal_i2c_ex.lst')
-rw-r--r-- | Blink/build/stm32f0xx_hal_i2c_ex.lst | 862 |
1 files changed, 0 insertions, 862 deletions
diff --git a/Blink/build/stm32f0xx_hal_i2c_ex.lst b/Blink/build/stm32f0xx_hal_i2c_ex.lst deleted file mode 100644 index 9653c92..0000000 --- a/Blink/build/stm32f0xx_hal_i2c_ex.lst +++ /dev/null @@ -1,862 +0,0 @@ -ARM GAS /tmp/ccTAwSRA.s page 1 - - - 1 .cpu cortex-m0 - 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 "stm32f0xx_hal_i2c_ex.c" - 12 .text - 13 .Ltext0: - 14 .cfi_sections .debug_frame - 15 .section .text.HAL_I2CEx_ConfigAnalogFilter,"ax",%progbits - 16 .align 1 - 17 .global HAL_I2CEx_ConfigAnalogFilter - 18 .syntax unified - 19 .code 16 - 20 .thumb_func - 21 .fpu softvfp - 23 HAL_I2CEx_ConfigAnalogFilter: - 24 .LFB40: - 25 .file 1 "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c" - 1:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /** - 2:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** ****************************************************************************** - 3:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @file stm32f0xx_hal_i2c_ex.c - 4:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @author MCD Application Team - 5:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @brief I2C Extended HAL module driver. - 6:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * This file provides firmware functions to manage the following - 7:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * functionalities of I2C Extended peripheral: - 8:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * + Extended features functions - 9:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * - 10:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** @verbatim - 11:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** ============================================================================== - 12:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** ##### I2C peripheral Extended features ##### - 13:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** ============================================================================== - 14:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 15:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** [..] Comparing to other previous devices, the I2C interface for STM32F0xx - 16:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** devices contains the following additional features - 17:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 18:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (+) Possibility to disable or enable Analog Noise Filter - 19:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (+) Use of a configured Digital Noise Filter - 20:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (+) Disable or enable wakeup from Stop mode(s) - 21:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (+) Disable or enable Fast Mode Plus - 22:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 23:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** ##### How to use this driver ##### - 24:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** ============================================================================== - 25:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** [..] This driver provides functions to configure Noise Filter and Wake Up Feature - 26:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (#) Configure I2C Analog noise filter using the function HAL_I2CEx_ConfigAnalogFilter() - 27:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (#) Configure I2C Digital noise filter using the function HAL_I2CEx_ConfigDigitalFilter() - 28:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (#) Configure the enable or disable of I2C Wake Up Mode using the functions : - 29:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (++) HAL_I2CEx_EnableWakeUp() - 30:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (++) HAL_I2CEx_DisableWakeUp() - 31:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (#) Configure the enable or disable of fast mode plus driving capability using the functions : - 32:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (++) HAL_I2CEx_EnableFastModePlus() - 33:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (++) HAL_I2CEx_DisableFastModePlus() -ARM GAS /tmp/ccTAwSRA.s page 2 - - - 34:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** @endverbatim - 35:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** ****************************************************************************** - 36:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @attention - 37:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * - 38:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * <h2><center>© Copyright (c) 2016 STMicroelectronics. - 39:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * All rights reserved.</center></h2> - 40:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * - 41:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * This software component is licensed by ST under BSD 3-Clause license, - 42:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * the "License"; You may not use this file except in compliance with the - 43:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * License. You may obtain a copy of the License at: - 44:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * opensource.org/licenses/BSD-3-Clause - 45:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * - 46:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** ****************************************************************************** - 47:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** */ - 48:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 49:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Includes ------------------------------------------------------------------*/ - 50:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** #include "stm32f0xx_hal.h" - 51:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 52:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /** @addtogroup STM32F0xx_HAL_Driver - 53:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @{ - 54:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** */ - 55:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 56:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /** @defgroup I2CEx I2CEx - 57:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @brief I2C Extended HAL module driver - 58:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @{ - 59:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** */ - 60:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 61:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** #ifdef HAL_I2C_MODULE_ENABLED - 62:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 63:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Private typedef -----------------------------------------------------------*/ - 64:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Private define ------------------------------------------------------------*/ - 65:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Private macro -------------------------------------------------------------*/ - 66:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Private variables ---------------------------------------------------------*/ - 67:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Private function prototypes -----------------------------------------------*/ - 68:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Private functions ---------------------------------------------------------*/ - 69:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 70:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /** @defgroup I2CEx_Exported_Functions I2C Extended Exported Functions - 71:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @{ - 72:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** */ - 73:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 74:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /** @defgroup I2CEx_Exported_Functions_Group1 Extended features functions - 75:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @brief Extended features functions - 76:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * - 77:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** @verbatim - 78:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** =============================================================================== - 79:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** ##### Extended features functions ##### - 80:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** =============================================================================== - 81:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** [..] This section provides functions allowing to: - 82:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (+) Configure Noise Filters - 83:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (+) Configure Wake Up Feature - 84:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** (+) Configure Fast Mode Plus - 85:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 86:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** @endverbatim - 87:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @{ - 88:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** */ - 89:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 90:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /** -ARM GAS /tmp/ccTAwSRA.s page 3 - - - 91:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @brief Configure I2C Analog noise filter. - 92:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains - 93:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * the configuration information for the specified I2Cx peripheral. - 94:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @param AnalogFilter New state of the Analog filter. - 95:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @retval HAL status - 96:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** */ - 97:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** HAL_StatusTypeDef HAL_I2CEx_ConfigAnalogFilter(I2C_HandleTypeDef *hi2c, uint32_t AnalogFilter) - 98:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** { - 26 .loc 1 98 0 - 27 .cfi_startproc - 28 @ args = 0, pretend = 0, frame = 0 - 29 @ frame_needed = 0, uses_anonymous_args = 0 - 30 .LVL0: - 31 0000 F0B5 push {r4, r5, r6, r7, lr} - 32 .LCFI0: - 33 .cfi_def_cfa_offset 20 - 34 .cfi_offset 4, -20 - 35 .cfi_offset 5, -16 - 36 .cfi_offset 6, -12 - 37 .cfi_offset 7, -8 - 38 .cfi_offset 14, -4 - 99:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Check the parameters */ - 100:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance)); - 101:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** assert_param(IS_I2C_ANALOG_FILTER(AnalogFilter)); - 102:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 103:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** if (hi2c->State == HAL_I2C_STATE_READY) - 39 .loc 1 103 0 - 40 0002 4123 movs r3, #65 - 41 0004 C35C ldrb r3, [r0, r3] - 42 0006 202B cmp r3, #32 - 43 0008 20D1 bne .L3 - 104:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** { - 105:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Process Locked */ - 106:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_LOCK(hi2c); - 44 .loc 1 106 0 - 45 000a 2033 adds r3, r3, #32 - 46 000c C35C ldrb r3, [r0, r3] - 47 000e 012B cmp r3, #1 - 48 0010 1ED0 beq .L4 - 49 .loc 1 106 0 is_stmt 0 discriminator 2 - 50 0012 4024 movs r4, #64 - 51 0014 0122 movs r2, #1 - 52 0016 0255 strb r2, [r0, r4] - 107:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 108:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** hi2c->State = HAL_I2C_STATE_BUSY; - 53 .loc 1 108 0 is_stmt 1 discriminator 2 - 54 0018 4125 movs r5, #65 - 55 001a 2423 movs r3, #36 - 56 001c 4355 strb r3, [r0, r5] - 109:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 110:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Disable the selected I2C peripheral */ - 111:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_I2C_DISABLE(hi2c); - 57 .loc 1 111 0 discriminator 2 - 58 001e 0668 ldr r6, [r0] - 59 0020 3368 ldr r3, [r6] - 60 0022 9343 bics r3, r2 - 61 0024 3360 str r3, [r6] -ARM GAS /tmp/ccTAwSRA.s page 4 - - - 112:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 113:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Reset I2Cx ANOFF bit */ - 114:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** hi2c->Instance->CR1 &= ~(I2C_CR1_ANFOFF); - 62 .loc 1 114 0 discriminator 2 - 63 0026 0668 ldr r6, [r0] - 64 0028 3368 ldr r3, [r6] - 65 002a 0A4F ldr r7, .L5 - 66 002c 3B40 ands r3, r7 - 67 002e 3360 str r3, [r6] - 115:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 116:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Set analog filter bit*/ - 117:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** hi2c->Instance->CR1 |= AnalogFilter; - 68 .loc 1 117 0 discriminator 2 - 69 0030 0668 ldr r6, [r0] - 70 0032 3368 ldr r3, [r6] - 71 0034 1943 orrs r1, r3 - 72 .LVL1: - 73 0036 3160 str r1, [r6] - 118:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 119:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_I2C_ENABLE(hi2c); - 74 .loc 1 119 0 discriminator 2 - 75 0038 0168 ldr r1, [r0] - 76 003a 0B68 ldr r3, [r1] - 77 003c 1343 orrs r3, r2 - 78 003e 0B60 str r3, [r1] - 120:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 121:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** hi2c->State = HAL_I2C_STATE_READY; - 79 .loc 1 121 0 discriminator 2 - 80 0040 2023 movs r3, #32 - 81 0042 4355 strb r3, [r0, r5] - 122:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 123:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Process Unlocked */ - 124:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_UNLOCK(hi2c); - 82 .loc 1 124 0 discriminator 2 - 83 0044 0023 movs r3, #0 - 84 0046 0355 strb r3, [r0, r4] - 125:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 126:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** return HAL_OK; - 85 .loc 1 126 0 discriminator 2 - 86 0048 0020 movs r0, #0 - 87 .LVL2: - 88 004a 00E0 b .L2 - 89 .LVL3: - 90 .L3: - 127:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** } - 128:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** else - 129:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** { - 130:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** return HAL_BUSY; - 91 .loc 1 130 0 - 92 004c 0220 movs r0, #2 - 93 .LVL4: - 94 .L2: - 131:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** } - 132:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** } - 95 .loc 1 132 0 - 96 @ sp needed - 97 004e F0BD pop {r4, r5, r6, r7, pc} -ARM GAS /tmp/ccTAwSRA.s page 5 - - - 98 .LVL5: - 99 .L4: - 106:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 100 .loc 1 106 0 - 101 0050 0220 movs r0, #2 - 102 .LVL6: - 103 0052 FCE7 b .L2 - 104 .L6: - 105 .align 2 - 106 .L5: - 107 0054 FFEFFFFF .word -4097 - 108 .cfi_endproc - 109 .LFE40: - 111 .section .text.HAL_I2CEx_ConfigDigitalFilter,"ax",%progbits - 112 .align 1 - 113 .global HAL_I2CEx_ConfigDigitalFilter - 114 .syntax unified - 115 .code 16 - 116 .thumb_func - 117 .fpu softvfp - 119 HAL_I2CEx_ConfigDigitalFilter: - 120 .LFB41: - 133:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 134:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /** - 135:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @brief Configure I2C Digital noise filter. - 136:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains - 137:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * the configuration information for the specified I2Cx peripheral. - 138:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @param DigitalFilter Coefficient of digital noise filter between Min_Data=0x00 and Max_Data=0x - 139:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @retval HAL status - 140:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** */ - 141:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** HAL_StatusTypeDef HAL_I2CEx_ConfigDigitalFilter(I2C_HandleTypeDef *hi2c, uint32_t DigitalFilter) - 142:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** { - 121 .loc 1 142 0 - 122 .cfi_startproc - 123 @ args = 0, pretend = 0, frame = 0 - 124 @ frame_needed = 0, uses_anonymous_args = 0 - 125 .LVL7: - 126 0000 F0B5 push {r4, r5, r6, r7, lr} - 127 .LCFI1: - 128 .cfi_def_cfa_offset 20 - 129 .cfi_offset 4, -20 - 130 .cfi_offset 5, -16 - 131 .cfi_offset 6, -12 - 132 .cfi_offset 7, -8 - 133 .cfi_offset 14, -4 - 143:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** uint32_t tmpreg; - 144:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 145:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Check the parameters */ - 146:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance)); - 147:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** assert_param(IS_I2C_DIGITAL_FILTER(DigitalFilter)); - 148:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 149:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** if (hi2c->State == HAL_I2C_STATE_READY) - 134 .loc 1 149 0 - 135 0002 4123 movs r3, #65 - 136 0004 C35C ldrb r3, [r0, r3] - 137 0006 202B cmp r3, #32 - 138 0008 1ED1 bne .L9 -ARM GAS /tmp/ccTAwSRA.s page 6 - - - 150:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** { - 151:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Process Locked */ - 152:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_LOCK(hi2c); - 139 .loc 1 152 0 - 140 000a 2033 adds r3, r3, #32 - 141 000c C35C ldrb r3, [r0, r3] - 142 000e 012B cmp r3, #1 - 143 0010 1CD0 beq .L10 - 144 .loc 1 152 0 is_stmt 0 discriminator 2 - 145 0012 4024 movs r4, #64 - 146 0014 0122 movs r2, #1 - 147 0016 0255 strb r2, [r0, r4] - 153:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 154:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** hi2c->State = HAL_I2C_STATE_BUSY; - 148 .loc 1 154 0 is_stmt 1 discriminator 2 - 149 0018 4125 movs r5, #65 - 150 001a 2423 movs r3, #36 - 151 001c 4355 strb r3, [r0, r5] - 155:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 156:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Disable the selected I2C peripheral */ - 157:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_I2C_DISABLE(hi2c); - 152 .loc 1 157 0 discriminator 2 - 153 001e 0668 ldr r6, [r0] - 154 0020 3368 ldr r3, [r6] - 155 0022 9343 bics r3, r2 - 156 0024 3360 str r3, [r6] - 158:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 159:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Get the old register value */ - 160:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** tmpreg = hi2c->Instance->CR1; - 157 .loc 1 160 0 discriminator 2 - 158 0026 0668 ldr r6, [r0] - 159 0028 3368 ldr r3, [r6] - 160 .LVL8: - 161:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 162:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Reset I2Cx DNF bits [11:8] */ - 163:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** tmpreg &= ~(I2C_CR1_DNF); - 161 .loc 1 163 0 discriminator 2 - 162 002a 094F ldr r7, .L11 - 163 002c 3B40 ands r3, r7 - 164 .LVL9: - 164:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 165:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Set I2Cx DNF coefficient */ - 166:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** tmpreg |= DigitalFilter << 8U; - 165 .loc 1 166 0 discriminator 2 - 166 002e 0902 lsls r1, r1, #8 - 167 .LVL10: - 168 0030 1943 orrs r1, r3 - 169 .LVL11: - 167:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 168:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Store the new register value */ - 169:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** hi2c->Instance->CR1 = tmpreg; - 170 .loc 1 169 0 discriminator 2 - 171 0032 3160 str r1, [r6] - 170:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 171:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_I2C_ENABLE(hi2c); - 172 .loc 1 171 0 discriminator 2 - 173 0034 0168 ldr r1, [r0] -ARM GAS /tmp/ccTAwSRA.s page 7 - - - 174 .LVL12: - 175 0036 0B68 ldr r3, [r1] - 176 0038 1343 orrs r3, r2 - 177 003a 0B60 str r3, [r1] - 178 .LVL13: - 172:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 173:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** hi2c->State = HAL_I2C_STATE_READY; - 179 .loc 1 173 0 discriminator 2 - 180 003c 2023 movs r3, #32 - 181 003e 4355 strb r3, [r0, r5] - 174:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 175:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Process Unlocked */ - 176:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_UNLOCK(hi2c); - 182 .loc 1 176 0 discriminator 2 - 183 0040 0023 movs r3, #0 - 184 0042 0355 strb r3, [r0, r4] - 177:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 178:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** return HAL_OK; - 185 .loc 1 178 0 discriminator 2 - 186 0044 0020 movs r0, #0 - 187 .LVL14: - 188 0046 00E0 b .L8 - 189 .LVL15: - 190 .L9: - 179:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** } - 180:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** else - 181:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** { - 182:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** return HAL_BUSY; - 191 .loc 1 182 0 - 192 0048 0220 movs r0, #2 - 193 .LVL16: - 194 .L8: - 183:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** } - 184:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** } - 195 .loc 1 184 0 - 196 @ sp needed - 197 004a F0BD pop {r4, r5, r6, r7, pc} - 198 .LVL17: - 199 .L10: - 152:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 200 .loc 1 152 0 - 201 004c 0220 movs r0, #2 - 202 .LVL18: - 203 004e FCE7 b .L8 - 204 .L12: - 205 .align 2 - 206 .L11: - 207 0050 FFF0FFFF .word -3841 - 208 .cfi_endproc - 209 .LFE41: - 211 .section .text.HAL_I2CEx_EnableWakeUp,"ax",%progbits - 212 .align 1 - 213 .global HAL_I2CEx_EnableWakeUp - 214 .syntax unified - 215 .code 16 - 216 .thumb_func - 217 .fpu softvfp -ARM GAS /tmp/ccTAwSRA.s page 8 - - - 219 HAL_I2CEx_EnableWakeUp: - 220 .LFB42: - 185:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** #if defined(I2C_CR1_WUPEN) - 186:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 187:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /** - 188:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @brief Enable I2C wakeup from Stop mode(s). - 189:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains - 190:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * the configuration information for the specified I2Cx peripheral. - 191:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @retval HAL status - 192:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** */ - 193:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** HAL_StatusTypeDef HAL_I2CEx_EnableWakeUp(I2C_HandleTypeDef *hi2c) - 194:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** { - 221 .loc 1 194 0 - 222 .cfi_startproc - 223 @ args = 0, pretend = 0, frame = 0 - 224 @ frame_needed = 0, uses_anonymous_args = 0 - 225 .LVL19: - 226 0000 70B5 push {r4, r5, r6, lr} - 227 .LCFI2: - 228 .cfi_def_cfa_offset 16 - 229 .cfi_offset 4, -16 - 230 .cfi_offset 5, -12 - 231 .cfi_offset 6, -8 - 232 .cfi_offset 14, -4 - 195:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Check the parameters */ - 196:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** assert_param(IS_I2C_WAKEUP_FROMSTOP_INSTANCE(hi2c->Instance)); - 197:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 198:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** if (hi2c->State == HAL_I2C_STATE_READY) - 233 .loc 1 198 0 - 234 0002 4123 movs r3, #65 - 235 0004 C35C ldrb r3, [r0, r3] - 236 0006 202B cmp r3, #32 - 237 0008 1DD1 bne .L15 - 199:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** { - 200:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Process Locked */ - 201:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_LOCK(hi2c); - 238 .loc 1 201 0 - 239 000a 2033 adds r3, r3, #32 - 240 000c C35C ldrb r3, [r0, r3] - 241 000e 012B cmp r3, #1 - 242 0010 1BD0 beq .L16 - 243 .loc 1 201 0 is_stmt 0 discriminator 2 - 244 0012 4021 movs r1, #64 - 245 0014 0122 movs r2, #1 - 246 0016 4254 strb r2, [r0, r1] - 202:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 203:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** hi2c->State = HAL_I2C_STATE_BUSY; - 247 .loc 1 203 0 is_stmt 1 discriminator 2 - 248 0018 4124 movs r4, #65 - 249 001a 2423 movs r3, #36 - 250 001c 0355 strb r3, [r0, r4] - 204:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 205:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Disable the selected I2C peripheral */ - 206:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_I2C_DISABLE(hi2c); - 251 .loc 1 206 0 discriminator 2 - 252 001e 0568 ldr r5, [r0] - 253 0020 2B68 ldr r3, [r5] -ARM GAS /tmp/ccTAwSRA.s page 9 - - - 254 0022 9343 bics r3, r2 - 255 0024 2B60 str r3, [r5] - 207:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 208:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Enable wakeup from stop mode */ - 209:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** hi2c->Instance->CR1 |= I2C_CR1_WUPEN; - 256 .loc 1 209 0 discriminator 2 - 257 0026 0568 ldr r5, [r0] - 258 0028 2E68 ldr r6, [r5] - 259 002a 8023 movs r3, #128 - 260 002c DB02 lsls r3, r3, #11 - 261 002e 3343 orrs r3, r6 - 262 0030 2B60 str r3, [r5] - 210:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 211:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_I2C_ENABLE(hi2c); - 263 .loc 1 211 0 discriminator 2 - 264 0032 0568 ldr r5, [r0] - 265 0034 2B68 ldr r3, [r5] - 266 0036 1343 orrs r3, r2 - 267 0038 2B60 str r3, [r5] - 212:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 213:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** hi2c->State = HAL_I2C_STATE_READY; - 268 .loc 1 213 0 discriminator 2 - 269 003a 2023 movs r3, #32 - 270 003c 0355 strb r3, [r0, r4] - 214:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 215:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Process Unlocked */ - 216:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_UNLOCK(hi2c); - 271 .loc 1 216 0 discriminator 2 - 272 003e 0023 movs r3, #0 - 273 0040 4354 strb r3, [r0, r1] - 217:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 218:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** return HAL_OK; - 274 .loc 1 218 0 discriminator 2 - 275 0042 0020 movs r0, #0 - 276 .LVL20: - 277 0044 00E0 b .L14 - 278 .LVL21: - 279 .L15: - 219:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** } - 220:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** else - 221:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** { - 222:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** return HAL_BUSY; - 280 .loc 1 222 0 - 281 0046 0220 movs r0, #2 - 282 .LVL22: - 283 .L14: - 223:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** } - 224:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** } - 284 .loc 1 224 0 - 285 @ sp needed - 286 0048 70BD pop {r4, r5, r6, pc} - 287 .LVL23: - 288 .L16: - 201:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 289 .loc 1 201 0 - 290 004a 0220 movs r0, #2 - 291 .LVL24: -ARM GAS /tmp/ccTAwSRA.s page 10 - - - 292 004c FCE7 b .L14 - 293 .cfi_endproc - 294 .LFE42: - 296 .section .text.HAL_I2CEx_DisableWakeUp,"ax",%progbits - 297 .align 1 - 298 .global HAL_I2CEx_DisableWakeUp - 299 .syntax unified - 300 .code 16 - 301 .thumb_func - 302 .fpu softvfp - 304 HAL_I2CEx_DisableWakeUp: - 305 .LFB43: - 225:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 226:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /** - 227:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @brief Disable I2C wakeup from Stop mode(s). - 228:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains - 229:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * the configuration information for the specified I2Cx peripheral. - 230:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @retval HAL status - 231:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** */ - 232:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** HAL_StatusTypeDef HAL_I2CEx_DisableWakeUp(I2C_HandleTypeDef *hi2c) - 233:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** { - 306 .loc 1 233 0 - 307 .cfi_startproc - 308 @ args = 0, pretend = 0, frame = 0 - 309 @ frame_needed = 0, uses_anonymous_args = 0 - 310 .LVL25: - 311 0000 70B5 push {r4, r5, r6, lr} - 312 .LCFI3: - 313 .cfi_def_cfa_offset 16 - 314 .cfi_offset 4, -16 - 315 .cfi_offset 5, -12 - 316 .cfi_offset 6, -8 - 317 .cfi_offset 14, -4 - 234:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Check the parameters */ - 235:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** assert_param(IS_I2C_WAKEUP_FROMSTOP_INSTANCE(hi2c->Instance)); - 236:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 237:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** if (hi2c->State == HAL_I2C_STATE_READY) - 318 .loc 1 237 0 - 319 0002 4123 movs r3, #65 - 320 0004 C35C ldrb r3, [r0, r3] - 321 0006 202B cmp r3, #32 - 322 0008 1CD1 bne .L19 - 238:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** { - 239:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Process Locked */ - 240:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_LOCK(hi2c); - 323 .loc 1 240 0 - 324 000a 2033 adds r3, r3, #32 - 325 000c C35C ldrb r3, [r0, r3] - 326 000e 012B cmp r3, #1 - 327 0010 1AD0 beq .L20 - 328 .loc 1 240 0 is_stmt 0 discriminator 2 - 329 0012 4021 movs r1, #64 - 330 0014 0122 movs r2, #1 - 331 0016 4254 strb r2, [r0, r1] - 241:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 242:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** hi2c->State = HAL_I2C_STATE_BUSY; - 332 .loc 1 242 0 is_stmt 1 discriminator 2 -ARM GAS /tmp/ccTAwSRA.s page 11 - - - 333 0018 4124 movs r4, #65 - 334 001a 2423 movs r3, #36 - 335 001c 0355 strb r3, [r0, r4] - 243:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 244:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Disable the selected I2C peripheral */ - 245:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_I2C_DISABLE(hi2c); - 336 .loc 1 245 0 discriminator 2 - 337 001e 0568 ldr r5, [r0] - 338 0020 2B68 ldr r3, [r5] - 339 0022 9343 bics r3, r2 - 340 0024 2B60 str r3, [r5] - 246:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 247:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Enable wakeup from stop mode */ - 248:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** hi2c->Instance->CR1 &= ~(I2C_CR1_WUPEN); - 341 .loc 1 248 0 discriminator 2 - 342 0026 0568 ldr r5, [r0] - 343 0028 2B68 ldr r3, [r5] - 344 002a 084E ldr r6, .L21 - 345 002c 3340 ands r3, r6 - 346 002e 2B60 str r3, [r5] - 249:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 250:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_I2C_ENABLE(hi2c); - 347 .loc 1 250 0 discriminator 2 - 348 0030 0568 ldr r5, [r0] - 349 0032 2B68 ldr r3, [r5] - 350 0034 1343 orrs r3, r2 - 351 0036 2B60 str r3, [r5] - 251:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 252:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** hi2c->State = HAL_I2C_STATE_READY; - 352 .loc 1 252 0 discriminator 2 - 353 0038 2023 movs r3, #32 - 354 003a 0355 strb r3, [r0, r4] - 253:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 254:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Process Unlocked */ - 255:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_UNLOCK(hi2c); - 355 .loc 1 255 0 discriminator 2 - 356 003c 0023 movs r3, #0 - 357 003e 4354 strb r3, [r0, r1] - 256:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 257:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** return HAL_OK; - 358 .loc 1 257 0 discriminator 2 - 359 0040 0020 movs r0, #0 - 360 .LVL26: - 361 0042 00E0 b .L18 - 362 .LVL27: - 363 .L19: - 258:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** } - 259:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** else - 260:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** { - 261:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** return HAL_BUSY; - 364 .loc 1 261 0 - 365 0044 0220 movs r0, #2 - 366 .LVL28: - 367 .L18: - 262:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** } - 263:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** } - 368 .loc 1 263 0 -ARM GAS /tmp/ccTAwSRA.s page 12 - - - 369 @ sp needed - 370 0046 70BD pop {r4, r5, r6, pc} - 371 .LVL29: - 372 .L20: - 240:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 373 .loc 1 240 0 - 374 0048 0220 movs r0, #2 - 375 .LVL30: - 376 004a FCE7 b .L18 - 377 .L22: - 378 .align 2 - 379 .L21: - 380 004c FFFFFBFF .word -262145 - 381 .cfi_endproc - 382 .LFE43: - 384 .section .text.HAL_I2CEx_EnableFastModePlus,"ax",%progbits - 385 .align 1 - 386 .global HAL_I2CEx_EnableFastModePlus - 387 .syntax unified - 388 .code 16 - 389 .thumb_func - 390 .fpu softvfp - 392 HAL_I2CEx_EnableFastModePlus: - 393 .LFB44: - 264:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** #endif - 265:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 266:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /** - 267:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @brief Enable the I2C fast mode plus driving capability. - 268:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @param ConfigFastModePlus Selects the pin. - 269:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * This parameter can be one of the @ref I2CEx_FastModePlus values - 270:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @note For I2C1, fast mode plus driving capability can be enabled on all selected - 271:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * I2C1 pins using I2C_FASTMODEPLUS_I2C1 parameter or independently - 272:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * on each one of the following pins PB6, PB7, PB8 and PB9. - 273:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @note For remaining I2C1 pins (PA14, PA15...) fast mode plus driving capability - 274:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * can be enabled only by using I2C_FASTMODEPLUS_I2C1 parameter. - 275:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @note For all I2C2 pins fast mode plus driving capability can be enabled - 276:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * only by using I2C_FASTMODEPLUS_I2C2 parameter. - 277:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @retval None - 278:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** */ - 279:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** void HAL_I2CEx_EnableFastModePlus(uint32_t ConfigFastModePlus) - 280:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** { - 394 .loc 1 280 0 - 395 .cfi_startproc - 396 @ args = 0, pretend = 0, frame = 8 - 397 @ frame_needed = 0, uses_anonymous_args = 0 - 398 @ link register save eliminated. - 399 .LVL31: - 400 0000 82B0 sub sp, sp, #8 - 401 .LCFI4: - 402 .cfi_def_cfa_offset 8 - 403 .LBB2: - 281:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Check the parameter */ - 282:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** assert_param(IS_I2C_FASTMODEPLUS(ConfigFastModePlus)); - 283:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 284:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Enable SYSCFG clock */ - 285:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_RCC_SYSCFG_CLK_ENABLE(); - 404 .loc 1 285 0 -ARM GAS /tmp/ccTAwSRA.s page 13 - - - 405 0002 074A ldr r2, .L24 - 406 0004 9169 ldr r1, [r2, #24] - 407 0006 0123 movs r3, #1 - 408 0008 1943 orrs r1, r3 - 409 000a 9161 str r1, [r2, #24] - 410 000c 9269 ldr r2, [r2, #24] - 411 000e 1340 ands r3, r2 - 412 0010 0193 str r3, [sp, #4] - 413 0012 019B ldr r3, [sp, #4] - 414 .LBE2: - 286:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 287:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Enable fast mode plus driving capability for selected pin */ - 288:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** SET_BIT(SYSCFG->CFGR1, (uint32_t)ConfigFastModePlus); - 415 .loc 1 288 0 - 416 0014 034A ldr r2, .L24+4 - 417 0016 1368 ldr r3, [r2] - 418 0018 1843 orrs r0, r3 - 419 .LVL32: - 420 001a 1060 str r0, [r2] - 289:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** } - 421 .loc 1 289 0 - 422 001c 02B0 add sp, sp, #8 - 423 @ sp needed - 424 001e 7047 bx lr - 425 .L25: - 426 .align 2 - 427 .L24: - 428 0020 00100240 .word 1073876992 - 429 0024 00000140 .word 1073807360 - 430 .cfi_endproc - 431 .LFE44: - 433 .section .text.HAL_I2CEx_DisableFastModePlus,"ax",%progbits - 434 .align 1 - 435 .global HAL_I2CEx_DisableFastModePlus - 436 .syntax unified - 437 .code 16 - 438 .thumb_func - 439 .fpu softvfp - 441 HAL_I2CEx_DisableFastModePlus: - 442 .LFB45: - 290:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 291:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /** - 292:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @brief Disable the I2C fast mode plus driving capability. - 293:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @param ConfigFastModePlus Selects the pin. - 294:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * This parameter can be one of the @ref I2CEx_FastModePlus values - 295:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @note For I2C1, fast mode plus driving capability can be disabled on all selected - 296:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * I2C1 pins using I2C_FASTMODEPLUS_I2C1 parameter or independently - 297:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * on each one of the following pins PB6, PB7, PB8 and PB9. - 298:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @note For remaining I2C1 pins (PA14, PA15...) fast mode plus driving capability - 299:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * can be disabled only by using I2C_FASTMODEPLUS_I2C1 parameter. - 300:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @note For all I2C2 pins fast mode plus driving capability can be disabled - 301:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * only by using I2C_FASTMODEPLUS_I2C2 parameter. - 302:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** * @retval None - 303:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** */ - 304:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** void HAL_I2CEx_DisableFastModePlus(uint32_t ConfigFastModePlus) - 305:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** { - 443 .loc 1 305 0 -ARM GAS /tmp/ccTAwSRA.s page 14 - - - 444 .cfi_startproc - 445 @ args = 0, pretend = 0, frame = 8 - 446 @ frame_needed = 0, uses_anonymous_args = 0 - 447 @ link register save eliminated. - 448 .LVL33: - 449 0000 82B0 sub sp, sp, #8 - 450 .LCFI5: - 451 .cfi_def_cfa_offset 8 - 452 .LBB3: - 306:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Check the parameter */ - 307:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** assert_param(IS_I2C_FASTMODEPLUS(ConfigFastModePlus)); - 308:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 309:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Enable SYSCFG clock */ - 310:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** __HAL_RCC_SYSCFG_CLK_ENABLE(); - 453 .loc 1 310 0 - 454 0002 074A ldr r2, .L27 - 455 0004 9169 ldr r1, [r2, #24] - 456 0006 0123 movs r3, #1 - 457 0008 1943 orrs r1, r3 - 458 000a 9161 str r1, [r2, #24] - 459 000c 9269 ldr r2, [r2, #24] - 460 000e 1340 ands r3, r2 - 461 0010 0193 str r3, [sp, #4] - 462 0012 019B ldr r3, [sp, #4] - 463 .LBE3: - 311:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** - 312:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** /* Disable fast mode plus driving capability for selected pin */ - 313:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** CLEAR_BIT(SYSCFG->CFGR1, (uint32_t)ConfigFastModePlus); - 464 .loc 1 313 0 - 465 0014 034A ldr r2, .L27+4 - 466 0016 1368 ldr r3, [r2] - 467 0018 8343 bics r3, r0 - 468 001a 1360 str r3, [r2] - 314:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c **** } - 469 .loc 1 314 0 - 470 001c 02B0 add sp, sp, #8 - 471 @ sp needed - 472 001e 7047 bx lr - 473 .L28: - 474 .align 2 - 475 .L27: - 476 0020 00100240 .word 1073876992 - 477 0024 00000140 .word 1073807360 - 478 .cfi_endproc - 479 .LFE45: - 481 .text - 482 .Letext0: - 483 .file 2 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/machin - 484 .file 3 "/home/janhenrik/programme/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/include/sys/_s - 485 .file 4 "Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h" - 486 .file 5 "Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f072xb.h" - 487 .file 6 "Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h" - 488 .file 7 "Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h" - 489 .file 8 "Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h" - 490 .file 9 "Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h" -ARM GAS /tmp/ccTAwSRA.s page 15 - - -DEFINED SYMBOLS - *ABS*:0000000000000000 stm32f0xx_hal_i2c_ex.c - /tmp/ccTAwSRA.s:16 .text.HAL_I2CEx_ConfigAnalogFilter:0000000000000000 $t - /tmp/ccTAwSRA.s:23 .text.HAL_I2CEx_ConfigAnalogFilter:0000000000000000 HAL_I2CEx_ConfigAnalogFilter - /tmp/ccTAwSRA.s:107 .text.HAL_I2CEx_ConfigAnalogFilter:0000000000000054 $d - /tmp/ccTAwSRA.s:112 .text.HAL_I2CEx_ConfigDigitalFilter:0000000000000000 $t - /tmp/ccTAwSRA.s:119 .text.HAL_I2CEx_ConfigDigitalFilter:0000000000000000 HAL_I2CEx_ConfigDigitalFilter - /tmp/ccTAwSRA.s:207 .text.HAL_I2CEx_ConfigDigitalFilter:0000000000000050 $d - /tmp/ccTAwSRA.s:212 .text.HAL_I2CEx_EnableWakeUp:0000000000000000 $t - /tmp/ccTAwSRA.s:219 .text.HAL_I2CEx_EnableWakeUp:0000000000000000 HAL_I2CEx_EnableWakeUp - /tmp/ccTAwSRA.s:297 .text.HAL_I2CEx_DisableWakeUp:0000000000000000 $t - /tmp/ccTAwSRA.s:304 .text.HAL_I2CEx_DisableWakeUp:0000000000000000 HAL_I2CEx_DisableWakeUp - /tmp/ccTAwSRA.s:380 .text.HAL_I2CEx_DisableWakeUp:000000000000004c $d - /tmp/ccTAwSRA.s:385 .text.HAL_I2CEx_EnableFastModePlus:0000000000000000 $t - /tmp/ccTAwSRA.s:392 .text.HAL_I2CEx_EnableFastModePlus:0000000000000000 HAL_I2CEx_EnableFastModePlus - /tmp/ccTAwSRA.s:428 .text.HAL_I2CEx_EnableFastModePlus:0000000000000020 $d - /tmp/ccTAwSRA.s:434 .text.HAL_I2CEx_DisableFastModePlus:0000000000000000 $t - /tmp/ccTAwSRA.s:441 .text.HAL_I2CEx_DisableFastModePlus:0000000000000000 HAL_I2CEx_DisableFastModePlus - /tmp/ccTAwSRA.s:476 .text.HAL_I2CEx_DisableFastModePlus:0000000000000020 $d - -NO UNDEFINED SYMBOLS |