ARM GAS /tmp/cc5Uj3PK.s page 1 1 .cpu cortex-m0 2 .arch armv6s-m 3 .fpu softvfp 4 .eabi_attribute 20, 1 5 .eabi_attribute 21, 1 6 .eabi_attribute 23, 3 7 .eabi_attribute 24, 1 8 .eabi_attribute 25, 1 9 .eabi_attribute 26, 1 10 .eabi_attribute 30, 1 11 .eabi_attribute 34, 0 12 .eabi_attribute 18, 4 13 .file "stm32f0xx_hal_pwr_ex.c" 14 .text 15 .Ltext0: 16 .cfi_sections .debug_frame 17 .file 1 "Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c" 18 .section .text.HAL_PWR_ConfigPVD,"ax",%progbits 19 .align 1 20 .global HAL_PWR_ConfigPVD 21 .syntax unified 22 .code 16 23 .thumb_func 25 HAL_PWR_ConfigPVD: 26 .LVL0: 27 .LFB40: 1:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** 2:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** ****************************************************************************** 3:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @file stm32f0xx_hal_pwr_ex.c 4:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @author MCD Application Team 5:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @brief Extended PWR HAL module driver. 6:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * This file provides firmware functions to manage the following 7:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * functionalities of the Power Controller (PWR) peripheral: 8:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * + Extended Initialization and de-initialization functions 9:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * + Extended Peripheral Control functions 10:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * 11:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** ****************************************************************************** 12:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @attention 13:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * 14:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * Copyright (c) 2016 STMicroelectronics. 15:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * All rights reserved. 16:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * 17:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * This software is licensed under terms that can be found in the LICENSE file 18:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * in the root directory of this software component. 19:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 20:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * 21:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** ****************************************************************************** 22:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 23:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 24:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Includes ------------------------------------------------------------------*/ 25:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** #include "stm32f0xx_hal.h" 26:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 27:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** @addtogroup STM32F0xx_HAL_Driver 28:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @{ 29:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 30:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 31:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** @defgroup PWREx PWREx ARM GAS /tmp/cc5Uj3PK.s page 2 32:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @brief PWREx HAL module driver 33:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @{ 34:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 35:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 36:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** #ifdef HAL_PWR_MODULE_ENABLED 37:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 38:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Private typedef -----------------------------------------------------------*/ 39:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Private define ------------------------------------------------------------*/ 40:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** @defgroup PWREx_Private_Constants PWREx Private Constants 41:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @{ 42:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 43:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** #define PVD_MODE_IT (0x00010000U) 44:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** #define PVD_MODE_EVT (0x00020000U) 45:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** #define PVD_RISING_EDGE (0x00000001U) 46:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** #define PVD_FALLING_EDGE (0x00000002U) 47:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** 48:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @} 49:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 50:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 51:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Private macro -------------------------------------------------------------*/ 52:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Private variables ---------------------------------------------------------*/ 53:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Private function prototypes -----------------------------------------------*/ 54:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Exported functions ---------------------------------------------------------*/ 55:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 56:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** @defgroup PWREx_Exported_Functions PWREx Exported Functions 57:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @{ 58:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 59:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 60:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** @defgroup PWREx_Exported_Functions_Group1 Peripheral Extended Control Functions 61:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @brief Extended Peripheral Control functions 62:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * 63:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** @verbatim 64:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 65:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** =============================================================================== 66:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** ##### Peripheral extended control functions ##### 67:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** =============================================================================== 68:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 69:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** *** PVD configuration *** 70:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** ========================= 71:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** [..] 72:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** (+) The PVD is used to monitor the VDD power supply by comparing it to a 73:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** threshold selected by the PVD Level (PLS[2:0] bits in the PWR_CR). 74:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** (+) A PVDO flag is available to indicate if VDD/VDDA is higher or lower 75:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** than the PVD threshold. This event is internally connected to the EXTI 76:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** line16 and can generate an interrupt if enabled. This is done through 77:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** HAL_PWR_ConfigPVD(), HAL_PWR_EnablePVD() functions. 78:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** (+) The PVD is stopped in Standby mode. 79:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** -@- PVD is not available on STM32F030x4/x6/x8 80:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 81:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** *** VDDIO2 Monitor Configuration *** 82:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** ==================================== 83:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** [..] 84:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** (+) VDDIO2 monitor is used to monitor the VDDIO2 power supply by comparing it 85:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** to VREFInt Voltage 86:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** (+) This monitor is internally connected to the EXTI line31 87:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** and can generate an interrupt if enabled. This is done through 88:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** HAL_PWREx_EnableVddio2Monitor() function. ARM GAS /tmp/cc5Uj3PK.s page 3 89:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** -@- VDDIO2 is available on STM32F07x/09x/04x 90:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 91:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** @endverbatim 92:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @{ 93:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 94:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 95:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** #if defined (STM32F031x6) || defined (STM32F051x8) || \ 96:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** defined (STM32F071xB) || defined (STM32F091xC) || \ 97:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** defined (STM32F042x6) || defined (STM32F072xB) 98:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** 99:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @brief Configures the voltage threshold detected by the Power Voltage Detector(PVD). 100:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @param sConfigPVD pointer to an PWR_PVDTypeDef structure that contains the configuration 101:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * information for the PVD. 102:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @note Refer to the electrical characteristics of your device datasheet for 103:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * more details about the voltage threshold corresponding to each 104:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * detection level. 105:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @retval None 106:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 107:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** void HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD) 108:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 28 .loc 1 108 1 view -0 29 .cfi_startproc 30 @ args = 0, pretend = 0, frame = 0 31 @ frame_needed = 0, uses_anonymous_args = 0 32 @ link register save eliminated. 109:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Check the parameters */ 110:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** assert_param(IS_PWR_PVD_LEVEL(sConfigPVD->PVDLevel)); 33 .loc 1 110 3 view .LVU1 111:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode)); 34 .loc 1 111 3 view .LVU2 112:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 113:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Set PLS[7:5] bits according to PVDLevel value */ 114:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** MODIFY_REG(PWR->CR, PWR_CR_PLS, sConfigPVD->PVDLevel); 35 .loc 1 114 3 view .LVU3 36 0000 1C4A ldr r2, .L10 37 0002 1368 ldr r3, [r2] 38 0004 E021 movs r1, #224 39 0006 8B43 bics r3, r1 40 0008 0168 ldr r1, [r0] 41 000a 0B43 orrs r3, r1 42 000c 1360 str r3, [r2] 115:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 116:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Clear any previous config. Keep it clear if no event or IT mode is selected */ 117:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __HAL_PWR_PVD_EXTI_DISABLE_EVENT(); 43 .loc 1 117 3 view .LVU4 44 000e 1A4B ldr r3, .L10+4 45 0010 5968 ldr r1, [r3, #4] 46 0012 1A4A ldr r2, .L10+8 47 0014 1140 ands r1, r2 48 0016 5960 str r1, [r3, #4] 118:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __HAL_PWR_PVD_EXTI_DISABLE_IT(); 49 .loc 1 118 3 view .LVU5 50 0018 1968 ldr r1, [r3] 51 001a 1140 ands r1, r2 52 001c 1960 str r1, [r3] 119:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE();__HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE(); 53 .loc 1 119 3 view .LVU6 ARM GAS /tmp/cc5Uj3PK.s page 4 54 001e 9968 ldr r1, [r3, #8] 55 0020 1140 ands r1, r2 56 0022 9960 str r1, [r3, #8] 57 .loc 1 119 44 view .LVU7 58 0024 D968 ldr r1, [r3, #12] 59 0026 0A40 ands r2, r1 60 0028 DA60 str r2, [r3, #12] 120:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 121:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Configure interrupt mode */ 122:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** if((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT) 61 .loc 1 122 3 view .LVU8 62 .loc 1 122 17 is_stmt 0 view .LVU9 63 002a 4368 ldr r3, [r0, #4] 64 .loc 1 122 5 view .LVU10 65 002c DB03 lsls r3, r3, #15 66 002e 05D5 bpl .L2 123:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 124:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __HAL_PWR_PVD_EXTI_ENABLE_IT(); 67 .loc 1 124 5 is_stmt 1 view .LVU11 68 0030 114A ldr r2, .L10+4 69 0032 1168 ldr r1, [r2] 70 0034 8023 movs r3, #128 71 0036 5B02 lsls r3, r3, #9 72 0038 0B43 orrs r3, r1 73 003a 1360 str r3, [r2] 74 .L2: 125:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 126:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 127:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Configure event mode */ 128:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** if((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT) 75 .loc 1 128 3 view .LVU12 76 .loc 1 128 17 is_stmt 0 view .LVU13 77 003c 4368 ldr r3, [r0, #4] 78 .loc 1 128 5 view .LVU14 79 003e 9B03 lsls r3, r3, #14 80 0040 05D5 bpl .L3 129:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 130:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __HAL_PWR_PVD_EXTI_ENABLE_EVENT(); 81 .loc 1 130 5 is_stmt 1 view .LVU15 82 0042 0D4A ldr r2, .L10+4 83 0044 5168 ldr r1, [r2, #4] 84 0046 8023 movs r3, #128 85 0048 5B02 lsls r3, r3, #9 86 004a 0B43 orrs r3, r1 87 004c 5360 str r3, [r2, #4] 88 .L3: 131:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 132:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 133:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Configure the edge */ 134:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** if((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE) 89 .loc 1 134 3 view .LVU16 90 .loc 1 134 17 is_stmt 0 view .LVU17 91 004e 4368 ldr r3, [r0, #4] 92 .loc 1 134 5 view .LVU18 93 0050 DB07 lsls r3, r3, #31 94 0052 05D5 bpl .L4 135:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { ARM GAS /tmp/cc5Uj3PK.s page 5 136:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE(); 95 .loc 1 136 5 is_stmt 1 view .LVU19 96 0054 084A ldr r2, .L10+4 97 0056 9168 ldr r1, [r2, #8] 98 0058 8023 movs r3, #128 99 005a 5B02 lsls r3, r3, #9 100 005c 0B43 orrs r3, r1 101 005e 9360 str r3, [r2, #8] 102 .L4: 137:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 138:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 139:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** if((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE) 103 .loc 1 139 3 view .LVU20 104 .loc 1 139 17 is_stmt 0 view .LVU21 105 0060 4368 ldr r3, [r0, #4] 106 .loc 1 139 5 view .LVU22 107 0062 9B07 lsls r3, r3, #30 108 0064 05D5 bpl .L1 140:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 141:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE(); 109 .loc 1 141 5 is_stmt 1 view .LVU23 110 0066 044A ldr r2, .L10+4 111 0068 D168 ldr r1, [r2, #12] 112 006a 8023 movs r3, #128 113 006c 5B02 lsls r3, r3, #9 114 006e 0B43 orrs r3, r1 115 0070 D360 str r3, [r2, #12] 116 .L1: 142:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 143:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 117 .loc 1 143 1 is_stmt 0 view .LVU24 118 @ sp needed 119 0072 7047 bx lr 120 .L11: 121 .align 2 122 .L10: 123 0074 00700040 .word 1073770496 124 0078 00040140 .word 1073808384 125 007c FFFFFEFF .word -65537 126 .cfi_endproc 127 .LFE40: 129 .section .text.HAL_PWR_EnablePVD,"ax",%progbits 130 .align 1 131 .global HAL_PWR_EnablePVD 132 .syntax unified 133 .code 16 134 .thumb_func 136 HAL_PWR_EnablePVD: 137 .LFB41: 144:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 145:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** 146:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @brief Enables the Power Voltage Detector(PVD). 147:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @retval None 148:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 149:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** void HAL_PWR_EnablePVD(void) 150:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 138 .loc 1 150 1 is_stmt 1 view -0 ARM GAS /tmp/cc5Uj3PK.s page 6 139 .cfi_startproc 140 @ args = 0, pretend = 0, frame = 0 141 @ frame_needed = 0, uses_anonymous_args = 0 142 @ link register save eliminated. 151:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** PWR->CR |= (uint32_t)PWR_CR_PVDE; 143 .loc 1 151 3 view .LVU26 144 .loc 1 151 6 is_stmt 0 view .LVU27 145 0000 024A ldr r2, .L13 146 0002 1368 ldr r3, [r2] 147 .loc 1 151 11 view .LVU28 148 0004 1021 movs r1, #16 149 0006 0B43 orrs r3, r1 150 0008 1360 str r3, [r2] 152:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 151 .loc 1 152 1 view .LVU29 152 @ sp needed 153 000a 7047 bx lr 154 .L14: 155 .align 2 156 .L13: 157 000c 00700040 .word 1073770496 158 .cfi_endproc 159 .LFE41: 161 .section .text.HAL_PWR_DisablePVD,"ax",%progbits 162 .align 1 163 .global HAL_PWR_DisablePVD 164 .syntax unified 165 .code 16 166 .thumb_func 168 HAL_PWR_DisablePVD: 169 .LFB42: 153:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 154:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** 155:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @brief Disables the Power Voltage Detector(PVD). 156:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @retval None 157:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 158:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** void HAL_PWR_DisablePVD(void) 159:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 170 .loc 1 159 1 is_stmt 1 view -0 171 .cfi_startproc 172 @ args = 0, pretend = 0, frame = 0 173 @ frame_needed = 0, uses_anonymous_args = 0 174 @ link register save eliminated. 160:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** PWR->CR &= ~((uint32_t)PWR_CR_PVDE); 175 .loc 1 160 3 view .LVU31 176 .loc 1 160 6 is_stmt 0 view .LVU32 177 0000 024A ldr r2, .L16 178 0002 1368 ldr r3, [r2] 179 .loc 1 160 11 view .LVU33 180 0004 1021 movs r1, #16 181 0006 8B43 bics r3, r1 182 0008 1360 str r3, [r2] 161:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 183 .loc 1 161 1 view .LVU34 184 @ sp needed 185 000a 7047 bx lr 186 .L17: ARM GAS /tmp/cc5Uj3PK.s page 7 187 .align 2 188 .L16: 189 000c 00700040 .word 1073770496 190 .cfi_endproc 191 .LFE42: 193 .section .text.HAL_PWR_PVDCallback,"ax",%progbits 194 .align 1 195 .weak HAL_PWR_PVDCallback 196 .syntax unified 197 .code 16 198 .thumb_func 200 HAL_PWR_PVDCallback: 201 .LFB44: 162:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 163:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** 164:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @brief This function handles the PWR PVD interrupt request. 165:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @note This API should be called under the PVD_IRQHandler() or PVD_VDDIO2_IRQHandler(). 166:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @retval None 167:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 168:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** void HAL_PWR_PVD_IRQHandler(void) 169:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 170:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Check PWR exti flag */ 171:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** if(__HAL_PWR_PVD_EXTI_GET_FLAG() != RESET) 172:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 173:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* PWR PVD interrupt user callback */ 174:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** HAL_PWR_PVDCallback(); 175:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 176:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Clear PWR Exti pending bit */ 177:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __HAL_PWR_PVD_EXTI_CLEAR_FLAG(); 178:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 179:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 180:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 181:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** 182:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @brief PWR PVD interrupt callback 183:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @retval None 184:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 185:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __weak void HAL_PWR_PVDCallback(void) 186:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 202 .loc 1 186 1 is_stmt 1 view -0 203 .cfi_startproc 204 @ args = 0, pretend = 0, frame = 0 205 @ frame_needed = 0, uses_anonymous_args = 0 206 @ link register save eliminated. 187:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* NOTE : This function Should not be modified, when the callback is needed, 188:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** the HAL_PWR_PVDCallback could be implemented in the user file 189:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 190:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 207 .loc 1 190 1 view .LVU36 208 @ sp needed 209 0000 7047 bx lr 210 .cfi_endproc 211 .LFE44: 213 .section .text.HAL_PWR_PVD_IRQHandler,"ax",%progbits 214 .align 1 215 .global HAL_PWR_PVD_IRQHandler 216 .syntax unified 217 .code 16 ARM GAS /tmp/cc5Uj3PK.s page 8 218 .thumb_func 220 HAL_PWR_PVD_IRQHandler: 221 .LFB43: 169:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Check PWR exti flag */ 222 .loc 1 169 1 view -0 223 .cfi_startproc 224 @ args = 0, pretend = 0, frame = 0 225 @ frame_needed = 0, uses_anonymous_args = 0 226 0000 10B5 push {r4, lr} 227 .cfi_def_cfa_offset 8 228 .cfi_offset 4, -8 229 .cfi_offset 14, -4 171:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 230 .loc 1 171 3 view .LVU38 171:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 231 .loc 1 171 6 is_stmt 0 view .LVU39 232 0002 064B ldr r3, .L23 233 0004 5B69 ldr r3, [r3, #20] 171:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 234 .loc 1 171 5 view .LVU40 235 0006 DB03 lsls r3, r3, #15 236 0008 00D4 bmi .L22 237 .L19: 179:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 238 .loc 1 179 1 view .LVU41 239 @ sp needed 240 000a 10BD pop {r4, pc} 241 .L22: 174:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 242 .loc 1 174 5 is_stmt 1 view .LVU42 243 000c FFF7FEFF bl HAL_PWR_PVDCallback 244 .LVL1: 177:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 245 .loc 1 177 5 view .LVU43 246 0010 024B ldr r3, .L23 247 0012 8022 movs r2, #128 248 0014 5202 lsls r2, r2, #9 249 0016 5A61 str r2, [r3, #20] 179:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 250 .loc 1 179 1 is_stmt 0 view .LVU44 251 0018 F7E7 b .L19 252 .L24: 253 001a C046 .align 2 254 .L23: 255 001c 00040140 .word 1073808384 256 .cfi_endproc 257 .LFE43: 259 .section .text.HAL_PWREx_EnableVddio2Monitor,"ax",%progbits 260 .align 1 261 .global HAL_PWREx_EnableVddio2Monitor 262 .syntax unified 263 .code 16 264 .thumb_func 266 HAL_PWREx_EnableVddio2Monitor: 267 .LFB45: 191:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 192:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** #endif /* defined (STM32F031x6) || defined (STM32F051x8) || */ ARM GAS /tmp/cc5Uj3PK.s page 9 193:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* defined (STM32F071xB) || defined (STM32F091xC) || */ 194:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* defined (STM32F042x6) || defined (STM32F072xB) */ 195:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 196:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** #if defined (STM32F042x6) || defined (STM32F048xx) || \ 197:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** defined (STM32F071xB) || defined (STM32F072xB) || defined (STM32F078xx) || \ 198:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** defined (STM32F091xC) || defined (STM32F098xx) 199:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** 200:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @brief Enable VDDIO2 monitor: enable Exti 31 and falling edge detection. 201:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @note If Exti 31 is enable correlty and VDDIO2 voltage goes below Vrefint, 202:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** an interrupt is generated Irq line 1. 203:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** NVIS has to be enable by user. 204:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @retval None 205:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 206:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** void HAL_PWREx_EnableVddio2Monitor(void) 207:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 268 .loc 1 207 1 is_stmt 1 view -0 269 .cfi_startproc 270 @ args = 0, pretend = 0, frame = 0 271 @ frame_needed = 0, uses_anonymous_args = 0 272 @ link register save eliminated. 208:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __HAL_PWR_VDDIO2_EXTI_ENABLE_IT(); 273 .loc 1 208 3 view .LVU46 274 0000 044B ldr r3, .L26 275 0002 1968 ldr r1, [r3] 276 0004 8022 movs r2, #128 277 0006 1206 lsls r2, r2, #24 278 0008 1143 orrs r1, r2 279 000a 1960 str r1, [r3] 209:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __HAL_PWR_VDDIO2_EXTI_ENABLE_FALLING_EDGE(); 280 .loc 1 209 3 view .LVU47 281 000c D968 ldr r1, [r3, #12] 282 000e 0A43 orrs r2, r1 283 0010 DA60 str r2, [r3, #12] 210:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 284 .loc 1 210 1 is_stmt 0 view .LVU48 285 @ sp needed 286 0012 7047 bx lr 287 .L27: 288 .align 2 289 .L26: 290 0014 00040140 .word 1073808384 291 .cfi_endproc 292 .LFE45: 294 .section .text.HAL_PWREx_DisableVddio2Monitor,"ax",%progbits 295 .align 1 296 .global HAL_PWREx_DisableVddio2Monitor 297 .syntax unified 298 .code 16 299 .thumb_func 301 HAL_PWREx_DisableVddio2Monitor: 302 .LFB46: 211:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 212:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** 213:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @brief Disable the Vddio2 Monitor. 214:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @retval None 215:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 216:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** void HAL_PWREx_DisableVddio2Monitor(void) ARM GAS /tmp/cc5Uj3PK.s page 10 217:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 303 .loc 1 217 1 is_stmt 1 view -0 304 .cfi_startproc 305 @ args = 0, pretend = 0, frame = 0 306 @ frame_needed = 0, uses_anonymous_args = 0 307 @ link register save eliminated. 218:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __HAL_PWR_VDDIO2_EXTI_DISABLE_IT(); 308 .loc 1 218 3 view .LVU50 309 0000 064B ldr r3, .L29 310 0002 1A68 ldr r2, [r3] 311 0004 5200 lsls r2, r2, #1 312 0006 5208 lsrs r2, r2, #1 313 0008 1A60 str r2, [r3] 219:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __HAL_PWR_VDDIO2_EXTI_DISABLE_FALLING_EDGE(); 314 .loc 1 219 3 view .LVU51 315 .loc 1 219 3 view .LVU52 316 000a DA68 ldr r2, [r3, #12] 317 000c 5200 lsls r2, r2, #1 318 000e 5208 lsrs r2, r2, #1 319 0010 DA60 str r2, [r3, #12] 320 .loc 1 219 3 view .LVU53 321 0012 9A68 ldr r2, [r3, #8] 322 0014 5200 lsls r2, r2, #1 323 0016 5208 lsrs r2, r2, #1 324 0018 9A60 str r2, [r3, #8] 325 .loc 1 219 3 view .LVU54 220:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 221:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 326 .loc 1 221 1 is_stmt 0 view .LVU55 327 @ sp needed 328 001a 7047 bx lr 329 .L30: 330 .align 2 331 .L29: 332 001c 00040140 .word 1073808384 333 .cfi_endproc 334 .LFE46: 336 .section .text.HAL_PWREx_Vddio2MonitorCallback,"ax",%progbits 337 .align 1 338 .weak HAL_PWREx_Vddio2MonitorCallback 339 .syntax unified 340 .code 16 341 .thumb_func 343 HAL_PWREx_Vddio2MonitorCallback: 344 .LFB48: 222:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 223:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** 224:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @brief This function handles the PWR Vddio2 monitor interrupt request. 225:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @note This API should be called under the VDDIO2_IRQHandler() PVD_VDDIO2_IRQHandler(). 226:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @retval None 227:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 228:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** void HAL_PWREx_Vddio2Monitor_IRQHandler(void) 229:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 230:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Check PWR exti flag */ 231:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** if(__HAL_PWR_VDDIO2_EXTI_GET_FLAG() != RESET) 232:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 233:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* PWR Vddio2 monitor interrupt user callback */ ARM GAS /tmp/cc5Uj3PK.s page 11 234:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** HAL_PWREx_Vddio2MonitorCallback(); 235:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 236:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Clear PWR Exti pending bit */ 237:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __HAL_PWR_VDDIO2_EXTI_CLEAR_FLAG(); 238:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 239:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 240:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 241:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /** 242:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @brief PWR Vddio2 Monitor interrupt callback 243:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** * @retval None 244:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 245:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** __weak void HAL_PWREx_Vddio2MonitorCallback(void) 246:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 345 .loc 1 246 1 is_stmt 1 view -0 346 .cfi_startproc 347 @ args = 0, pretend = 0, frame = 0 348 @ frame_needed = 0, uses_anonymous_args = 0 349 @ link register save eliminated. 247:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* NOTE : This function Should not be modified, when the callback is needed, 248:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** the HAL_PWREx_Vddio2MonitorCallback could be implemented in the user file 249:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** */ 250:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 350 .loc 1 250 1 view .LVU57 351 @ sp needed 352 0000 7047 bx lr 353 .cfi_endproc 354 .LFE48: 356 .section .text.HAL_PWREx_Vddio2Monitor_IRQHandler,"ax",%progbits 357 .align 1 358 .global HAL_PWREx_Vddio2Monitor_IRQHandler 359 .syntax unified 360 .code 16 361 .thumb_func 363 HAL_PWREx_Vddio2Monitor_IRQHandler: 364 .LFB47: 229:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** /* Check PWR exti flag */ 365 .loc 1 229 1 view -0 366 .cfi_startproc 367 @ args = 0, pretend = 0, frame = 0 368 @ frame_needed = 0, uses_anonymous_args = 0 369 0000 10B5 push {r4, lr} 370 .cfi_def_cfa_offset 8 371 .cfi_offset 4, -8 372 .cfi_offset 14, -4 231:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 373 .loc 1 231 3 view .LVU59 231:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 374 .loc 1 231 6 is_stmt 0 view .LVU60 375 0002 064B ldr r3, .L35 376 0004 5B69 ldr r3, [r3, #20] 231:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** { 377 .loc 1 231 5 view .LVU61 378 0006 002B cmp r3, #0 379 0008 00DB blt .L34 380 .L32: 239:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 381 .loc 1 239 1 view .LVU62 ARM GAS /tmp/cc5Uj3PK.s page 12 382 @ sp needed 383 000a 10BD pop {r4, pc} 384 .L34: 234:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 385 .loc 1 234 5 is_stmt 1 view .LVU63 386 000c FFF7FEFF bl HAL_PWREx_Vddio2MonitorCallback 387 .LVL2: 237:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** } 388 .loc 1 237 5 view .LVU64 389 0010 024B ldr r3, .L35 390 0012 8022 movs r2, #128 391 0014 1206 lsls r2, r2, #24 392 0016 5A61 str r2, [r3, #20] 239:Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c **** 393 .loc 1 239 1 is_stmt 0 view .LVU65 394 0018 F7E7 b .L32 395 .L36: 396 001a C046 .align 2 397 .L35: 398 001c 00040140 .word 1073808384 399 .cfi_endproc 400 .LFE47: 402 .text 403 .Letext0: 404 .file 2 "/home/chiangni/.config/VSCodium/User/globalStorage/bmd.stm32-for-vscode/@xpack-dev-tools/ 405 .file 3 "/home/chiangni/.config/VSCodium/User/globalStorage/bmd.stm32-for-vscode/@xpack-dev-tools/ 406 .file 4 "Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h" 407 .file 5 "Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h" 408 .file 6 "Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h" ARM GAS /tmp/cc5Uj3PK.s page 13 DEFINED SYMBOLS *ABS*:00000000 stm32f0xx_hal_pwr_ex.c /tmp/cc5Uj3PK.s:19 .text.HAL_PWR_ConfigPVD:00000000 $t /tmp/cc5Uj3PK.s:25 .text.HAL_PWR_ConfigPVD:00000000 HAL_PWR_ConfigPVD /tmp/cc5Uj3PK.s:123 .text.HAL_PWR_ConfigPVD:00000074 $d /tmp/cc5Uj3PK.s:130 .text.HAL_PWR_EnablePVD:00000000 $t /tmp/cc5Uj3PK.s:136 .text.HAL_PWR_EnablePVD:00000000 HAL_PWR_EnablePVD /tmp/cc5Uj3PK.s:157 .text.HAL_PWR_EnablePVD:0000000c $d /tmp/cc5Uj3PK.s:162 .text.HAL_PWR_DisablePVD:00000000 $t /tmp/cc5Uj3PK.s:168 .text.HAL_PWR_DisablePVD:00000000 HAL_PWR_DisablePVD /tmp/cc5Uj3PK.s:189 .text.HAL_PWR_DisablePVD:0000000c $d /tmp/cc5Uj3PK.s:194 .text.HAL_PWR_PVDCallback:00000000 $t /tmp/cc5Uj3PK.s:200 .text.HAL_PWR_PVDCallback:00000000 HAL_PWR_PVDCallback /tmp/cc5Uj3PK.s:214 .text.HAL_PWR_PVD_IRQHandler:00000000 $t /tmp/cc5Uj3PK.s:220 .text.HAL_PWR_PVD_IRQHandler:00000000 HAL_PWR_PVD_IRQHandler /tmp/cc5Uj3PK.s:255 .text.HAL_PWR_PVD_IRQHandler:0000001c $d /tmp/cc5Uj3PK.s:260 .text.HAL_PWREx_EnableVddio2Monitor:00000000 $t /tmp/cc5Uj3PK.s:266 .text.HAL_PWREx_EnableVddio2Monitor:00000000 HAL_PWREx_EnableVddio2Monitor /tmp/cc5Uj3PK.s:290 .text.HAL_PWREx_EnableVddio2Monitor:00000014 $d /tmp/cc5Uj3PK.s:295 .text.HAL_PWREx_DisableVddio2Monitor:00000000 $t /tmp/cc5Uj3PK.s:301 .text.HAL_PWREx_DisableVddio2Monitor:00000000 HAL_PWREx_DisableVddio2Monitor /tmp/cc5Uj3PK.s:332 .text.HAL_PWREx_DisableVddio2Monitor:0000001c $d /tmp/cc5Uj3PK.s:337 .text.HAL_PWREx_Vddio2MonitorCallback:00000000 $t /tmp/cc5Uj3PK.s:343 .text.HAL_PWREx_Vddio2MonitorCallback:00000000 HAL_PWREx_Vddio2MonitorCallback /tmp/cc5Uj3PK.s:357 .text.HAL_PWREx_Vddio2Monitor_IRQHandler:00000000 $t /tmp/cc5Uj3PK.s:363 .text.HAL_PWREx_Vddio2Monitor_IRQHandler:00000000 HAL_PWREx_Vddio2Monitor_IRQHandler /tmp/cc5Uj3PK.s:398 .text.HAL_PWREx_Vddio2Monitor_IRQHandler:0000001c $d NO UNDEFINED SYMBOLS