stm32f4xx_hal_pwr.lst 97 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694
  1. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 1
  2. 1 .cpu cortex-m4
  3. 2 .arch armv7e-m
  4. 3 .fpu fpv4-sp-d16
  5. 4 .eabi_attribute 27, 1
  6. 5 .eabi_attribute 28, 1
  7. 6 .eabi_attribute 20, 1
  8. 7 .eabi_attribute 21, 1
  9. 8 .eabi_attribute 23, 3
  10. 9 .eabi_attribute 24, 1
  11. 10 .eabi_attribute 25, 1
  12. 11 .eabi_attribute 26, 1
  13. 12 .eabi_attribute 30, 6
  14. 13 .eabi_attribute 34, 1
  15. 14 .eabi_attribute 18, 4
  16. 15 .file "stm32f4xx_hal_pwr.c"
  17. 16 .text
  18. 17 .Ltext0:
  19. 18 .cfi_sections .debug_frame
  20. 19 .section .text.HAL_PWR_DeInit,"ax",%progbits
  21. 20 .align 1
  22. 21 .global HAL_PWR_DeInit
  23. 22 .syntax unified
  24. 23 .thumb
  25. 24 .thumb_func
  26. 26 HAL_PWR_DeInit:
  27. 27 .LFB235:
  28. 28 .file 1 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c"
  29. 1:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  30. 2:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** ******************************************************************************
  31. 3:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @file stm32f4xx_hal_pwr.c
  32. 4:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @author MCD Application Team
  33. 5:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief PWR HAL module driver.
  34. 6:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * This file provides firmware functions to manage the following
  35. 7:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * functionalities of the Power Controller (PWR) peripheral:
  36. 8:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * + Initialization and de-initialization functions
  37. 9:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * + Peripheral Control functions
  38. 10:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *
  39. 11:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** ******************************************************************************
  40. 12:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @attention
  41. 13:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *
  42. 14:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * Copyright (c) 2017 STMicroelectronics.
  43. 15:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * All rights reserved.
  44. 16:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *
  45. 17:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * This software is licensed under terms that can be found in the LICENSE file in
  46. 18:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * the root directory of this software component.
  47. 19:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  48. 20:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** ******************************************************************************
  49. 21:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  50. 22:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  51. 23:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Includes ------------------------------------------------------------------*/
  52. 24:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** #include "stm32f4xx_hal.h"
  53. 25:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  54. 26:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /** @addtogroup STM32F4xx_HAL_Driver
  55. 27:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @{
  56. 28:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  57. 29:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  58. 30:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /** @defgroup PWR PWR
  59. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 2
  60. 31:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief PWR HAL module driver
  61. 32:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @{
  62. 33:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  63. 34:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  64. 35:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** #ifdef HAL_PWR_MODULE_ENABLED
  65. 36:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  66. 37:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Private typedef -----------------------------------------------------------*/
  67. 38:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Private define ------------------------------------------------------------*/
  68. 39:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /** @addtogroup PWR_Private_Constants
  69. 40:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @{
  70. 41:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  71. 42:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  72. 43:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /** @defgroup PWR_PVD_Mode_Mask PWR PVD Mode Mask
  73. 44:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @{
  74. 45:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  75. 46:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** #define PVD_MODE_IT 0x00010000U
  76. 47:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** #define PVD_MODE_EVT 0x00020000U
  77. 48:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** #define PVD_RISING_EDGE 0x00000001U
  78. 49:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** #define PVD_FALLING_EDGE 0x00000002U
  79. 50:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  80. 51:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @}
  81. 52:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  82. 53:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  83. 54:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  84. 55:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @}
  85. 56:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  86. 57:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Private macro -------------------------------------------------------------*/
  87. 58:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Private variables ---------------------------------------------------------*/
  88. 59:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Private function prototypes -----------------------------------------------*/
  89. 60:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Private functions ---------------------------------------------------------*/
  90. 61:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  91. 62:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /** @defgroup PWR_Exported_Functions PWR Exported Functions
  92. 63:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @{
  93. 64:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  94. 65:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  95. 66:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /** @defgroup PWR_Exported_Functions_Group1 Initialization and de-initialization functions
  96. 67:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Initialization and de-initialization functions
  97. 68:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *
  98. 69:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** @verbatim
  99. 70:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** ===============================================================================
  100. 71:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** ##### Initialization and de-initialization functions #####
  101. 72:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** ===============================================================================
  102. 73:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** [..]
  103. 74:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** After reset, the backup domain (RTC registers, RTC backup data
  104. 75:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** registers and backup SRAM) is protected against possible unwanted
  105. 76:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** write accesses.
  106. 77:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** To enable access to the RTC Domain and RTC registers, proceed as follows:
  107. 78:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) Enable the Power Controller (PWR) APB1 interface clock using the
  108. 79:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __HAL_RCC_PWR_CLK_ENABLE() macro.
  109. 80:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) Enable access to RTC domain using the HAL_PWR_EnableBkUpAccess() function.
  110. 81:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  111. 82:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** @endverbatim
  112. 83:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @{
  113. 84:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  114. 85:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  115. 86:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  116. 87:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Deinitializes the HAL PWR peripheral registers to their default reset values.
  117. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 3
  118. 88:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  119. 89:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  120. 90:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_DeInit(void)
  121. 91:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  122. 29 .loc 1 91 1
  123. 30 .cfi_startproc
  124. 31 @ args = 0, pretend = 0, frame = 0
  125. 32 @ frame_needed = 1, uses_anonymous_args = 0
  126. 33 @ link register save eliminated.
  127. 34 0000 80B4 push {r7}
  128. 35 .LCFI0:
  129. 36 .cfi_def_cfa_offset 4
  130. 37 .cfi_offset 7, -4
  131. 38 0002 00AF add r7, sp, #0
  132. 39 .LCFI1:
  133. 40 .cfi_def_cfa_register 7
  134. 92:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __HAL_RCC_PWR_FORCE_RESET();
  135. 41 .loc 1 92 3
  136. 42 0004 084B ldr r3, .L2
  137. 43 0006 1B6A ldr r3, [r3, #32]
  138. 44 0008 074A ldr r2, .L2
  139. 45 000a 43F08053 orr r3, r3, #268435456
  140. 46 000e 1362 str r3, [r2, #32]
  141. 93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __HAL_RCC_PWR_RELEASE_RESET();
  142. 47 .loc 1 93 3
  143. 48 0010 054B ldr r3, .L2
  144. 49 0012 1B6A ldr r3, [r3, #32]
  145. 50 0014 044A ldr r2, .L2
  146. 51 0016 23F08053 bic r3, r3, #268435456
  147. 52 001a 1362 str r3, [r2, #32]
  148. 94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  149. 53 .loc 1 94 1
  150. 54 001c 00BF nop
  151. 55 001e BD46 mov sp, r7
  152. 56 .LCFI2:
  153. 57 .cfi_def_cfa_register 13
  154. 58 @ sp needed
  155. 59 0020 5DF8047B ldr r7, [sp], #4
  156. 60 .LCFI3:
  157. 61 .cfi_restore 7
  158. 62 .cfi_def_cfa_offset 0
  159. 63 0024 7047 bx lr
  160. 64 .L3:
  161. 65 0026 00BF .align 2
  162. 66 .L2:
  163. 67 0028 00380240 .word 1073887232
  164. 68 .cfi_endproc
  165. 69 .LFE235:
  166. 71 .section .text.HAL_PWR_EnableBkUpAccess,"ax",%progbits
  167. 72 .align 1
  168. 73 .global HAL_PWR_EnableBkUpAccess
  169. 74 .syntax unified
  170. 75 .thumb
  171. 76 .thumb_func
  172. 78 HAL_PWR_EnableBkUpAccess:
  173. 79 .LFB236:
  174. 95:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  175. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 4
  176. 96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  177. 97:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Enables access to the backup domain (RTC registers, RTC
  178. 98:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * backup data registers and backup SRAM).
  179. 99:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note If the HSE divided by 2, 3, ..31 is used as the RTC clock, the
  180. 100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * Backup Domain Access should be kept enabled.
  181. 101:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note The following sequence is required to bypass the delay between
  182. 102:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * DBP bit programming and the effective enabling of the backup domain.
  183. 103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * Please check the Errata Sheet for more details under "Possible delay
  184. 104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * in backup domain protection disabling/enabling after programming the
  185. 105:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * DBP bit" section.
  186. 106:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  187. 107:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  188. 108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_EnableBkUpAccess(void)
  189. 109:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  190. 80 .loc 1 109 1
  191. 81 .cfi_startproc
  192. 82 @ args = 0, pretend = 0, frame = 8
  193. 83 @ frame_needed = 1, uses_anonymous_args = 0
  194. 84 @ link register save eliminated.
  195. 85 0000 80B4 push {r7}
  196. 86 .LCFI4:
  197. 87 .cfi_def_cfa_offset 4
  198. 88 .cfi_offset 7, -4
  199. 89 0002 83B0 sub sp, sp, #12
  200. 90 .LCFI5:
  201. 91 .cfi_def_cfa_offset 16
  202. 92 0004 00AF add r7, sp, #0
  203. 93 .LCFI6:
  204. 94 .cfi_def_cfa_register 7
  205. 110:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __IO uint32_t dummyread;
  206. 111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *(__IO uint32_t *) CR_DBP_BB = (uint32_t)ENABLE;
  207. 95 .loc 1 111 3
  208. 96 0006 064B ldr r3, .L5
  209. 97 .loc 1 111 32
  210. 98 0008 0122 movs r2, #1
  211. 99 000a 1A60 str r2, [r3]
  212. 112:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** dummyread = PWR->CR;
  213. 100 .loc 1 112 18
  214. 101 000c 054B ldr r3, .L5+4
  215. 102 000e 1B68 ldr r3, [r3]
  216. 103 .loc 1 112 13
  217. 104 0010 7B60 str r3, [r7, #4]
  218. 113:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** UNUSED(dummyread);
  219. 105 .loc 1 113 3
  220. 106 0012 7B68 ldr r3, [r7, #4]
  221. 114:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  222. 107 .loc 1 114 1
  223. 108 0014 00BF nop
  224. 109 0016 0C37 adds r7, r7, #12
  225. 110 .LCFI7:
  226. 111 .cfi_def_cfa_offset 4
  227. 112 0018 BD46 mov sp, r7
  228. 113 .LCFI8:
  229. 114 .cfi_def_cfa_register 13
  230. 115 @ sp needed
  231. 116 001a 5DF8047B ldr r7, [sp], #4
  232. 117 .LCFI9:
  233. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 5
  234. 118 .cfi_restore 7
  235. 119 .cfi_def_cfa_offset 0
  236. 120 001e 7047 bx lr
  237. 121 .L6:
  238. 122 .align 2
  239. 123 .L5:
  240. 124 0020 20000E42 .word 1108213792
  241. 125 0024 00700040 .word 1073770496
  242. 126 .cfi_endproc
  243. 127 .LFE236:
  244. 129 .section .text.HAL_PWR_DisableBkUpAccess,"ax",%progbits
  245. 130 .align 1
  246. 131 .global HAL_PWR_DisableBkUpAccess
  247. 132 .syntax unified
  248. 133 .thumb
  249. 134 .thumb_func
  250. 136 HAL_PWR_DisableBkUpAccess:
  251. 137 .LFB237:
  252. 115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  253. 116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  254. 117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Disables access to the backup domain (RTC registers, RTC
  255. 118:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * backup data registers and backup SRAM).
  256. 119:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note If the HSE divided by 2, 3, ..31 is used as the RTC clock, the
  257. 120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * Backup Domain Access should be kept enabled.
  258. 121:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note The following sequence is required to bypass the delay between
  259. 122:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * DBP bit programming and the effective disabling of the backup domain.
  260. 123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * Please check the Errata Sheet for more details under "Possible delay
  261. 124:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * in backup domain protection disabling/enabling after programming the
  262. 125:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * DBP bit" section.
  263. 126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  264. 127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  265. 128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_DisableBkUpAccess(void)
  266. 129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  267. 138 .loc 1 129 1
  268. 139 .cfi_startproc
  269. 140 @ args = 0, pretend = 0, frame = 8
  270. 141 @ frame_needed = 1, uses_anonymous_args = 0
  271. 142 @ link register save eliminated.
  272. 143 0000 80B4 push {r7}
  273. 144 .LCFI10:
  274. 145 .cfi_def_cfa_offset 4
  275. 146 .cfi_offset 7, -4
  276. 147 0002 83B0 sub sp, sp, #12
  277. 148 .LCFI11:
  278. 149 .cfi_def_cfa_offset 16
  279. 150 0004 00AF add r7, sp, #0
  280. 151 .LCFI12:
  281. 152 .cfi_def_cfa_register 7
  282. 130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __IO uint32_t dummyread;
  283. 131:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *(__IO uint32_t *) CR_DBP_BB = (uint32_t)DISABLE;
  284. 153 .loc 1 131 3
  285. 154 0006 064B ldr r3, .L8
  286. 155 .loc 1 131 32
  287. 156 0008 0022 movs r2, #0
  288. 157 000a 1A60 str r2, [r3]
  289. 132:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** dummyread = PWR->CR;
  290. 158 .loc 1 132 18
  291. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 6
  292. 159 000c 054B ldr r3, .L8+4
  293. 160 000e 1B68 ldr r3, [r3]
  294. 161 .loc 1 132 13
  295. 162 0010 7B60 str r3, [r7, #4]
  296. 133:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** UNUSED(dummyread);
  297. 163 .loc 1 133 3
  298. 164 0012 7B68 ldr r3, [r7, #4]
  299. 134:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  300. 165 .loc 1 134 1
  301. 166 0014 00BF nop
  302. 167 0016 0C37 adds r7, r7, #12
  303. 168 .LCFI13:
  304. 169 .cfi_def_cfa_offset 4
  305. 170 0018 BD46 mov sp, r7
  306. 171 .LCFI14:
  307. 172 .cfi_def_cfa_register 13
  308. 173 @ sp needed
  309. 174 001a 5DF8047B ldr r7, [sp], #4
  310. 175 .LCFI15:
  311. 176 .cfi_restore 7
  312. 177 .cfi_def_cfa_offset 0
  313. 178 001e 7047 bx lr
  314. 179 .L9:
  315. 180 .align 2
  316. 181 .L8:
  317. 182 0020 20000E42 .word 1108213792
  318. 183 0024 00700040 .word 1073770496
  319. 184 .cfi_endproc
  320. 185 .LFE237:
  321. 187 .section .text.HAL_PWR_ConfigPVD,"ax",%progbits
  322. 188 .align 1
  323. 189 .global HAL_PWR_ConfigPVD
  324. 190 .syntax unified
  325. 191 .thumb
  326. 192 .thumb_func
  327. 194 HAL_PWR_ConfigPVD:
  328. 195 .LFB238:
  329. 135:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  330. 136:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  331. 137:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @}
  332. 138:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  333. 139:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  334. 140:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /** @defgroup PWR_Exported_Functions_Group2 Peripheral Control functions
  335. 141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Low Power modes configuration functions
  336. 142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *
  337. 143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** @verbatim
  338. 144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  339. 145:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** ===============================================================================
  340. 146:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** ##### Peripheral Control functions #####
  341. 147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** ===============================================================================
  342. 148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  343. 149:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *** PVD configuration ***
  344. 150:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** =========================
  345. 151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** [..]
  346. 152:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) The PVD is used to monitor the VDD power supply by comparing it to a
  347. 153:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** threshold selected by the PVD Level (PLS[2:0] bits in the PWR_CR).
  348. 154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) A PVDO flag is available to indicate if VDD/VDDA is higher or lower
  349. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 7
  350. 155:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** than the PVD threshold. This event is internally connected to the EXTI
  351. 156:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** line16 and can generate an interrupt if enabled. This is done through
  352. 157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_ENABLE_IT() macro.
  353. 158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) The PVD is stopped in Standby mode.
  354. 159:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  355. 160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *** Wake-up pin configuration ***
  356. 161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** ================================
  357. 162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** [..]
  358. 163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) Wake-up pin is used to wake up the system from Standby mode. This pin is
  359. 164:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** forced in input pull-down configuration and is active on rising edges.
  360. 165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) There is one Wake-up pin: Wake-up Pin 1 on PA.00.
  361. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (++) For STM32F446xx there are two Wake-Up pins: Pin1 on PA.00 and Pin2 on PC.13
  362. 167:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (++) For STM32F410xx/STM32F412xx/STM32F413xx/STM32F423xx there are three Wake-Up pins:
  363. 168:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  364. 169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *** Low Power modes configuration ***
  365. 170:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** =====================================
  366. 171:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** [..]
  367. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** The devices feature 3 low-power modes:
  368. 173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) Sleep mode: Cortex-M4 core stopped, peripherals kept running.
  369. 174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) Stop mode: all clocks are stopped, regulator running, regulator
  370. 175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** in low power mode
  371. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) Standby mode: 1.2V domain powered off.
  372. 177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  373. 178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *** Sleep mode ***
  374. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** ==================
  375. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** [..]
  376. 181:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) Entry:
  377. 182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** The Sleep mode is entered by using the HAL_PWR_EnterSLEEPMode(PWR_MAINREGULATOR_ON, PWR_SLE
  378. 183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** functions with
  379. 184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (++) PWR_SLEEPENTRY_WFI: enter SLEEP mode with WFI instruction
  380. 185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (++) PWR_SLEEPENTRY_WFE: enter SLEEP mode with WFE instruction
  381. 186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  382. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** -@@- The Regulator parameter is not used for the STM32F4 family
  383. 188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** and is kept as parameter just to maintain compatibility with the
  384. 189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** lower power families (STM32L).
  385. 190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) Exit:
  386. 191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** Any peripheral interrupt acknowledged by the nested vectored interrupt
  387. 192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** controller (NVIC) can wake up the device from Sleep mode.
  388. 193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  389. 194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *** Stop mode ***
  390. 195:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** =================
  391. 196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** [..]
  392. 197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** In Stop mode, all clocks in the 1.2V domain are stopped, the PLL, the HSI,
  393. 198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** and the HSE RC oscillators are disabled. Internal SRAM and register contents
  394. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** are preserved.
  395. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** The voltage regulator can be configured either in normal or low-power mode.
  396. 201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** To minimize the consumption In Stop mode, FLASH can be powered off before
  397. 202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** entering the Stop mode using the HAL_PWREx_EnableFlashPowerDown() function.
  398. 203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** It can be switched on again by software after exiting the Stop mode using
  399. 204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** the HAL_PWREx_DisableFlashPowerDown() function.
  400. 205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  401. 206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) Entry:
  402. 207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** The Stop mode is entered using the HAL_PWR_EnterSTOPMode(PWR_MAINREGULATOR_ON)
  403. 208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** function with:
  404. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (++) Main regulator ON.
  405. 210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (++) Low Power regulator ON.
  406. 211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) Exit:
  407. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 8
  408. 212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** Any EXTI Line (Internal or External) configured in Interrupt/Event mode.
  409. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  410. 214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *** Standby mode ***
  411. 215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** ====================
  412. 216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** [..]
  413. 217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+)
  414. 218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** The Standby mode allows to achieve the lowest power consumption. It is based
  415. 219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** on the Cortex-M4 deep sleep mode, with the voltage regulator disabled.
  416. 220:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** The 1.2V domain is consequently powered off. The PLL, the HSI oscillator and
  417. 221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** the HSE oscillator are also switched off. SRAM and register contents are lost
  418. 222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** except for the RTC registers, RTC backup registers, backup SRAM and Standby
  419. 223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** circuitry.
  420. 224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  421. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** The voltage regulator is OFF.
  422. 226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  423. 227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (++) Entry:
  424. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+++) The Standby mode is entered using the HAL_PWR_EnterSTANDBYMode() function.
  425. 229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (++) Exit:
  426. 230:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+++) WKUP pin rising edge, RTC alarm (Alarm A and Alarm B), RTC wake-up,
  427. 231:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** tamper event, time-stamp event, external reset in NRST pin, IWDG reset.
  428. 232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  429. 233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *** Auto-wake-up (AWU) from low-power mode ***
  430. 234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** =============================================
  431. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** [..]
  432. 236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  433. 237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) The MCU can be woken up from low-power mode by an RTC Alarm event, an RTC
  434. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** Wake-up event, a tamper event or a time-stamp event, without depending on
  435. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** an external interrupt (Auto-wake-up mode).
  436. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  437. 241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (+) RTC auto-wake-up (AWU) from the Stop and Standby modes
  438. 242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  439. 243:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (++) To wake up from the Stop mode with an RTC alarm event, it is necessary to
  440. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** configure the RTC to generate the RTC alarm using the HAL_RTC_SetAlarm_IT() function.
  441. 245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  442. 246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (++) To wake up from the Stop mode with an RTC Tamper or time stamp event, it
  443. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** is necessary to configure the RTC to detect the tamper or time stamp event using the
  444. 248:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** HAL_RTCEx_SetTimeStamp_IT() or HAL_RTCEx_SetTamper_IT() functions.
  445. 249:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  446. 250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** (++) To wake up from the Stop mode with an RTC Wake-up event, it is necessary to
  447. 251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** configure the RTC to generate the RTC Wake-up event using the HAL_RTCEx_SetWakeUpTime
  448. 252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  449. 253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** @endverbatim
  450. 254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @{
  451. 255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  452. 256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  453. 257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  454. 258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Configures the voltage threshold detected by the Power Voltage Detector(PVD).
  455. 259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @param sConfigPVD pointer to an PWR_PVDTypeDef structure that contains the configuration
  456. 260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * information for the PVD.
  457. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note Refer to the electrical characteristics of your device datasheet for
  458. 262:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * more details about the voltage threshold corresponding to each
  459. 263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * detection level.
  460. 264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  461. 265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  462. 266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD)
  463. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  464. 196 .loc 1 267 1
  465. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 9
  466. 197 .cfi_startproc
  467. 198 @ args = 0, pretend = 0, frame = 8
  468. 199 @ frame_needed = 1, uses_anonymous_args = 0
  469. 200 @ link register save eliminated.
  470. 201 0000 80B4 push {r7}
  471. 202 .LCFI16:
  472. 203 .cfi_def_cfa_offset 4
  473. 204 .cfi_offset 7, -4
  474. 205 0002 83B0 sub sp, sp, #12
  475. 206 .LCFI17:
  476. 207 .cfi_def_cfa_offset 16
  477. 208 0004 00AF add r7, sp, #0
  478. 209 .LCFI18:
  479. 210 .cfi_def_cfa_register 7
  480. 211 0006 7860 str r0, [r7, #4]
  481. 268:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Check the parameters */
  482. 269:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** assert_param(IS_PWR_PVD_LEVEL(sConfigPVD->PVDLevel));
  483. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode));
  484. 271:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  485. 272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Set PLS[7:5] bits according to PVDLevel value */
  486. 273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** MODIFY_REG(PWR->CR, PWR_CR_PLS, sConfigPVD->PVDLevel);
  487. 212 .loc 1 273 3
  488. 213 0008 2B4B ldr r3, .L16
  489. 214 000a 1B68 ldr r3, [r3]
  490. 215 000c 23F0E002 bic r2, r3, #224
  491. 216 0010 7B68 ldr r3, [r7, #4]
  492. 217 0012 1B68 ldr r3, [r3]
  493. 218 0014 2849 ldr r1, .L16
  494. 219 0016 1343 orrs r3, r3, r2
  495. 220 0018 0B60 str r3, [r1]
  496. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  497. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Clear any previous config. Keep it clear if no event or IT mode is selected */
  498. 276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_DISABLE_EVENT();
  499. 221 .loc 1 276 3
  500. 222 001a 284B ldr r3, .L16+4
  501. 223 001c 5B68 ldr r3, [r3, #4]
  502. 224 001e 274A ldr r2, .L16+4
  503. 225 0020 23F48033 bic r3, r3, #65536
  504. 226 0024 5360 str r3, [r2, #4]
  505. 277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_DISABLE_IT();
  506. 227 .loc 1 277 3
  507. 228 0026 254B ldr r3, .L16+4
  508. 229 0028 1B68 ldr r3, [r3]
  509. 230 002a 244A ldr r2, .L16+4
  510. 231 002c 23F48033 bic r3, r3, #65536
  511. 232 0030 1360 str r3, [r2]
  512. 278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE();
  513. 233 .loc 1 278 3
  514. 234 0032 224B ldr r3, .L16+4
  515. 235 0034 9B68 ldr r3, [r3, #8]
  516. 236 0036 214A ldr r2, .L16+4
  517. 237 0038 23F48033 bic r3, r3, #65536
  518. 238 003c 9360 str r3, [r2, #8]
  519. 279:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE();
  520. 239 .loc 1 279 3
  521. 240 003e 1F4B ldr r3, .L16+4
  522. 241 0040 DB68 ldr r3, [r3, #12]
  523. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 10
  524. 242 0042 1E4A ldr r2, .L16+4
  525. 243 0044 23F48033 bic r3, r3, #65536
  526. 244 0048 D360 str r3, [r2, #12]
  527. 280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  528. 281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Configure interrupt mode */
  529. 282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** if((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT)
  530. 245 .loc 1 282 17
  531. 246 004a 7B68 ldr r3, [r7, #4]
  532. 247 004c 5B68 ldr r3, [r3, #4]
  533. 248 .loc 1 282 24
  534. 249 004e 03F48033 and r3, r3, #65536
  535. 250 .loc 1 282 5
  536. 251 0052 002B cmp r3, #0
  537. 252 0054 05D0 beq .L11
  538. 283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  539. 284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_ENABLE_IT();
  540. 253 .loc 1 284 5
  541. 254 0056 194B ldr r3, .L16+4
  542. 255 0058 1B68 ldr r3, [r3]
  543. 256 005a 184A ldr r2, .L16+4
  544. 257 005c 43F48033 orr r3, r3, #65536
  545. 258 0060 1360 str r3, [r2]
  546. 259 .L11:
  547. 285:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  548. 286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  549. 287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Configure event mode */
  550. 288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** if((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT)
  551. 260 .loc 1 288 17
  552. 261 0062 7B68 ldr r3, [r7, #4]
  553. 262 0064 5B68 ldr r3, [r3, #4]
  554. 263 .loc 1 288 24
  555. 264 0066 03F40033 and r3, r3, #131072
  556. 265 .loc 1 288 5
  557. 266 006a 002B cmp r3, #0
  558. 267 006c 05D0 beq .L12
  559. 289:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  560. 290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_ENABLE_EVENT();
  561. 268 .loc 1 290 5
  562. 269 006e 134B ldr r3, .L16+4
  563. 270 0070 5B68 ldr r3, [r3, #4]
  564. 271 0072 124A ldr r2, .L16+4
  565. 272 0074 43F48033 orr r3, r3, #65536
  566. 273 0078 5360 str r3, [r2, #4]
  567. 274 .L12:
  568. 291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  569. 292:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  570. 293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Configure the edge */
  571. 294:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** if((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE)
  572. 275 .loc 1 294 17
  573. 276 007a 7B68 ldr r3, [r7, #4]
  574. 277 007c 5B68 ldr r3, [r3, #4]
  575. 278 .loc 1 294 24
  576. 279 007e 03F00103 and r3, r3, #1
  577. 280 .loc 1 294 5
  578. 281 0082 002B cmp r3, #0
  579. 282 0084 05D0 beq .L13
  580. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  581. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 11
  582. 296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE();
  583. 283 .loc 1 296 5
  584. 284 0086 0D4B ldr r3, .L16+4
  585. 285 0088 9B68 ldr r3, [r3, #8]
  586. 286 008a 0C4A ldr r2, .L16+4
  587. 287 008c 43F48033 orr r3, r3, #65536
  588. 288 0090 9360 str r3, [r2, #8]
  589. 289 .L13:
  590. 297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  591. 298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  592. 299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** if((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE)
  593. 290 .loc 1 299 17
  594. 291 0092 7B68 ldr r3, [r7, #4]
  595. 292 0094 5B68 ldr r3, [r3, #4]
  596. 293 .loc 1 299 24
  597. 294 0096 03F00203 and r3, r3, #2
  598. 295 .loc 1 299 5
  599. 296 009a 002B cmp r3, #0
  600. 297 009c 05D0 beq .L15
  601. 300:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  602. 301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE();
  603. 298 .loc 1 301 5
  604. 299 009e 074B ldr r3, .L16+4
  605. 300 00a0 DB68 ldr r3, [r3, #12]
  606. 301 00a2 064A ldr r2, .L16+4
  607. 302 00a4 43F48033 orr r3, r3, #65536
  608. 303 00a8 D360 str r3, [r2, #12]
  609. 304 .L15:
  610. 302:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  611. 303:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  612. 305 .loc 1 303 1
  613. 306 00aa 00BF nop
  614. 307 00ac 0C37 adds r7, r7, #12
  615. 308 .LCFI19:
  616. 309 .cfi_def_cfa_offset 4
  617. 310 00ae BD46 mov sp, r7
  618. 311 .LCFI20:
  619. 312 .cfi_def_cfa_register 13
  620. 313 @ sp needed
  621. 314 00b0 5DF8047B ldr r7, [sp], #4
  622. 315 .LCFI21:
  623. 316 .cfi_restore 7
  624. 317 .cfi_def_cfa_offset 0
  625. 318 00b4 7047 bx lr
  626. 319 .L17:
  627. 320 00b6 00BF .align 2
  628. 321 .L16:
  629. 322 00b8 00700040 .word 1073770496
  630. 323 00bc 003C0140 .word 1073822720
  631. 324 .cfi_endproc
  632. 325 .LFE238:
  633. 327 .section .text.HAL_PWR_EnablePVD,"ax",%progbits
  634. 328 .align 1
  635. 329 .global HAL_PWR_EnablePVD
  636. 330 .syntax unified
  637. 331 .thumb
  638. 332 .thumb_func
  639. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 12
  640. 334 HAL_PWR_EnablePVD:
  641. 335 .LFB239:
  642. 304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  643. 305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  644. 306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Enables the Power Voltage Detector(PVD).
  645. 307:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  646. 308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  647. 309:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_EnablePVD(void)
  648. 310:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  649. 336 .loc 1 310 1
  650. 337 .cfi_startproc
  651. 338 @ args = 0, pretend = 0, frame = 0
  652. 339 @ frame_needed = 1, uses_anonymous_args = 0
  653. 340 @ link register save eliminated.
  654. 341 0000 80B4 push {r7}
  655. 342 .LCFI22:
  656. 343 .cfi_def_cfa_offset 4
  657. 344 .cfi_offset 7, -4
  658. 345 0002 00AF add r7, sp, #0
  659. 346 .LCFI23:
  660. 347 .cfi_def_cfa_register 7
  661. 311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *(__IO uint32_t *) CR_PVDE_BB = (uint32_t)ENABLE;
  662. 348 .loc 1 311 3
  663. 349 0004 034B ldr r3, .L19
  664. 350 .loc 1 311 33
  665. 351 0006 0122 movs r2, #1
  666. 352 0008 1A60 str r2, [r3]
  667. 312:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  668. 353 .loc 1 312 1
  669. 354 000a 00BF nop
  670. 355 000c BD46 mov sp, r7
  671. 356 .LCFI24:
  672. 357 .cfi_def_cfa_register 13
  673. 358 @ sp needed
  674. 359 000e 5DF8047B ldr r7, [sp], #4
  675. 360 .LCFI25:
  676. 361 .cfi_restore 7
  677. 362 .cfi_def_cfa_offset 0
  678. 363 0012 7047 bx lr
  679. 364 .L20:
  680. 365 .align 2
  681. 366 .L19:
  682. 367 0014 10000E42 .word 1108213776
  683. 368 .cfi_endproc
  684. 369 .LFE239:
  685. 371 .section .text.HAL_PWR_DisablePVD,"ax",%progbits
  686. 372 .align 1
  687. 373 .global HAL_PWR_DisablePVD
  688. 374 .syntax unified
  689. 375 .thumb
  690. 376 .thumb_func
  691. 378 HAL_PWR_DisablePVD:
  692. 379 .LFB240:
  693. 313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  694. 314:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  695. 315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Disables the Power Voltage Detector(PVD).
  696. 316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  697. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 13
  698. 317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  699. 318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_DisablePVD(void)
  700. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  701. 380 .loc 1 319 1
  702. 381 .cfi_startproc
  703. 382 @ args = 0, pretend = 0, frame = 0
  704. 383 @ frame_needed = 1, uses_anonymous_args = 0
  705. 384 @ link register save eliminated.
  706. 385 0000 80B4 push {r7}
  707. 386 .LCFI26:
  708. 387 .cfi_def_cfa_offset 4
  709. 388 .cfi_offset 7, -4
  710. 389 0002 00AF add r7, sp, #0
  711. 390 .LCFI27:
  712. 391 .cfi_def_cfa_register 7
  713. 320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *(__IO uint32_t *) CR_PVDE_BB = (uint32_t)DISABLE;
  714. 392 .loc 1 320 3
  715. 393 0004 034B ldr r3, .L22
  716. 394 .loc 1 320 33
  717. 395 0006 0022 movs r2, #0
  718. 396 0008 1A60 str r2, [r3]
  719. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  720. 397 .loc 1 321 1
  721. 398 000a 00BF nop
  722. 399 000c BD46 mov sp, r7
  723. 400 .LCFI28:
  724. 401 .cfi_def_cfa_register 13
  725. 402 @ sp needed
  726. 403 000e 5DF8047B ldr r7, [sp], #4
  727. 404 .LCFI29:
  728. 405 .cfi_restore 7
  729. 406 .cfi_def_cfa_offset 0
  730. 407 0012 7047 bx lr
  731. 408 .L23:
  732. 409 .align 2
  733. 410 .L22:
  734. 411 0014 10000E42 .word 1108213776
  735. 412 .cfi_endproc
  736. 413 .LFE240:
  737. 415 .section .text.HAL_PWR_EnableWakeUpPin,"ax",%progbits
  738. 416 .align 1
  739. 417 .global HAL_PWR_EnableWakeUpPin
  740. 418 .syntax unified
  741. 419 .thumb
  742. 420 .thumb_func
  743. 422 HAL_PWR_EnableWakeUpPin:
  744. 423 .LFB241:
  745. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  746. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  747. 324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Enables the Wake-up PINx functionality.
  748. 325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @param WakeUpPinx Specifies the Power Wake-Up pin to enable.
  749. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * This parameter can be one of the following values:
  750. 327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @arg PWR_WAKEUP_PIN1
  751. 328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @arg PWR_WAKEUP_PIN2 available only on STM32F410xx/STM32F446xx/STM32F412xx/STM32F413x
  752. 329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @arg PWR_WAKEUP_PIN3 available only on STM32F410xx/STM32F412xx/STM32F413xx/STM32F423x
  753. 330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  754. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  755. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 14
  756. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_EnableWakeUpPin(uint32_t WakeUpPinx)
  757. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  758. 424 .loc 1 333 1
  759. 425 .cfi_startproc
  760. 426 @ args = 0, pretend = 0, frame = 8
  761. 427 @ frame_needed = 1, uses_anonymous_args = 0
  762. 428 @ link register save eliminated.
  763. 429 0000 80B4 push {r7}
  764. 430 .LCFI30:
  765. 431 .cfi_def_cfa_offset 4
  766. 432 .cfi_offset 7, -4
  767. 433 0002 83B0 sub sp, sp, #12
  768. 434 .LCFI31:
  769. 435 .cfi_def_cfa_offset 16
  770. 436 0004 00AF add r7, sp, #0
  771. 437 .LCFI32:
  772. 438 .cfi_def_cfa_register 7
  773. 439 0006 7860 str r0, [r7, #4]
  774. 334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Check the parameter */
  775. 335:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** assert_param(IS_PWR_WAKEUP_PIN(WakeUpPinx));
  776. 336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  777. 337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Enable the wake up pin */
  778. 338:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** SET_BIT(PWR->CSR, WakeUpPinx);
  779. 440 .loc 1 338 3
  780. 441 0008 054B ldr r3, .L25
  781. 442 000a 5A68 ldr r2, [r3, #4]
  782. 443 000c 0449 ldr r1, .L25
  783. 444 000e 7B68 ldr r3, [r7, #4]
  784. 445 0010 1343 orrs r3, r3, r2
  785. 446 0012 4B60 str r3, [r1, #4]
  786. 339:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  787. 447 .loc 1 339 1
  788. 448 0014 00BF nop
  789. 449 0016 0C37 adds r7, r7, #12
  790. 450 .LCFI33:
  791. 451 .cfi_def_cfa_offset 4
  792. 452 0018 BD46 mov sp, r7
  793. 453 .LCFI34:
  794. 454 .cfi_def_cfa_register 13
  795. 455 @ sp needed
  796. 456 001a 5DF8047B ldr r7, [sp], #4
  797. 457 .LCFI35:
  798. 458 .cfi_restore 7
  799. 459 .cfi_def_cfa_offset 0
  800. 460 001e 7047 bx lr
  801. 461 .L26:
  802. 462 .align 2
  803. 463 .L25:
  804. 464 0020 00700040 .word 1073770496
  805. 465 .cfi_endproc
  806. 466 .LFE241:
  807. 468 .section .text.HAL_PWR_DisableWakeUpPin,"ax",%progbits
  808. 469 .align 1
  809. 470 .global HAL_PWR_DisableWakeUpPin
  810. 471 .syntax unified
  811. 472 .thumb
  812. 473 .thumb_func
  813. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 15
  814. 475 HAL_PWR_DisableWakeUpPin:
  815. 476 .LFB242:
  816. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  817. 341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  818. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Disables the Wake-up PINx functionality.
  819. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @param WakeUpPinx Specifies the Power Wake-Up pin to disable.
  820. 344:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * This parameter can be one of the following values:
  821. 345:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @arg PWR_WAKEUP_PIN1
  822. 346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @arg PWR_WAKEUP_PIN2 available only on STM32F410xx/STM32F446xx/STM32F412xx/STM32F413x
  823. 347:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @arg PWR_WAKEUP_PIN3 available only on STM32F410xx/STM32F412xx/STM32F413xx/STM32F423x
  824. 348:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  825. 349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  826. 350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_DisableWakeUpPin(uint32_t WakeUpPinx)
  827. 351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  828. 477 .loc 1 351 1
  829. 478 .cfi_startproc
  830. 479 @ args = 0, pretend = 0, frame = 8
  831. 480 @ frame_needed = 1, uses_anonymous_args = 0
  832. 481 @ link register save eliminated.
  833. 482 0000 80B4 push {r7}
  834. 483 .LCFI36:
  835. 484 .cfi_def_cfa_offset 4
  836. 485 .cfi_offset 7, -4
  837. 486 0002 83B0 sub sp, sp, #12
  838. 487 .LCFI37:
  839. 488 .cfi_def_cfa_offset 16
  840. 489 0004 00AF add r7, sp, #0
  841. 490 .LCFI38:
  842. 491 .cfi_def_cfa_register 7
  843. 492 0006 7860 str r0, [r7, #4]
  844. 352:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Check the parameter */
  845. 353:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** assert_param(IS_PWR_WAKEUP_PIN(WakeUpPinx));
  846. 354:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  847. 355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Disable the wake up pin */
  848. 356:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** CLEAR_BIT(PWR->CSR, WakeUpPinx);
  849. 493 .loc 1 356 3
  850. 494 0008 064B ldr r3, .L28
  851. 495 000a 5A68 ldr r2, [r3, #4]
  852. 496 000c 7B68 ldr r3, [r7, #4]
  853. 497 000e DB43 mvns r3, r3
  854. 498 0010 0449 ldr r1, .L28
  855. 499 0012 1340 ands r3, r3, r2
  856. 500 0014 4B60 str r3, [r1, #4]
  857. 357:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  858. 501 .loc 1 357 1
  859. 502 0016 00BF nop
  860. 503 0018 0C37 adds r7, r7, #12
  861. 504 .LCFI39:
  862. 505 .cfi_def_cfa_offset 4
  863. 506 001a BD46 mov sp, r7
  864. 507 .LCFI40:
  865. 508 .cfi_def_cfa_register 13
  866. 509 @ sp needed
  867. 510 001c 5DF8047B ldr r7, [sp], #4
  868. 511 .LCFI41:
  869. 512 .cfi_restore 7
  870. 513 .cfi_def_cfa_offset 0
  871. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 16
  872. 514 0020 7047 bx lr
  873. 515 .L29:
  874. 516 0022 00BF .align 2
  875. 517 .L28:
  876. 518 0024 00700040 .word 1073770496
  877. 519 .cfi_endproc
  878. 520 .LFE242:
  879. 522 .section .text.HAL_PWR_EnterSLEEPMode,"ax",%progbits
  880. 523 .align 1
  881. 524 .global HAL_PWR_EnterSLEEPMode
  882. 525 .syntax unified
  883. 526 .thumb
  884. 527 .thumb_func
  885. 529 HAL_PWR_EnterSLEEPMode:
  886. 530 .LFB243:
  887. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  888. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  889. 360:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Enters Sleep mode.
  890. 361:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *
  891. 362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note In Sleep mode, all I/O pins keep the same state as in Run mode.
  892. 363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *
  893. 364:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note In Sleep mode, the systick is stopped to avoid exit from this mode with
  894. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * systick interrupt when used as time base for Timeout
  895. 366:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** *
  896. 367:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @param Regulator Specifies the regulator state in SLEEP mode.
  897. 368:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * This parameter can be one of the following values:
  898. 369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @arg PWR_MAINREGULATOR_ON: SLEEP mode with regulator ON
  899. 370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @arg PWR_LOWPOWERREGULATOR_ON: SLEEP mode with low power regulator ON
  900. 371:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note This parameter is not used for the STM32F4 family and is kept as parameter
  901. 372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * just to maintain compatibility with the lower power families.
  902. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @param SLEEPEntry Specifies if SLEEP mode in entered with WFI or WFE instruction.
  903. 374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * This parameter can be one of the following values:
  904. 375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @arg PWR_SLEEPENTRY_WFI: enter SLEEP mode with WFI instruction
  905. 376:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @arg PWR_SLEEPENTRY_WFE: enter SLEEP mode with WFE instruction
  906. 377:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  907. 378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  908. 379:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_EnterSLEEPMode(uint32_t Regulator, uint8_t SLEEPEntry)
  909. 380:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  910. 531 .loc 1 380 1
  911. 532 .cfi_startproc
  912. 533 @ args = 0, pretend = 0, frame = 8
  913. 534 @ frame_needed = 1, uses_anonymous_args = 0
  914. 535 @ link register save eliminated.
  915. 536 0000 80B4 push {r7}
  916. 537 .LCFI42:
  917. 538 .cfi_def_cfa_offset 4
  918. 539 .cfi_offset 7, -4
  919. 540 0002 83B0 sub sp, sp, #12
  920. 541 .LCFI43:
  921. 542 .cfi_def_cfa_offset 16
  922. 543 0004 00AF add r7, sp, #0
  923. 544 .LCFI44:
  924. 545 .cfi_def_cfa_register 7
  925. 546 0006 7860 str r0, [r7, #4]
  926. 547 0008 0B46 mov r3, r1
  927. 548 000a FB70 strb r3, [r7, #3]
  928. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Check the parameters */
  929. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 17
  930. 382:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** assert_param(IS_PWR_REGULATOR(Regulator));
  931. 383:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** assert_param(IS_PWR_SLEEP_ENTRY(SLEEPEntry));
  932. 384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  933. 385:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Clear SLEEPDEEP bit of Cortex System Control Register */
  934. 386:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** CLEAR_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SLEEPDEEP_Msk));
  935. 549 .loc 1 386 3
  936. 550 000c 094B ldr r3, .L34
  937. 551 000e 1B69 ldr r3, [r3, #16]
  938. 552 0010 084A ldr r2, .L34
  939. 553 0012 23F00403 bic r3, r3, #4
  940. 554 0016 1361 str r3, [r2, #16]
  941. 387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  942. 388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Select SLEEP mode entry -------------------------------------------------*/
  943. 389:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** if(SLEEPEntry == PWR_SLEEPENTRY_WFI)
  944. 555 .loc 1 389 5
  945. 556 0018 FB78 ldrb r3, [r7, #3] @ zero_extendqisi2
  946. 557 001a 012B cmp r3, #1
  947. 558 001c 01D1 bne .L31
  948. 390:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  949. 391:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Request Wait For Interrupt */
  950. 392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __WFI();
  951. 559 .loc 1 392 5
  952. 560 .syntax unified
  953. 561 @ 392 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c" 1
  954. 562 001e 30BF wfi
  955. 563 @ 0 "" 2
  956. 393:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  957. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** else
  958. 395:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  959. 396:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Request Wait For Event */
  960. 397:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __SEV();
  961. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __WFE();
  962. 399:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __WFE();
  963. 400:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  964. 401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  965. 564 .loc 1 401 1
  966. 565 .thumb
  967. 566 .syntax unified
  968. 567 0020 02E0 b .L33
  969. 568 .L31:
  970. 397:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __WFE();
  971. 569 .loc 1 397 5
  972. 570 .syntax unified
  973. 571 @ 397 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c" 1
  974. 572 0022 40BF sev
  975. 573 @ 0 "" 2
  976. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __WFE();
  977. 574 .loc 1 398 5
  978. 575 @ 398 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c" 1
  979. 576 0024 20BF wfe
  980. 577 @ 0 "" 2
  981. 399:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  982. 578 .loc 1 399 5
  983. 579 @ 399 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c" 1
  984. 580 0026 20BF wfe
  985. 581 @ 0 "" 2
  986. 582 .thumb
  987. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 18
  988. 583 .syntax unified
  989. 584 .L33:
  990. 585 .loc 1 401 1
  991. 586 0028 00BF nop
  992. 587 002a 0C37 adds r7, r7, #12
  993. 588 .LCFI45:
  994. 589 .cfi_def_cfa_offset 4
  995. 590 002c BD46 mov sp, r7
  996. 591 .LCFI46:
  997. 592 .cfi_def_cfa_register 13
  998. 593 @ sp needed
  999. 594 002e 5DF8047B ldr r7, [sp], #4
  1000. 595 .LCFI47:
  1001. 596 .cfi_restore 7
  1002. 597 .cfi_def_cfa_offset 0
  1003. 598 0032 7047 bx lr
  1004. 599 .L35:
  1005. 600 .align 2
  1006. 601 .L34:
  1007. 602 0034 00ED00E0 .word -536810240
  1008. 603 .cfi_endproc
  1009. 604 .LFE243:
  1010. 606 .section .text.HAL_PWR_EnterSTOPMode,"ax",%progbits
  1011. 607 .align 1
  1012. 608 .global HAL_PWR_EnterSTOPMode
  1013. 609 .syntax unified
  1014. 610 .thumb
  1015. 611 .thumb_func
  1016. 613 HAL_PWR_EnterSTOPMode:
  1017. 614 .LFB244:
  1018. 402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  1019. 403:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  1020. 404:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Enters Stop mode.
  1021. 405:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note In Stop mode, all I/O pins keep the same state as in Run mode.
  1022. 406:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note When exiting Stop mode by issuing an interrupt or a wake-up event,
  1023. 407:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * the HSI RC oscillator is selected as system clock.
  1024. 408:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note When the voltage regulator operates in low power mode, an additional
  1025. 409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * startup delay is incurred when waking up from Stop mode.
  1026. 410:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * By keeping the internal regulator ON during Stop mode, the consumption
  1027. 411:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * is higher although the startup time is reduced.
  1028. 412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @param Regulator Specifies the regulator state in Stop mode.
  1029. 413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * This parameter can be one of the following values:
  1030. 414:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @arg PWR_MAINREGULATOR_ON: Stop mode with regulator ON
  1031. 415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @arg PWR_LOWPOWERREGULATOR_ON: Stop mode with low power regulator ON
  1032. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @param STOPEntry Specifies if Stop mode in entered with WFI or WFE instruction.
  1033. 417:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * This parameter can be one of the following values:
  1034. 418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @arg PWR_STOPENTRY_WFI: Enter Stop mode with WFI instruction
  1035. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @arg PWR_STOPENTRY_WFE: Enter Stop mode with WFE instruction
  1036. 420:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  1037. 421:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  1038. 422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_EnterSTOPMode(uint32_t Regulator, uint8_t STOPEntry)
  1039. 423:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  1040. 615 .loc 1 423 1
  1041. 616 .cfi_startproc
  1042. 617 @ args = 0, pretend = 0, frame = 8
  1043. 618 @ frame_needed = 1, uses_anonymous_args = 0
  1044. 619 @ link register save eliminated.
  1045. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 19
  1046. 620 0000 80B4 push {r7}
  1047. 621 .LCFI48:
  1048. 622 .cfi_def_cfa_offset 4
  1049. 623 .cfi_offset 7, -4
  1050. 624 0002 83B0 sub sp, sp, #12
  1051. 625 .LCFI49:
  1052. 626 .cfi_def_cfa_offset 16
  1053. 627 0004 00AF add r7, sp, #0
  1054. 628 .LCFI50:
  1055. 629 .cfi_def_cfa_register 7
  1056. 630 0006 7860 str r0, [r7, #4]
  1057. 631 0008 0B46 mov r3, r1
  1058. 632 000a FB70 strb r3, [r7, #3]
  1059. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Check the parameters */
  1060. 425:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** assert_param(IS_PWR_REGULATOR(Regulator));
  1061. 426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** assert_param(IS_PWR_STOP_ENTRY(STOPEntry));
  1062. 427:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  1063. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Select the regulator state in Stop mode: Set PDDS and LPDS bits according to PWR_Regulator val
  1064. 429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** MODIFY_REG(PWR->CR, (PWR_CR_PDDS | PWR_CR_LPDS), Regulator);
  1065. 633 .loc 1 429 3
  1066. 634 000c 104B ldr r3, .L39
  1067. 635 000e 1B68 ldr r3, [r3]
  1068. 636 0010 23F00302 bic r2, r3, #3
  1069. 637 0014 0E49 ldr r1, .L39
  1070. 638 0016 7B68 ldr r3, [r7, #4]
  1071. 639 0018 1343 orrs r3, r3, r2
  1072. 640 001a 0B60 str r3, [r1]
  1073. 430:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  1074. 431:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Set SLEEPDEEP bit of Cortex System Control Register */
  1075. 432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** SET_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SLEEPDEEP_Msk));
  1076. 641 .loc 1 432 3
  1077. 642 001c 0D4B ldr r3, .L39+4
  1078. 643 001e 1B69 ldr r3, [r3, #16]
  1079. 644 0020 0C4A ldr r2, .L39+4
  1080. 645 0022 43F00403 orr r3, r3, #4
  1081. 646 0026 1361 str r3, [r2, #16]
  1082. 433:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  1083. 434:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Select Stop mode entry --------------------------------------------------*/
  1084. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** if(STOPEntry == PWR_STOPENTRY_WFI)
  1085. 647 .loc 1 435 5
  1086. 648 0028 FB78 ldrb r3, [r7, #3] @ zero_extendqisi2
  1087. 649 002a 012B cmp r3, #1
  1088. 650 002c 01D1 bne .L37
  1089. 436:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  1090. 437:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Request Wait For Interrupt */
  1091. 438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __WFI();
  1092. 651 .loc 1 438 5
  1093. 652 .syntax unified
  1094. 653 @ 438 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c" 1
  1095. 654 002e 30BF wfi
  1096. 655 @ 0 "" 2
  1097. 656 .thumb
  1098. 657 .syntax unified
  1099. 658 0030 02E0 b .L38
  1100. 659 .L37:
  1101. 439:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  1102. 440:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** else
  1103. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 20
  1104. 441:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  1105. 442:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Request Wait For Event */
  1106. 443:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __SEV();
  1107. 660 .loc 1 443 5
  1108. 661 .syntax unified
  1109. 662 @ 443 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c" 1
  1110. 663 0032 40BF sev
  1111. 664 @ 0 "" 2
  1112. 444:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __WFE();
  1113. 665 .loc 1 444 5
  1114. 666 @ 444 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c" 1
  1115. 667 0034 20BF wfe
  1116. 668 @ 0 "" 2
  1117. 445:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __WFE();
  1118. 669 .loc 1 445 5
  1119. 670 @ 445 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c" 1
  1120. 671 0036 20BF wfe
  1121. 672 @ 0 "" 2
  1122. 673 .thumb
  1123. 674 .syntax unified
  1124. 675 .L38:
  1125. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  1126. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Reset SLEEPDEEP bit of Cortex System Control Register */
  1127. 448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** CLEAR_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SLEEPDEEP_Msk));
  1128. 676 .loc 1 448 3
  1129. 677 0038 064B ldr r3, .L39+4
  1130. 678 003a 1B69 ldr r3, [r3, #16]
  1131. 679 003c 054A ldr r2, .L39+4
  1132. 680 003e 23F00403 bic r3, r3, #4
  1133. 681 0042 1361 str r3, [r2, #16]
  1134. 449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  1135. 682 .loc 1 449 1
  1136. 683 0044 00BF nop
  1137. 684 0046 0C37 adds r7, r7, #12
  1138. 685 .LCFI51:
  1139. 686 .cfi_def_cfa_offset 4
  1140. 687 0048 BD46 mov sp, r7
  1141. 688 .LCFI52:
  1142. 689 .cfi_def_cfa_register 13
  1143. 690 @ sp needed
  1144. 691 004a 5DF8047B ldr r7, [sp], #4
  1145. 692 .LCFI53:
  1146. 693 .cfi_restore 7
  1147. 694 .cfi_def_cfa_offset 0
  1148. 695 004e 7047 bx lr
  1149. 696 .L40:
  1150. 697 .align 2
  1151. 698 .L39:
  1152. 699 0050 00700040 .word 1073770496
  1153. 700 0054 00ED00E0 .word -536810240
  1154. 701 .cfi_endproc
  1155. 702 .LFE244:
  1156. 704 .section .text.HAL_PWR_EnterSTANDBYMode,"ax",%progbits
  1157. 705 .align 1
  1158. 706 .global HAL_PWR_EnterSTANDBYMode
  1159. 707 .syntax unified
  1160. 708 .thumb
  1161. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 21
  1162. 709 .thumb_func
  1163. 711 HAL_PWR_EnterSTANDBYMode:
  1164. 712 .LFB245:
  1165. 450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  1166. 451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  1167. 452:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Enters Standby mode.
  1168. 453:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note In Standby mode, all I/O pins are high impedance except for:
  1169. 454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * - Reset pad (still available)
  1170. 455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * - RTC_AF1 pin (PC13) if configured for tamper, time-stamp, RTC
  1171. 456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * Alarm out, or RTC clock calibration out.
  1172. 457:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * - RTC_AF2 pin (PI8) if configured for tamper or time-stamp.
  1173. 458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * - WKUP pin 1 (PA0) if enabled.
  1174. 459:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  1175. 460:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  1176. 461:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_EnterSTANDBYMode(void)
  1177. 462:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  1178. 713 .loc 1 462 1
  1179. 714 .cfi_startproc
  1180. 715 @ args = 0, pretend = 0, frame = 0
  1181. 716 @ frame_needed = 1, uses_anonymous_args = 0
  1182. 717 @ link register save eliminated.
  1183. 718 0000 80B4 push {r7}
  1184. 719 .LCFI54:
  1185. 720 .cfi_def_cfa_offset 4
  1186. 721 .cfi_offset 7, -4
  1187. 722 0002 00AF add r7, sp, #0
  1188. 723 .LCFI55:
  1189. 724 .cfi_def_cfa_register 7
  1190. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Select Standby mode */
  1191. 464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** SET_BIT(PWR->CR, PWR_CR_PDDS);
  1192. 725 .loc 1 464 3
  1193. 726 0004 084B ldr r3, .L42
  1194. 727 0006 1B68 ldr r3, [r3]
  1195. 728 0008 074A ldr r2, .L42
  1196. 729 000a 43F00203 orr r3, r3, #2
  1197. 730 000e 1360 str r3, [r2]
  1198. 465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  1199. 466:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Set SLEEPDEEP bit of Cortex System Control Register */
  1200. 467:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** SET_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SLEEPDEEP_Msk));
  1201. 731 .loc 1 467 3
  1202. 732 0010 064B ldr r3, .L42+4
  1203. 733 0012 1B69 ldr r3, [r3, #16]
  1204. 734 0014 054A ldr r2, .L42+4
  1205. 735 0016 43F00403 orr r3, r3, #4
  1206. 736 001a 1361 str r3, [r2, #16]
  1207. 468:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  1208. 469:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* This option is used to ensure that store operations are completed */
  1209. 470:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** #if defined ( __CC_ARM)
  1210. 471:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __force_stores();
  1211. 472:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** #endif
  1212. 473:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Request Wait For Interrupt */
  1213. 474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __WFI();
  1214. 737 .loc 1 474 3
  1215. 738 .syntax unified
  1216. 739 @ 474 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c" 1
  1217. 740 001c 30BF wfi
  1218. 741 @ 0 "" 2
  1219. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 22
  1220. 475:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  1221. 742 .loc 1 475 1
  1222. 743 .thumb
  1223. 744 .syntax unified
  1224. 745 001e 00BF nop
  1225. 746 0020 BD46 mov sp, r7
  1226. 747 .LCFI56:
  1227. 748 .cfi_def_cfa_register 13
  1228. 749 @ sp needed
  1229. 750 0022 5DF8047B ldr r7, [sp], #4
  1230. 751 .LCFI57:
  1231. 752 .cfi_restore 7
  1232. 753 .cfi_def_cfa_offset 0
  1233. 754 0026 7047 bx lr
  1234. 755 .L43:
  1235. 756 .align 2
  1236. 757 .L42:
  1237. 758 0028 00700040 .word 1073770496
  1238. 759 002c 00ED00E0 .word -536810240
  1239. 760 .cfi_endproc
  1240. 761 .LFE245:
  1241. 763 .section .text.HAL_PWR_PVD_IRQHandler,"ax",%progbits
  1242. 764 .align 1
  1243. 765 .global HAL_PWR_PVD_IRQHandler
  1244. 766 .syntax unified
  1245. 767 .thumb
  1246. 768 .thumb_func
  1247. 770 HAL_PWR_PVD_IRQHandler:
  1248. 771 .LFB246:
  1249. 476:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  1250. 477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  1251. 478:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief This function handles the PWR PVD interrupt request.
  1252. 479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note This API should be called under the PVD_IRQHandler().
  1253. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  1254. 481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  1255. 482:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_PVD_IRQHandler(void)
  1256. 483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  1257. 772 .loc 1 483 1
  1258. 773 .cfi_startproc
  1259. 774 @ args = 0, pretend = 0, frame = 0
  1260. 775 @ frame_needed = 1, uses_anonymous_args = 0
  1261. 776 0000 80B5 push {r7, lr}
  1262. 777 .LCFI58:
  1263. 778 .cfi_def_cfa_offset 8
  1264. 779 .cfi_offset 7, -8
  1265. 780 .cfi_offset 14, -4
  1266. 781 0002 00AF add r7, sp, #0
  1267. 782 .LCFI59:
  1268. 783 .cfi_def_cfa_register 7
  1269. 484:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Check PWR Exti flag */
  1270. 485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** if(__HAL_PWR_PVD_EXTI_GET_FLAG() != RESET)
  1271. 784 .loc 1 485 6
  1272. 785 0004 064B ldr r3, .L47
  1273. 786 0006 5B69 ldr r3, [r3, #20]
  1274. 787 0008 03F48033 and r3, r3, #65536
  1275. 788 .loc 1 485 5
  1276. 789 000c 002B cmp r3, #0
  1277. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 23
  1278. 790 000e 05D0 beq .L46
  1279. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  1280. 487:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* PWR PVD interrupt user callback */
  1281. 488:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** HAL_PWR_PVDCallback();
  1282. 791 .loc 1 488 5
  1283. 792 0010 FFF7FEFF bl HAL_PWR_PVDCallback
  1284. 489:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  1285. 490:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Clear PWR Exti pending bit */
  1286. 491:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_CLEAR_FLAG();
  1287. 793 .loc 1 491 5
  1288. 794 0014 024B ldr r3, .L47
  1289. 795 0016 4FF48032 mov r2, #65536
  1290. 796 001a 5A61 str r2, [r3, #20]
  1291. 797 .L46:
  1292. 492:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  1293. 493:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  1294. 798 .loc 1 493 1
  1295. 799 001c 00BF nop
  1296. 800 001e 80BD pop {r7, pc}
  1297. 801 .L48:
  1298. 802 .align 2
  1299. 803 .L47:
  1300. 804 0020 003C0140 .word 1073822720
  1301. 805 .cfi_endproc
  1302. 806 .LFE246:
  1303. 808 .section .text.HAL_PWR_PVDCallback,"ax",%progbits
  1304. 809 .align 1
  1305. 810 .weak HAL_PWR_PVDCallback
  1306. 811 .syntax unified
  1307. 812 .thumb
  1308. 813 .thumb_func
  1309. 815 HAL_PWR_PVDCallback:
  1310. 816 .LFB247:
  1311. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  1312. 495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  1313. 496:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief PWR PVD interrupt callback
  1314. 497:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  1315. 498:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  1316. 499:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** __weak void HAL_PWR_PVDCallback(void)
  1317. 500:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  1318. 817 .loc 1 500 1
  1319. 818 .cfi_startproc
  1320. 819 @ args = 0, pretend = 0, frame = 0
  1321. 820 @ frame_needed = 1, uses_anonymous_args = 0
  1322. 821 @ link register save eliminated.
  1323. 822 0000 80B4 push {r7}
  1324. 823 .LCFI60:
  1325. 824 .cfi_def_cfa_offset 4
  1326. 825 .cfi_offset 7, -4
  1327. 826 0002 00AF add r7, sp, #0
  1328. 827 .LCFI61:
  1329. 828 .cfi_def_cfa_register 7
  1330. 501:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  1331. 502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** the HAL_PWR_PVDCallback could be implemented in the user file
  1332. 503:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  1333. 504:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  1334. 829 .loc 1 504 1
  1335. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 24
  1336. 830 0004 00BF nop
  1337. 831 0006 BD46 mov sp, r7
  1338. 832 .LCFI62:
  1339. 833 .cfi_def_cfa_register 13
  1340. 834 @ sp needed
  1341. 835 0008 5DF8047B ldr r7, [sp], #4
  1342. 836 .LCFI63:
  1343. 837 .cfi_restore 7
  1344. 838 .cfi_def_cfa_offset 0
  1345. 839 000c 7047 bx lr
  1346. 840 .cfi_endproc
  1347. 841 .LFE247:
  1348. 843 .section .text.HAL_PWR_EnableSleepOnExit,"ax",%progbits
  1349. 844 .align 1
  1350. 845 .global HAL_PWR_EnableSleepOnExit
  1351. 846 .syntax unified
  1352. 847 .thumb
  1353. 848 .thumb_func
  1354. 850 HAL_PWR_EnableSleepOnExit:
  1355. 851 .LFB248:
  1356. 505:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  1357. 506:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  1358. 507:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Indicates Sleep-On-Exit when returning from Handler mode to Thread mode.
  1359. 508:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note Set SLEEPONEXIT bit of SCR register. When this bit is set, the processor
  1360. 509:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * re-enters SLEEP mode when an interruption handling is over.
  1361. 510:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * Setting this bit is useful when the processor is expected to run only on
  1362. 511:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * interruptions handling.
  1363. 512:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  1364. 513:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  1365. 514:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_EnableSleepOnExit(void)
  1366. 515:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  1367. 852 .loc 1 515 1
  1368. 853 .cfi_startproc
  1369. 854 @ args = 0, pretend = 0, frame = 0
  1370. 855 @ frame_needed = 1, uses_anonymous_args = 0
  1371. 856 @ link register save eliminated.
  1372. 857 0000 80B4 push {r7}
  1373. 858 .LCFI64:
  1374. 859 .cfi_def_cfa_offset 4
  1375. 860 .cfi_offset 7, -4
  1376. 861 0002 00AF add r7, sp, #0
  1377. 862 .LCFI65:
  1378. 863 .cfi_def_cfa_register 7
  1379. 516:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Set SLEEPONEXIT bit of Cortex System Control Register */
  1380. 517:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** SET_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SLEEPONEXIT_Msk));
  1381. 864 .loc 1 517 3
  1382. 865 0004 054B ldr r3, .L51
  1383. 866 0006 1B69 ldr r3, [r3, #16]
  1384. 867 0008 044A ldr r2, .L51
  1385. 868 000a 43F00203 orr r3, r3, #2
  1386. 869 000e 1361 str r3, [r2, #16]
  1387. 518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  1388. 870 .loc 1 518 1
  1389. 871 0010 00BF nop
  1390. 872 0012 BD46 mov sp, r7
  1391. 873 .LCFI66:
  1392. 874 .cfi_def_cfa_register 13
  1393. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 25
  1394. 875 @ sp needed
  1395. 876 0014 5DF8047B ldr r7, [sp], #4
  1396. 877 .LCFI67:
  1397. 878 .cfi_restore 7
  1398. 879 .cfi_def_cfa_offset 0
  1399. 880 0018 7047 bx lr
  1400. 881 .L52:
  1401. 882 001a 00BF .align 2
  1402. 883 .L51:
  1403. 884 001c 00ED00E0 .word -536810240
  1404. 885 .cfi_endproc
  1405. 886 .LFE248:
  1406. 888 .section .text.HAL_PWR_DisableSleepOnExit,"ax",%progbits
  1407. 889 .align 1
  1408. 890 .global HAL_PWR_DisableSleepOnExit
  1409. 891 .syntax unified
  1410. 892 .thumb
  1411. 893 .thumb_func
  1412. 895 HAL_PWR_DisableSleepOnExit:
  1413. 896 .LFB249:
  1414. 519:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  1415. 520:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  1416. 521:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Disables Sleep-On-Exit feature when returning from Handler mode to Thread mode.
  1417. 522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note Clears SLEEPONEXIT bit of SCR register. When this bit is set, the processor
  1418. 523:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * re-enters SLEEP mode when an interruption handling is over.
  1419. 524:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  1420. 525:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  1421. 526:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_DisableSleepOnExit(void)
  1422. 527:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  1423. 897 .loc 1 527 1
  1424. 898 .cfi_startproc
  1425. 899 @ args = 0, pretend = 0, frame = 0
  1426. 900 @ frame_needed = 1, uses_anonymous_args = 0
  1427. 901 @ link register save eliminated.
  1428. 902 0000 80B4 push {r7}
  1429. 903 .LCFI68:
  1430. 904 .cfi_def_cfa_offset 4
  1431. 905 .cfi_offset 7, -4
  1432. 906 0002 00AF add r7, sp, #0
  1433. 907 .LCFI69:
  1434. 908 .cfi_def_cfa_register 7
  1435. 528:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Clear SLEEPONEXIT bit of Cortex System Control Register */
  1436. 529:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** CLEAR_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SLEEPONEXIT_Msk));
  1437. 909 .loc 1 529 3
  1438. 910 0004 054B ldr r3, .L54
  1439. 911 0006 1B69 ldr r3, [r3, #16]
  1440. 912 0008 044A ldr r2, .L54
  1441. 913 000a 23F00203 bic r3, r3, #2
  1442. 914 000e 1361 str r3, [r2, #16]
  1443. 530:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  1444. 915 .loc 1 530 1
  1445. 916 0010 00BF nop
  1446. 917 0012 BD46 mov sp, r7
  1447. 918 .LCFI70:
  1448. 919 .cfi_def_cfa_register 13
  1449. 920 @ sp needed
  1450. 921 0014 5DF8047B ldr r7, [sp], #4
  1451. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 26
  1452. 922 .LCFI71:
  1453. 923 .cfi_restore 7
  1454. 924 .cfi_def_cfa_offset 0
  1455. 925 0018 7047 bx lr
  1456. 926 .L55:
  1457. 927 001a 00BF .align 2
  1458. 928 .L54:
  1459. 929 001c 00ED00E0 .word -536810240
  1460. 930 .cfi_endproc
  1461. 931 .LFE249:
  1462. 933 .section .text.HAL_PWR_EnableSEVOnPend,"ax",%progbits
  1463. 934 .align 1
  1464. 935 .global HAL_PWR_EnableSEVOnPend
  1465. 936 .syntax unified
  1466. 937 .thumb
  1467. 938 .thumb_func
  1468. 940 HAL_PWR_EnableSEVOnPend:
  1469. 941 .LFB250:
  1470. 531:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  1471. 532:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  1472. 533:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Enables CORTEX M4 SEVONPEND bit.
  1473. 534:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note Sets SEVONPEND bit of SCR register. When this bit is set, this causes
  1474. 535:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * WFE to wake up when an interrupt moves from inactive to pended.
  1475. 536:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  1476. 537:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  1477. 538:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_EnableSEVOnPend(void)
  1478. 539:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  1479. 942 .loc 1 539 1
  1480. 943 .cfi_startproc
  1481. 944 @ args = 0, pretend = 0, frame = 0
  1482. 945 @ frame_needed = 1, uses_anonymous_args = 0
  1483. 946 @ link register save eliminated.
  1484. 947 0000 80B4 push {r7}
  1485. 948 .LCFI72:
  1486. 949 .cfi_def_cfa_offset 4
  1487. 950 .cfi_offset 7, -4
  1488. 951 0002 00AF add r7, sp, #0
  1489. 952 .LCFI73:
  1490. 953 .cfi_def_cfa_register 7
  1491. 540:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Set SEVONPEND bit of Cortex System Control Register */
  1492. 541:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** SET_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SEVONPEND_Msk));
  1493. 954 .loc 1 541 3
  1494. 955 0004 054B ldr r3, .L57
  1495. 956 0006 1B69 ldr r3, [r3, #16]
  1496. 957 0008 044A ldr r2, .L57
  1497. 958 000a 43F01003 orr r3, r3, #16
  1498. 959 000e 1361 str r3, [r2, #16]
  1499. 542:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  1500. 960 .loc 1 542 1
  1501. 961 0010 00BF nop
  1502. 962 0012 BD46 mov sp, r7
  1503. 963 .LCFI74:
  1504. 964 .cfi_def_cfa_register 13
  1505. 965 @ sp needed
  1506. 966 0014 5DF8047B ldr r7, [sp], #4
  1507. 967 .LCFI75:
  1508. 968 .cfi_restore 7
  1509. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 27
  1510. 969 .cfi_def_cfa_offset 0
  1511. 970 0018 7047 bx lr
  1512. 971 .L58:
  1513. 972 001a 00BF .align 2
  1514. 973 .L57:
  1515. 974 001c 00ED00E0 .word -536810240
  1516. 975 .cfi_endproc
  1517. 976 .LFE250:
  1518. 978 .section .text.HAL_PWR_DisableSEVOnPend,"ax",%progbits
  1519. 979 .align 1
  1520. 980 .global HAL_PWR_DisableSEVOnPend
  1521. 981 .syntax unified
  1522. 982 .thumb
  1523. 983 .thumb_func
  1524. 985 HAL_PWR_DisableSEVOnPend:
  1525. 986 .LFB251:
  1526. 543:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c ****
  1527. 544:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /**
  1528. 545:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @brief Disables CORTEX M4 SEVONPEND bit.
  1529. 546:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @note Clears SEVONPEND bit of SCR register. When this bit is set, this causes
  1530. 547:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * WFE to wake up when an interrupt moves from inactive to pended.
  1531. 548:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** * @retval None
  1532. 549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** */
  1533. 550:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** void HAL_PWR_DisableSEVOnPend(void)
  1534. 551:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** {
  1535. 987 .loc 1 551 1
  1536. 988 .cfi_startproc
  1537. 989 @ args = 0, pretend = 0, frame = 0
  1538. 990 @ frame_needed = 1, uses_anonymous_args = 0
  1539. 991 @ link register save eliminated.
  1540. 992 0000 80B4 push {r7}
  1541. 993 .LCFI76:
  1542. 994 .cfi_def_cfa_offset 4
  1543. 995 .cfi_offset 7, -4
  1544. 996 0002 00AF add r7, sp, #0
  1545. 997 .LCFI77:
  1546. 998 .cfi_def_cfa_register 7
  1547. 552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** /* Clear SEVONPEND bit of Cortex System Control Register */
  1548. 553:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** CLEAR_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SEVONPEND_Msk));
  1549. 999 .loc 1 553 3
  1550. 1000 0004 054B ldr r3, .L60
  1551. 1001 0006 1B69 ldr r3, [r3, #16]
  1552. 1002 0008 044A ldr r2, .L60
  1553. 1003 000a 23F01003 bic r3, r3, #16
  1554. 1004 000e 1361 str r3, [r2, #16]
  1555. 554:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c **** }
  1556. 1005 .loc 1 554 1
  1557. 1006 0010 00BF nop
  1558. 1007 0012 BD46 mov sp, r7
  1559. 1008 .LCFI78:
  1560. 1009 .cfi_def_cfa_register 13
  1561. 1010 @ sp needed
  1562. 1011 0014 5DF8047B ldr r7, [sp], #4
  1563. 1012 .LCFI79:
  1564. 1013 .cfi_restore 7
  1565. 1014 .cfi_def_cfa_offset 0
  1566. 1015 0018 7047 bx lr
  1567. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 28
  1568. 1016 .L61:
  1569. 1017 001a 00BF .align 2
  1570. 1018 .L60:
  1571. 1019 001c 00ED00E0 .word -536810240
  1572. 1020 .cfi_endproc
  1573. 1021 .LFE251:
  1574. 1023 .text
  1575. 1024 .Letext0:
  1576. 1025 .file 2 "d:\\arm-gcc\\arm-none-eabi\\include\\machine\\_default_types.h"
  1577. 1026 .file 3 "d:\\arm-gcc\\arm-none-eabi\\include\\sys\\_stdint.h"
  1578. 1027 .file 4 "Drivers/CMSIS/Include/core_cm4.h"
  1579. 1028 .file 5 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f405xx.h"
  1580. 1029 .file 6 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
  1581. 1030 .file 7 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h"
  1582. ARM GAS C:\Users\10728\AppData\Local\Temp\cc14pPIS.s page 29
  1583. DEFINED SYMBOLS
  1584. *ABS*:00000000 stm32f4xx_hal_pwr.c
  1585. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:20 .text.HAL_PWR_DeInit:00000000 $t
  1586. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:26 .text.HAL_PWR_DeInit:00000000 HAL_PWR_DeInit
  1587. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:67 .text.HAL_PWR_DeInit:00000028 $d
  1588. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:72 .text.HAL_PWR_EnableBkUpAccess:00000000 $t
  1589. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:78 .text.HAL_PWR_EnableBkUpAccess:00000000 HAL_PWR_EnableBkUpAccess
  1590. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:124 .text.HAL_PWR_EnableBkUpAccess:00000020 $d
  1591. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:130 .text.HAL_PWR_DisableBkUpAccess:00000000 $t
  1592. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:136 .text.HAL_PWR_DisableBkUpAccess:00000000 HAL_PWR_DisableBkUpAccess
  1593. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:182 .text.HAL_PWR_DisableBkUpAccess:00000020 $d
  1594. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:188 .text.HAL_PWR_ConfigPVD:00000000 $t
  1595. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:194 .text.HAL_PWR_ConfigPVD:00000000 HAL_PWR_ConfigPVD
  1596. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:322 .text.HAL_PWR_ConfigPVD:000000b8 $d
  1597. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:328 .text.HAL_PWR_EnablePVD:00000000 $t
  1598. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:334 .text.HAL_PWR_EnablePVD:00000000 HAL_PWR_EnablePVD
  1599. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:367 .text.HAL_PWR_EnablePVD:00000014 $d
  1600. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:372 .text.HAL_PWR_DisablePVD:00000000 $t
  1601. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:378 .text.HAL_PWR_DisablePVD:00000000 HAL_PWR_DisablePVD
  1602. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:411 .text.HAL_PWR_DisablePVD:00000014 $d
  1603. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:416 .text.HAL_PWR_EnableWakeUpPin:00000000 $t
  1604. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:422 .text.HAL_PWR_EnableWakeUpPin:00000000 HAL_PWR_EnableWakeUpPin
  1605. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:464 .text.HAL_PWR_EnableWakeUpPin:00000020 $d
  1606. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:469 .text.HAL_PWR_DisableWakeUpPin:00000000 $t
  1607. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:475 .text.HAL_PWR_DisableWakeUpPin:00000000 HAL_PWR_DisableWakeUpPin
  1608. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:518 .text.HAL_PWR_DisableWakeUpPin:00000024 $d
  1609. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:523 .text.HAL_PWR_EnterSLEEPMode:00000000 $t
  1610. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:529 .text.HAL_PWR_EnterSLEEPMode:00000000 HAL_PWR_EnterSLEEPMode
  1611. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:602 .text.HAL_PWR_EnterSLEEPMode:00000034 $d
  1612. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:607 .text.HAL_PWR_EnterSTOPMode:00000000 $t
  1613. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:613 .text.HAL_PWR_EnterSTOPMode:00000000 HAL_PWR_EnterSTOPMode
  1614. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:699 .text.HAL_PWR_EnterSTOPMode:00000050 $d
  1615. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:705 .text.HAL_PWR_EnterSTANDBYMode:00000000 $t
  1616. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:711 .text.HAL_PWR_EnterSTANDBYMode:00000000 HAL_PWR_EnterSTANDBYMode
  1617. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:758 .text.HAL_PWR_EnterSTANDBYMode:00000028 $d
  1618. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:764 .text.HAL_PWR_PVD_IRQHandler:00000000 $t
  1619. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:770 .text.HAL_PWR_PVD_IRQHandler:00000000 HAL_PWR_PVD_IRQHandler
  1620. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:815 .text.HAL_PWR_PVDCallback:00000000 HAL_PWR_PVDCallback
  1621. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:804 .text.HAL_PWR_PVD_IRQHandler:00000020 $d
  1622. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:809 .text.HAL_PWR_PVDCallback:00000000 $t
  1623. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:844 .text.HAL_PWR_EnableSleepOnExit:00000000 $t
  1624. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:850 .text.HAL_PWR_EnableSleepOnExit:00000000 HAL_PWR_EnableSleepOnExit
  1625. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:884 .text.HAL_PWR_EnableSleepOnExit:0000001c $d
  1626. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:889 .text.HAL_PWR_DisableSleepOnExit:00000000 $t
  1627. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:895 .text.HAL_PWR_DisableSleepOnExit:00000000 HAL_PWR_DisableSleepOnExit
  1628. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:929 .text.HAL_PWR_DisableSleepOnExit:0000001c $d
  1629. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:934 .text.HAL_PWR_EnableSEVOnPend:00000000 $t
  1630. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:940 .text.HAL_PWR_EnableSEVOnPend:00000000 HAL_PWR_EnableSEVOnPend
  1631. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:974 .text.HAL_PWR_EnableSEVOnPend:0000001c $d
  1632. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:979 .text.HAL_PWR_DisableSEVOnPend:00000000 $t
  1633. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:985 .text.HAL_PWR_DisableSEVOnPend:00000000 HAL_PWR_DisableSEVOnPend
  1634. C:\Users\10728\AppData\Local\Temp\cc14pPIS.s:1019 .text.HAL_PWR_DisableSEVOnPend:0000001c $d
  1635. NO UNDEFINED SYMBOLS