stm32f4xx_hal.lst 94 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649
  1. ARM GAS /tmp/ccCNvmNi.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, 1
  14. 13 .eabi_attribute 34, 1
  15. 14 .eabi_attribute 18, 4
  16. 15 .file "stm32f4xx_hal.c"
  17. 16 .text
  18. 17 .Ltext0:
  19. 18 .cfi_sections .debug_frame
  20. 19 .section .text.HAL_MspInit,"ax",%progbits
  21. 20 .align 1
  22. 21 .weak HAL_MspInit
  23. 22 .syntax unified
  24. 23 .thumb
  25. 24 .thumb_func
  26. 26 HAL_MspInit:
  27. 27 .LFB132:
  28. 28 .file 1 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c"
  29. 1:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  30. 2:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** ******************************************************************************
  31. 3:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @file stm32f4xx_hal.c
  32. 4:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @author MCD Application Team
  33. 5:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief HAL module driver.
  34. 6:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * This is the common part of the HAL initialization
  35. 7:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** *
  36. 8:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** @verbatim
  37. 9:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** ==============================================================================
  38. 10:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** ##### How to use this driver #####
  39. 11:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** ==============================================================================
  40. 12:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** [..]
  41. 13:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** The common HAL driver contains a set of generic and common APIs that can be
  42. 14:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** used by the PPP peripheral drivers and the user to start using the HAL.
  43. 15:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** [..]
  44. 16:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** The HAL contains two APIs' categories:
  45. 17:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) Common HAL APIs
  46. 18:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) Services HAL APIs
  47. 19:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  48. 20:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** @endverbatim
  49. 21:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** ******************************************************************************
  50. 22:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @attention
  51. 23:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** *
  52. 24:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
  53. 25:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * All rights reserved.</center></h2>
  54. 26:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** *
  55. 27:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * This software component is licensed by ST under BSD 3-Clause license,
  56. 28:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * the "License"; You may not use this file except in compliance with the
  57. 29:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * License. You may obtain a copy of the License at:
  58. 30:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * opensource.org/licenses/BSD-3-Clause
  59. ARM GAS /tmp/ccCNvmNi.s page 2
  60. 31:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** *
  61. 32:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** ******************************************************************************
  62. 33:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  63. 34:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  64. 35:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Includes ------------------------------------------------------------------*/
  65. 36:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #include "stm32f4xx_hal.h"
  66. 37:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  67. 38:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /** @addtogroup STM32F4xx_HAL_Driver
  68. 39:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @{
  69. 40:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  70. 41:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  71. 42:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /** @defgroup HAL HAL
  72. 43:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief HAL module driver.
  73. 44:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @{
  74. 45:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  75. 46:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  76. 47:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Private typedef -----------------------------------------------------------*/
  77. 48:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Private define ------------------------------------------------------------*/
  78. 49:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /** @addtogroup HAL_Private_Constants
  79. 50:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @{
  80. 51:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  81. 52:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  82. 53:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief STM32F4xx HAL Driver version number V1.7.5
  83. 54:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  84. 55:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define __STM32F4xx_HAL_VERSION_MAIN (0x01U) /*!< [31:24] main version */
  85. 56:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define __STM32F4xx_HAL_VERSION_SUB1 (0x07U) /*!< [23:16] sub1 version */
  86. 57:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define __STM32F4xx_HAL_VERSION_SUB2 (0x05U) /*!< [15:8] sub2 version */
  87. 58:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define __STM32F4xx_HAL_VERSION_RC (0x00U) /*!< [7:0] release candidate */
  88. 59:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define __STM32F4xx_HAL_VERSION ((__STM32F4xx_HAL_VERSION_MAIN << 24U)\
  89. 60:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** |(__STM32F4xx_HAL_VERSION_SUB1 << 16U)\
  90. 61:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** |(__STM32F4xx_HAL_VERSION_SUB2 << 8U )\
  91. 62:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** |(__STM32F4xx_HAL_VERSION_RC))
  92. 63:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  93. 64:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define IDCODE_DEVID_MASK 0x00000FFFU
  94. 65:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  95. 66:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* ------------ RCC registers bit address in the alias region ----------- */
  96. 67:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define SYSCFG_OFFSET (SYSCFG_BASE - PERIPH_BASE)
  97. 68:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* --- MEMRMP Register ---*/
  98. 69:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Alias word address of UFB_MODE bit */
  99. 70:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define MEMRMP_OFFSET SYSCFG_OFFSET
  100. 71:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define UFB_MODE_BIT_NUMBER SYSCFG_MEMRMP_UFB_MODE_Pos
  101. 72:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define UFB_MODE_BB (uint32_t)(PERIPH_BB_BASE + (MEMRMP_OFFSET * 32U) + (UFB_MODE_BIT
  102. 73:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  103. 74:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* --- CMPCR Register ---*/
  104. 75:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Alias word address of CMP_PD bit */
  105. 76:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define CMPCR_OFFSET (SYSCFG_OFFSET + 0x20U)
  106. 77:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define CMP_PD_BIT_NUMBER SYSCFG_CMPCR_CMP_PD_Pos
  107. 78:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define CMPCR_CMP_PD_BB (uint32_t)(PERIPH_BB_BASE + (CMPCR_OFFSET * 32U) + (CMP_PD_BIT_NU
  108. 79:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  109. 80:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* --- MCHDLYCR Register ---*/
  110. 81:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Alias word address of BSCKSEL bit */
  111. 82:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define MCHDLYCR_OFFSET (SYSCFG_OFFSET + 0x30U)
  112. 83:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define BSCKSEL_BIT_NUMBER SYSCFG_MCHDLYCR_BSCKSEL_Pos
  113. 84:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #define MCHDLYCR_BSCKSEL_BB (uint32_t)(PERIPH_BB_BASE + (MCHDLYCR_OFFSET * 32U) + (BSCKSEL_B
  114. 85:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  115. 86:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @}
  116. 87:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  117. ARM GAS /tmp/ccCNvmNi.s page 3
  118. 88:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  119. 89:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Private macro -------------------------------------------------------------*/
  120. 90:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Private variables ---------------------------------------------------------*/
  121. 91:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /** @addtogroup HAL_Private_Variables
  122. 92:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @{
  123. 93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  124. 94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __IO uint32_t uwTick;
  125. 95:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** uint32_t uwTickPrio = (1UL << __NVIC_PRIO_BITS); /* Invalid PRIO */
  126. 96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */
  127. 97:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  128. 98:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @}
  129. 99:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  130. 100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Private function prototypes -----------------------------------------------*/
  131. 101:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Private functions ---------------------------------------------------------*/
  132. 102:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  133. 103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /** @defgroup HAL_Exported_Functions HAL Exported Functions
  134. 104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @{
  135. 105:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  136. 106:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  137. 107:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /** @defgroup HAL_Exported_Functions_Group1 Initialization and de-initialization Functions
  138. 108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Initialization and de-initialization functions
  139. 109:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** *
  140. 110:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** @verbatim
  141. 111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** ===============================================================================
  142. 112:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** ##### Initialization and Configuration functions #####
  143. 113:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** ===============================================================================
  144. 114:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** [..] This section provides functions allowing to:
  145. 115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) Initializes the Flash interface the NVIC allocation and initial clock
  146. 116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** configuration. It initializes the systick also when timeout is needed
  147. 117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** and the backup domain when enabled.
  148. 118:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) De-Initializes common part of the HAL.
  149. 119:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) Configure the time base source to have 1ms time base with a dedicated
  150. 120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** Tick interrupt priority.
  151. 121:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (++) SysTick timer is used by default as source of time base, but user
  152. 122:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** can eventually implement his proper time base source (a general purpose
  153. 123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** timer for example or other time source), keeping in mind that Time base
  154. 124:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** duration should be kept 1ms since PPP_TIMEOUT_VALUEs are defined and
  155. 125:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** handled in milliseconds basis.
  156. 126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (++) Time base configuration function (HAL_InitTick ()) is called automatically
  157. 127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** at the beginning of the program after reset by HAL_Init() or at any time
  158. 128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** when clock is configured, by HAL_RCC_ClockConfig().
  159. 129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (++) Source of time base is configured to generate interrupts at regular
  160. 130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** time intervals. Care must be taken if HAL_Delay() is called from a
  161. 131:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** peripheral ISR process, the Tick interrupt line must have higher priority
  162. 132:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (numerically lower) than the peripheral interrupt. Otherwise the caller
  163. 133:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** ISR process will be blocked.
  164. 134:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (++) functions affecting time base configurations are declared as __weak
  165. 135:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** to make override possible in case of other implementations in user file.
  166. 136:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** @endverbatim
  167. 137:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @{
  168. 138:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  169. 139:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  170. 140:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  171. 141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief This function is used to initialize the HAL Library; it must be the first
  172. 142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * instruction to be executed in the main program (before to call any other
  173. 143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * HAL function), it performs the following:
  174. 144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * Configure the Flash prefetch, instruction and Data caches.
  175. ARM GAS /tmp/ccCNvmNi.s page 4
  176. 145:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * Configures the SysTick to generate an interrupt each 1 millisecond,
  177. 146:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * which is clocked by the HSI (at this stage, the clock is not yet
  178. 147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * configured and thus the system is running from the internal HSI at 16 MHz).
  179. 148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * Set NVIC Group Priority to 4.
  180. 149:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * Calls the HAL_MspInit() callback function defined in user file
  181. 150:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * "stm32f4xx_hal_msp.c" to do the global low level hardware initialization
  182. 151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** *
  183. 152:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @note SysTick is used as time base for the HAL_Delay() function, the application
  184. 153:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * need to ensure that the SysTick time base is always set to 1 millisecond
  185. 154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * to have correct HAL operation.
  186. 155:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval HAL status
  187. 156:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  188. 157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** HAL_StatusTypeDef HAL_Init(void)
  189. 158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  190. 159:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Configure Flash prefetch, Instruction cache, Data cache */
  191. 160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #if (INSTRUCTION_CACHE_ENABLE != 0U)
  192. 161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_FLASH_INSTRUCTION_CACHE_ENABLE();
  193. 162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #endif /* INSTRUCTION_CACHE_ENABLE */
  194. 163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  195. 164:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #if (DATA_CACHE_ENABLE != 0U)
  196. 165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_FLASH_DATA_CACHE_ENABLE();
  197. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #endif /* DATA_CACHE_ENABLE */
  198. 167:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  199. 168:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #if (PREFETCH_ENABLE != 0U)
  200. 169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_FLASH_PREFETCH_BUFFER_ENABLE();
  201. 170:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #endif /* PREFETCH_ENABLE */
  202. 171:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  203. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Set Interrupt Group Priority */
  204. 173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** HAL_NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4);
  205. 174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  206. 175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Use systick as time base source and configure 1ms tick (default clock after Reset is HSI) */
  207. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** HAL_InitTick(TICK_INT_PRIORITY);
  208. 177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  209. 178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Init the low level hardware */
  210. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** HAL_MspInit();
  211. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  212. 181:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Return function status */
  213. 182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return HAL_OK;
  214. 183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  215. 184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  216. 185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  217. 186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief This function de-Initializes common part of the HAL and stops the systick.
  218. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * This function is optional.
  219. 188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval HAL status
  220. 189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  221. 190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** HAL_StatusTypeDef HAL_DeInit(void)
  222. 191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  223. 192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Reset of all peripherals */
  224. 193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_APB1_FORCE_RESET();
  225. 194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_APB1_RELEASE_RESET();
  226. 195:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  227. 196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_APB2_FORCE_RESET();
  228. 197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_APB2_RELEASE_RESET();
  229. 198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  230. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_AHB1_FORCE_RESET();
  231. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_AHB1_RELEASE_RESET();
  232. 201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  233. ARM GAS /tmp/ccCNvmNi.s page 5
  234. 202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_AHB2_FORCE_RESET();
  235. 203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_AHB2_RELEASE_RESET();
  236. 204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  237. 205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_AHB3_FORCE_RESET();
  238. 206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_AHB3_RELEASE_RESET();
  239. 207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  240. 208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* De-Init the low level hardware */
  241. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** HAL_MspDeInit();
  242. 210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  243. 211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Return function status */
  244. 212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return HAL_OK;
  245. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  246. 214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  247. 215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  248. 216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Initialize the MSP.
  249. 217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval None
  250. 218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  251. 219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __weak void HAL_MspInit(void)
  252. 220:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  253. 29 .loc 1 220 1 view -0
  254. 30 .cfi_startproc
  255. 31 @ args = 0, pretend = 0, frame = 0
  256. 32 @ frame_needed = 0, uses_anonymous_args = 0
  257. 33 @ link register save eliminated.
  258. 221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* NOTE : This function should not be modified, when the callback is needed,
  259. 222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** the HAL_MspInit could be implemented in the user file
  260. 223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  261. 224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  262. 34 .loc 1 224 1 view .LVU1
  263. 35 0000 7047 bx lr
  264. 36 .cfi_endproc
  265. 37 .LFE132:
  266. 39 .section .text.HAL_MspDeInit,"ax",%progbits
  267. 40 .align 1
  268. 41 .weak HAL_MspDeInit
  269. 42 .syntax unified
  270. 43 .thumb
  271. 44 .thumb_func
  272. 46 HAL_MspDeInit:
  273. 47 .LFB133:
  274. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  275. 226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  276. 227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief DeInitializes the MSP.
  277. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval None
  278. 229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  279. 230:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __weak void HAL_MspDeInit(void)
  280. 231:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  281. 48 .loc 1 231 1 view -0
  282. 49 .cfi_startproc
  283. 50 @ args = 0, pretend = 0, frame = 0
  284. 51 @ frame_needed = 0, uses_anonymous_args = 0
  285. 52 @ link register save eliminated.
  286. 232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* NOTE : This function should not be modified, when the callback is needed,
  287. 233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** the HAL_MspDeInit could be implemented in the user file
  288. 234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  289. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  290. 53 .loc 1 235 1 view .LVU3
  291. ARM GAS /tmp/ccCNvmNi.s page 6
  292. 54 0000 7047 bx lr
  293. 55 .cfi_endproc
  294. 56 .LFE133:
  295. 58 .section .text.HAL_DeInit,"ax",%progbits
  296. 59 .align 1
  297. 60 .global HAL_DeInit
  298. 61 .syntax unified
  299. 62 .thumb
  300. 63 .thumb_func
  301. 65 HAL_DeInit:
  302. 66 .LFB131:
  303. 191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Reset of all peripherals */
  304. 67 .loc 1 191 1 view -0
  305. 68 .cfi_startproc
  306. 69 @ args = 0, pretend = 0, frame = 0
  307. 70 @ frame_needed = 0, uses_anonymous_args = 0
  308. 71 0000 10B5 push {r4, lr}
  309. 72 .LCFI0:
  310. 73 .cfi_def_cfa_offset 8
  311. 74 .cfi_offset 4, -8
  312. 75 .cfi_offset 14, -4
  313. 193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_APB1_RELEASE_RESET();
  314. 76 .loc 1 193 3 view .LVU5
  315. 77 0002 094B ldr r3, .L5
  316. 78 0004 4FF0FF32 mov r2, #-1
  317. 79 0008 1A62 str r2, [r3, #32]
  318. 194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  319. 80 .loc 1 194 3 view .LVU6
  320. 81 000a 0024 movs r4, #0
  321. 82 000c 1C62 str r4, [r3, #32]
  322. 196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_APB2_RELEASE_RESET();
  323. 83 .loc 1 196 3 view .LVU7
  324. 84 000e 5A62 str r2, [r3, #36]
  325. 197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  326. 85 .loc 1 197 3 view .LVU8
  327. 86 0010 5C62 str r4, [r3, #36]
  328. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_AHB1_RELEASE_RESET();
  329. 87 .loc 1 199 3 view .LVU9
  330. 88 0012 1A61 str r2, [r3, #16]
  331. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  332. 89 .loc 1 200 3 view .LVU10
  333. 90 0014 1C61 str r4, [r3, #16]
  334. 202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_AHB2_RELEASE_RESET();
  335. 91 .loc 1 202 3 view .LVU11
  336. 92 0016 5A61 str r2, [r3, #20]
  337. 203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  338. 93 .loc 1 203 3 view .LVU12
  339. 94 0018 5C61 str r4, [r3, #20]
  340. 205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __HAL_RCC_AHB3_RELEASE_RESET();
  341. 95 .loc 1 205 3 view .LVU13
  342. 96 001a 9A61 str r2, [r3, #24]
  343. 206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  344. 97 .loc 1 206 3 view .LVU14
  345. 98 001c 9C61 str r4, [r3, #24]
  346. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  347. 99 .loc 1 209 3 view .LVU15
  348. 100 001e FFF7FEFF bl HAL_MspDeInit
  349. ARM GAS /tmp/ccCNvmNi.s page 7
  350. 101 .LVL0:
  351. 212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  352. 102 .loc 1 212 3 view .LVU16
  353. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  354. 103 .loc 1 213 1 is_stmt 0 view .LVU17
  355. 104 0022 2046 mov r0, r4
  356. 105 0024 10BD pop {r4, pc}
  357. 106 .L6:
  358. 107 0026 00BF .align 2
  359. 108 .L5:
  360. 109 0028 00380240 .word 1073887232
  361. 110 .cfi_endproc
  362. 111 .LFE131:
  363. 113 .section .text.HAL_InitTick,"ax",%progbits
  364. 114 .align 1
  365. 115 .weak HAL_InitTick
  366. 116 .syntax unified
  367. 117 .thumb
  368. 118 .thumb_func
  369. 120 HAL_InitTick:
  370. 121 .LVL1:
  371. 122 .LFB134:
  372. 236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  373. 237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  374. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief This function configures the source of the time base.
  375. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * The time source is configured to have 1ms time base with a dedicated
  376. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * Tick interrupt priority.
  377. 241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @note This function is called automatically at the beginning of program after
  378. 242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * reset by HAL_Init() or at any time when clock is reconfigured by HAL_RCC_ClockConfig().
  379. 243:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @note In the default implementation, SysTick timer is the source of time base.
  380. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * It is used to generate interrupts at regular time intervals.
  381. 245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * Care must be taken if HAL_Delay() is called from a peripheral ISR process,
  382. 246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * The SysTick interrupt must have higher priority (numerically lower)
  383. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * than the peripheral interrupt. Otherwise the caller ISR process will be blocked.
  384. 248:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * The function is declared as __weak to be overwritten in case of other
  385. 249:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * implementation in user file.
  386. 250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @param TickPriority Tick interrupt priority.
  387. 251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval HAL status
  388. 252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  389. 253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __weak HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority)
  390. 254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  391. 123 .loc 1 254 1 is_stmt 1 view -0
  392. 124 .cfi_startproc
  393. 125 @ args = 0, pretend = 0, frame = 0
  394. 126 @ frame_needed = 0, uses_anonymous_args = 0
  395. 127 .loc 1 254 1 is_stmt 0 view .LVU19
  396. 128 0000 10B5 push {r4, lr}
  397. 129 .LCFI1:
  398. 130 .cfi_def_cfa_offset 8
  399. 131 .cfi_offset 4, -8
  400. 132 .cfi_offset 14, -4
  401. 133 0002 0446 mov r4, r0
  402. 255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Configure the SysTick to have interrupt in 1ms time basis*/
  403. 256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U)
  404. 134 .loc 1 256 3 is_stmt 1 view .LVU20
  405. 135 .loc 1 256 51 is_stmt 0 view .LVU21
  406. 136 0004 0E4B ldr r3, .L13
  407. ARM GAS /tmp/ccCNvmNi.s page 8
  408. 137 0006 1878 ldrb r0, [r3] @ zero_extendqisi2
  409. 138 .LVL2:
  410. 139 .loc 1 256 51 view .LVU22
  411. 140 0008 4FF47A73 mov r3, #1000
  412. 141 000c B3FBF0F3 udiv r3, r3, r0
  413. 142 .loc 1 256 7 view .LVU23
  414. 143 0010 0C4A ldr r2, .L13+4
  415. 144 0012 1068 ldr r0, [r2]
  416. 145 0014 B0FBF3F0 udiv r0, r0, r3
  417. 146 0018 FFF7FEFF bl HAL_SYSTICK_Config
  418. 147 .LVL3:
  419. 148 .loc 1 256 6 view .LVU24
  420. 149 001c 68B9 cbnz r0, .L9
  421. 257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  422. 258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return HAL_ERROR;
  423. 259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  424. 260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  425. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Configure the SysTick IRQ priority */
  426. 262:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** if (TickPriority < (1UL << __NVIC_PRIO_BITS))
  427. 150 .loc 1 262 3 is_stmt 1 view .LVU25
  428. 151 .loc 1 262 6 is_stmt 0 view .LVU26
  429. 152 001e 0F2C cmp r4, #15
  430. 153 0020 01D9 bls .L12
  431. 263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  432. 264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** HAL_NVIC_SetPriority(SysTick_IRQn, TickPriority, 0U);
  433. 265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** uwTickPrio = TickPriority;
  434. 266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  435. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** else
  436. 268:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  437. 269:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return HAL_ERROR;
  438. 154 .loc 1 269 12 view .LVU27
  439. 155 0022 0120 movs r0, #1
  440. 156 0024 0AE0 b .L8
  441. 157 .L12:
  442. 264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** uwTickPrio = TickPriority;
  443. 158 .loc 1 264 5 is_stmt 1 view .LVU28
  444. 159 0026 0022 movs r2, #0
  445. 160 0028 2146 mov r1, r4
  446. 161 002a 4FF0FF30 mov r0, #-1
  447. 162 002e FFF7FEFF bl HAL_NVIC_SetPriority
  448. 163 .LVL4:
  449. 265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  450. 164 .loc 1 265 5 view .LVU29
  451. 265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  452. 165 .loc 1 265 16 is_stmt 0 view .LVU30
  453. 166 0032 054B ldr r3, .L13+8
  454. 167 0034 1C60 str r4, [r3]
  455. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  456. 271:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  457. 272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Return function status */
  458. 273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return HAL_OK;
  459. 168 .loc 1 273 3 is_stmt 1 view .LVU31
  460. 169 .loc 1 273 10 is_stmt 0 view .LVU32
  461. 170 0036 0020 movs r0, #0
  462. 171 0038 00E0 b .L8
  463. 172 .L9:
  464. 258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  465. ARM GAS /tmp/ccCNvmNi.s page 9
  466. 173 .loc 1 258 12 view .LVU33
  467. 174 003a 0120 movs r0, #1
  468. 175 .L8:
  469. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  470. 176 .loc 1 274 1 view .LVU34
  471. 177 003c 10BD pop {r4, pc}
  472. 178 .LVL5:
  473. 179 .L14:
  474. 180 .loc 1 274 1 view .LVU35
  475. 181 003e 00BF .align 2
  476. 182 .L13:
  477. 183 0040 00000000 .word .LANCHOR0
  478. 184 0044 00000000 .word SystemCoreClock
  479. 185 0048 00000000 .word .LANCHOR1
  480. 186 .cfi_endproc
  481. 187 .LFE134:
  482. 189 .section .text.HAL_Init,"ax",%progbits
  483. 190 .align 1
  484. 191 .global HAL_Init
  485. 192 .syntax unified
  486. 193 .thumb
  487. 194 .thumb_func
  488. 196 HAL_Init:
  489. 197 .LFB130:
  490. 158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Configure Flash prefetch, Instruction cache, Data cache */
  491. 198 .loc 1 158 1 is_stmt 1 view -0
  492. 199 .cfi_startproc
  493. 200 @ args = 0, pretend = 0, frame = 0
  494. 201 @ frame_needed = 0, uses_anonymous_args = 0
  495. 202 0000 08B5 push {r3, lr}
  496. 203 .LCFI2:
  497. 204 .cfi_def_cfa_offset 8
  498. 205 .cfi_offset 3, -8
  499. 206 .cfi_offset 14, -4
  500. 161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #endif /* INSTRUCTION_CACHE_ENABLE */
  501. 207 .loc 1 161 3 view .LVU37
  502. 208 0002 0B4B ldr r3, .L17
  503. 209 0004 1A68 ldr r2, [r3]
  504. 210 0006 42F40072 orr r2, r2, #512
  505. 211 000a 1A60 str r2, [r3]
  506. 165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #endif /* DATA_CACHE_ENABLE */
  507. 212 .loc 1 165 3 view .LVU38
  508. 213 000c 1A68 ldr r2, [r3]
  509. 214 000e 42F48062 orr r2, r2, #1024
  510. 215 0012 1A60 str r2, [r3]
  511. 169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** #endif /* PREFETCH_ENABLE */
  512. 216 .loc 1 169 3 view .LVU39
  513. 217 0014 1A68 ldr r2, [r3]
  514. 218 0016 42F48072 orr r2, r2, #256
  515. 219 001a 1A60 str r2, [r3]
  516. 173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  517. 220 .loc 1 173 3 view .LVU40
  518. 221 001c 0320 movs r0, #3
  519. 222 001e FFF7FEFF bl HAL_NVIC_SetPriorityGrouping
  520. 223 .LVL6:
  521. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  522. 224 .loc 1 176 3 view .LVU41
  523. ARM GAS /tmp/ccCNvmNi.s page 10
  524. 225 0022 0020 movs r0, #0
  525. 226 0024 FFF7FEFF bl HAL_InitTick
  526. 227 .LVL7:
  527. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  528. 228 .loc 1 179 3 view .LVU42
  529. 229 0028 FFF7FEFF bl HAL_MspInit
  530. 230 .LVL8:
  531. 182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  532. 231 .loc 1 182 3 view .LVU43
  533. 183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  534. 232 .loc 1 183 1 is_stmt 0 view .LVU44
  535. 233 002c 0020 movs r0, #0
  536. 234 002e 08BD pop {r3, pc}
  537. 235 .L18:
  538. 236 .align 2
  539. 237 .L17:
  540. 238 0030 003C0240 .word 1073888256
  541. 239 .cfi_endproc
  542. 240 .LFE130:
  543. 242 .section .text.HAL_IncTick,"ax",%progbits
  544. 243 .align 1
  545. 244 .weak HAL_IncTick
  546. 245 .syntax unified
  547. 246 .thumb
  548. 247 .thumb_func
  549. 249 HAL_IncTick:
  550. 250 .LFB135:
  551. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  552. 276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  553. 277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @}
  554. 278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  555. 279:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  556. 280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /** @defgroup HAL_Exported_Functions_Group2 HAL Control functions
  557. 281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief HAL Control functions
  558. 282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** *
  559. 283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** @verbatim
  560. 284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** ===============================================================================
  561. 285:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** ##### HAL Control functions #####
  562. 286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** ===============================================================================
  563. 287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** [..] This section provides functions allowing to:
  564. 288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) Provide a tick value in millisecond
  565. 289:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) Provide a blocking delay in millisecond
  566. 290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) Suspend the time base source interrupt
  567. 291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) Resume the time base source interrupt
  568. 292:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) Get the HAL API driver version
  569. 293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) Get the device identifier
  570. 294:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) Get the device revision identifier
  571. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) Enable/Disable Debug module during SLEEP mode
  572. 296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) Enable/Disable Debug module during STOP mode
  573. 297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** (+) Enable/Disable Debug module during STANDBY mode
  574. 298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  575. 299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** @endverbatim
  576. 300:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @{
  577. 301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  578. 302:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  579. 303:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  580. 304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief This function is called to increment a global variable "uwTick"
  581. ARM GAS /tmp/ccCNvmNi.s page 11
  582. 305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * used as application time base.
  583. 306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @note In the default implementation, this variable is incremented each 1ms
  584. 307:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * in SysTick ISR.
  585. 308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @note This function is declared as __weak to be overwritten in case of other
  586. 309:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * implementations in user file.
  587. 310:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval None
  588. 311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  589. 312:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __weak void HAL_IncTick(void)
  590. 313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  591. 251 .loc 1 313 1 is_stmt 1 view -0
  592. 252 .cfi_startproc
  593. 253 @ args = 0, pretend = 0, frame = 0
  594. 254 @ frame_needed = 0, uses_anonymous_args = 0
  595. 255 @ link register save eliminated.
  596. 314:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** uwTick += uwTickFreq;
  597. 256 .loc 1 314 3 view .LVU46
  598. 257 .loc 1 314 10 is_stmt 0 view .LVU47
  599. 258 0000 034A ldr r2, .L20
  600. 259 0002 1168 ldr r1, [r2]
  601. 260 0004 034B ldr r3, .L20+4
  602. 261 0006 1B78 ldrb r3, [r3] @ zero_extendqisi2
  603. 262 0008 0B44 add r3, r3, r1
  604. 263 000a 1360 str r3, [r2]
  605. 315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  606. 264 .loc 1 315 1 view .LVU48
  607. 265 000c 7047 bx lr
  608. 266 .L21:
  609. 267 000e 00BF .align 2
  610. 268 .L20:
  611. 269 0010 00000000 .word .LANCHOR2
  612. 270 0014 00000000 .word .LANCHOR0
  613. 271 .cfi_endproc
  614. 272 .LFE135:
  615. 274 .section .text.HAL_GetTick,"ax",%progbits
  616. 275 .align 1
  617. 276 .weak HAL_GetTick
  618. 277 .syntax unified
  619. 278 .thumb
  620. 279 .thumb_func
  621. 281 HAL_GetTick:
  622. 282 .LFB136:
  623. 316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  624. 317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  625. 318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Provides a tick value in millisecond.
  626. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @note This function is declared as __weak to be overwritten in case of other
  627. 320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * implementations in user file.
  628. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval tick value
  629. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  630. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __weak uint32_t HAL_GetTick(void)
  631. 324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  632. 283 .loc 1 324 1 is_stmt 1 view -0
  633. 284 .cfi_startproc
  634. 285 @ args = 0, pretend = 0, frame = 0
  635. 286 @ frame_needed = 0, uses_anonymous_args = 0
  636. 287 @ link register save eliminated.
  637. 325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return uwTick;
  638. 288 .loc 1 325 3 view .LVU50
  639. ARM GAS /tmp/ccCNvmNi.s page 12
  640. 289 .loc 1 325 10 is_stmt 0 view .LVU51
  641. 290 0000 014B ldr r3, .L23
  642. 291 0002 1868 ldr r0, [r3]
  643. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  644. 292 .loc 1 326 1 view .LVU52
  645. 293 0004 7047 bx lr
  646. 294 .L24:
  647. 295 0006 00BF .align 2
  648. 296 .L23:
  649. 297 0008 00000000 .word .LANCHOR2
  650. 298 .cfi_endproc
  651. 299 .LFE136:
  652. 301 .section .text.HAL_GetTickPrio,"ax",%progbits
  653. 302 .align 1
  654. 303 .global HAL_GetTickPrio
  655. 304 .syntax unified
  656. 305 .thumb
  657. 306 .thumb_func
  658. 308 HAL_GetTickPrio:
  659. 309 .LFB137:
  660. 327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  661. 328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  662. 329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief This function returns a tick priority.
  663. 330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval tick priority
  664. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  665. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** uint32_t HAL_GetTickPrio(void)
  666. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  667. 310 .loc 1 333 1 is_stmt 1 view -0
  668. 311 .cfi_startproc
  669. 312 @ args = 0, pretend = 0, frame = 0
  670. 313 @ frame_needed = 0, uses_anonymous_args = 0
  671. 314 @ link register save eliminated.
  672. 334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return uwTickPrio;
  673. 315 .loc 1 334 3 view .LVU54
  674. 335:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  675. 316 .loc 1 335 1 is_stmt 0 view .LVU55
  676. 317 0000 014B ldr r3, .L26
  677. 318 0002 1868 ldr r0, [r3]
  678. 319 0004 7047 bx lr
  679. 320 .L27:
  680. 321 0006 00BF .align 2
  681. 322 .L26:
  682. 323 0008 00000000 .word .LANCHOR1
  683. 324 .cfi_endproc
  684. 325 .LFE137:
  685. 327 .section .text.HAL_SetTickFreq,"ax",%progbits
  686. 328 .align 1
  687. 329 .global HAL_SetTickFreq
  688. 330 .syntax unified
  689. 331 .thumb
  690. 332 .thumb_func
  691. 334 HAL_SetTickFreq:
  692. 335 .LVL9:
  693. 336 .LFB138:
  694. 336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  695. 337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  696. 338:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Set new tick Freq.
  697. ARM GAS /tmp/ccCNvmNi.s page 13
  698. 339:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval Status
  699. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  700. 341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** HAL_StatusTypeDef HAL_SetTickFreq(HAL_TickFreqTypeDef Freq)
  701. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  702. 337 .loc 1 342 1 is_stmt 1 view -0
  703. 338 .cfi_startproc
  704. 339 @ args = 0, pretend = 0, frame = 0
  705. 340 @ frame_needed = 0, uses_anonymous_args = 0
  706. 341 .loc 1 342 1 is_stmt 0 view .LVU57
  707. 342 0000 08B5 push {r3, lr}
  708. 343 .LCFI3:
  709. 344 .cfi_def_cfa_offset 8
  710. 345 .cfi_offset 3, -8
  711. 346 .cfi_offset 14, -4
  712. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** HAL_StatusTypeDef status = HAL_OK;
  713. 347 .loc 1 343 3 is_stmt 1 view .LVU58
  714. 348 .LVL10:
  715. 344:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** assert_param(IS_TICKFREQ(Freq));
  716. 349 .loc 1 344 3 view .LVU59
  717. 345:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  718. 346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** if (uwTickFreq != Freq)
  719. 350 .loc 1 346 3 view .LVU60
  720. 351 .loc 1 346 18 is_stmt 0 view .LVU61
  721. 352 0002 064B ldr r3, .L33
  722. 353 0004 1B78 ldrb r3, [r3] @ zero_extendqisi2
  723. 354 .loc 1 346 6 view .LVU62
  724. 355 0006 8342 cmp r3, r0
  725. 356 0008 01D1 bne .L32
  726. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** assert_param(IS_TICKFREQ(Freq));
  727. 357 .loc 1 343 21 view .LVU63
  728. 358 000a 0020 movs r0, #0
  729. 359 .LVL11:
  730. 360 .L29:
  731. 347:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  732. 348:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** uwTickFreq = Freq;
  733. 349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  734. 350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Apply the new tick Freq */
  735. 351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** status = HAL_InitTick(uwTickPrio);
  736. 352:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  737. 353:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  738. 354:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return status;
  739. 361 .loc 1 354 3 is_stmt 1 view .LVU64
  740. 355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  741. 362 .loc 1 355 1 is_stmt 0 view .LVU65
  742. 363 000c 08BD pop {r3, pc}
  743. 364 .LVL12:
  744. 365 .L32:
  745. 348:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  746. 366 .loc 1 348 5 is_stmt 1 view .LVU66
  747. 348:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  748. 367 .loc 1 348 16 is_stmt 0 view .LVU67
  749. 368 000e 034B ldr r3, .L33
  750. 369 0010 1870 strb r0, [r3]
  751. 351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  752. 370 .loc 1 351 5 is_stmt 1 view .LVU68
  753. 351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  754. 371 .loc 1 351 14 is_stmt 0 view .LVU69
  755. ARM GAS /tmp/ccCNvmNi.s page 14
  756. 372 0012 034B ldr r3, .L33+4
  757. 373 0014 1868 ldr r0, [r3]
  758. 374 .LVL13:
  759. 351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  760. 375 .loc 1 351 14 view .LVU70
  761. 376 0016 FFF7FEFF bl HAL_InitTick
  762. 377 .LVL14:
  763. 351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  764. 378 .loc 1 351 14 view .LVU71
  765. 379 001a F7E7 b .L29
  766. 380 .L34:
  767. 381 .align 2
  768. 382 .L33:
  769. 383 001c 00000000 .word .LANCHOR0
  770. 384 0020 00000000 .word .LANCHOR1
  771. 385 .cfi_endproc
  772. 386 .LFE138:
  773. 388 .section .text.HAL_GetTickFreq,"ax",%progbits
  774. 389 .align 1
  775. 390 .global HAL_GetTickFreq
  776. 391 .syntax unified
  777. 392 .thumb
  778. 393 .thumb_func
  779. 395 HAL_GetTickFreq:
  780. 396 .LFB139:
  781. 356:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  782. 357:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  783. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Return tick frequency.
  784. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval tick period in Hz
  785. 360:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  786. 361:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** HAL_TickFreqTypeDef HAL_GetTickFreq(void)
  787. 362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  788. 397 .loc 1 362 1 is_stmt 1 view -0
  789. 398 .cfi_startproc
  790. 399 @ args = 0, pretend = 0, frame = 0
  791. 400 @ frame_needed = 0, uses_anonymous_args = 0
  792. 401 @ link register save eliminated.
  793. 363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return uwTickFreq;
  794. 402 .loc 1 363 3 view .LVU73
  795. 364:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  796. 403 .loc 1 364 1 is_stmt 0 view .LVU74
  797. 404 0000 014B ldr r3, .L36
  798. 405 0002 1878 ldrb r0, [r3] @ zero_extendqisi2
  799. 406 0004 7047 bx lr
  800. 407 .L37:
  801. 408 0006 00BF .align 2
  802. 409 .L36:
  803. 410 0008 00000000 .word .LANCHOR0
  804. 411 .cfi_endproc
  805. 412 .LFE139:
  806. 414 .section .text.HAL_Delay,"ax",%progbits
  807. 415 .align 1
  808. 416 .weak HAL_Delay
  809. 417 .syntax unified
  810. 418 .thumb
  811. 419 .thumb_func
  812. 421 HAL_Delay:
  813. ARM GAS /tmp/ccCNvmNi.s page 15
  814. 422 .LVL15:
  815. 423 .LFB140:
  816. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  817. 366:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  818. 367:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief This function provides minimum delay (in milliseconds) based
  819. 368:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * on variable incremented.
  820. 369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @note In the default implementation , SysTick timer is the source of time base.
  821. 370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * It is used to generate interrupts at regular time intervals where uwTick
  822. 371:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * is incremented.
  823. 372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @note This function is declared as __weak to be overwritten in case of other
  824. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * implementations in user file.
  825. 374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @param Delay specifies the delay time length, in milliseconds.
  826. 375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval None
  827. 376:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  828. 377:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __weak void HAL_Delay(uint32_t Delay)
  829. 378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  830. 424 .loc 1 378 1 is_stmt 1 view -0
  831. 425 .cfi_startproc
  832. 426 @ args = 0, pretend = 0, frame = 0
  833. 427 @ frame_needed = 0, uses_anonymous_args = 0
  834. 428 .loc 1 378 1 is_stmt 0 view .LVU76
  835. 429 0000 38B5 push {r3, r4, r5, lr}
  836. 430 .LCFI4:
  837. 431 .cfi_def_cfa_offset 16
  838. 432 .cfi_offset 3, -16
  839. 433 .cfi_offset 4, -12
  840. 434 .cfi_offset 5, -8
  841. 435 .cfi_offset 14, -4
  842. 436 0002 0446 mov r4, r0
  843. 379:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** uint32_t tickstart = HAL_GetTick();
  844. 437 .loc 1 379 3 is_stmt 1 view .LVU77
  845. 438 .loc 1 379 24 is_stmt 0 view .LVU78
  846. 439 0004 FFF7FEFF bl HAL_GetTick
  847. 440 .LVL16:
  848. 441 .loc 1 379 24 view .LVU79
  849. 442 0008 0546 mov r5, r0
  850. 443 .LVL17:
  851. 380:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** uint32_t wait = Delay;
  852. 444 .loc 1 380 3 is_stmt 1 view .LVU80
  853. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  854. 382:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Add a freq to guarantee minimum wait */
  855. 383:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** if (wait < HAL_MAX_DELAY)
  856. 445 .loc 1 383 3 view .LVU81
  857. 446 .loc 1 383 6 is_stmt 0 view .LVU82
  858. 447 000a B4F1FF3F cmp r4, #-1
  859. 448 000e 02D0 beq .L40
  860. 384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  861. 385:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** wait += (uint32_t)(uwTickFreq);
  862. 449 .loc 1 385 5 is_stmt 1 view .LVU83
  863. 450 .loc 1 385 13 is_stmt 0 view .LVU84
  864. 451 0010 044B ldr r3, .L42
  865. 452 0012 1B78 ldrb r3, [r3] @ zero_extendqisi2
  866. 453 .loc 1 385 10 view .LVU85
  867. 454 0014 1C44 add r4, r4, r3
  868. 455 .LVL18:
  869. 456 .L40:
  870. 386:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  871. ARM GAS /tmp/ccCNvmNi.s page 16
  872. 387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  873. 388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** while((HAL_GetTick() - tickstart) < wait)
  874. 389:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  875. 390:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  876. 457 .loc 1 390 3 is_stmt 1 discriminator 1 view .LVU86
  877. 388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  878. 458 .loc 1 388 8 discriminator 1 view .LVU87
  879. 388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  880. 459 .loc 1 388 10 is_stmt 0 discriminator 1 view .LVU88
  881. 460 0016 FFF7FEFF bl HAL_GetTick
  882. 461 .LVL19:
  883. 388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  884. 462 .loc 1 388 24 discriminator 1 view .LVU89
  885. 463 001a 401B subs r0, r0, r5
  886. 388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  887. 464 .loc 1 388 8 discriminator 1 view .LVU90
  888. 465 001c A042 cmp r0, r4
  889. 466 001e FAD3 bcc .L40
  890. 391:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  891. 467 .loc 1 391 1 view .LVU91
  892. 468 0020 38BD pop {r3, r4, r5, pc}
  893. 469 .LVL20:
  894. 470 .L43:
  895. 471 .loc 1 391 1 view .LVU92
  896. 472 0022 00BF .align 2
  897. 473 .L42:
  898. 474 0024 00000000 .word .LANCHOR0
  899. 475 .cfi_endproc
  900. 476 .LFE140:
  901. 478 .section .text.HAL_SuspendTick,"ax",%progbits
  902. 479 .align 1
  903. 480 .weak HAL_SuspendTick
  904. 481 .syntax unified
  905. 482 .thumb
  906. 483 .thumb_func
  907. 485 HAL_SuspendTick:
  908. 486 .LFB141:
  909. 392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  910. 393:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  911. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Suspend Tick increment.
  912. 395:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @note In the default implementation , SysTick timer is the source of time base. It is
  913. 396:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * used to generate interrupts at regular time intervals. Once HAL_SuspendTick()
  914. 397:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * is called, the SysTick interrupt will be disabled and so Tick increment
  915. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * is suspended.
  916. 399:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @note This function is declared as __weak to be overwritten in case of other
  917. 400:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * implementations in user file.
  918. 401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval None
  919. 402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  920. 403:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __weak void HAL_SuspendTick(void)
  921. 404:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  922. 487 .loc 1 404 1 is_stmt 1 view -0
  923. 488 .cfi_startproc
  924. 489 @ args = 0, pretend = 0, frame = 0
  925. 490 @ frame_needed = 0, uses_anonymous_args = 0
  926. 491 @ link register save eliminated.
  927. 405:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Disable SysTick Interrupt */
  928. 406:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** SysTick->CTRL &= ~SysTick_CTRL_TICKINT_Msk;
  929. ARM GAS /tmp/ccCNvmNi.s page 17
  930. 492 .loc 1 406 3 view .LVU94
  931. 493 .loc 1 406 17 is_stmt 0 view .LVU95
  932. 494 0000 4FF0E022 mov r2, #-536813568
  933. 495 0004 1369 ldr r3, [r2, #16]
  934. 496 0006 23F00203 bic r3, r3, #2
  935. 497 000a 1361 str r3, [r2, #16]
  936. 407:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  937. 498 .loc 1 407 1 view .LVU96
  938. 499 000c 7047 bx lr
  939. 500 .cfi_endproc
  940. 501 .LFE141:
  941. 503 .section .text.HAL_ResumeTick,"ax",%progbits
  942. 504 .align 1
  943. 505 .weak HAL_ResumeTick
  944. 506 .syntax unified
  945. 507 .thumb
  946. 508 .thumb_func
  947. 510 HAL_ResumeTick:
  948. 511 .LFB142:
  949. 408:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  950. 409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  951. 410:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Resume Tick increment.
  952. 411:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @note In the default implementation , SysTick timer is the source of time base. It is
  953. 412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * used to generate interrupts at regular time intervals. Once HAL_ResumeTick()
  954. 413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * is called, the SysTick interrupt will be enabled and so Tick increment
  955. 414:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * is resumed.
  956. 415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @note This function is declared as __weak to be overwritten in case of other
  957. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * implementations in user file.
  958. 417:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval None
  959. 418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  960. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** __weak void HAL_ResumeTick(void)
  961. 420:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  962. 512 .loc 1 420 1 is_stmt 1 view -0
  963. 513 .cfi_startproc
  964. 514 @ args = 0, pretend = 0, frame = 0
  965. 515 @ frame_needed = 0, uses_anonymous_args = 0
  966. 516 @ link register save eliminated.
  967. 421:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /* Enable SysTick Interrupt */
  968. 422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** SysTick->CTRL |= SysTick_CTRL_TICKINT_Msk;
  969. 517 .loc 1 422 3 view .LVU98
  970. 518 .loc 1 422 18 is_stmt 0 view .LVU99
  971. 519 0000 4FF0E022 mov r2, #-536813568
  972. 520 0004 1369 ldr r3, [r2, #16]
  973. 521 0006 43F00203 orr r3, r3, #2
  974. 522 000a 1361 str r3, [r2, #16]
  975. 423:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  976. 523 .loc 1 423 1 view .LVU100
  977. 524 000c 7047 bx lr
  978. 525 .cfi_endproc
  979. 526 .LFE142:
  980. 528 .section .text.HAL_GetHalVersion,"ax",%progbits
  981. 529 .align 1
  982. 530 .global HAL_GetHalVersion
  983. 531 .syntax unified
  984. 532 .thumb
  985. 533 .thumb_func
  986. 535 HAL_GetHalVersion:
  987. ARM GAS /tmp/ccCNvmNi.s page 18
  988. 536 .LFB143:
  989. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  990. 425:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  991. 426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Returns the HAL revision
  992. 427:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval version : 0xXYZR (8bits for each decimal, R for RC)
  993. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  994. 429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** uint32_t HAL_GetHalVersion(void)
  995. 430:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  996. 537 .loc 1 430 1 is_stmt 1 view -0
  997. 538 .cfi_startproc
  998. 539 @ args = 0, pretend = 0, frame = 0
  999. 540 @ frame_needed = 0, uses_anonymous_args = 0
  1000. 541 @ link register save eliminated.
  1001. 431:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return __STM32F4xx_HAL_VERSION;
  1002. 542 .loc 1 431 3 view .LVU102
  1003. 432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  1004. 543 .loc 1 432 1 is_stmt 0 view .LVU103
  1005. 544 0000 0048 ldr r0, .L47
  1006. 545 0002 7047 bx lr
  1007. 546 .L48:
  1008. 547 .align 2
  1009. 548 .L47:
  1010. 549 0004 00050701 .word 17237248
  1011. 550 .cfi_endproc
  1012. 551 .LFE143:
  1013. 553 .section .text.HAL_GetREVID,"ax",%progbits
  1014. 554 .align 1
  1015. 555 .global HAL_GetREVID
  1016. 556 .syntax unified
  1017. 557 .thumb
  1018. 558 .thumb_func
  1019. 560 HAL_GetREVID:
  1020. 561 .LFB144:
  1021. 433:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  1022. 434:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  1023. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Returns the device revision identifier.
  1024. 436:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval Device revision identifier
  1025. 437:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  1026. 438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** uint32_t HAL_GetREVID(void)
  1027. 439:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  1028. 562 .loc 1 439 1 is_stmt 1 view -0
  1029. 563 .cfi_startproc
  1030. 564 @ args = 0, pretend = 0, frame = 0
  1031. 565 @ frame_needed = 0, uses_anonymous_args = 0
  1032. 566 @ link register save eliminated.
  1033. 440:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return((DBGMCU->IDCODE) >> 16U);
  1034. 567 .loc 1 440 3 view .LVU105
  1035. 568 .loc 1 440 17 is_stmt 0 view .LVU106
  1036. 569 0000 014B ldr r3, .L50
  1037. 570 0002 1868 ldr r0, [r3]
  1038. 441:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  1039. 571 .loc 1 441 1 view .LVU107
  1040. 572 0004 000C lsrs r0, r0, #16
  1041. 573 0006 7047 bx lr
  1042. 574 .L51:
  1043. 575 .align 2
  1044. 576 .L50:
  1045. ARM GAS /tmp/ccCNvmNi.s page 19
  1046. 577 0008 002004E0 .word -536600576
  1047. 578 .cfi_endproc
  1048. 579 .LFE144:
  1049. 581 .section .text.HAL_GetDEVID,"ax",%progbits
  1050. 582 .align 1
  1051. 583 .global HAL_GetDEVID
  1052. 584 .syntax unified
  1053. 585 .thumb
  1054. 586 .thumb_func
  1055. 588 HAL_GetDEVID:
  1056. 589 .LFB145:
  1057. 442:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  1058. 443:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  1059. 444:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Returns the device identifier.
  1060. 445:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval Device identifier
  1061. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  1062. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** uint32_t HAL_GetDEVID(void)
  1063. 448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  1064. 590 .loc 1 448 1 is_stmt 1 view -0
  1065. 591 .cfi_startproc
  1066. 592 @ args = 0, pretend = 0, frame = 0
  1067. 593 @ frame_needed = 0, uses_anonymous_args = 0
  1068. 594 @ link register save eliminated.
  1069. 449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return((DBGMCU->IDCODE) & IDCODE_DEVID_MASK);
  1070. 595 .loc 1 449 3 view .LVU109
  1071. 596 .loc 1 449 17 is_stmt 0 view .LVU110
  1072. 597 0000 024B ldr r3, .L53
  1073. 598 0002 1868 ldr r0, [r3]
  1074. 450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  1075. 599 .loc 1 450 1 view .LVU111
  1076. 600 0004 C0F30B00 ubfx r0, r0, #0, #12
  1077. 601 0008 7047 bx lr
  1078. 602 .L54:
  1079. 603 000a 00BF .align 2
  1080. 604 .L53:
  1081. 605 000c 002004E0 .word -536600576
  1082. 606 .cfi_endproc
  1083. 607 .LFE145:
  1084. 609 .section .text.HAL_DBGMCU_EnableDBGSleepMode,"ax",%progbits
  1085. 610 .align 1
  1086. 611 .global HAL_DBGMCU_EnableDBGSleepMode
  1087. 612 .syntax unified
  1088. 613 .thumb
  1089. 614 .thumb_func
  1090. 616 HAL_DBGMCU_EnableDBGSleepMode:
  1091. 617 .LFB146:
  1092. 451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  1093. 452:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  1094. 453:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Enable the Debug Module during SLEEP mode
  1095. 454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval None
  1096. 455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  1097. 456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** void HAL_DBGMCU_EnableDBGSleepMode(void)
  1098. 457:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  1099. 618 .loc 1 457 1 is_stmt 1 view -0
  1100. 619 .cfi_startproc
  1101. 620 @ args = 0, pretend = 0, frame = 0
  1102. 621 @ frame_needed = 0, uses_anonymous_args = 0
  1103. ARM GAS /tmp/ccCNvmNi.s page 20
  1104. 622 @ link register save eliminated.
  1105. 458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_SLEEP);
  1106. 623 .loc 1 458 3 view .LVU113
  1107. 624 0000 024A ldr r2, .L56
  1108. 625 0002 5368 ldr r3, [r2, #4]
  1109. 626 0004 43F00103 orr r3, r3, #1
  1110. 627 0008 5360 str r3, [r2, #4]
  1111. 459:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  1112. 628 .loc 1 459 1 is_stmt 0 view .LVU114
  1113. 629 000a 7047 bx lr
  1114. 630 .L57:
  1115. 631 .align 2
  1116. 632 .L56:
  1117. 633 000c 002004E0 .word -536600576
  1118. 634 .cfi_endproc
  1119. 635 .LFE146:
  1120. 637 .section .text.HAL_DBGMCU_DisableDBGSleepMode,"ax",%progbits
  1121. 638 .align 1
  1122. 639 .global HAL_DBGMCU_DisableDBGSleepMode
  1123. 640 .syntax unified
  1124. 641 .thumb
  1125. 642 .thumb_func
  1126. 644 HAL_DBGMCU_DisableDBGSleepMode:
  1127. 645 .LFB147:
  1128. 460:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  1129. 461:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  1130. 462:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Disable the Debug Module during SLEEP mode
  1131. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval None
  1132. 464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  1133. 465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** void HAL_DBGMCU_DisableDBGSleepMode(void)
  1134. 466:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  1135. 646 .loc 1 466 1 is_stmt 1 view -0
  1136. 647 .cfi_startproc
  1137. 648 @ args = 0, pretend = 0, frame = 0
  1138. 649 @ frame_needed = 0, uses_anonymous_args = 0
  1139. 650 @ link register save eliminated.
  1140. 467:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_SLEEP);
  1141. 651 .loc 1 467 3 view .LVU116
  1142. 652 0000 024A ldr r2, .L59
  1143. 653 0002 5368 ldr r3, [r2, #4]
  1144. 654 0004 23F00103 bic r3, r3, #1
  1145. 655 0008 5360 str r3, [r2, #4]
  1146. 468:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  1147. 656 .loc 1 468 1 is_stmt 0 view .LVU117
  1148. 657 000a 7047 bx lr
  1149. 658 .L60:
  1150. 659 .align 2
  1151. 660 .L59:
  1152. 661 000c 002004E0 .word -536600576
  1153. 662 .cfi_endproc
  1154. 663 .LFE147:
  1155. 665 .section .text.HAL_DBGMCU_EnableDBGStopMode,"ax",%progbits
  1156. 666 .align 1
  1157. 667 .global HAL_DBGMCU_EnableDBGStopMode
  1158. 668 .syntax unified
  1159. 669 .thumb
  1160. 670 .thumb_func
  1161. ARM GAS /tmp/ccCNvmNi.s page 21
  1162. 672 HAL_DBGMCU_EnableDBGStopMode:
  1163. 673 .LFB148:
  1164. 469:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  1165. 470:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  1166. 471:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Enable the Debug Module during STOP mode
  1167. 472:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval None
  1168. 473:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  1169. 474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** void HAL_DBGMCU_EnableDBGStopMode(void)
  1170. 475:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  1171. 674 .loc 1 475 1 is_stmt 1 view -0
  1172. 675 .cfi_startproc
  1173. 676 @ args = 0, pretend = 0, frame = 0
  1174. 677 @ frame_needed = 0, uses_anonymous_args = 0
  1175. 678 @ link register save eliminated.
  1176. 476:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STOP);
  1177. 679 .loc 1 476 3 view .LVU119
  1178. 680 0000 024A ldr r2, .L62
  1179. 681 0002 5368 ldr r3, [r2, #4]
  1180. 682 0004 43F00203 orr r3, r3, #2
  1181. 683 0008 5360 str r3, [r2, #4]
  1182. 477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  1183. 684 .loc 1 477 1 is_stmt 0 view .LVU120
  1184. 685 000a 7047 bx lr
  1185. 686 .L63:
  1186. 687 .align 2
  1187. 688 .L62:
  1188. 689 000c 002004E0 .word -536600576
  1189. 690 .cfi_endproc
  1190. 691 .LFE148:
  1191. 693 .section .text.HAL_DBGMCU_DisableDBGStopMode,"ax",%progbits
  1192. 694 .align 1
  1193. 695 .global HAL_DBGMCU_DisableDBGStopMode
  1194. 696 .syntax unified
  1195. 697 .thumb
  1196. 698 .thumb_func
  1197. 700 HAL_DBGMCU_DisableDBGStopMode:
  1198. 701 .LFB149:
  1199. 478:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  1200. 479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  1201. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Disable the Debug Module during STOP mode
  1202. 481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval None
  1203. 482:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  1204. 483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** void HAL_DBGMCU_DisableDBGStopMode(void)
  1205. 484:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  1206. 702 .loc 1 484 1 is_stmt 1 view -0
  1207. 703 .cfi_startproc
  1208. 704 @ args = 0, pretend = 0, frame = 0
  1209. 705 @ frame_needed = 0, uses_anonymous_args = 0
  1210. 706 @ link register save eliminated.
  1211. 485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STOP);
  1212. 707 .loc 1 485 3 view .LVU122
  1213. 708 0000 024A ldr r2, .L65
  1214. 709 0002 5368 ldr r3, [r2, #4]
  1215. 710 0004 23F00203 bic r3, r3, #2
  1216. 711 0008 5360 str r3, [r2, #4]
  1217. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  1218. 712 .loc 1 486 1 is_stmt 0 view .LVU123
  1219. ARM GAS /tmp/ccCNvmNi.s page 22
  1220. 713 000a 7047 bx lr
  1221. 714 .L66:
  1222. 715 .align 2
  1223. 716 .L65:
  1224. 717 000c 002004E0 .word -536600576
  1225. 718 .cfi_endproc
  1226. 719 .LFE149:
  1227. 721 .section .text.HAL_DBGMCU_EnableDBGStandbyMode,"ax",%progbits
  1228. 722 .align 1
  1229. 723 .global HAL_DBGMCU_EnableDBGStandbyMode
  1230. 724 .syntax unified
  1231. 725 .thumb
  1232. 726 .thumb_func
  1233. 728 HAL_DBGMCU_EnableDBGStandbyMode:
  1234. 729 .LFB150:
  1235. 487:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  1236. 488:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  1237. 489:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Enable the Debug Module during STANDBY mode
  1238. 490:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval None
  1239. 491:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  1240. 492:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** void HAL_DBGMCU_EnableDBGStandbyMode(void)
  1241. 493:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  1242. 730 .loc 1 493 1 is_stmt 1 view -0
  1243. 731 .cfi_startproc
  1244. 732 @ args = 0, pretend = 0, frame = 0
  1245. 733 @ frame_needed = 0, uses_anonymous_args = 0
  1246. 734 @ link register save eliminated.
  1247. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STANDBY);
  1248. 735 .loc 1 494 3 view .LVU125
  1249. 736 0000 024A ldr r2, .L68
  1250. 737 0002 5368 ldr r3, [r2, #4]
  1251. 738 0004 43F00403 orr r3, r3, #4
  1252. 739 0008 5360 str r3, [r2, #4]
  1253. 495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  1254. 740 .loc 1 495 1 is_stmt 0 view .LVU126
  1255. 741 000a 7047 bx lr
  1256. 742 .L69:
  1257. 743 .align 2
  1258. 744 .L68:
  1259. 745 000c 002004E0 .word -536600576
  1260. 746 .cfi_endproc
  1261. 747 .LFE150:
  1262. 749 .section .text.HAL_DBGMCU_DisableDBGStandbyMode,"ax",%progbits
  1263. 750 .align 1
  1264. 751 .global HAL_DBGMCU_DisableDBGStandbyMode
  1265. 752 .syntax unified
  1266. 753 .thumb
  1267. 754 .thumb_func
  1268. 756 HAL_DBGMCU_DisableDBGStandbyMode:
  1269. 757 .LFB151:
  1270. 496:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  1271. 497:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  1272. 498:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Disable the Debug Module during STANDBY mode
  1273. 499:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval None
  1274. 500:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  1275. 501:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** void HAL_DBGMCU_DisableDBGStandbyMode(void)
  1276. 502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  1277. ARM GAS /tmp/ccCNvmNi.s page 23
  1278. 758 .loc 1 502 1 is_stmt 1 view -0
  1279. 759 .cfi_startproc
  1280. 760 @ args = 0, pretend = 0, frame = 0
  1281. 761 @ frame_needed = 0, uses_anonymous_args = 0
  1282. 762 @ link register save eliminated.
  1283. 503:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STANDBY);
  1284. 763 .loc 1 503 3 view .LVU128
  1285. 764 0000 024A ldr r2, .L71
  1286. 765 0002 5368 ldr r3, [r2, #4]
  1287. 766 0004 23F00403 bic r3, r3, #4
  1288. 767 0008 5360 str r3, [r2, #4]
  1289. 504:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  1290. 768 .loc 1 504 1 is_stmt 0 view .LVU129
  1291. 769 000a 7047 bx lr
  1292. 770 .L72:
  1293. 771 .align 2
  1294. 772 .L71:
  1295. 773 000c 002004E0 .word -536600576
  1296. 774 .cfi_endproc
  1297. 775 .LFE151:
  1298. 777 .section .text.HAL_EnableCompensationCell,"ax",%progbits
  1299. 778 .align 1
  1300. 779 .global HAL_EnableCompensationCell
  1301. 780 .syntax unified
  1302. 781 .thumb
  1303. 782 .thumb_func
  1304. 784 HAL_EnableCompensationCell:
  1305. 785 .LFB152:
  1306. 505:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  1307. 506:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  1308. 507:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Enables the I/O Compensation Cell.
  1309. 508:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @note The I/O compensation cell can be used only when the device supply
  1310. 509:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * voltage ranges from 2.4 to 3.6 V.
  1311. 510:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval None
  1312. 511:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  1313. 512:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** void HAL_EnableCompensationCell(void)
  1314. 513:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  1315. 786 .loc 1 513 1 is_stmt 1 view -0
  1316. 787 .cfi_startproc
  1317. 788 @ args = 0, pretend = 0, frame = 0
  1318. 789 @ frame_needed = 0, uses_anonymous_args = 0
  1319. 790 @ link register save eliminated.
  1320. 514:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** *(__IO uint32_t *)CMPCR_CMP_PD_BB = (uint32_t)ENABLE;
  1321. 791 .loc 1 514 3 view .LVU131
  1322. 792 .loc 1 514 37 is_stmt 0 view .LVU132
  1323. 793 0000 024B ldr r3, .L74
  1324. 794 0002 0122 movs r2, #1
  1325. 795 0004 C3F80024 str r2, [r3, #1024]
  1326. 515:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  1327. 796 .loc 1 515 1 view .LVU133
  1328. 797 0008 7047 bx lr
  1329. 798 .L75:
  1330. 799 000a 00BF .align 2
  1331. 800 .L74:
  1332. 801 000c 00002742 .word 1109852160
  1333. 802 .cfi_endproc
  1334. 803 .LFE152:
  1335. ARM GAS /tmp/ccCNvmNi.s page 24
  1336. 805 .section .text.HAL_DisableCompensationCell,"ax",%progbits
  1337. 806 .align 1
  1338. 807 .global HAL_DisableCompensationCell
  1339. 808 .syntax unified
  1340. 809 .thumb
  1341. 810 .thumb_func
  1342. 812 HAL_DisableCompensationCell:
  1343. 813 .LFB153:
  1344. 516:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  1345. 517:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  1346. 518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Power-down the I/O Compensation Cell.
  1347. 519:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @note The I/O compensation cell can be used only when the device supply
  1348. 520:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * voltage ranges from 2.4 to 3.6 V.
  1349. 521:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval None
  1350. 522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  1351. 523:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** void HAL_DisableCompensationCell(void)
  1352. 524:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  1353. 814 .loc 1 524 1 is_stmt 1 view -0
  1354. 815 .cfi_startproc
  1355. 816 @ args = 0, pretend = 0, frame = 0
  1356. 817 @ frame_needed = 0, uses_anonymous_args = 0
  1357. 818 @ link register save eliminated.
  1358. 525:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** *(__IO uint32_t *)CMPCR_CMP_PD_BB = (uint32_t)DISABLE;
  1359. 819 .loc 1 525 3 view .LVU135
  1360. 820 .loc 1 525 37 is_stmt 0 view .LVU136
  1361. 821 0000 024B ldr r3, .L77
  1362. 822 0002 0022 movs r2, #0
  1363. 823 0004 C3F80024 str r2, [r3, #1024]
  1364. 526:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  1365. 824 .loc 1 526 1 view .LVU137
  1366. 825 0008 7047 bx lr
  1367. 826 .L78:
  1368. 827 000a 00BF .align 2
  1369. 828 .L77:
  1370. 829 000c 00002742 .word 1109852160
  1371. 830 .cfi_endproc
  1372. 831 .LFE153:
  1373. 833 .section .text.HAL_GetUIDw0,"ax",%progbits
  1374. 834 .align 1
  1375. 835 .global HAL_GetUIDw0
  1376. 836 .syntax unified
  1377. 837 .thumb
  1378. 838 .thumb_func
  1379. 840 HAL_GetUIDw0:
  1380. 841 .LFB154:
  1381. 527:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  1382. 528:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  1383. 529:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Returns first word of the unique device identifier (UID based on 96 bits)
  1384. 530:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval Device identifier
  1385. 531:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  1386. 532:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** uint32_t HAL_GetUIDw0(void)
  1387. 533:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  1388. 842 .loc 1 533 1 is_stmt 1 view -0
  1389. 843 .cfi_startproc
  1390. 844 @ args = 0, pretend = 0, frame = 0
  1391. 845 @ frame_needed = 0, uses_anonymous_args = 0
  1392. 846 @ link register save eliminated.
  1393. ARM GAS /tmp/ccCNvmNi.s page 25
  1394. 534:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return (READ_REG(*((uint32_t *)UID_BASE)));
  1395. 847 .loc 1 534 3 view .LVU139
  1396. 535:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  1397. 848 .loc 1 535 1 is_stmt 0 view .LVU140
  1398. 849 0000 014B ldr r3, .L80
  1399. 850 0002 D3F8100A ldr r0, [r3, #2576]
  1400. 851 0006 7047 bx lr
  1401. 852 .L81:
  1402. 853 .align 2
  1403. 854 .L80:
  1404. 855 0008 0070FF1F .word 536834048
  1405. 856 .cfi_endproc
  1406. 857 .LFE154:
  1407. 859 .section .text.HAL_GetUIDw1,"ax",%progbits
  1408. 860 .align 1
  1409. 861 .global HAL_GetUIDw1
  1410. 862 .syntax unified
  1411. 863 .thumb
  1412. 864 .thumb_func
  1413. 866 HAL_GetUIDw1:
  1414. 867 .LFB155:
  1415. 536:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  1416. 537:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  1417. 538:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Returns second word of the unique device identifier (UID based on 96 bits)
  1418. 539:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval Device identifier
  1419. 540:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  1420. 541:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** uint32_t HAL_GetUIDw1(void)
  1421. 542:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  1422. 868 .loc 1 542 1 is_stmt 1 view -0
  1423. 869 .cfi_startproc
  1424. 870 @ args = 0, pretend = 0, frame = 0
  1425. 871 @ frame_needed = 0, uses_anonymous_args = 0
  1426. 872 @ link register save eliminated.
  1427. 543:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return (READ_REG(*((uint32_t *)(UID_BASE + 4U))));
  1428. 873 .loc 1 543 3 view .LVU142
  1429. 544:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  1430. 874 .loc 1 544 1 is_stmt 0 view .LVU143
  1431. 875 0000 014B ldr r3, .L83
  1432. 876 0002 D3F8140A ldr r0, [r3, #2580]
  1433. 877 0006 7047 bx lr
  1434. 878 .L84:
  1435. 879 .align 2
  1436. 880 .L83:
  1437. 881 0008 0070FF1F .word 536834048
  1438. 882 .cfi_endproc
  1439. 883 .LFE155:
  1440. 885 .section .text.HAL_GetUIDw2,"ax",%progbits
  1441. 886 .align 1
  1442. 887 .global HAL_GetUIDw2
  1443. 888 .syntax unified
  1444. 889 .thumb
  1445. 890 .thumb_func
  1446. 892 HAL_GetUIDw2:
  1447. 893 .LFB156:
  1448. 545:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c ****
  1449. 546:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** /**
  1450. 547:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @brief Returns third word of the unique device identifier (UID based on 96 bits)
  1451. ARM GAS /tmp/ccCNvmNi.s page 26
  1452. 548:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** * @retval Device identifier
  1453. 549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** */
  1454. 550:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** uint32_t HAL_GetUIDw2(void)
  1455. 551:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** {
  1456. 894 .loc 1 551 1 is_stmt 1 view -0
  1457. 895 .cfi_startproc
  1458. 896 @ args = 0, pretend = 0, frame = 0
  1459. 897 @ frame_needed = 0, uses_anonymous_args = 0
  1460. 898 @ link register save eliminated.
  1461. 552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** return (READ_REG(*((uint32_t *)(UID_BASE + 8U))));
  1462. 899 .loc 1 552 3 view .LVU145
  1463. 553:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c **** }
  1464. 900 .loc 1 553 1 is_stmt 0 view .LVU146
  1465. 901 0000 014B ldr r3, .L86
  1466. 902 0002 D3F8180A ldr r0, [r3, #2584]
  1467. 903 0006 7047 bx lr
  1468. 904 .L87:
  1469. 905 .align 2
  1470. 906 .L86:
  1471. 907 0008 0070FF1F .word 536834048
  1472. 908 .cfi_endproc
  1473. 909 .LFE156:
  1474. 911 .global uwTickFreq
  1475. 912 .global uwTickPrio
  1476. 913 .global uwTick
  1477. 914 .section .bss.uwTick,"aw",%nobits
  1478. 915 .align 2
  1479. 916 .set .LANCHOR2,. + 0
  1480. 919 uwTick:
  1481. 920 0000 00000000 .space 4
  1482. 921 .section .data.uwTickFreq,"aw"
  1483. 922 .set .LANCHOR0,. + 0
  1484. 925 uwTickFreq:
  1485. 926 0000 01 .byte 1
  1486. 927 .section .data.uwTickPrio,"aw"
  1487. 928 .align 2
  1488. 929 .set .LANCHOR1,. + 0
  1489. 932 uwTickPrio:
  1490. 933 0000 10000000 .word 16
  1491. 934 .text
  1492. 935 .Letext0:
  1493. 936 .file 2 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
  1494. 937 .file 3 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
  1495. 938 .file 4 "Drivers/CMSIS/Include/core_cm4.h"
  1496. 939 .file 5 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h"
  1497. 940 .file 6 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
  1498. 941 .file 7 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h"
  1499. 942 .file 8 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h"
  1500. 943 .file 9 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h"
  1501. 944 .file 10 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h"
  1502. ARM GAS /tmp/ccCNvmNi.s page 27
  1503. DEFINED SYMBOLS
  1504. *ABS*:0000000000000000 stm32f4xx_hal.c
  1505. /tmp/ccCNvmNi.s:20 .text.HAL_MspInit:0000000000000000 $t
  1506. /tmp/ccCNvmNi.s:26 .text.HAL_MspInit:0000000000000000 HAL_MspInit
  1507. /tmp/ccCNvmNi.s:40 .text.HAL_MspDeInit:0000000000000000 $t
  1508. /tmp/ccCNvmNi.s:46 .text.HAL_MspDeInit:0000000000000000 HAL_MspDeInit
  1509. /tmp/ccCNvmNi.s:59 .text.HAL_DeInit:0000000000000000 $t
  1510. /tmp/ccCNvmNi.s:65 .text.HAL_DeInit:0000000000000000 HAL_DeInit
  1511. /tmp/ccCNvmNi.s:109 .text.HAL_DeInit:0000000000000028 $d
  1512. /tmp/ccCNvmNi.s:114 .text.HAL_InitTick:0000000000000000 $t
  1513. /tmp/ccCNvmNi.s:120 .text.HAL_InitTick:0000000000000000 HAL_InitTick
  1514. /tmp/ccCNvmNi.s:183 .text.HAL_InitTick:0000000000000040 $d
  1515. /tmp/ccCNvmNi.s:190 .text.HAL_Init:0000000000000000 $t
  1516. /tmp/ccCNvmNi.s:196 .text.HAL_Init:0000000000000000 HAL_Init
  1517. /tmp/ccCNvmNi.s:238 .text.HAL_Init:0000000000000030 $d
  1518. /tmp/ccCNvmNi.s:243 .text.HAL_IncTick:0000000000000000 $t
  1519. /tmp/ccCNvmNi.s:249 .text.HAL_IncTick:0000000000000000 HAL_IncTick
  1520. /tmp/ccCNvmNi.s:269 .text.HAL_IncTick:0000000000000010 $d
  1521. /tmp/ccCNvmNi.s:275 .text.HAL_GetTick:0000000000000000 $t
  1522. /tmp/ccCNvmNi.s:281 .text.HAL_GetTick:0000000000000000 HAL_GetTick
  1523. /tmp/ccCNvmNi.s:297 .text.HAL_GetTick:0000000000000008 $d
  1524. /tmp/ccCNvmNi.s:302 .text.HAL_GetTickPrio:0000000000000000 $t
  1525. /tmp/ccCNvmNi.s:308 .text.HAL_GetTickPrio:0000000000000000 HAL_GetTickPrio
  1526. /tmp/ccCNvmNi.s:323 .text.HAL_GetTickPrio:0000000000000008 $d
  1527. /tmp/ccCNvmNi.s:328 .text.HAL_SetTickFreq:0000000000000000 $t
  1528. /tmp/ccCNvmNi.s:334 .text.HAL_SetTickFreq:0000000000000000 HAL_SetTickFreq
  1529. /tmp/ccCNvmNi.s:383 .text.HAL_SetTickFreq:000000000000001c $d
  1530. /tmp/ccCNvmNi.s:389 .text.HAL_GetTickFreq:0000000000000000 $t
  1531. /tmp/ccCNvmNi.s:395 .text.HAL_GetTickFreq:0000000000000000 HAL_GetTickFreq
  1532. /tmp/ccCNvmNi.s:410 .text.HAL_GetTickFreq:0000000000000008 $d
  1533. /tmp/ccCNvmNi.s:415 .text.HAL_Delay:0000000000000000 $t
  1534. /tmp/ccCNvmNi.s:421 .text.HAL_Delay:0000000000000000 HAL_Delay
  1535. /tmp/ccCNvmNi.s:474 .text.HAL_Delay:0000000000000024 $d
  1536. /tmp/ccCNvmNi.s:479 .text.HAL_SuspendTick:0000000000000000 $t
  1537. /tmp/ccCNvmNi.s:485 .text.HAL_SuspendTick:0000000000000000 HAL_SuspendTick
  1538. /tmp/ccCNvmNi.s:504 .text.HAL_ResumeTick:0000000000000000 $t
  1539. /tmp/ccCNvmNi.s:510 .text.HAL_ResumeTick:0000000000000000 HAL_ResumeTick
  1540. /tmp/ccCNvmNi.s:529 .text.HAL_GetHalVersion:0000000000000000 $t
  1541. /tmp/ccCNvmNi.s:535 .text.HAL_GetHalVersion:0000000000000000 HAL_GetHalVersion
  1542. /tmp/ccCNvmNi.s:549 .text.HAL_GetHalVersion:0000000000000004 $d
  1543. /tmp/ccCNvmNi.s:554 .text.HAL_GetREVID:0000000000000000 $t
  1544. /tmp/ccCNvmNi.s:560 .text.HAL_GetREVID:0000000000000000 HAL_GetREVID
  1545. /tmp/ccCNvmNi.s:577 .text.HAL_GetREVID:0000000000000008 $d
  1546. /tmp/ccCNvmNi.s:582 .text.HAL_GetDEVID:0000000000000000 $t
  1547. /tmp/ccCNvmNi.s:588 .text.HAL_GetDEVID:0000000000000000 HAL_GetDEVID
  1548. /tmp/ccCNvmNi.s:605 .text.HAL_GetDEVID:000000000000000c $d
  1549. /tmp/ccCNvmNi.s:610 .text.HAL_DBGMCU_EnableDBGSleepMode:0000000000000000 $t
  1550. /tmp/ccCNvmNi.s:616 .text.HAL_DBGMCU_EnableDBGSleepMode:0000000000000000 HAL_DBGMCU_EnableDBGSleepMode
  1551. /tmp/ccCNvmNi.s:633 .text.HAL_DBGMCU_EnableDBGSleepMode:000000000000000c $d
  1552. /tmp/ccCNvmNi.s:638 .text.HAL_DBGMCU_DisableDBGSleepMode:0000000000000000 $t
  1553. /tmp/ccCNvmNi.s:644 .text.HAL_DBGMCU_DisableDBGSleepMode:0000000000000000 HAL_DBGMCU_DisableDBGSleepMode
  1554. /tmp/ccCNvmNi.s:661 .text.HAL_DBGMCU_DisableDBGSleepMode:000000000000000c $d
  1555. /tmp/ccCNvmNi.s:666 .text.HAL_DBGMCU_EnableDBGStopMode:0000000000000000 $t
  1556. /tmp/ccCNvmNi.s:672 .text.HAL_DBGMCU_EnableDBGStopMode:0000000000000000 HAL_DBGMCU_EnableDBGStopMode
  1557. /tmp/ccCNvmNi.s:689 .text.HAL_DBGMCU_EnableDBGStopMode:000000000000000c $d
  1558. /tmp/ccCNvmNi.s:694 .text.HAL_DBGMCU_DisableDBGStopMode:0000000000000000 $t
  1559. /tmp/ccCNvmNi.s:700 .text.HAL_DBGMCU_DisableDBGStopMode:0000000000000000 HAL_DBGMCU_DisableDBGStopMode
  1560. ARM GAS /tmp/ccCNvmNi.s page 28
  1561. /tmp/ccCNvmNi.s:717 .text.HAL_DBGMCU_DisableDBGStopMode:000000000000000c $d
  1562. /tmp/ccCNvmNi.s:722 .text.HAL_DBGMCU_EnableDBGStandbyMode:0000000000000000 $t
  1563. /tmp/ccCNvmNi.s:728 .text.HAL_DBGMCU_EnableDBGStandbyMode:0000000000000000 HAL_DBGMCU_EnableDBGStandbyMode
  1564. /tmp/ccCNvmNi.s:745 .text.HAL_DBGMCU_EnableDBGStandbyMode:000000000000000c $d
  1565. /tmp/ccCNvmNi.s:750 .text.HAL_DBGMCU_DisableDBGStandbyMode:0000000000000000 $t
  1566. /tmp/ccCNvmNi.s:756 .text.HAL_DBGMCU_DisableDBGStandbyMode:0000000000000000 HAL_DBGMCU_DisableDBGStandbyMode
  1567. /tmp/ccCNvmNi.s:773 .text.HAL_DBGMCU_DisableDBGStandbyMode:000000000000000c $d
  1568. /tmp/ccCNvmNi.s:778 .text.HAL_EnableCompensationCell:0000000000000000 $t
  1569. /tmp/ccCNvmNi.s:784 .text.HAL_EnableCompensationCell:0000000000000000 HAL_EnableCompensationCell
  1570. /tmp/ccCNvmNi.s:801 .text.HAL_EnableCompensationCell:000000000000000c $d
  1571. /tmp/ccCNvmNi.s:806 .text.HAL_DisableCompensationCell:0000000000000000 $t
  1572. /tmp/ccCNvmNi.s:812 .text.HAL_DisableCompensationCell:0000000000000000 HAL_DisableCompensationCell
  1573. /tmp/ccCNvmNi.s:829 .text.HAL_DisableCompensationCell:000000000000000c $d
  1574. /tmp/ccCNvmNi.s:834 .text.HAL_GetUIDw0:0000000000000000 $t
  1575. /tmp/ccCNvmNi.s:840 .text.HAL_GetUIDw0:0000000000000000 HAL_GetUIDw0
  1576. /tmp/ccCNvmNi.s:855 .text.HAL_GetUIDw0:0000000000000008 $d
  1577. /tmp/ccCNvmNi.s:860 .text.HAL_GetUIDw1:0000000000000000 $t
  1578. /tmp/ccCNvmNi.s:866 .text.HAL_GetUIDw1:0000000000000000 HAL_GetUIDw1
  1579. /tmp/ccCNvmNi.s:881 .text.HAL_GetUIDw1:0000000000000008 $d
  1580. /tmp/ccCNvmNi.s:886 .text.HAL_GetUIDw2:0000000000000000 $t
  1581. /tmp/ccCNvmNi.s:892 .text.HAL_GetUIDw2:0000000000000000 HAL_GetUIDw2
  1582. /tmp/ccCNvmNi.s:907 .text.HAL_GetUIDw2:0000000000000008 $d
  1583. /tmp/ccCNvmNi.s:925 .data.uwTickFreq:0000000000000000 uwTickFreq
  1584. /tmp/ccCNvmNi.s:932 .data.uwTickPrio:0000000000000000 uwTickPrio
  1585. /tmp/ccCNvmNi.s:919 .bss.uwTick:0000000000000000 uwTick
  1586. /tmp/ccCNvmNi.s:915 .bss.uwTick:0000000000000000 $d
  1587. /tmp/ccCNvmNi.s:928 .data.uwTickPrio:0000000000000000 $d
  1588. UNDEFINED SYMBOLS
  1589. HAL_SYSTICK_Config
  1590. HAL_NVIC_SetPriority
  1591. SystemCoreClock
  1592. HAL_NVIC_SetPriorityGrouping