ARM GAS /tmp/ccYJZGyl.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_hal.c"
12 .text
13 .Ltext0:
14 .cfi_sections .debug_frame
15 .section .text.HAL_MspInit,"ax",%progbits
16 .align 1
17 .weak HAL_MspInit
18 .syntax unified
19 .code 16
20 .thumb_func
21 .fpu softvfp
23 HAL_MspInit:
24 .LFB41:
25 .file 1 "./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c"
1:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
2:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** ******************************************************************************
3:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @file stm32l0xx_hal.c
4:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @author MCD Application Team
5:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief HAL module driver.
6:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * This is the common part of the HAL initialization
7:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** *
8:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** @verbatim
9:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** ==============================================================================
10:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** ##### How to use this driver #####
11:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** ==============================================================================
12:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** [..]
13:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** The common HAL driver contains a set of generic and common APIs that can be
14:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** used by the PPP peripheral drivers and the user to start using the HAL.
15:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** [..]
16:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** The HAL contains two APIs categories:
17:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (+) Common HAL APIs
18:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (+) Services HAL APIs
19:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
20:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** @endverbatim
21:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** ******************************************************************************
22:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @attention
23:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** *
24:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** *
© COPYRIGHT(c) 2016 STMicroelectronics
25:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** *
26:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * Redistribution and use in source and binary forms, with or without modification,
27:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * are permitted provided that the following conditions are met:
28:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * 1. Redistributions of source code must retain the above copyright notice,
29:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * this list of conditions and the following disclaimer.
30:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * 2. Redistributions in binary form must reproduce the above copyright notice,
31:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * this list of conditions and the following disclaimer in the documentation
32:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * and/or other materials provided with the distribution.
33:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * 3. Neither the name of STMicroelectronics nor the names of its contributors
ARM GAS /tmp/ccYJZGyl.s page 2
34:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * may be used to endorse or promote products derived from this software
35:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * without specific prior written permission.
36:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** *
37:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
38:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
39:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
40:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
41:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
42:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
43:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
44:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
45:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
46:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
47:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** *
48:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** ******************************************************************************
49:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
50:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
51:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Includes ------------------------------------------------------------------*/
52:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #include "stm32l0xx_hal.h"
53:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
54:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /** @addtogroup STM32L0xx_HAL_Driver
55:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @{
56:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
57:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
58:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #ifdef HAL_MODULE_ENABLED
59:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
60:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /** @addtogroup HAL
61:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief HAL module driver.
62:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @{
63:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
64:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
65:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /** @addtogroup HAL_Exported_Constants
66:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @{
67:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
68:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
69:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
70:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /** @defgroup SysTick System Tick
71:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @{
72:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
73:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
74:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief uwTick_variable uwTick variable
75:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
76:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __IO uint32_t uwTick;
77:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
78:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
79:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @}
80:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
81:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
82:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /** @defgroup HAL_Version HAL Version
83:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @{
84:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
85:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
86:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
87:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief STM32L0xx HAL Driver version number
88:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
89:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #define __STM32L0xx_HAL_VERSION_MAIN (0x01U) /*!< [31:24] main version */
90:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #define __STM32L0xx_HAL_VERSION_SUB1 (0x08U) /*!< [23:16] sub1 version */
ARM GAS /tmp/ccYJZGyl.s page 3
91:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #define __STM32L0xx_HAL_VERSION_SUB2 (0x02U) /*!< [15:8] sub2 version */
92:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #define __STM32L0xx_HAL_VERSION_RC (0x00U) /*!< [7:0] release candidate */
93:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #define __STM32L0xx_HAL_VERSION ((__STM32L0xx_HAL_VERSION_MAIN << 24U)\
94:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** |(__STM32L0xx_HAL_VERSION_SUB1 << 16U)\
95:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** |(__STM32L0xx_HAL_VERSION_SUB2 << 8U )\
96:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** |(__STM32L0xx_HAL_VERSION_RC))
97:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
98:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #define IDCODE_DEVID_MASK ((uint32_t)0x00000FFFU)
99:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
100:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
101:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @}
102:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
103:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
104:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @}
106:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
107:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /** @defgroup HAL_Private HAL Private
108:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @{
109:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
110:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
111:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
112:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
113:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @}
114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
115:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
116:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /** @addtogroup HAL_Exported_Functions HAL Exported Functions
117:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @{
118:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
119:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
120:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /** @addtogroup HAL_Exported_Functions_Group1
121:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Initialization and de-initialization functions
122:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** *
123:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** @verbatim
124:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** ===============================================================================
125:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** ##### Initialization and de-initialization functions #####
126:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** ===============================================================================
127:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** [..] This section provides functions allowing to:
128:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (+) Initializes the Flash interface, the NVIC allocation and initial clock
129:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** configuration. It initializes the source of time base also when timeout
130:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** is needed and the backup domain when enabled.
131:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (+) de-Initializes common part of the HAL.
132:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (+) Configure The time base source to have 1ms time base with a dedicated
133:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** Tick interrupt priority.
134:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (++) Systick timer is used by default as source of time base, but user
135:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** can eventually implement his proper time base source (a general purpose
136:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** timer for example or other time source), keeping in mind that Time base
137:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** duration should be kept 1ms since PPP_TIMEOUT_VALUEs are defined and
138:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** handled in milliseconds basis.
139:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (++) Time base configuration function (HAL_InitTick ()) is called automatically
140:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** at the beginning of the program after reset by HAL_Init() or at any time
141:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** when clock is configured, by HAL_RCC_ClockConfig().
142:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (++) Source of time base is configured to generate interrupts at regular
143:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** time intervals. Care must be taken if HAL_Delay() is called from a
144:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** peripheral ISR process, the Tick interrupt line must have higher priority
145:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (numerically lower) than the peripheral interrupt. Otherwise the caller
146:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** ISR process will be blocked.
147:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (++) functions affecting time base configurations are declared as __weak
ARM GAS /tmp/ccYJZGyl.s page 4
148:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** to make override possible in case of other implementations in user file.
149:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
150:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** @endverbatim
151:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @{
152:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
153:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
154:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
155:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief This function configures the Flash prefetch, Flash preread and Buffer cache,
156:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * Configures time base source, NVIC and Low level hardware
157:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @note This function is called at the beginning of program after reset and before
158:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * the clock configuration
159:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @note The time base configuration is based on MSI clock when exiting from Reset.
160:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * Once done, time base tick start incrementing.
161:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * In the default implementation,Systick is used as source of time base.
162:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * the tick variable is incremented each 1ms in its ISR.
163:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval HAL status
164:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
165:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** HAL_StatusTypeDef HAL_Init(void)
166:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
167:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Configure Buffer cache, Flash prefetch, Flash preread */
168:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #if (BUFFER_CACHE_DISABLE != 0)
169:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_FLASH_BUFFER_CACHE_DISABLE();
170:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #endif /* BUFFER_CACHE_DISABLE */
171:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
172:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #if (PREREAD_ENABLE != 0)
173:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_FLASH_PREREAD_BUFFER_ENABLE();
174:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #endif /* PREREAD_ENABLE */
175:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
176:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #if (PREFETCH_ENABLE != 0)
177:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_FLASH_PREFETCH_BUFFER_ENABLE();
178:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #endif /* PREFETCH_ENABLE */
179:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
180:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Use systick as time base source and configure 1ms tick (default clock after Reset is MSI) */
181:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
182:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** HAL_InitTick(TICK_INT_PRIORITY);
183:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
184:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Init the low level hardware */
185:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** HAL_MspInit();
186:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
187:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Return function status */
188:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** return HAL_OK;
189:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
190:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
191:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
192:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief This function de-Initializes common part of the HAL and stops the source
193:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * of time base.
194:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @note This function is optional.
195:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval HAL status
196:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
197:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** HAL_StatusTypeDef HAL_DeInit(void)
198:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
199:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Reset of all peripherals */
200:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_RCC_APB1_FORCE_RESET();
201:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_RCC_APB1_RELEASE_RESET();
202:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
203:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_RCC_APB2_FORCE_RESET();
204:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_RCC_APB2_RELEASE_RESET();
ARM GAS /tmp/ccYJZGyl.s page 5
205:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
206:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_RCC_AHB_FORCE_RESET();
207:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_RCC_AHB_RELEASE_RESET();
208:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
209:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_RCC_IOP_FORCE_RESET();
210:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_RCC_IOP_RELEASE_RESET();
211:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
212:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* De-Init the low level hardware */
213:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** HAL_MspDeInit();
214:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
215:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Return function status */
216:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** return HAL_OK;
217:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
218:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
219:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
220:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Initializes the MSP.
221:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
222:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
223:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __weak void HAL_MspInit(void)
224:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
26 .loc 1 224 0
27 .cfi_startproc
28 @ args = 0, pretend = 0, frame = 0
29 @ frame_needed = 0, uses_anonymous_args = 0
30 @ link register save eliminated.
225:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* NOTE : This function Should not be modified, when the callback is needed,
226:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** the HAL_MspInit could be implemented in the user file
227:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
228:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
31 .loc 1 228 0
32 @ sp needed
33 0000 7047 bx lr
34 .cfi_endproc
35 .LFE41:
37 .section .text.HAL_MspDeInit,"ax",%progbits
38 .align 1
39 .weak HAL_MspDeInit
40 .syntax unified
41 .code 16
42 .thumb_func
43 .fpu softvfp
45 HAL_MspDeInit:
46 .LFB42:
229:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
230:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
231:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief DeInitializes the MSP.
232:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
233:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
234:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __weak void HAL_MspDeInit(void)
235:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
47 .loc 1 235 0
48 .cfi_startproc
49 @ args = 0, pretend = 0, frame = 0
50 @ frame_needed = 0, uses_anonymous_args = 0
51 @ link register save eliminated.
236:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* NOTE : This function Should not be modified, when the callback is needed,
237:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** the HAL_MspDeInit could be implemented in the user file
ARM GAS /tmp/ccYJZGyl.s page 6
238:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
239:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
52 .loc 1 239 0
53 @ sp needed
54 0000 7047 bx lr
55 .cfi_endproc
56 .LFE42:
58 .section .text.HAL_DeInit,"ax",%progbits
59 .align 1
60 .global HAL_DeInit
61 .syntax unified
62 .code 16
63 .thumb_func
64 .fpu softvfp
66 HAL_DeInit:
67 .LFB40:
198:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Reset of all peripherals */
68 .loc 1 198 0
69 .cfi_startproc
70 @ args = 0, pretend = 0, frame = 0
71 @ frame_needed = 0, uses_anonymous_args = 0
72 0000 10B5 push {r4, lr}
73 .LCFI0:
74 .cfi_def_cfa_offset 8
75 .cfi_offset 4, -8
76 .cfi_offset 14, -4
200:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_RCC_APB1_RELEASE_RESET();
77 .loc 1 200 0
78 0002 084B ldr r3, .L4
79 0004 0121 movs r1, #1
80 0006 4942 rsbs r1, r1, #0
81 0008 9962 str r1, [r3, #40]
201:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
82 .loc 1 201 0
83 000a 0022 movs r2, #0
84 000c 9A62 str r2, [r3, #40]
203:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_RCC_APB2_RELEASE_RESET();
85 .loc 1 203 0
86 000e 5962 str r1, [r3, #36]
204:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
87 .loc 1 204 0
88 0010 5A62 str r2, [r3, #36]
206:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_RCC_AHB_RELEASE_RESET();
89 .loc 1 206 0
90 0012 1962 str r1, [r3, #32]
207:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
91 .loc 1 207 0
92 0014 1A62 str r2, [r3, #32]
209:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __HAL_RCC_IOP_RELEASE_RESET();
93 .loc 1 209 0
94 0016 D961 str r1, [r3, #28]
210:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
95 .loc 1 210 0
96 0018 DA61 str r2, [r3, #28]
213:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
97 .loc 1 213 0
98 001a FFF7FEFF bl HAL_MspDeInit
ARM GAS /tmp/ccYJZGyl.s page 7
99 .LVL0:
217:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
100 .loc 1 217 0
101 001e 0020 movs r0, #0
102 @ sp needed
103 0020 10BD pop {r4, pc}
104 .L5:
105 0022 C046 .align 2
106 .L4:
107 0024 00100240 .word 1073876992
108 .cfi_endproc
109 .LFE40:
111 .global __aeabi_uidiv
112 .section .text.HAL_InitTick,"ax",%progbits
113 .align 1
114 .weak HAL_InitTick
115 .syntax unified
116 .code 16
117 .thumb_func
118 .fpu softvfp
120 HAL_InitTick:
121 .LFB43:
240:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
241:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
242:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
243:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief This function configures the source of the time base.
244:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * The time source is configured to have 1ms time base with a dedicated
245:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * Tick interrupt priority.
246:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @note This function is called automatically at the beginning of program after
247:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * reset by HAL_Init() or at any time when clock is reconfigured by HAL_RCC_ClockConfig().
248:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @note In the default implementation, SysTick timer is the source of time base.
249:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * It is used to generate interrupts at regular time intervals.
250:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * Care must be taken if HAL_Delay() is called from a peripheral ISR process,
251:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * The the SysTick interrupt must have higher priority (numerically lower)
252:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * than the peripheral interrupt. Otherwise the caller ISR process will be blocked.
253:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * The function is declared as __Weak to be overwritten in case of other
254:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * implementation in user file.
255:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @param TickPriority: Tick interrupt priority.
256:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval HAL status
257:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
258:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __weak HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority)
259:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
122 .loc 1 259 0
123 .cfi_startproc
124 @ args = 0, pretend = 0, frame = 0
125 @ frame_needed = 0, uses_anonymous_args = 0
126 .LVL1:
127 0000 10B5 push {r4, lr}
128 .LCFI1:
129 .cfi_def_cfa_offset 8
130 .cfi_offset 4, -8
131 .cfi_offset 14, -4
132 0002 0400 movs r4, r0
260:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /*Configure the SysTick to have interrupt in 1ms time basis*/
261:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** HAL_SYSTICK_Config(SystemCoreClock/1000U);
133 .loc 1 261 0
134 0004 074B ldr r3, .L7
ARM GAS /tmp/ccYJZGyl.s page 8
135 0006 1868 ldr r0, [r3]
136 .LVL2:
137 0008 FA21 movs r1, #250
138 000a 8900 lsls r1, r1, #2
139 000c FFF7FEFF bl __aeabi_uidiv
140 .LVL3:
141 0010 FFF7FEFF bl HAL_SYSTICK_Config
142 .LVL4:
262:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
263:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /*Configure the SysTick IRQ priority */
264:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** HAL_NVIC_SetPriority(SysTick_IRQn, TickPriority ,0U);
143 .loc 1 264 0
144 0014 0120 movs r0, #1
145 0016 0022 movs r2, #0
146 0018 2100 movs r1, r4
147 001a 4042 rsbs r0, r0, #0
148 001c FFF7FEFF bl HAL_NVIC_SetPriority
149 .LVL5:
265:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
266:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Return function status */
267:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** return HAL_OK;
268:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
150 .loc 1 268 0
151 0020 0020 movs r0, #0
152 @ sp needed
153 .LVL6:
154 0022 10BD pop {r4, pc}
155 .L8:
156 .align 2
157 .L7:
158 0024 00000000 .word SystemCoreClock
159 .cfi_endproc
160 .LFE43:
162 .section .text.HAL_Init,"ax",%progbits
163 .align 1
164 .global HAL_Init
165 .syntax unified
166 .code 16
167 .thumb_func
168 .fpu softvfp
170 HAL_Init:
171 .LFB39:
166:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Configure Buffer cache, Flash prefetch, Flash preread */
172 .loc 1 166 0
173 .cfi_startproc
174 @ args = 0, pretend = 0, frame = 0
175 @ frame_needed = 0, uses_anonymous_args = 0
176 0000 10B5 push {r4, lr}
177 .LCFI2:
178 .cfi_def_cfa_offset 8
179 .cfi_offset 4, -8
180 .cfi_offset 14, -4
177:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** #endif /* PREFETCH_ENABLE */
181 .loc 1 177 0
182 0002 064A ldr r2, .L10
183 0004 1368 ldr r3, [r2]
184 0006 0221 movs r1, #2
ARM GAS /tmp/ccYJZGyl.s page 9
185 0008 0B43 orrs r3, r1
186 000a 1360 str r3, [r2]
182:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
187 .loc 1 182 0
188 000c 0320 movs r0, #3
189 000e FFF7FEFF bl HAL_InitTick
190 .LVL7:
185:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
191 .loc 1 185 0
192 0012 FFF7FEFF bl HAL_MspInit
193 .LVL8:
189:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
194 .loc 1 189 0
195 0016 0020 movs r0, #0
196 @ sp needed
197 0018 10BD pop {r4, pc}
198 .L11:
199 001a C046 .align 2
200 .L10:
201 001c 00200240 .word 1073881088
202 .cfi_endproc
203 .LFE39:
205 .section .text.HAL_IncTick,"ax",%progbits
206 .align 1
207 .weak HAL_IncTick
208 .syntax unified
209 .code 16
210 .thumb_func
211 .fpu softvfp
213 HAL_IncTick:
214 .LFB44:
269:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
270:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
271:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @}
272:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
273:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
274:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /** @addtogroup HAL_Exported_Functions_Group2
275:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Peripheral Control functions
276:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** *
277:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** @verbatim
278:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** ===============================================================================
279:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** ##### HAL Control functions #####
280:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** ===============================================================================
281:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** [..] This section provides functions allowing to:
282:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (+) Provide a tick value in millisecond
283:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (+) Provide a blocking delay in millisecond
284:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (+) Suspend the time base source interrupt
285:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (+) Resume the time base source interrupt
286:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (+) Get the HAL API driver version
287:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (+) Get the device identifier
288:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (+) Get the device revision identifier
289:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (+) Configure low power mode behavior when the MCU is in Debug mode
290:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** (+) Manage the VEREFINT feature (activation, lock, output selection)
291:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
292:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** @endverbatim
293:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @{
294:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
ARM GAS /tmp/ccYJZGyl.s page 10
295:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
296:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
297:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief This function is called to increment a global variable "uwTick"
298:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * used as application time base.
299:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @note In the default implementation, this variable is incremented each 1ms
300:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * in Systick ISR.
301:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @note This function is declared as __weak to be overwritten in case of other
302:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * implementations in user file.
303:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
304:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
305:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __weak void HAL_IncTick(void)
306:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
215 .loc 1 306 0
216 .cfi_startproc
217 @ args = 0, pretend = 0, frame = 0
218 @ frame_needed = 0, uses_anonymous_args = 0
219 @ link register save eliminated.
307:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** uwTick++;
220 .loc 1 307 0
221 0000 024A ldr r2, .L13
222 0002 1368 ldr r3, [r2]
223 0004 0133 adds r3, r3, #1
224 0006 1360 str r3, [r2]
308:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
225 .loc 1 308 0
226 @ sp needed
227 0008 7047 bx lr
228 .L14:
229 000a C046 .align 2
230 .L13:
231 000c 00000000 .word .LANCHOR0
232 .cfi_endproc
233 .LFE44:
235 .section .text.HAL_GetTick,"ax",%progbits
236 .align 1
237 .weak HAL_GetTick
238 .syntax unified
239 .code 16
240 .thumb_func
241 .fpu softvfp
243 HAL_GetTick:
244 .LFB45:
309:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
310:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
311:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Provides a tick value in millisecond.
312:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @note This function is declared as __weak to be overwritten in case of other
313:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * implementations in user file.
314:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval tick value
315:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
316:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __weak uint32_t HAL_GetTick(void)
317:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
245 .loc 1 317 0
246 .cfi_startproc
247 @ args = 0, pretend = 0, frame = 0
248 @ frame_needed = 0, uses_anonymous_args = 0
249 @ link register save eliminated.
318:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** return uwTick;
ARM GAS /tmp/ccYJZGyl.s page 11
250 .loc 1 318 0
251 0000 014B ldr r3, .L16
252 0002 1868 ldr r0, [r3]
319:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
253 .loc 1 319 0
254 @ sp needed
255 0004 7047 bx lr
256 .L17:
257 0006 C046 .align 2
258 .L16:
259 0008 00000000 .word .LANCHOR0
260 .cfi_endproc
261 .LFE45:
263 .section .text.HAL_Delay,"ax",%progbits
264 .align 1
265 .weak HAL_Delay
266 .syntax unified
267 .code 16
268 .thumb_func
269 .fpu softvfp
271 HAL_Delay:
272 .LFB46:
320:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
321:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
322:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief This function provides accurate delay (in ms) based on a variable incremented.
323:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @note In the default implementation , SysTick timer is the source of time base.
324:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * It is used to generate interrupts at regular time intervals where uwTick
325:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * is incremented.
326:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @note ThiS function is declared as __weak to be overwritten in case of other
327:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * implementations in user file.
328:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @param Delay: specifies the delay time length, in milliseconds.
329:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
330:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
331:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __weak void HAL_Delay(__IO uint32_t Delay)
332:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
273 .loc 1 332 0
274 .cfi_startproc
275 @ args = 0, pretend = 0, frame = 8
276 @ frame_needed = 0, uses_anonymous_args = 0
277 .LVL9:
278 0000 10B5 push {r4, lr}
279 .LCFI3:
280 .cfi_def_cfa_offset 8
281 .cfi_offset 4, -8
282 .cfi_offset 14, -4
283 0002 82B0 sub sp, sp, #8
284 .LCFI4:
285 .cfi_def_cfa_offset 16
286 0004 0190 str r0, [sp, #4]
287 .LVL10:
333:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** uint32_t tickstart = 0U;
334:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** tickstart = HAL_GetTick();
288 .loc 1 334 0
289 0006 FFF7FEFF bl HAL_GetTick
290 .LVL11:
291 000a 0400 movs r4, r0
292 .LVL12:
ARM GAS /tmp/ccYJZGyl.s page 12
293 .L19:
335:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** while((HAL_GetTick() - tickstart) < Delay)
294 .loc 1 335 0 discriminator 1
295 000c FFF7FEFF bl HAL_GetTick
296 .LVL13:
297 0010 001B subs r0, r0, r4
298 0012 019B ldr r3, [sp, #4]
299 0014 9842 cmp r0, r3
300 0016 F9D3 bcc .L19
336:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
337:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
338:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
301 .loc 1 338 0
302 0018 02B0 add sp, sp, #8
303 @ sp needed
304 .LVL14:
305 001a 10BD pop {r4, pc}
306 .cfi_endproc
307 .LFE46:
309 .section .text.HAL_SuspendTick,"ax",%progbits
310 .align 1
311 .weak HAL_SuspendTick
312 .syntax unified
313 .code 16
314 .thumb_func
315 .fpu softvfp
317 HAL_SuspendTick:
318 .LFB47:
339:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
340:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
341:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Suspends the Tick increment.
342:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @note In the default implementation , SysTick timer is the source of time base. It is
343:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * used to generate interrupts at regular time intervals. Once HAL_SuspendTick()
344:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * is called, the the SysTick interrupt will be disabled and so Tick increment
345:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * is suspended.
346:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @note This function is declared as __weak to be overwritten in case of other
347:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * implementations in user file.
348:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
349:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
350:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __weak void HAL_SuspendTick(void)
351:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
319 .loc 1 351 0
320 .cfi_startproc
321 @ args = 0, pretend = 0, frame = 0
322 @ frame_needed = 0, uses_anonymous_args = 0
323 @ link register save eliminated.
352:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Disable SysTick Interrupt */
353:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** SysTick->CTRL &= ~SysTick_CTRL_TICKINT_Msk;
324 .loc 1 353 0
325 0000 024A ldr r2, .L21
326 0002 1368 ldr r3, [r2]
327 0004 0221 movs r1, #2
328 0006 8B43 bics r3, r1
329 0008 1360 str r3, [r2]
354:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
330 .loc 1 354 0
331 @ sp needed
ARM GAS /tmp/ccYJZGyl.s page 13
332 000a 7047 bx lr
333 .L22:
334 .align 2
335 .L21:
336 000c 10E000E0 .word -536813552
337 .cfi_endproc
338 .LFE47:
340 .section .text.HAL_ResumeTick,"ax",%progbits
341 .align 1
342 .weak HAL_ResumeTick
343 .syntax unified
344 .code 16
345 .thumb_func
346 .fpu softvfp
348 HAL_ResumeTick:
349 .LFB48:
355:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
356:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
357:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Resumes the Tick increment.
358:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @note In the default implementation , SysTick timer is the source of time base. It is
359:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * used to generate interrupts at regular time intervals. Once HAL_ResumeTick()
360:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * is called, the the SysTick interrupt will be enabled and so Tick increment
361:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * is resumed.
362:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @note This function is declared as __weak to be overwritten in case of other
363:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * implementations in user file.
364:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
365:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
366:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** __weak void HAL_ResumeTick(void)
367:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
350 .loc 1 367 0
351 .cfi_startproc
352 @ args = 0, pretend = 0, frame = 0
353 @ frame_needed = 0, uses_anonymous_args = 0
354 @ link register save eliminated.
368:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Enable SysTick Interrupt */
369:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** SysTick->CTRL |= SysTick_CTRL_TICKINT_Msk;
355 .loc 1 369 0
356 0000 024A ldr r2, .L24
357 0002 1368 ldr r3, [r2]
358 0004 0221 movs r1, #2
359 0006 0B43 orrs r3, r1
360 0008 1360 str r3, [r2]
370:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
361 .loc 1 370 0
362 @ sp needed
363 000a 7047 bx lr
364 .L25:
365 .align 2
366 .L24:
367 000c 10E000E0 .word -536813552
368 .cfi_endproc
369 .LFE48:
371 .section .text.HAL_GetHalVersion,"ax",%progbits
372 .align 1
373 .global HAL_GetHalVersion
374 .syntax unified
375 .code 16
ARM GAS /tmp/ccYJZGyl.s page 14
376 .thumb_func
377 .fpu softvfp
379 HAL_GetHalVersion:
380 .LFB49:
371:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
372:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
373:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Returns the HAL revision
374:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval version: 0xXYZR (8bits for each decimal, R for RC)
375:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
376:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** uint32_t HAL_GetHalVersion(void)
377:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
381 .loc 1 377 0
382 .cfi_startproc
383 @ args = 0, pretend = 0, frame = 0
384 @ frame_needed = 0, uses_anonymous_args = 0
385 @ link register save eliminated.
378:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** return __STM32L0xx_HAL_VERSION;
379:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
386 .loc 1 379 0
387 0000 0048 ldr r0, .L27
388 @ sp needed
389 0002 7047 bx lr
390 .L28:
391 .align 2
392 .L27:
393 0004 00020801 .word 17302016
394 .cfi_endproc
395 .LFE49:
397 .section .text.HAL_GetREVID,"ax",%progbits
398 .align 1
399 .global HAL_GetREVID
400 .syntax unified
401 .code 16
402 .thumb_func
403 .fpu softvfp
405 HAL_GetREVID:
406 .LFB50:
380:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
381:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
382:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Returns the device revision identifier.
383:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval Device revision identifier
384:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
385:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** uint32_t HAL_GetREVID(void)
386:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
407 .loc 1 386 0
408 .cfi_startproc
409 @ args = 0, pretend = 0, frame = 0
410 @ frame_needed = 0, uses_anonymous_args = 0
411 @ link register save eliminated.
387:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** return((DBGMCU->IDCODE) >> 16U);
412 .loc 1 387 0
413 0000 014B ldr r3, .L30
414 0002 1868 ldr r0, [r3]
415 0004 000C lsrs r0, r0, #16
388:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
416 .loc 1 388 0
417 @ sp needed
ARM GAS /tmp/ccYJZGyl.s page 15
418 0006 7047 bx lr
419 .L31:
420 .align 2
421 .L30:
422 0008 00580140 .word 1073829888
423 .cfi_endproc
424 .LFE50:
426 .section .text.HAL_GetDEVID,"ax",%progbits
427 .align 1
428 .global HAL_GetDEVID
429 .syntax unified
430 .code 16
431 .thumb_func
432 .fpu softvfp
434 HAL_GetDEVID:
435 .LFB51:
389:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
390:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
391:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Returns the device identifier.
392:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval Device identifier
393:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
394:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** uint32_t HAL_GetDEVID(void)
395:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
436 .loc 1 395 0
437 .cfi_startproc
438 @ args = 0, pretend = 0, frame = 0
439 @ frame_needed = 0, uses_anonymous_args = 0
440 @ link register save eliminated.
396:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** return((DBGMCU->IDCODE) & IDCODE_DEVID_MASK);
441 .loc 1 396 0
442 0000 024B ldr r3, .L33
443 0002 1868 ldr r0, [r3]
444 0004 0005 lsls r0, r0, #20
445 0006 000D lsrs r0, r0, #20
397:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
446 .loc 1 397 0
447 @ sp needed
448 0008 7047 bx lr
449 .L34:
450 000a C046 .align 2
451 .L33:
452 000c 00580140 .word 1073829888
453 .cfi_endproc
454 .LFE51:
456 .section .text.HAL_DBGMCU_EnableDBGSleepMode,"ax",%progbits
457 .align 1
458 .global HAL_DBGMCU_EnableDBGSleepMode
459 .syntax unified
460 .code 16
461 .thumb_func
462 .fpu softvfp
464 HAL_DBGMCU_EnableDBGSleepMode:
465 .LFB52:
398:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
399:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
400:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Enables the Debug Module during SLEEP mode
401:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
ARM GAS /tmp/ccYJZGyl.s page 16
402:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
403:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** void HAL_DBGMCU_EnableDBGSleepMode(void)
404:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
466 .loc 1 404 0
467 .cfi_startproc
468 @ args = 0, pretend = 0, frame = 0
469 @ frame_needed = 0, uses_anonymous_args = 0
470 @ link register save eliminated.
405:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_SLEEP);
471 .loc 1 405 0
472 0000 024A ldr r2, .L36
473 0002 5368 ldr r3, [r2, #4]
474 0004 0121 movs r1, #1
475 0006 0B43 orrs r3, r1
476 0008 5360 str r3, [r2, #4]
406:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
477 .loc 1 406 0
478 @ sp needed
479 000a 7047 bx lr
480 .L37:
481 .align 2
482 .L36:
483 000c 00580140 .word 1073829888
484 .cfi_endproc
485 .LFE52:
487 .section .text.HAL_DBGMCU_DisableDBGSleepMode,"ax",%progbits
488 .align 1
489 .global HAL_DBGMCU_DisableDBGSleepMode
490 .syntax unified
491 .code 16
492 .thumb_func
493 .fpu softvfp
495 HAL_DBGMCU_DisableDBGSleepMode:
496 .LFB53:
407:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
408:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
409:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Disables the Debug Module during SLEEP mode
410:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
411:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
412:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** void HAL_DBGMCU_DisableDBGSleepMode(void)
413:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
497 .loc 1 413 0
498 .cfi_startproc
499 @ args = 0, pretend = 0, frame = 0
500 @ frame_needed = 0, uses_anonymous_args = 0
501 @ link register save eliminated.
414:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_SLEEP);
502 .loc 1 414 0
503 0000 024A ldr r2, .L39
504 0002 5368 ldr r3, [r2, #4]
505 0004 0121 movs r1, #1
506 0006 8B43 bics r3, r1
507 0008 5360 str r3, [r2, #4]
415:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
508 .loc 1 415 0
509 @ sp needed
510 000a 7047 bx lr
ARM GAS /tmp/ccYJZGyl.s page 17
511 .L40:
512 .align 2
513 .L39:
514 000c 00580140 .word 1073829888
515 .cfi_endproc
516 .LFE53:
518 .section .text.HAL_DBGMCU_EnableDBGStopMode,"ax",%progbits
519 .align 1
520 .global HAL_DBGMCU_EnableDBGStopMode
521 .syntax unified
522 .code 16
523 .thumb_func
524 .fpu softvfp
526 HAL_DBGMCU_EnableDBGStopMode:
527 .LFB54:
416:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
417:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
418:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Enables the Debug Module during STOP mode
419:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
420:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
421:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** void HAL_DBGMCU_EnableDBGStopMode(void)
422:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
528 .loc 1 422 0
529 .cfi_startproc
530 @ args = 0, pretend = 0, frame = 0
531 @ frame_needed = 0, uses_anonymous_args = 0
532 @ link register save eliminated.
423:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STOP);
533 .loc 1 423 0
534 0000 024A ldr r2, .L42
535 0002 5368 ldr r3, [r2, #4]
536 0004 0221 movs r1, #2
537 0006 0B43 orrs r3, r1
538 0008 5360 str r3, [r2, #4]
424:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
539 .loc 1 424 0
540 @ sp needed
541 000a 7047 bx lr
542 .L43:
543 .align 2
544 .L42:
545 000c 00580140 .word 1073829888
546 .cfi_endproc
547 .LFE54:
549 .section .text.HAL_DBGMCU_DisableDBGStopMode,"ax",%progbits
550 .align 1
551 .global HAL_DBGMCU_DisableDBGStopMode
552 .syntax unified
553 .code 16
554 .thumb_func
555 .fpu softvfp
557 HAL_DBGMCU_DisableDBGStopMode:
558 .LFB55:
425:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
426:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
427:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Disables the Debug Module during STOP mode
428:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
ARM GAS /tmp/ccYJZGyl.s page 18
429:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
430:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** void HAL_DBGMCU_DisableDBGStopMode(void)
431:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
559 .loc 1 431 0
560 .cfi_startproc
561 @ args = 0, pretend = 0, frame = 0
562 @ frame_needed = 0, uses_anonymous_args = 0
563 @ link register save eliminated.
432:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STOP);
564 .loc 1 432 0
565 0000 024A ldr r2, .L45
566 0002 5368 ldr r3, [r2, #4]
567 0004 0221 movs r1, #2
568 0006 8B43 bics r3, r1
569 0008 5360 str r3, [r2, #4]
433:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
570 .loc 1 433 0
571 @ sp needed
572 000a 7047 bx lr
573 .L46:
574 .align 2
575 .L45:
576 000c 00580140 .word 1073829888
577 .cfi_endproc
578 .LFE55:
580 .section .text.HAL_DBGMCU_EnableDBGStandbyMode,"ax",%progbits
581 .align 1
582 .global HAL_DBGMCU_EnableDBGStandbyMode
583 .syntax unified
584 .code 16
585 .thumb_func
586 .fpu softvfp
588 HAL_DBGMCU_EnableDBGStandbyMode:
589 .LFB56:
434:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
435:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
436:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Enables the Debug Module during STANDBY mode
437:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
438:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
439:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** void HAL_DBGMCU_EnableDBGStandbyMode(void)
440:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
590 .loc 1 440 0
591 .cfi_startproc
592 @ args = 0, pretend = 0, frame = 0
593 @ frame_needed = 0, uses_anonymous_args = 0
594 @ link register save eliminated.
441:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STANDBY);
595 .loc 1 441 0
596 0000 024A ldr r2, .L48
597 0002 5368 ldr r3, [r2, #4]
598 0004 0421 movs r1, #4
599 0006 0B43 orrs r3, r1
600 0008 5360 str r3, [r2, #4]
442:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
601 .loc 1 442 0
602 @ sp needed
603 000a 7047 bx lr
ARM GAS /tmp/ccYJZGyl.s page 19
604 .L49:
605 .align 2
606 .L48:
607 000c 00580140 .word 1073829888
608 .cfi_endproc
609 .LFE56:
611 .section .text.HAL_DBGMCU_DisableDBGStandbyMode,"ax",%progbits
612 .align 1
613 .global HAL_DBGMCU_DisableDBGStandbyMode
614 .syntax unified
615 .code 16
616 .thumb_func
617 .fpu softvfp
619 HAL_DBGMCU_DisableDBGStandbyMode:
620 .LFB57:
443:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
444:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
445:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Disables the Debug Module during STANDBY mode
446:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
447:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
448:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** void HAL_DBGMCU_DisableDBGStandbyMode(void)
449:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
621 .loc 1 449 0
622 .cfi_startproc
623 @ args = 0, pretend = 0, frame = 0
624 @ frame_needed = 0, uses_anonymous_args = 0
625 @ link register save eliminated.
450:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STANDBY);
626 .loc 1 450 0
627 0000 024A ldr r2, .L51
628 0002 5368 ldr r3, [r2, #4]
629 0004 0421 movs r1, #4
630 0006 8B43 bics r3, r1
631 0008 5360 str r3, [r2, #4]
451:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
632 .loc 1 451 0
633 @ sp needed
634 000a 7047 bx lr
635 .L52:
636 .align 2
637 .L51:
638 000c 00580140 .word 1073829888
639 .cfi_endproc
640 .LFE57:
642 .section .text.HAL_DBGMCU_DBG_EnableLowPowerConfig,"ax",%progbits
643 .align 1
644 .global HAL_DBGMCU_DBG_EnableLowPowerConfig
645 .syntax unified
646 .code 16
647 .thumb_func
648 .fpu softvfp
650 HAL_DBGMCU_DBG_EnableLowPowerConfig:
651 .LFB58:
452:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
453:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
454:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Enable low power mode behavior when the MCU is in Debug mode.
455:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @param Periph: specifies the low power mode.
ARM GAS /tmp/ccYJZGyl.s page 20
456:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * This parameter can be any combination of the following values:
457:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @arg DBGMCU_SLEEP: Keep debugger connection during SLEEP mode
458:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @arg DBGMCU_STOP: Keep debugger connection during STOP mode
459:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @arg DBGMCU_STANDBY: Keep debugger connection during STANDBY mode
460:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
461:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
462:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** void HAL_DBGMCU_DBG_EnableLowPowerConfig(uint32_t Periph)
463:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
652 .loc 1 463 0
653 .cfi_startproc
654 @ args = 0, pretend = 0, frame = 0
655 @ frame_needed = 0, uses_anonymous_args = 0
656 @ link register save eliminated.
657 .LVL15:
464:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Check the parameters */
465:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** assert_param(IS_DBGMCU_PERIPH(Periph));
466:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
467:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** DBGMCU->CR |= Periph;
658 .loc 1 467 0
659 0000 024A ldr r2, .L54
660 0002 5368 ldr r3, [r2, #4]
661 0004 1843 orrs r0, r3
662 .LVL16:
663 0006 5060 str r0, [r2, #4]
468:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
469:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
664 .loc 1 469 0
665 @ sp needed
666 0008 7047 bx lr
667 .L55:
668 000a C046 .align 2
669 .L54:
670 000c 00580140 .word 1073829888
671 .cfi_endproc
672 .LFE58:
674 .section .text.HAL_DBGMCU_DBG_DisableLowPowerConfig,"ax",%progbits
675 .align 1
676 .global HAL_DBGMCU_DBG_DisableLowPowerConfig
677 .syntax unified
678 .code 16
679 .thumb_func
680 .fpu softvfp
682 HAL_DBGMCU_DBG_DisableLowPowerConfig:
683 .LFB59:
470:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
471:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Disable low power mode behavior when the MCU is in Debug mode.
472:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @param Periph: specifies the low power mode.
473:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * This parameter can be any combination of the following values:
474:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @arg DBGMCU_SLEEP: Keep debugger connection during SLEEP mode
475:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @arg DBGMCU_STOP: Keep debugger connection during STOP mode
476:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @arg DBGMCU_STANDBY: Keep debugger connection during STANDBY mode
477:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
478:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
479:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** void HAL_DBGMCU_DBG_DisableLowPowerConfig(uint32_t Periph)
480:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
684 .loc 1 480 0
685 .cfi_startproc
ARM GAS /tmp/ccYJZGyl.s page 21
686 @ args = 0, pretend = 0, frame = 0
687 @ frame_needed = 0, uses_anonymous_args = 0
688 @ link register save eliminated.
689 .LVL17:
481:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Check the parameters */
482:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** assert_param(IS_DBGMCU_PERIPH(Periph));
483:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
484:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** DBGMCU->CR &= ~Periph;
690 .loc 1 484 0
691 0000 024A ldr r2, .L57
692 0002 5368 ldr r3, [r2, #4]
693 0004 8343 bics r3, r0
694 0006 5360 str r3, [r2, #4]
485:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
486:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
695 .loc 1 486 0
696 @ sp needed
697 0008 7047 bx lr
698 .L58:
699 000a C046 .align 2
700 .L57:
701 000c 00580140 .word 1073829888
702 .cfi_endproc
703 .LFE59:
705 .section .text.HAL_SYSCFG_GetBootMode,"ax",%progbits
706 .align 1
707 .global HAL_SYSCFG_GetBootMode
708 .syntax unified
709 .code 16
710 .thumb_func
711 .fpu softvfp
713 HAL_SYSCFG_GetBootMode:
714 .LFB60:
487:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
488:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
489:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Returns the boot mode as configured by user.
490:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval The boot mode as configured by user. The returned value can be one
491:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * of the following values:
492:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * - 0x00000000 : Boot is configured in Main Flash memory
493:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * - 0x00000100 : Boot is configured in System Flash memory
494:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * - 0x00000300 : Boot is configured in Embedded SRAM memory
495:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
496:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** uint32_t HAL_SYSCFG_GetBootMode(void)
497:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
715 .loc 1 497 0
716 .cfi_startproc
717 @ args = 0, pretend = 0, frame = 0
718 @ frame_needed = 0, uses_anonymous_args = 0
719 @ link register save eliminated.
498:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** return (SYSCFG->CFGR1 & SYSCFG_CFGR1_BOOT_MODE);
720 .loc 1 498 0
721 0000 024B ldr r3, .L60
722 0002 1868 ldr r0, [r3]
723 0004 C023 movs r3, #192
724 0006 9B00 lsls r3, r3, #2
725 0008 1840 ands r0, r3
499:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
ARM GAS /tmp/ccYJZGyl.s page 22
726 .loc 1 499 0
727 @ sp needed
728 000a 7047 bx lr
729 .L61:
730 .align 2
731 .L60:
732 000c 00000140 .word 1073807360
733 .cfi_endproc
734 .LFE60:
736 .section .text.HAL_SYSCFG_VREFINT_OutputSelect,"ax",%progbits
737 .align 1
738 .global HAL_SYSCFG_VREFINT_OutputSelect
739 .syntax unified
740 .code 16
741 .thumb_func
742 .fpu softvfp
744 HAL_SYSCFG_VREFINT_OutputSelect:
745 .LFB61:
500:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
501:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
502:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Selects the output of internal reference voltage (VREFINT).
503:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * The VREFINT output can be routed to(PB0) or
504:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * (PB1) or both.
505:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @param SYSCFG_Vrefint_OUTPUT: new state of the Vrefint output.
506:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * This parameter can be one of the following values:
507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @arg SYSCFG_VREFINT_OUT_NONE
508:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @arg SYSCFG_VREFINT_OUT_PB0
509:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @arg SYSCFG_VREFINT_OUT_PB1
510:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @arg SYSCFG_VREFINT_OUT_PB0_PB1
511:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
512:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
513:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** void HAL_SYSCFG_VREFINT_OutputSelect(uint32_t SYSCFG_Vrefint_OUTPUT)
514:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
746 .loc 1 514 0
747 .cfi_startproc
748 @ args = 0, pretend = 0, frame = 0
749 @ frame_needed = 0, uses_anonymous_args = 0
750 @ link register save eliminated.
751 .LVL18:
515:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Check the parameters */
516:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** assert_param(IS_SYSCFG_VREFINT_OUT_SELECT(SYSCFG_Vrefint_OUTPUT));
517:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
518:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Set the output Vrefint pin */
519:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** SYSCFG->CFGR3 &= ~(SYSCFG_CFGR3_VREF_OUT);
752 .loc 1 519 0
753 0000 044B ldr r3, .L63
754 0002 1A6A ldr r2, [r3, #32]
755 0004 3021 movs r1, #48
756 0006 8A43 bics r2, r1
757 0008 1A62 str r2, [r3, #32]
520:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** SYSCFG->CFGR3 |= (uint32_t)(SYSCFG_Vrefint_OUTPUT);
758 .loc 1 520 0
759 000a 1A6A ldr r2, [r3, #32]
760 000c 1043 orrs r0, r2
761 .LVL19:
762 000e 1862 str r0, [r3, #32]
521:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
ARM GAS /tmp/ccYJZGyl.s page 23
763 .loc 1 521 0
764 @ sp needed
765 0010 7047 bx lr
766 .L64:
767 0012 C046 .align 2
768 .L63:
769 0014 00000140 .word 1073807360
770 .cfi_endproc
771 .LFE61:
773 .section .text.HAL_SYSCFG_Enable_Lock_VREFINT,"ax",%progbits
774 .align 1
775 .global HAL_SYSCFG_Enable_Lock_VREFINT
776 .syntax unified
777 .code 16
778 .thumb_func
779 .fpu softvfp
781 HAL_SYSCFG_Enable_Lock_VREFINT:
782 .LFB62:
522:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
523:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
524:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Lock the SYSCFG VREF register values
525:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
526:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
527:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** void HAL_SYSCFG_Enable_Lock_VREFINT(void)
528:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
783 .loc 1 528 0
784 .cfi_startproc
785 @ args = 0, pretend = 0, frame = 0
786 @ frame_needed = 0, uses_anonymous_args = 0
787 @ link register save eliminated.
529:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Enable the LOCK by setting REF_LOCK bit in the CFGR3 register */
530:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** SET_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_REF_LOCK);
788 .loc 1 530 0
789 0000 034A ldr r2, .L66
790 0002 116A ldr r1, [r2, #32]
791 0004 8023 movs r3, #128
792 0006 1B06 lsls r3, r3, #24
793 0008 0B43 orrs r3, r1
794 000a 1362 str r3, [r2, #32]
531:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
795 .loc 1 531 0
796 @ sp needed
797 000c 7047 bx lr
798 .L67:
799 000e C046 .align 2
800 .L66:
801 0010 00000140 .word 1073807360
802 .cfi_endproc
803 .LFE62:
805 .section .text.HAL_SYSCFG_Disable_Lock_VREFINT,"ax",%progbits
806 .align 1
807 .global HAL_SYSCFG_Disable_Lock_VREFINT
808 .syntax unified
809 .code 16
810 .thumb_func
811 .fpu softvfp
813 HAL_SYSCFG_Disable_Lock_VREFINT:
ARM GAS /tmp/ccYJZGyl.s page 24
814 .LFB63:
532:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c ****
533:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /**
534:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @brief Unlock the overall SYSCFG VREF register values
535:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** * @retval None
536:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** */
537:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** void HAL_SYSCFG_Disable_Lock_VREFINT(void)
538:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** {
815 .loc 1 538 0
816 .cfi_startproc
817 @ args = 0, pretend = 0, frame = 0
818 @ frame_needed = 0, uses_anonymous_args = 0
819 @ link register save eliminated.
539:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** /* Disable the LOCK by setting REF_LOCK bit in the CFGR3 register */
540:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** CLEAR_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_REF_LOCK);
820 .loc 1 540 0
821 0000 024A ldr r2, .L69
822 0002 136A ldr r3, [r2, #32]
823 0004 5B00 lsls r3, r3, #1
824 0006 5B08 lsrs r3, r3, #1
825 0008 1362 str r3, [r2, #32]
541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c **** }
826 .loc 1 541 0
827 @ sp needed
828 000a 7047 bx lr
829 .L70:
830 .align 2
831 .L69:
832 000c 00000140 .word 1073807360
833 .cfi_endproc
834 .LFE63:
836 .global uwTick
837 .section .bss.uwTick,"aw",%nobits
838 .align 2
839 .set .LANCHOR0,. + 0
842 uwTick:
843 0000 00000000 .space 4
844 .text
845 .Letext0:
846 .file 2 "/usr/arm-none-eabi/include/machine/_default_types.h"
847 .file 3 "/usr/arm-none-eabi/include/sys/_stdint.h"
848 .file 4 "Drivers/CMSIS/Include/core_cm0plus.h"
849 .file 5 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h"
850 .file 6 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h"
851 .file 7 "/usr/arm-none-eabi/include/sys/lock.h"
852 .file 8 "/usr/arm-none-eabi/include/sys/_types.h"
853 .file 9 "/usr/lib/gcc/arm-none-eabi/7.2.0/include/stddef.h"
854 .file 10 "/usr/arm-none-eabi/include/sys/reent.h"
855 .file 11 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h"
856 .file 12 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h"
ARM GAS /tmp/ccYJZGyl.s page 25
DEFINED SYMBOLS
*ABS*:0000000000000000 stm32l0xx_hal.c
/tmp/ccYJZGyl.s:16 .text.HAL_MspInit:0000000000000000 $t
/tmp/ccYJZGyl.s:23 .text.HAL_MspInit:0000000000000000 HAL_MspInit
/tmp/ccYJZGyl.s:38 .text.HAL_MspDeInit:0000000000000000 $t
/tmp/ccYJZGyl.s:45 .text.HAL_MspDeInit:0000000000000000 HAL_MspDeInit
/tmp/ccYJZGyl.s:59 .text.HAL_DeInit:0000000000000000 $t
/tmp/ccYJZGyl.s:66 .text.HAL_DeInit:0000000000000000 HAL_DeInit
/tmp/ccYJZGyl.s:107 .text.HAL_DeInit:0000000000000024 $d
/tmp/ccYJZGyl.s:113 .text.HAL_InitTick:0000000000000000 $t
/tmp/ccYJZGyl.s:120 .text.HAL_InitTick:0000000000000000 HAL_InitTick
/tmp/ccYJZGyl.s:158 .text.HAL_InitTick:0000000000000024 $d
/tmp/ccYJZGyl.s:163 .text.HAL_Init:0000000000000000 $t
/tmp/ccYJZGyl.s:170 .text.HAL_Init:0000000000000000 HAL_Init
/tmp/ccYJZGyl.s:201 .text.HAL_Init:000000000000001c $d
/tmp/ccYJZGyl.s:206 .text.HAL_IncTick:0000000000000000 $t
/tmp/ccYJZGyl.s:213 .text.HAL_IncTick:0000000000000000 HAL_IncTick
/tmp/ccYJZGyl.s:231 .text.HAL_IncTick:000000000000000c $d
/tmp/ccYJZGyl.s:236 .text.HAL_GetTick:0000000000000000 $t
/tmp/ccYJZGyl.s:243 .text.HAL_GetTick:0000000000000000 HAL_GetTick
/tmp/ccYJZGyl.s:259 .text.HAL_GetTick:0000000000000008 $d
/tmp/ccYJZGyl.s:264 .text.HAL_Delay:0000000000000000 $t
/tmp/ccYJZGyl.s:271 .text.HAL_Delay:0000000000000000 HAL_Delay
/tmp/ccYJZGyl.s:310 .text.HAL_SuspendTick:0000000000000000 $t
/tmp/ccYJZGyl.s:317 .text.HAL_SuspendTick:0000000000000000 HAL_SuspendTick
/tmp/ccYJZGyl.s:336 .text.HAL_SuspendTick:000000000000000c $d
/tmp/ccYJZGyl.s:341 .text.HAL_ResumeTick:0000000000000000 $t
/tmp/ccYJZGyl.s:348 .text.HAL_ResumeTick:0000000000000000 HAL_ResumeTick
/tmp/ccYJZGyl.s:367 .text.HAL_ResumeTick:000000000000000c $d
/tmp/ccYJZGyl.s:372 .text.HAL_GetHalVersion:0000000000000000 $t
/tmp/ccYJZGyl.s:379 .text.HAL_GetHalVersion:0000000000000000 HAL_GetHalVersion
/tmp/ccYJZGyl.s:393 .text.HAL_GetHalVersion:0000000000000004 $d
/tmp/ccYJZGyl.s:398 .text.HAL_GetREVID:0000000000000000 $t
/tmp/ccYJZGyl.s:405 .text.HAL_GetREVID:0000000000000000 HAL_GetREVID
/tmp/ccYJZGyl.s:422 .text.HAL_GetREVID:0000000000000008 $d
/tmp/ccYJZGyl.s:427 .text.HAL_GetDEVID:0000000000000000 $t
/tmp/ccYJZGyl.s:434 .text.HAL_GetDEVID:0000000000000000 HAL_GetDEVID
/tmp/ccYJZGyl.s:452 .text.HAL_GetDEVID:000000000000000c $d
/tmp/ccYJZGyl.s:457 .text.HAL_DBGMCU_EnableDBGSleepMode:0000000000000000 $t
/tmp/ccYJZGyl.s:464 .text.HAL_DBGMCU_EnableDBGSleepMode:0000000000000000 HAL_DBGMCU_EnableDBGSleepMode
/tmp/ccYJZGyl.s:483 .text.HAL_DBGMCU_EnableDBGSleepMode:000000000000000c $d
/tmp/ccYJZGyl.s:488 .text.HAL_DBGMCU_DisableDBGSleepMode:0000000000000000 $t
/tmp/ccYJZGyl.s:495 .text.HAL_DBGMCU_DisableDBGSleepMode:0000000000000000 HAL_DBGMCU_DisableDBGSleepMode
/tmp/ccYJZGyl.s:514 .text.HAL_DBGMCU_DisableDBGSleepMode:000000000000000c $d
/tmp/ccYJZGyl.s:519 .text.HAL_DBGMCU_EnableDBGStopMode:0000000000000000 $t
/tmp/ccYJZGyl.s:526 .text.HAL_DBGMCU_EnableDBGStopMode:0000000000000000 HAL_DBGMCU_EnableDBGStopMode
/tmp/ccYJZGyl.s:545 .text.HAL_DBGMCU_EnableDBGStopMode:000000000000000c $d
/tmp/ccYJZGyl.s:550 .text.HAL_DBGMCU_DisableDBGStopMode:0000000000000000 $t
/tmp/ccYJZGyl.s:557 .text.HAL_DBGMCU_DisableDBGStopMode:0000000000000000 HAL_DBGMCU_DisableDBGStopMode
/tmp/ccYJZGyl.s:576 .text.HAL_DBGMCU_DisableDBGStopMode:000000000000000c $d
/tmp/ccYJZGyl.s:581 .text.HAL_DBGMCU_EnableDBGStandbyMode:0000000000000000 $t
/tmp/ccYJZGyl.s:588 .text.HAL_DBGMCU_EnableDBGStandbyMode:0000000000000000 HAL_DBGMCU_EnableDBGStandbyMode
/tmp/ccYJZGyl.s:607 .text.HAL_DBGMCU_EnableDBGStandbyMode:000000000000000c $d
/tmp/ccYJZGyl.s:612 .text.HAL_DBGMCU_DisableDBGStandbyMode:0000000000000000 $t
/tmp/ccYJZGyl.s:619 .text.HAL_DBGMCU_DisableDBGStandbyMode:0000000000000000 HAL_DBGMCU_DisableDBGStandbyMode
/tmp/ccYJZGyl.s:638 .text.HAL_DBGMCU_DisableDBGStandbyMode:000000000000000c $d
/tmp/ccYJZGyl.s:643 .text.HAL_DBGMCU_DBG_EnableLowPowerConfig:0000000000000000 $t
ARM GAS /tmp/ccYJZGyl.s page 26
/tmp/ccYJZGyl.s:650 .text.HAL_DBGMCU_DBG_EnableLowPowerConfig:0000000000000000 HAL_DBGMCU_DBG_EnableLowPowerConfig
/tmp/ccYJZGyl.s:670 .text.HAL_DBGMCU_DBG_EnableLowPowerConfig:000000000000000c $d
/tmp/ccYJZGyl.s:675 .text.HAL_DBGMCU_DBG_DisableLowPowerConfig:0000000000000000 $t
/tmp/ccYJZGyl.s:682 .text.HAL_DBGMCU_DBG_DisableLowPowerConfig:0000000000000000 HAL_DBGMCU_DBG_DisableLowPowerConfig
/tmp/ccYJZGyl.s:701 .text.HAL_DBGMCU_DBG_DisableLowPowerConfig:000000000000000c $d
/tmp/ccYJZGyl.s:706 .text.HAL_SYSCFG_GetBootMode:0000000000000000 $t
/tmp/ccYJZGyl.s:713 .text.HAL_SYSCFG_GetBootMode:0000000000000000 HAL_SYSCFG_GetBootMode
/tmp/ccYJZGyl.s:732 .text.HAL_SYSCFG_GetBootMode:000000000000000c $d
/tmp/ccYJZGyl.s:737 .text.HAL_SYSCFG_VREFINT_OutputSelect:0000000000000000 $t
/tmp/ccYJZGyl.s:744 .text.HAL_SYSCFG_VREFINT_OutputSelect:0000000000000000 HAL_SYSCFG_VREFINT_OutputSelect
/tmp/ccYJZGyl.s:769 .text.HAL_SYSCFG_VREFINT_OutputSelect:0000000000000014 $d
/tmp/ccYJZGyl.s:774 .text.HAL_SYSCFG_Enable_Lock_VREFINT:0000000000000000 $t
/tmp/ccYJZGyl.s:781 .text.HAL_SYSCFG_Enable_Lock_VREFINT:0000000000000000 HAL_SYSCFG_Enable_Lock_VREFINT
/tmp/ccYJZGyl.s:801 .text.HAL_SYSCFG_Enable_Lock_VREFINT:0000000000000010 $d
/tmp/ccYJZGyl.s:806 .text.HAL_SYSCFG_Disable_Lock_VREFINT:0000000000000000 $t
/tmp/ccYJZGyl.s:813 .text.HAL_SYSCFG_Disable_Lock_VREFINT:0000000000000000 HAL_SYSCFG_Disable_Lock_VREFINT
/tmp/ccYJZGyl.s:832 .text.HAL_SYSCFG_Disable_Lock_VREFINT:000000000000000c $d
/tmp/ccYJZGyl.s:842 .bss.uwTick:0000000000000000 uwTick
/tmp/ccYJZGyl.s:838 .bss.uwTick:0000000000000000 $d
.debug_frame:0000000000000010 $d
UNDEFINED SYMBOLS
__aeabi_uidiv
HAL_SYSTICK_Config
HAL_NVIC_SetPriority
SystemCoreClock