stm32f1xx_hal_rcc_ex.lst 91 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334
  1. ARM GAS /tmp/cc0P3ody.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_rcc_ex.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.HAL_RCCEx_PeriphCLKConfig,"ax",%progbits
  19. 18 .align 1
  20. 19 .global HAL_RCCEx_PeriphCLKConfig
  21. 20 .syntax unified
  22. 21 .thumb
  23. 22 .thumb_func
  24. 24 HAL_RCCEx_PeriphCLKConfig:
  25. 25 .LVL0:
  26. 26 .LFB65:
  27. 27 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c"
  28. 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /**
  29. 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** ******************************************************************************
  30. 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @file stm32f1xx_hal_rcc_ex.c
  31. 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @author MCD Application Team
  32. 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @brief Extended RCC HAL module driver.
  33. 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * This file provides firmware functions to manage the following
  34. 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * functionalities RCC extension peripheral:
  35. 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * + Extended Peripheral Control functions
  36. 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
  37. 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** ******************************************************************************
  38. 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @attention
  39. 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
  40. 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * Copyright (c) 2016 STMicroelectronics.
  41. 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * All rights reserved.
  42. 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
  43. 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * This software is licensed under terms that can be found in the LICENSE file in
  44. 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * the root directory of this software component.
  45. 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  46. 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** ******************************************************************************
  47. 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
  48. 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  49. 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Includes ------------------------------------------------------------------*/
  50. 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #include "stm32f1xx_hal.h"
  51. 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  52. 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /** @addtogroup STM32F1xx_HAL_Driver
  53. 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @{
  54. 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
  55. 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  56. 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #ifdef HAL_RCC_MODULE_ENABLED
  57. 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  58. 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /** @defgroup RCCEx RCCEx
  59. ARM GAS /tmp/cc0P3ody.s page 2
  60. 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @brief RCC Extension HAL module driver.
  61. 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @{
  62. 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
  63. 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  64. 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Private typedef -----------------------------------------------------------*/
  65. 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Private define ------------------------------------------------------------*/
  66. 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /** @defgroup RCCEx_Private_Constants RCCEx Private Constants
  67. 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @{
  68. 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
  69. 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /**
  70. 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @}
  71. 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
  72. 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  73. 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Private macro -------------------------------------------------------------*/
  74. 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /** @defgroup RCCEx_Private_Macros RCCEx Private Macros
  75. 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @{
  76. 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
  77. 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /**
  78. 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @}
  79. 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
  80. 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  81. 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Private variables ---------------------------------------------------------*/
  82. 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Private function prototypes -----------------------------------------------*/
  83. 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Private functions ---------------------------------------------------------*/
  84. 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  85. 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /** @defgroup RCCEx_Exported_Functions RCCEx Exported Functions
  86. 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @{
  87. 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
  88. 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  89. 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /** @defgroup RCCEx_Exported_Functions_Group1 Peripheral Control functions
  90. 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @brief Extended Peripheral Control functions
  91. 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
  92. 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @verbatim
  93. 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** ===============================================================================
  94. 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** ##### Extended Peripheral Control functions #####
  95. 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** ===============================================================================
  96. 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** [..]
  97. 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** This subsection provides a set of functions allowing to control the RCC Clocks
  98. 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequencies.
  99. 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** [..]
  100. 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** (@) Important note: Care must be taken when HAL_RCCEx_PeriphCLKConfig() is used to
  101. 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** select the RTC clock source; in this case the Backup domain will be reset in
  102. 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** order to modify the RTC Clock source, as consequence RTC registers (including
  103. 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** the backup registers) are set to their reset values.
  104. 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  105. 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @endverbatim
  106. 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @{
  107. 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
  108. 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  109. 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /**
  110. 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @brief Initializes the RCC extended peripherals clocks according to the specified parameters i
  111. 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * RCC_PeriphCLKInitTypeDef.
  112. 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @param PeriphClkInit pointer to an RCC_PeriphCLKInitTypeDef structure that
  113. 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * contains the configuration information for the Extended Peripherals clocks(RTC clock).
  114. 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
  115. 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @note Care must be taken when HAL_RCCEx_PeriphCLKConfig() is used to select
  116. 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * the RTC clock source; in this case the Backup domain will be reset in
  117. ARM GAS /tmp/cc0P3ody.s page 3
  118. 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * order to modify the RTC Clock source, as consequence RTC registers (including
  119. 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * the backup registers) are set to their reset values.
  120. 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
  121. 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @note In case of STM32F105xC or STM32F107xC devices, PLLI2S will be enabled if requested on
  122. 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * one of 2 I2S interfaces. When PLLI2S is enabled, you need to call HAL_RCCEx_DisablePLLI
  123. 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * manually disable it.
  124. 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
  125. 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @retval HAL status
  126. 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
  127. 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit)
  128. 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  129. 28 .loc 1 99 1 view -0
  130. 29 .cfi_startproc
  131. 30 @ args = 0, pretend = 0, frame = 8
  132. 31 @ frame_needed = 0, uses_anonymous_args = 0
  133. 32 .loc 1 99 1 is_stmt 0 view .LVU1
  134. 33 0000 70B5 push {r4, r5, r6, lr}
  135. 34 .LCFI0:
  136. 35 .cfi_def_cfa_offset 16
  137. 36 .cfi_offset 4, -16
  138. 37 .cfi_offset 5, -12
  139. 38 .cfi_offset 6, -8
  140. 39 .cfi_offset 14, -4
  141. 40 0002 82B0 sub sp, sp, #8
  142. 41 .LCFI1:
  143. 42 .cfi_def_cfa_offset 24
  144. 43 0004 0446 mov r4, r0
  145. 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t tickstart = 0U, temp_reg = 0U;
  146. 44 .loc 1 100 3 is_stmt 1 view .LVU2
  147. 45 .LVL1:
  148. 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F105xC) || defined(STM32F107xC)
  149. 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t pllactive = 0U;
  150. 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC */
  151. 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  152. 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check the parameters */
  153. 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_PERIPHCLOCK(PeriphClkInit->PeriphClockSelection));
  154. 46 .loc 1 106 3 view .LVU3
  155. 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  156. 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /*------------------------------- RTC/LCD Configuration ------------------------*/
  157. 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_RTC) == RCC_PERIPHCLK_RTC))
  158. 47 .loc 1 109 3 view .LVU4
  159. 48 .loc 1 109 23 is_stmt 0 view .LVU5
  160. 49 0006 0368 ldr r3, [r0]
  161. 50 .loc 1 109 6 view .LVU6
  162. 51 0008 13F0010F tst r3, #1
  163. 52 000c 36D0 beq .L2
  164. 53 .LBB2:
  165. 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  166. 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** FlagStatus pwrclkchanged = RESET;
  167. 54 .loc 1 111 5 is_stmt 1 view .LVU7
  168. 55 .LVL2:
  169. 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  170. 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* check for RTC Parameters used to output RTCCLK */
  171. 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_RTCCLKSOURCE(PeriphClkInit->RTCClockSelection));
  172. 56 .loc 1 114 5 view .LVU8
  173. 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  174. 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* As soon as function is called to change RTC clock source, activation of the
  175. ARM GAS /tmp/cc0P3ody.s page 4
  176. 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** power domain is done. */
  177. 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Requires to enable write access to Backup Domain of necessary */
  178. 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (__HAL_RCC_PWR_IS_CLK_DISABLED())
  179. 57 .loc 1 119 5 view .LVU9
  180. 58 .loc 1 119 9 is_stmt 0 view .LVU10
  181. 59 000e 3F4B ldr r3, .L20
  182. 60 0010 DB69 ldr r3, [r3, #28]
  183. 61 .loc 1 119 8 view .LVU11
  184. 62 0012 13F0805F tst r3, #268435456
  185. 63 0016 49D1 bne .L12
  186. 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  187. 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_PWR_CLK_ENABLE();
  188. 64 .loc 1 121 7 is_stmt 1 view .LVU12
  189. 65 .LBB3:
  190. 66 .loc 1 121 7 view .LVU13
  191. 67 .loc 1 121 7 view .LVU14
  192. 68 0018 3C4B ldr r3, .L20
  193. 69 001a DA69 ldr r2, [r3, #28]
  194. 70 001c 42F08052 orr r2, r2, #268435456
  195. 71 0020 DA61 str r2, [r3, #28]
  196. 72 .loc 1 121 7 view .LVU15
  197. 73 0022 DB69 ldr r3, [r3, #28]
  198. 74 0024 03F08053 and r3, r3, #268435456
  199. 75 0028 0193 str r3, [sp, #4]
  200. 76 .loc 1 121 7 view .LVU16
  201. 77 002a 019B ldr r3, [sp, #4]
  202. 78 .LBE3:
  203. 79 .loc 1 121 7 view .LVU17
  204. 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pwrclkchanged = SET;
  205. 80 .loc 1 122 7 view .LVU18
  206. 81 .LVL3:
  207. 82 .loc 1 122 21 is_stmt 0 view .LVU19
  208. 83 002c 0125 movs r5, #1
  209. 84 .LVL4:
  210. 85 .L3:
  211. 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  212. 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  213. 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP))
  214. 86 .loc 1 125 5 is_stmt 1 view .LVU20
  215. 87 .loc 1 125 9 is_stmt 0 view .LVU21
  216. 88 002e 384B ldr r3, .L20+4
  217. 89 0030 1B68 ldr r3, [r3]
  218. 90 .loc 1 125 8 view .LVU22
  219. 91 0032 13F4807F tst r3, #256
  220. 92 0036 3BD0 beq .L17
  221. 93 .LVL5:
  222. 94 .L4:
  223. 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  224. 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Enable write access to Backup domain */
  225. 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** SET_BIT(PWR->CR, PWR_CR_DBP);
  226. 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  227. 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Wait for Backup domain Write protection disable */
  228. 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** tickstart = HAL_GetTick();
  229. 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  230. 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** while (HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP))
  231. 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  232. 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE)
  233. ARM GAS /tmp/cc0P3ody.s page 5
  234. 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  235. 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** return HAL_TIMEOUT;
  236. 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  237. 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  238. 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  239. 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  240. 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Reset the Backup domain only if the RTC Clock source selection is modified from reset value
  241. 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** temp_reg = (RCC->BDCR & RCC_BDCR_RTCSEL);
  242. 95 .loc 1 143 5 is_stmt 1 view .LVU23
  243. 96 .loc 1 143 20 is_stmt 0 view .LVU24
  244. 97 0038 344B ldr r3, .L20
  245. 98 003a 1B6A ldr r3, [r3, #32]
  246. 99 .LVL6:
  247. 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((temp_reg != 0x00000000U) && (temp_reg != (PeriphClkInit->RTCClockSelection & RCC_BDCR_RTCS
  248. 100 .loc 1 144 5 is_stmt 1 view .LVU25
  249. 101 .loc 1 144 8 is_stmt 0 view .LVU26
  250. 102 003c 13F44073 ands r3, r3, #768
  251. 103 .LVL7:
  252. 104 .loc 1 144 8 view .LVU27
  253. 105 0040 13D0 beq .L8
  254. 106 .loc 1 144 65 discriminator 1 view .LVU28
  255. 107 0042 6268 ldr r2, [r4, #4]
  256. 108 .loc 1 144 85 discriminator 1 view .LVU29
  257. 109 0044 02F44072 and r2, r2, #768
  258. 110 .loc 1 144 35 discriminator 1 view .LVU30
  259. 111 0048 9A42 cmp r2, r3
  260. 112 004a 0ED0 beq .L8
  261. 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  262. 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Store the content of BDCR register before the reset of Backup Domain */
  263. 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** temp_reg = (RCC->BDCR & ~(RCC_BDCR_RTCSEL));
  264. 113 .loc 1 147 7 is_stmt 1 view .LVU31
  265. 114 .loc 1 147 22 is_stmt 0 view .LVU32
  266. 115 004c 2F4A ldr r2, .L20
  267. 116 004e 136A ldr r3, [r2, #32]
  268. 117 .LVL8:
  269. 118 .loc 1 147 16 view .LVU33
  270. 119 0050 23F44070 bic r0, r3, #768
  271. 120 .LVL9:
  272. 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* RTC Clock selection can be changed only if the Backup Domain is reset */
  273. 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_BACKUPRESET_FORCE();
  274. 121 .loc 1 149 7 is_stmt 1 view .LVU34
  275. 122 0054 2F49 ldr r1, .L20+8
  276. 123 0056 0126 movs r6, #1
  277. 124 0058 C1F84064 str r6, [r1, #1088]
  278. 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_BACKUPRESET_RELEASE();
  279. 125 .loc 1 150 7 view .LVU35
  280. 126 005c 0026 movs r6, #0
  281. 127 005e C1F84064 str r6, [r1, #1088]
  282. 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Restore the Content of BDCR register */
  283. 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** RCC->BDCR = temp_reg;
  284. 128 .loc 1 152 7 view .LVU36
  285. 129 .loc 1 152 17 is_stmt 0 view .LVU37
  286. 130 0062 1062 str r0, [r2, #32]
  287. 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  288. 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Wait for LSERDY if LSE was enabled */
  289. 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_SET(temp_reg, RCC_BDCR_LSEON))
  290. 131 .loc 1 155 7 is_stmt 1 view .LVU38
  291. ARM GAS /tmp/cc0P3ody.s page 6
  292. 132 .loc 1 155 10 is_stmt 0 view .LVU39
  293. 133 0064 13F0010F tst r3, #1
  294. 134 0068 36D1 bne .L18
  295. 135 .LVL10:
  296. 136 .L8:
  297. 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  298. 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get Start Tick */
  299. 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** tickstart = HAL_GetTick();
  300. 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  301. 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Wait till LSE is ready */
  302. 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET)
  303. 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  304. 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE)
  305. 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  306. 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** return HAL_TIMEOUT;
  307. 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  308. 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  309. 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  310. 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  311. 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_RTC_CONFIG(PeriphClkInit->RTCClockSelection);
  312. 137 .loc 1 170 5 is_stmt 1 view .LVU40
  313. 138 006a 284A ldr r2, .L20
  314. 139 006c 136A ldr r3, [r2, #32]
  315. 140 006e 23F44073 bic r3, r3, #768
  316. 141 0072 6168 ldr r1, [r4, #4]
  317. 142 0074 0B43 orrs r3, r3, r1
  318. 143 0076 1362 str r3, [r2, #32]
  319. 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  320. 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Require to disable power clock if necessary */
  321. 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (pwrclkchanged == SET)
  322. 144 .loc 1 173 5 view .LVU41
  323. 145 .loc 1 173 8 is_stmt 0 view .LVU42
  324. 146 0078 002D cmp r5, #0
  325. 147 007a 3ED1 bne .L19
  326. 148 .LVL11:
  327. 149 .L2:
  328. 150 .loc 1 173 8 view .LVU43
  329. 151 .LBE2:
  330. 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  331. 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_PWR_CLK_DISABLE();
  332. 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  333. 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  334. 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  335. 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /*------------------------------ ADC clock Configuration ------------------*/
  336. 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_ADC) == RCC_PERIPHCLK_ADC)
  337. 152 .loc 1 180 3 is_stmt 1 view .LVU44
  338. 153 .loc 1 180 22 is_stmt 0 view .LVU45
  339. 154 007c 2368 ldr r3, [r4]
  340. 155 .loc 1 180 6 view .LVU46
  341. 156 007e 13F0020F tst r3, #2
  342. 157 0082 06D0 beq .L11
  343. 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  344. 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check the parameters */
  345. 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_ADCPLLCLK_DIV(PeriphClkInit->AdcClockSelection));
  346. 158 .loc 1 183 5 is_stmt 1 view .LVU47
  347. 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  348. 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Configure the ADC clock source */
  349. ARM GAS /tmp/cc0P3ody.s page 7
  350. 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_ADC_CONFIG(PeriphClkInit->AdcClockSelection);
  351. 159 .loc 1 186 5 view .LVU48
  352. 160 0084 214A ldr r2, .L20
  353. 161 0086 5368 ldr r3, [r2, #4]
  354. 162 0088 23F44043 bic r3, r3, #49152
  355. 163 008c A168 ldr r1, [r4, #8]
  356. 164 008e 0B43 orrs r3, r3, r1
  357. 165 0090 5360 str r3, [r2, #4]
  358. 166 .L11:
  359. 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  360. 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  361. 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F105xC) || defined(STM32F107xC)
  362. 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /*------------------------------ I2S2 Configuration ------------------------*/
  363. 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2S2) == RCC_PERIPHCLK_I2S2)
  364. 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  365. 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check the parameters */
  366. 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_I2S2CLKSOURCE(PeriphClkInit->I2s2ClockSelection));
  367. 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  368. 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Configure the I2S2 clock source */
  369. 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_I2S2_CONFIG(PeriphClkInit->I2s2ClockSelection);
  370. 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  371. 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  372. 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /*------------------------------ I2S3 Configuration ------------------------*/
  373. 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2S3) == RCC_PERIPHCLK_I2S3)
  374. 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  375. 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check the parameters */
  376. 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_I2S3CLKSOURCE(PeriphClkInit->I2s3ClockSelection));
  377. 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  378. 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Configure the I2S3 clock source */
  379. 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_I2S3_CONFIG(PeriphClkInit->I2s3ClockSelection);
  380. 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  381. 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  382. 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /*------------------------------ PLL I2S Configuration ----------------------*/
  383. 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check that PLLI2S need to be enabled */
  384. 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_SET(RCC->CFGR2, RCC_CFGR2_I2S2SRC) || HAL_IS_BIT_SET(RCC->CFGR2, RCC_CFGR2_I2S3SRC
  385. 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  386. 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Update flag to indicate that PLL I2S should be active */
  387. 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pllactive = 1;
  388. 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  389. 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  390. 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check if PLL I2S need to be enabled */
  391. 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (pllactive == 1)
  392. 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  393. 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Enable PLL I2S only if not active */
  394. 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_CLR(RCC->CR, RCC_CR_PLL3ON))
  395. 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  396. 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check the parameters */
  397. 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_PLLI2S_MUL(PeriphClkInit->PLLI2S.PLLI2SMUL));
  398. 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_HSE_PREDIV2(PeriphClkInit->PLLI2S.HSEPrediv2Value));
  399. 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  400. 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Prediv2 can be written only when the PLL2 is disabled. */
  401. 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Return an error only if new value is different from the programmed value */
  402. 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_SET(RCC->CR, RCC_CR_PLL2ON) && \
  403. 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** (__HAL_RCC_HSE_GET_PREDIV2() != PeriphClkInit->PLLI2S.HSEPrediv2Value))
  404. 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  405. 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** return HAL_ERROR;
  406. 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  407. ARM GAS /tmp/cc0P3ody.s page 8
  408. 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  409. 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Configure the HSE prediv2 factor --------------------------------*/
  410. 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_HSE_PREDIV2_CONFIG(PeriphClkInit->PLLI2S.HSEPrediv2Value);
  411. 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  412. 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Configure the main PLLI2S multiplication factors. */
  413. 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SMUL);
  414. 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  415. 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Enable the main PLLI2S. */
  416. 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_PLLI2S_ENABLE();
  417. 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  418. 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get Start Tick*/
  419. 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** tickstart = HAL_GetTick();
  420. 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  421. 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Wait till PLLI2S is ready */
  422. 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLI2SRDY) == RESET)
  423. 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  424. 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((HAL_GetTick() - tickstart) > PLLI2S_TIMEOUT_VALUE)
  425. 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  426. 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** return HAL_TIMEOUT;
  427. 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  428. 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  429. 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  430. 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
  431. 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  432. 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Return an error only if user wants to change the PLLI2SMUL whereas PLLI2S is active */
  433. 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (READ_BIT(RCC->CFGR2, RCC_CFGR2_PLL3MUL) != PeriphClkInit->PLLI2S.PLLI2SMUL)
  434. 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  435. 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** return HAL_ERROR;
  436. 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  437. 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  438. 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  439. 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC */
  440. 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  441. 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F102x6) || defined(STM32F102xB) || defined(STM32F103x6)\
  442. 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** || defined(STM32F103xB) || defined(STM32F103xE) || defined(STM32F103xG)\
  443. 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** || defined(STM32F105xC) || defined(STM32F107xC)
  444. 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /*------------------------------ USB clock Configuration ------------------*/
  445. 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_USB) == RCC_PERIPHCLK_USB)
  446. 167 .loc 1 272 3 view .LVU49
  447. 168 .loc 1 272 22 is_stmt 0 view .LVU50
  448. 169 0092 2368 ldr r3, [r4]
  449. 170 .loc 1 272 6 view .LVU51
  450. 171 0094 13F0100F tst r3, #16
  451. 172 0098 34D0 beq .L15
  452. 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  453. 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check the parameters */
  454. 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_USBPLLCLK_DIV(PeriphClkInit->UsbClockSelection));
  455. 173 .loc 1 275 5 is_stmt 1 view .LVU52
  456. 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  457. 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Configure the USB clock source */
  458. 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_USB_CONFIG(PeriphClkInit->UsbClockSelection);
  459. 174 .loc 1 278 5 view .LVU53
  460. 175 009a 1C4A ldr r2, .L20
  461. 176 009c 5368 ldr r3, [r2, #4]
  462. 177 009e 23F48003 bic r3, r3, #4194304
  463. 178 00a2 E168 ldr r1, [r4, #12]
  464. 179 00a4 0B43 orrs r3, r3, r1
  465. ARM GAS /tmp/cc0P3ody.s page 9
  466. 180 00a6 5360 str r3, [r2, #4]
  467. 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  468. 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F102x6 || STM32F102xB || STM32F103x6 || STM32F103xB || STM32F103xE || STM32F103xG ||
  469. 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  470. 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** return HAL_OK;
  471. 181 .loc 1 282 10 is_stmt 0 view .LVU54
  472. 182 00a8 0020 movs r0, #0
  473. 183 00aa 2CE0 b .L6
  474. 184 .LVL12:
  475. 185 .L12:
  476. 186 .LBB4:
  477. 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  478. 187 .loc 1 111 16 view .LVU55
  479. 188 00ac 0025 movs r5, #0
  480. 189 00ae BEE7 b .L3
  481. 190 .LVL13:
  482. 191 .L17:
  483. 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  484. 192 .loc 1 128 7 is_stmt 1 view .LVU56
  485. 193 00b0 174A ldr r2, .L20+4
  486. 194 00b2 1368 ldr r3, [r2]
  487. 195 00b4 43F48073 orr r3, r3, #256
  488. 196 00b8 1360 str r3, [r2]
  489. 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  490. 197 .loc 1 131 7 view .LVU57
  491. 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  492. 198 .loc 1 131 19 is_stmt 0 view .LVU58
  493. 199 00ba FFF7FEFF bl HAL_GetTick
  494. 200 .LVL14:
  495. 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  496. 201 .loc 1 131 19 view .LVU59
  497. 202 00be 0646 mov r6, r0
  498. 203 .LVL15:
  499. 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  500. 204 .loc 1 133 7 is_stmt 1 view .LVU60
  501. 205 .L5:
  502. 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  503. 206 .loc 1 133 13 view .LVU61
  504. 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  505. 207 .loc 1 133 14 is_stmt 0 view .LVU62
  506. 208 00c0 134B ldr r3, .L20+4
  507. 209 00c2 1B68 ldr r3, [r3]
  508. 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  509. 210 .loc 1 133 13 view .LVU63
  510. 211 00c4 13F4807F tst r3, #256
  511. 212 00c8 B6D1 bne .L4
  512. 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  513. 213 .loc 1 135 9 is_stmt 1 view .LVU64
  514. 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  515. 214 .loc 1 135 14 is_stmt 0 view .LVU65
  516. 215 00ca FFF7FEFF bl HAL_GetTick
  517. 216 .LVL16:
  518. 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  519. 217 .loc 1 135 28 view .LVU66
  520. 218 00ce 801B subs r0, r0, r6
  521. 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  522. 219 .loc 1 135 12 view .LVU67
  523. ARM GAS /tmp/cc0P3ody.s page 10
  524. 220 00d0 6428 cmp r0, #100
  525. 221 00d2 F5D9 bls .L5
  526. 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  527. 222 .loc 1 137 18 view .LVU68
  528. 223 00d4 0320 movs r0, #3
  529. 224 00d6 16E0 b .L6
  530. 225 .LVL17:
  531. 226 .L18:
  532. 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  533. 227 .loc 1 158 9 is_stmt 1 view .LVU69
  534. 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  535. 228 .loc 1 158 21 is_stmt 0 view .LVU70
  536. 229 00d8 FFF7FEFF bl HAL_GetTick
  537. 230 .LVL18:
  538. 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  539. 231 .loc 1 158 21 view .LVU71
  540. 232 00dc 0646 mov r6, r0
  541. 233 .LVL19:
  542. 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  543. 234 .loc 1 161 9 is_stmt 1 view .LVU72
  544. 235 .L9:
  545. 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  546. 236 .loc 1 161 15 view .LVU73
  547. 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  548. 237 .loc 1 161 16 is_stmt 0 view .LVU74
  549. 238 00de 0B4B ldr r3, .L20
  550. 239 00e0 1B6A ldr r3, [r3, #32]
  551. 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  552. 240 .loc 1 161 15 view .LVU75
  553. 241 00e2 13F0020F tst r3, #2
  554. 242 00e6 C0D1 bne .L8
  555. 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  556. 243 .loc 1 163 11 is_stmt 1 view .LVU76
  557. 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  558. 244 .loc 1 163 16 is_stmt 0 view .LVU77
  559. 245 00e8 FFF7FEFF bl HAL_GetTick
  560. 246 .LVL20:
  561. 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  562. 247 .loc 1 163 30 view .LVU78
  563. 248 00ec 801B subs r0, r0, r6
  564. 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  565. 249 .loc 1 163 14 view .LVU79
  566. 250 00ee 41F28833 movw r3, #5000
  567. 251 00f2 9842 cmp r0, r3
  568. 252 00f4 F3D9 bls .L9
  569. 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  570. 253 .loc 1 165 20 view .LVU80
  571. 254 00f6 0320 movs r0, #3
  572. 255 00f8 05E0 b .L6
  573. 256 .LVL21:
  574. 257 .L19:
  575. 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  576. 258 .loc 1 175 7 is_stmt 1 view .LVU81
  577. 259 00fa D369 ldr r3, [r2, #28]
  578. 260 00fc 23F08053 bic r3, r3, #268435456
  579. 261 0100 D361 str r3, [r2, #28]
  580. 262 0102 BBE7 b .L2
  581. ARM GAS /tmp/cc0P3ody.s page 11
  582. 263 .LVL22:
  583. 264 .L15:
  584. 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  585. 265 .loc 1 175 7 is_stmt 0 view .LVU82
  586. 266 .LBE4:
  587. 267 .loc 1 282 10 view .LVU83
  588. 268 0104 0020 movs r0, #0
  589. 269 .L6:
  590. 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  591. 270 .loc 1 283 1 view .LVU84
  592. 271 0106 02B0 add sp, sp, #8
  593. 272 .LCFI2:
  594. 273 .cfi_def_cfa_offset 16
  595. 274 @ sp needed
  596. 275 0108 70BD pop {r4, r5, r6, pc}
  597. 276 .LVL23:
  598. 277 .L21:
  599. 278 .loc 1 283 1 view .LVU85
  600. 279 010a 00BF .align 2
  601. 280 .L20:
  602. 281 010c 00100240 .word 1073876992
  603. 282 0110 00700040 .word 1073770496
  604. 283 0114 00004242 .word 1111621632
  605. 284 .cfi_endproc
  606. 285 .LFE65:
  607. 287 .section .text.HAL_RCCEx_GetPeriphCLKConfig,"ax",%progbits
  608. 288 .align 1
  609. 289 .global HAL_RCCEx_GetPeriphCLKConfig
  610. 290 .syntax unified
  611. 291 .thumb
  612. 292 .thumb_func
  613. 294 HAL_RCCEx_GetPeriphCLKConfig:
  614. 295 .LVL24:
  615. 296 .LFB66:
  616. 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  617. 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /**
  618. 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @brief Get the PeriphClkInit according to the internal
  619. 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * RCC configuration registers.
  620. 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @param PeriphClkInit pointer to an RCC_PeriphCLKInitTypeDef structure that
  621. 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * returns the configuration information for the Extended Peripherals clocks(RTC, I2S, ADC
  622. 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @retval None
  623. 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
  624. 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** void HAL_RCCEx_GetPeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit)
  625. 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  626. 297 .loc 1 293 1 is_stmt 1 view -0
  627. 298 .cfi_startproc
  628. 299 @ args = 0, pretend = 0, frame = 0
  629. 300 @ frame_needed = 0, uses_anonymous_args = 0
  630. 301 @ link register save eliminated.
  631. 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t srcclk = 0U;
  632. 302 .loc 1 294 3 view .LVU87
  633. 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  634. 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Set all possible values for the extended clock type parameter------------*/
  635. 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->PeriphClockSelection = RCC_PERIPHCLK_RTC;
  636. 303 .loc 1 297 3 view .LVU88
  637. 304 .loc 1 297 39 is_stmt 0 view .LVU89
  638. 305 0000 0123 movs r3, #1
  639. ARM GAS /tmp/cc0P3ody.s page 12
  640. 306 0002 0360 str r3, [r0]
  641. 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  642. 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get the RTC configuration -----------------------------------------------*/
  643. 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** srcclk = __HAL_RCC_GET_RTC_SOURCE();
  644. 307 .loc 1 300 3 is_stmt 1 view .LVU90
  645. 308 .loc 1 300 12 is_stmt 0 view .LVU91
  646. 309 0004 084B ldr r3, .L23
  647. 310 0006 1A6A ldr r2, [r3, #32]
  648. 311 .loc 1 300 10 view .LVU92
  649. 312 0008 02F44072 and r2, r2, #768
  650. 313 .LVL25:
  651. 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Source clock is LSE or LSI*/
  652. 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->RTCClockSelection = srcclk;
  653. 314 .loc 1 302 3 is_stmt 1 view .LVU93
  654. 315 .loc 1 302 36 is_stmt 0 view .LVU94
  655. 316 000c 4260 str r2, [r0, #4]
  656. 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  657. 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get the ADC clock configuration -----------------------------------------*/
  658. 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->PeriphClockSelection |= RCC_PERIPHCLK_ADC;
  659. 317 .loc 1 305 3 is_stmt 1 view .LVU95
  660. 318 .loc 1 305 39 is_stmt 0 view .LVU96
  661. 319 000e 0322 movs r2, #3
  662. 320 .LVL26:
  663. 321 .loc 1 305 39 view .LVU97
  664. 322 0010 0260 str r2, [r0]
  665. 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->AdcClockSelection = __HAL_RCC_GET_ADC_SOURCE();
  666. 323 .loc 1 306 3 is_stmt 1 view .LVU98
  667. 324 .loc 1 306 38 is_stmt 0 view .LVU99
  668. 325 0012 5A68 ldr r2, [r3, #4]
  669. 326 0014 02F44042 and r2, r2, #49152
  670. 327 .loc 1 306 36 view .LVU100
  671. 328 0018 8260 str r2, [r0, #8]
  672. 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  673. 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F105xC) || defined(STM32F107xC)
  674. 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get the I2S2 clock configuration -----------------------------------------*/
  675. 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->PeriphClockSelection |= RCC_PERIPHCLK_I2S2;
  676. 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->I2s2ClockSelection = __HAL_RCC_GET_I2S2_SOURCE();
  677. 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  678. 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get the I2S3 clock configuration -----------------------------------------*/
  679. 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->PeriphClockSelection |= RCC_PERIPHCLK_I2S3;
  680. 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->I2s3ClockSelection = __HAL_RCC_GET_I2S3_SOURCE();
  681. 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  682. 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC */
  683. 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  684. 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F103xE) || defined(STM32F103xG)
  685. 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get the I2S2 clock configuration -----------------------------------------*/
  686. 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->PeriphClockSelection |= RCC_PERIPHCLK_I2S2;
  687. 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->I2s2ClockSelection = RCC_I2S2CLKSOURCE_SYSCLK;
  688. 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  689. 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get the I2S3 clock configuration -----------------------------------------*/
  690. 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->PeriphClockSelection |= RCC_PERIPHCLK_I2S3;
  691. 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->I2s3ClockSelection = RCC_I2S3CLKSOURCE_SYSCLK;
  692. 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  693. 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F103xE || STM32F103xG */
  694. 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  695. 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F102x6) || defined(STM32F102xB) || defined(STM32F103x6)\
  696. 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** || defined(STM32F103xB) || defined(STM32F103xE) || defined(STM32F103xG)\
  697. ARM GAS /tmp/cc0P3ody.s page 13
  698. 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** || defined(STM32F105xC) || defined(STM32F107xC)
  699. 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get the USB clock configuration -----------------------------------------*/
  700. 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->PeriphClockSelection |= RCC_PERIPHCLK_USB;
  701. 329 .loc 1 334 3 is_stmt 1 view .LVU101
  702. 330 .loc 1 334 39 is_stmt 0 view .LVU102
  703. 331 001a 1322 movs r2, #19
  704. 332 001c 0260 str r2, [r0]
  705. 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->UsbClockSelection = __HAL_RCC_GET_USB_SOURCE();
  706. 333 .loc 1 335 3 is_stmt 1 view .LVU103
  707. 334 .loc 1 335 38 is_stmt 0 view .LVU104
  708. 335 001e 5B68 ldr r3, [r3, #4]
  709. 336 0020 03F48003 and r3, r3, #4194304
  710. 337 .loc 1 335 36 view .LVU105
  711. 338 0024 C360 str r3, [r0, #12]
  712. 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F102x6 || STM32F102xB || STM32F103x6 || STM32F103xB || STM32F103xE || STM32F103xG ||
  713. 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  714. 339 .loc 1 337 1 view .LVU106
  715. 340 0026 7047 bx lr
  716. 341 .L24:
  717. 342 .align 2
  718. 343 .L23:
  719. 344 0028 00100240 .word 1073876992
  720. 345 .cfi_endproc
  721. 346 .LFE66:
  722. 348 .section .text.HAL_RCCEx_GetPeriphCLKFreq,"ax",%progbits
  723. 349 .align 1
  724. 350 .global HAL_RCCEx_GetPeriphCLKFreq
  725. 351 .syntax unified
  726. 352 .thumb
  727. 353 .thumb_func
  728. 355 HAL_RCCEx_GetPeriphCLKFreq:
  729. 356 .LVL27:
  730. 357 .LFB67:
  731. 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  732. 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /**
  733. 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @brief Returns the peripheral clock frequency
  734. 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @note Returns 0 if peripheral clock is unknown
  735. 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @param PeriphClk Peripheral clock identifier
  736. 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * This parameter can be one of the following values:
  737. 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_RTC RTC peripheral clock
  738. 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_ADC ADC peripheral clock
  739. 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @if STM32F103xE
  740. 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
  741. 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
  742. 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
  743. 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @endif
  744. 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @if STM32F103xG
  745. 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
  746. 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
  747. 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
  748. 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
  749. 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @endif
  750. 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @if STM32F105xC
  751. 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
  752. 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
  753. 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
  754. 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
  755. ARM GAS /tmp/cc0P3ody.s page 14
  756. 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
  757. 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
  758. 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
  759. 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_USB USB peripheral clock
  760. 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @endif
  761. 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @if STM32F107xC
  762. 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
  763. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
  764. 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
  765. 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
  766. 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
  767. 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
  768. 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
  769. 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_USB USB peripheral clock
  770. 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @endif
  771. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @if STM32F102xx
  772. 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_USB USB peripheral clock
  773. 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @endif
  774. 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @if STM32F103xx
  775. 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_USB USB peripheral clock
  776. 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @endif
  777. 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @retval Frequency in Hz (0: means that no available frequency for the peripheral)
  778. 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
  779. 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t HAL_RCCEx_GetPeriphCLKFreq(uint32_t PeriphClk)
  780. 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  781. 358 .loc 1 386 1 is_stmt 1 view -0
  782. 359 .cfi_startproc
  783. 360 @ args = 0, pretend = 0, frame = 0
  784. 361 @ frame_needed = 0, uses_anonymous_args = 0
  785. 362 .loc 1 386 1 is_stmt 0 view .LVU108
  786. 363 0000 08B5 push {r3, lr}
  787. 364 .LCFI3:
  788. 365 .cfi_def_cfa_offset 8
  789. 366 .cfi_offset 3, -8
  790. 367 .cfi_offset 14, -4
  791. 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F105xC) || defined(STM32F107xC)
  792. 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** static const uint8_t aPLLMULFactorTable[14U] = {0, 0, 4, 5, 6, 7, 8, 9, 0, 0, 0, 0, 0, 13};
  793. 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** static const uint8_t aPredivFactorTable[16U] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
  794. 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  795. 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t prediv1 = 0U, pllclk = 0U, pllmul = 0U;
  796. 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t pll2mul = 0U, pll3mul = 0U, prediv2 = 0U;
  797. 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC */
  798. 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F102x6) || defined(STM32F102xB) || defined(STM32F103x6) || \
  799. 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** defined(STM32F103xB) || defined(STM32F103xE) || defined(STM32F103xG)
  800. 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** static const uint8_t aPLLMULFactorTable[16U] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 1
  801. 368 .loc 1 396 3 is_stmt 1 view .LVU109
  802. 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** static const uint8_t aPredivFactorTable[2U] = {1, 2};
  803. 369 .loc 1 397 3 view .LVU110
  804. 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  805. 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t prediv1 = 0U, pllclk = 0U, pllmul = 0U;
  806. 370 .loc 1 399 3 view .LVU111
  807. 371 .LVL28:
  808. 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F102x6 || STM32F102xB || STM32F103x6 || STM32F103xB || STM32F103xE || STM32F103xG */
  809. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t temp_reg = 0U, frequency = 0U;
  810. 372 .loc 1 401 3 view .LVU112
  811. 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  812. 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check the parameters */
  813. ARM GAS /tmp/cc0P3ody.s page 15
  814. 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_PERIPHCLOCK(PeriphClk));
  815. 373 .loc 1 404 3 view .LVU113
  816. 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  817. 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** switch (PeriphClk)
  818. 374 .loc 1 406 3 view .LVU114
  819. 375 0002 0228 cmp r0, #2
  820. 376 0004 4ED0 beq .L26
  821. 377 0006 1028 cmp r0, #16
  822. 378 0008 03D0 beq .L27
  823. 379 000a 0128 cmp r0, #1
  824. 380 000c 28D0 beq .L28
  825. 381 000e 0020 movs r0, #0
  826. 382 .LVL29:
  827. 383 .L25:
  828. 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  829. 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F102x6) || defined(STM32F102xB) || defined(STM32F103x6)\
  830. 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** || defined(STM32F103xB) || defined(STM32F103xE) || defined(STM32F103xG)\
  831. 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** || defined(STM32F105xC) || defined(STM32F107xC)
  832. 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** case RCC_PERIPHCLK_USB:
  833. 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  834. 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get RCC configuration ------------------------------------------------------*/
  835. 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** temp_reg = RCC->CFGR;
  836. 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  837. 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check if PLL is enabled */
  838. 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_SET(RCC->CR, RCC_CR_PLLON))
  839. 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  840. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pllmul = aPLLMULFactorTable[(uint32_t)(temp_reg & RCC_CFGR_PLLMULL) >> RCC_CFGR_PLLMULL_Pos
  841. 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((temp_reg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2)
  842. 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  843. 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F105xC) || defined(STM32F107xC) || defined(STM32F100xB)\
  844. 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** || defined(STM32F100xE)
  845. 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** prediv1 = aPredivFactorTable[(uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV1) >> RCC_CFGR2_PRED
  846. 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #else
  847. 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** prediv1 = aPredivFactorTable[(uint32_t)(RCC->CFGR & RCC_CFGR_PLLXTPRE) >> RCC_CFGR_PLLXTP
  848. 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC || STM32F100xB || STM32F100xE */
  849. 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  850. 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F105xC) || defined(STM32F107xC)
  851. 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_SET(RCC->CFGR2, RCC_CFGR2_PREDIV1SRC))
  852. 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  853. 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* PLL2 selected as Prediv1 source */
  854. 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* PLLCLK = PLL2CLK / PREDIV1 * PLLMUL with PLL2CLK = HSE/PREDIV2 * PLL2MUL */
  855. 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** prediv2 = ((RCC->CFGR2 & RCC_CFGR2_PREDIV2) >> RCC_CFGR2_PREDIV2_Pos) + 1;
  856. 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pll2mul = ((RCC->CFGR2 & RCC_CFGR2_PLL2MUL) >> RCC_CFGR2_PLL2MUL_Pos) + 2;
  857. 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pllclk = (uint32_t)((((HSE_VALUE / prediv2) * pll2mul) / prediv1) * pllmul);
  858. 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  859. 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
  860. 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  861. 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* HSE used as PLL clock source : PLLCLK = HSE/PREDIV1 * PLLMUL */
  862. 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pllclk = (uint32_t)((HSE_VALUE / prediv1) * pllmul);
  863. 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  864. 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  865. 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* If PLLMUL was set to 13 means that it was to cover the case PLLMUL 6.5 (avoid using fl
  866. 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* In this case need to divide pllclk by 2 */
  867. 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (pllmul == aPLLMULFactorTable[(uint32_t)(RCC_CFGR_PLLMULL6_5) >> RCC_CFGR_PLLMULL_Pos]
  868. 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  869. 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pllclk = pllclk / 2;
  870. 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  871. ARM GAS /tmp/cc0P3ody.s page 16
  872. 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #else
  873. 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((temp_reg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2)
  874. 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  875. 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* HSE used as PLL clock source : PLLCLK = HSE/PREDIV1 * PLLMUL */
  876. 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pllclk = (uint32_t)((HSE_VALUE / prediv1) * pllmul);
  877. 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  878. 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC */
  879. 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  880. 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
  881. 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  882. 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* HSI used as PLL clock source : PLLCLK = HSI/2 * PLLMUL */
  883. 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pllclk = (uint32_t)((HSI_VALUE >> 1) * pllmul);
  884. 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  885. 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  886. 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Calcul of the USB frequency*/
  887. 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F105xC) || defined(STM32F107xC)
  888. 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* USBCLK = PLLVCO = (2 x PLLCLK) / USB prescaler */
  889. 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (__HAL_RCC_GET_USB_SOURCE() == RCC_USBCLKSOURCE_PLL_DIV2)
  890. 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  891. 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Prescaler of 2 selected for USB */
  892. 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = pllclk;
  893. 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  894. 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
  895. 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  896. 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Prescaler of 3 selected for USB */
  897. 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = (2 * pllclk) / 3;
  898. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  899. 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #else
  900. 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* USBCLK = PLLCLK / USB prescaler */
  901. 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (__HAL_RCC_GET_USB_SOURCE() == RCC_USBCLKSOURCE_PLL)
  902. 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  903. 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* No prescaler selected for USB */
  904. 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = pllclk;
  905. 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  906. 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
  907. 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  908. 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Prescaler of 1.5 selected for USB */
  909. 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = (pllclk * 2) / 3;
  910. 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  911. 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif
  912. 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  913. 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
  914. 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  915. 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F102x6 || STM32F102xB || STM32F103x6 || STM32F103xB || STM32F103xE || STM32F103xG ||
  916. 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F103xE) || defined(STM32F103xG) || defined(STM32F105xC) || defined(STM32F107xC)
  917. 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** case RCC_PERIPHCLK_I2S2:
  918. 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  919. 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F103xE) || defined(STM32F103xG)
  920. 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* SYSCLK used as source clock for I2S2 */
  921. 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = HAL_RCC_GetSysClockFreq();
  922. 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #else
  923. 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (__HAL_RCC_GET_I2S2_SOURCE() == RCC_I2S2CLKSOURCE_SYSCLK)
  924. 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  925. 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* SYSCLK used as source clock for I2S2 */
  926. 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = HAL_RCC_GetSysClockFreq();
  927. 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  928. 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
  929. ARM GAS /tmp/cc0P3ody.s page 17
  930. 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  931. 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check if PLLI2S is enabled */
  932. 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_SET(RCC->CR, RCC_CR_PLL3ON))
  933. 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  934. 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* PLLI2SVCO = 2 * PLLI2SCLK = 2 * (HSE/PREDIV2 * PLL3MUL) */
  935. 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** prediv2 = ((RCC->CFGR2 & RCC_CFGR2_PREDIV2) >> RCC_CFGR2_PREDIV2_Pos) + 1;
  936. 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pll3mul = ((RCC->CFGR2 & RCC_CFGR2_PLL3MUL) >> RCC_CFGR2_PLL3MUL_Pos) + 2;
  937. 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = (uint32_t)(2 * ((HSE_VALUE / prediv2) * pll3mul));
  938. 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  939. 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  940. 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F103xE || STM32F103xG */
  941. 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
  942. 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  943. 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** case RCC_PERIPHCLK_I2S3:
  944. 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  945. 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F103xE) || defined(STM32F103xG)
  946. 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* SYSCLK used as source clock for I2S3 */
  947. 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = HAL_RCC_GetSysClockFreq();
  948. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #else
  949. 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (__HAL_RCC_GET_I2S3_SOURCE() == RCC_I2S3CLKSOURCE_SYSCLK)
  950. 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  951. 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* SYSCLK used as source clock for I2S3 */
  952. 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = HAL_RCC_GetSysClockFreq();
  953. 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  954. 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
  955. 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  956. 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check if PLLI2S is enabled */
  957. 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_SET(RCC->CR, RCC_CR_PLL3ON))
  958. 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  959. 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* PLLI2SVCO = 2 * PLLI2SCLK = 2 * (HSE/PREDIV2 * PLL3MUL) */
  960. 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** prediv2 = ((RCC->CFGR2 & RCC_CFGR2_PREDIV2) >> RCC_CFGR2_PREDIV2_Pos) + 1;
  961. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pll3mul = ((RCC->CFGR2 & RCC_CFGR2_PLL3MUL) >> RCC_CFGR2_PLL3MUL_Pos) + 2;
  962. 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = (uint32_t)(2 * ((HSE_VALUE / prediv2) * pll3mul));
  963. 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  964. 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  965. 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F103xE || STM32F103xG */
  966. 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
  967. 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  968. 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F103xE || STM32F103xG || STM32F105xC || STM32F107xC */
  969. 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** case RCC_PERIPHCLK_RTC:
  970. 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  971. 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get RCC BDCR configuration ------------------------------------------------------*/
  972. 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** temp_reg = RCC->BDCR;
  973. 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  974. 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check if LSE is ready if RTC clock selection is LSE */
  975. 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (((temp_reg & RCC_BDCR_RTCSEL) == RCC_RTCCLKSOURCE_LSE) && (HAL_IS_BIT_SET(temp_reg, RCC_B
  976. 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  977. 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = LSE_VALUE;
  978. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  979. 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check if LSI is ready if RTC clock selection is LSI */
  980. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else if (((temp_reg & RCC_BDCR_RTCSEL) == RCC_RTCCLKSOURCE_LSI) && (HAL_IS_BIT_SET(RCC->CSR,
  981. 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  982. 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = LSI_VALUE;
  983. 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  984. 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else if (((temp_reg & RCC_BDCR_RTCSEL) == RCC_RTCCLKSOURCE_HSE_DIV128) && (HAL_IS_BIT_SET(RCC
  985. 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  986. 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = HSE_VALUE / 128U;
  987. ARM GAS /tmp/cc0P3ody.s page 18
  988. 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  989. 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Clock not enabled for RTC*/
  990. 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
  991. 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  992. 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* nothing to do: frequency already initialized to 0U */
  993. 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  994. 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
  995. 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  996. 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** case RCC_PERIPHCLK_ADC:
  997. 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  998. 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = HAL_RCC_GetPCLK2Freq() / (((__HAL_RCC_GET_ADC_SOURCE() >> RCC_CFGR_ADCPRE_Pos) +
  999. 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
  1000. 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1001. 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** default:
  1002. 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1003. 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
  1004. 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1005. 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1006. 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** return (frequency);
  1007. 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1008. 384 .loc 1 583 1 is_stmt 0 view .LVU115
  1009. 385 0010 08BD pop {r3, pc}
  1010. 386 .LVL30:
  1011. 387 .L27:
  1012. 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  1013. 388 .loc 1 414 7 is_stmt 1 view .LVU116
  1014. 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  1015. 389 .loc 1 414 16 is_stmt 0 view .LVU117
  1016. 390 0012 2B4B ldr r3, .L40
  1017. 391 0014 5A68 ldr r2, [r3, #4]
  1018. 392 .LVL31:
  1019. 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1020. 393 .loc 1 417 7 is_stmt 1 view .LVU118
  1021. 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1022. 394 .loc 1 417 11 is_stmt 0 view .LVU119
  1023. 395 0016 1868 ldr r0, [r3]
  1024. 396 .LVL32:
  1025. 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1026. 397 .loc 1 417 10 view .LVU120
  1027. 398 0018 10F08070 ands r0, r0, #16777216
  1028. 399 001c F8D0 beq .L25
  1029. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((temp_reg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2)
  1030. 400 .loc 1 419 9 is_stmt 1 view .LVU121
  1031. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((temp_reg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2)
  1032. 401 .loc 1 419 77 is_stmt 0 view .LVU122
  1033. 402 001e C2F38343 ubfx r3, r2, #18, #4
  1034. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((temp_reg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2)
  1035. 403 .loc 1 419 36 view .LVU123
  1036. 404 0022 2849 ldr r1, .L40+4
  1037. 405 0024 C85C ldrb r0, [r1, r3] @ zero_extendqisi2
  1038. 406 .LVL33:
  1039. 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1040. 407 .loc 1 420 9 is_stmt 1 view .LVU124
  1041. 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1042. 408 .loc 1 420 12 is_stmt 0 view .LVU125
  1043. 409 0026 12F4803F tst r2, #65536
  1044. 410 002a 15D0 beq .L30
  1045. ARM GAS /tmp/cc0P3ody.s page 19
  1046. 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC || STM32F100xB || STM32F100xE */
  1047. 411 .loc 1 426 11 is_stmt 1 view .LVU126
  1048. 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC || STM32F100xB || STM32F100xE */
  1049. 412 .loc 1 426 54 is_stmt 0 view .LVU127
  1050. 413 002c 244B ldr r3, .L40
  1051. 414 002e 5B68 ldr r3, [r3, #4]
  1052. 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC || STM32F100xB || STM32F100xE */
  1053. 415 .loc 1 426 82 view .LVU128
  1054. 416 0030 C3F34043 ubfx r3, r3, #17, #1
  1055. 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC || STM32F100xB || STM32F100xE */
  1056. 417 .loc 1 426 39 view .LVU129
  1057. 418 0034 244A ldr r2, .L40+8
  1058. 419 .LVL34:
  1059. 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC || STM32F100xB || STM32F100xE */
  1060. 420 .loc 1 426 39 view .LVU130
  1061. 421 0036 D25C ldrb r2, [r2, r3] @ zero_extendqisi2
  1062. 422 .LVL35:
  1063. 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1064. 423 .loc 1 451 11 is_stmt 1 view .LVU131
  1065. 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1066. 424 .loc 1 454 13 view .LVU132
  1067. 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1068. 425 .loc 1 454 44 is_stmt 0 view .LVU133
  1069. 426 0038 244B ldr r3, .L40+12
  1070. 427 003a B3FBF2F3 udiv r3, r3, r2
  1071. 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1072. 428 .loc 1 454 20 view .LVU134
  1073. 429 003e 03FB00F0 mul r0, r3, r0
  1074. 430 .LVL36:
  1075. 431 .L31:
  1076. 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1077. 432 .loc 1 479 9 is_stmt 1 view .LVU135
  1078. 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1079. 433 .loc 1 479 13 is_stmt 0 view .LVU136
  1080. 434 0042 1F4B ldr r3, .L40
  1081. 435 0044 5B68 ldr r3, [r3, #4]
  1082. 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1083. 436 .loc 1 479 12 view .LVU137
  1084. 437 0046 13F4800F tst r3, #4194304
  1085. 438 004a E1D1 bne .L25
  1086. 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1087. 439 .loc 1 487 11 is_stmt 1 view .LVU138
  1088. 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1089. 440 .loc 1 487 31 is_stmt 0 view .LVU139
  1090. 441 004c 4000 lsls r0, r0, #1
  1091. 442 .LVL37:
  1092. 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1093. 443 .loc 1 487 21 view .LVU140
  1094. 444 004e 204B ldr r3, .L40+16
  1095. 445 0050 A3FB0030 umull r3, r0, r3, r0
  1096. 446 0054 4008 lsrs r0, r0, #1
  1097. 447 .LVL38:
  1098. 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1099. 448 .loc 1 487 21 view .LVU141
  1100. 449 0056 DBE7 b .L25
  1101. 450 .LVL39:
  1102. 451 .L30:
  1103. ARM GAS /tmp/cc0P3ody.s page 20
  1104. 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1105. 452 .loc 1 461 11 is_stmt 1 view .LVU142
  1106. 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1107. 453 .loc 1 461 18 is_stmt 0 view .LVU143
  1108. 454 0058 1E4B ldr r3, .L40+20
  1109. 455 005a 03FB00F0 mul r0, r3, r0
  1110. 456 .LVL40:
  1111. 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1112. 457 .loc 1 461 18 view .LVU144
  1113. 458 005e F0E7 b .L31
  1114. 459 .LVL41:
  1115. 460 .L28:
  1116. 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  1117. 461 .loc 1 549 7 is_stmt 1 view .LVU145
  1118. 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  1119. 462 .loc 1 549 16 is_stmt 0 view .LVU146
  1120. 463 0060 174B ldr r3, .L40
  1121. 464 0062 1B6A ldr r3, [r3, #32]
  1122. 465 .LVL42:
  1123. 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1124. 466 .loc 1 552 7 is_stmt 1 view .LVU147
  1125. 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1126. 467 .loc 1 552 66 is_stmt 0 view .LVU148
  1127. 468 0064 40F20232 movw r2, #770
  1128. 469 0068 1A40 ands r2, r2, r3
  1129. 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1130. 470 .loc 1 552 10 view .LVU149
  1131. 471 006a B2F5817F cmp r2, #258
  1132. 472 006e 24D0 beq .L33
  1133. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1134. 473 .loc 1 557 12 is_stmt 1 view .LVU150
  1135. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1136. 474 .loc 1 557 27 is_stmt 0 view .LVU151
  1137. 475 0070 03F44073 and r3, r3, #768
  1138. 476 .LVL43:
  1139. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1140. 477 .loc 1 557 15 view .LVU152
  1141. 478 0074 B3F5007F cmp r3, #512
  1142. 479 0078 04D0 beq .L38
  1143. 480 .L32:
  1144. 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1145. 481 .loc 1 561 12 is_stmt 1 view .LVU153
  1146. 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1147. 482 .loc 1 561 15 is_stmt 0 view .LVU154
  1148. 483 007a B3F5407F cmp r3, #768
  1149. 484 007e 09D0 beq .L39
  1150. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  1151. 485 .loc 1 401 27 view .LVU155
  1152. 486 0080 0020 movs r0, #0
  1153. 487 .LVL44:
  1154. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
  1155. 488 .loc 1 401 27 view .LVU156
  1156. 489 0082 C5E7 b .L25
  1157. 490 .LVL45:
  1158. 491 .L38:
  1159. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1160. 492 .loc 1 557 75 discriminator 1 view .LVU157
  1161. ARM GAS /tmp/cc0P3ody.s page 21
  1162. 493 0084 0E4A ldr r2, .L40
  1163. 494 0086 526A ldr r2, [r2, #36]
  1164. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1165. 495 .loc 1 557 71 discriminator 1 view .LVU158
  1166. 496 0088 12F0020F tst r2, #2
  1167. 497 008c F5D0 beq .L32
  1168. 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1169. 498 .loc 1 559 19 view .LVU159
  1170. 499 008e 49F64040 movw r0, #40000
  1171. 500 .LVL46:
  1172. 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1173. 501 .loc 1 559 19 view .LVU160
  1174. 502 0092 BDE7 b .L25
  1175. 503 .LVL47:
  1176. 504 .L39:
  1177. 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1178. 505 .loc 1 561 82 discriminator 1 view .LVU161
  1179. 506 0094 0A4B ldr r3, .L40
  1180. 507 0096 1868 ldr r0, [r3]
  1181. 508 .LVL48:
  1182. 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
  1183. 509 .loc 1 561 78 discriminator 1 view .LVU162
  1184. 510 0098 10F40030 ands r0, r0, #131072
  1185. 511 009c B8D0 beq .L25
  1186. 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1187. 512 .loc 1 563 19 view .LVU163
  1188. 513 009e 4FF22440 movw r0, #62500
  1189. 514 .LVL49:
  1190. 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1191. 515 .loc 1 582 3 is_stmt 1 view .LVU164
  1192. 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1193. 516 .loc 1 582 10 is_stmt 0 view .LVU165
  1194. 517 00a2 B5E7 b .L25
  1195. 518 .LVL50:
  1196. 519 .L26:
  1197. 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
  1198. 520 .loc 1 574 7 is_stmt 1 view .LVU166
  1199. 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
  1200. 521 .loc 1 574 19 is_stmt 0 view .LVU167
  1201. 522 00a4 FFF7FEFF bl HAL_RCC_GetPCLK2Freq
  1202. 523 .LVL51:
  1203. 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
  1204. 524 .loc 1 574 47 view .LVU168
  1205. 525 00a8 054B ldr r3, .L40
  1206. 526 00aa 5B68 ldr r3, [r3, #4]
  1207. 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
  1208. 527 .loc 1 574 74 view .LVU169
  1209. 528 00ac C3F38133 ubfx r3, r3, #14, #2
  1210. 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
  1211. 529 .loc 1 574 98 view .LVU170
  1212. 530 00b0 0133 adds r3, r3, #1
  1213. 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
  1214. 531 .loc 1 574 103 view .LVU171
  1215. 532 00b2 5B00 lsls r3, r3, #1
  1216. 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
  1217. 533 .loc 1 574 17 view .LVU172
  1218. 534 00b4 B0FBF3F0 udiv r0, r0, r3
  1219. ARM GAS /tmp/cc0P3ody.s page 22
  1220. 535 .LVL52:
  1221. 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1222. 536 .loc 1 575 7 is_stmt 1 view .LVU173
  1223. 537 00b8 AAE7 b .L25
  1224. 538 .LVL53:
  1225. 539 .L33:
  1226. 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1227. 540 .loc 1 554 19 is_stmt 0 view .LVU174
  1228. 541 00ba 4FF40040 mov r0, #32768
  1229. 542 .LVL54:
  1230. 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
  1231. 543 .loc 1 554 19 view .LVU175
  1232. 544 00be A7E7 b .L25
  1233. 545 .L41:
  1234. 546 .align 2
  1235. 547 .L40:
  1236. 548 00c0 00100240 .word 1073876992
  1237. 549 00c4 00000000 .word .LANCHOR0
  1238. 550 00c8 00000000 .word .LANCHOR1
  1239. 551 00cc 00127A00 .word 8000000
  1240. 552 00d0 ABAAAAAA .word -1431655765
  1241. 553 00d4 00093D00 .word 4000000
  1242. 554 .cfi_endproc
  1243. 555 .LFE67:
  1244. 557 .section .rodata.aPLLMULFactorTable.1,"a"
  1245. 558 .align 2
  1246. 559 .set .LANCHOR0,. + 0
  1247. 562 aPLLMULFactorTable.1:
  1248. 563 0000 02030405 .ascii "\002\003\004\005\006\007\010\011\012\013\014\015\016"
  1249. 563 06070809
  1250. 563 0A0B0C0D
  1251. 563 0E
  1252. 564 000d 0F1010 .ascii "\017\020\020"
  1253. 565 .section .rodata.aPredivFactorTable.0,"a"
  1254. 566 .align 2
  1255. 567 .set .LANCHOR1,. + 0
  1256. 570 aPredivFactorTable.0:
  1257. 571 0000 0102 .ascii "\001\002"
  1258. 572 .text
  1259. 573 .Letext0:
  1260. 574 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
  1261. 575 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
  1262. 576 .file 4 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
  1263. 577 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
  1264. 578 .file 6 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
  1265. 579 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h"
  1266. 580 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h"
  1267. 581 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
  1268. ARM GAS /tmp/cc0P3ody.s page 23
  1269. DEFINED SYMBOLS
  1270. *ABS*:0000000000000000 stm32f1xx_hal_rcc_ex.c
  1271. /tmp/cc0P3ody.s:18 .text.HAL_RCCEx_PeriphCLKConfig:0000000000000000 $t
  1272. /tmp/cc0P3ody.s:24 .text.HAL_RCCEx_PeriphCLKConfig:0000000000000000 HAL_RCCEx_PeriphCLKConfig
  1273. /tmp/cc0P3ody.s:281 .text.HAL_RCCEx_PeriphCLKConfig:000000000000010c $d
  1274. /tmp/cc0P3ody.s:288 .text.HAL_RCCEx_GetPeriphCLKConfig:0000000000000000 $t
  1275. /tmp/cc0P3ody.s:294 .text.HAL_RCCEx_GetPeriphCLKConfig:0000000000000000 HAL_RCCEx_GetPeriphCLKConfig
  1276. /tmp/cc0P3ody.s:344 .text.HAL_RCCEx_GetPeriphCLKConfig:0000000000000028 $d
  1277. /tmp/cc0P3ody.s:349 .text.HAL_RCCEx_GetPeriphCLKFreq:0000000000000000 $t
  1278. /tmp/cc0P3ody.s:355 .text.HAL_RCCEx_GetPeriphCLKFreq:0000000000000000 HAL_RCCEx_GetPeriphCLKFreq
  1279. /tmp/cc0P3ody.s:548 .text.HAL_RCCEx_GetPeriphCLKFreq:00000000000000c0 $d
  1280. /tmp/cc0P3ody.s:558 .rodata.aPLLMULFactorTable.1:0000000000000000 $d
  1281. /tmp/cc0P3ody.s:562 .rodata.aPLLMULFactorTable.1:0000000000000000 aPLLMULFactorTable.1
  1282. /tmp/cc0P3ody.s:566 .rodata.aPredivFactorTable.0:0000000000000000 $d
  1283. /tmp/cc0P3ody.s:570 .rodata.aPredivFactorTable.0:0000000000000000 aPredivFactorTable.0
  1284. UNDEFINED SYMBOLS
  1285. HAL_GetTick
  1286. HAL_RCC_GetPCLK2Freq