stm32f1xx_hal.lst 94 KB

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