stm32f4xx_hal_rcc.lst 173 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969
  1. ARM GAS /tmp/ccxtFLUq.s page 1
  2. 1 .cpu cortex-m4
  3. 2 .eabi_attribute 27, 1
  4. 3 .eabi_attribute 28, 1
  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 "stm32f4xx_hal_rcc.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.HAL_RCC_DeInit,"ax",%progbits
  19. 18 .align 1
  20. 19 .weak HAL_RCC_DeInit
  21. 20 .syntax unified
  22. 21 .thumb
  23. 22 .thumb_func
  24. 23 .fpu fpv4-sp-d16
  25. 25 HAL_RCC_DeInit:
  26. 26 .LFB130:
  27. 27 .file 1 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c"
  28. 1:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  29. 2:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ******************************************************************************
  30. 3:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @file stm32f4xx_hal_rcc.c
  31. 4:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @author MCD Application Team
  32. 5:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief RCC HAL module driver.
  33. 6:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * This file provides firmware functions to manage the following
  34. 7:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * functionalities of the Reset and Clock Control (RCC) peripheral:
  35. 8:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * + Initialization and de-initialization functions
  36. 9:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * + Peripheral Control functions
  37. 10:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  38. 11:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** @verbatim
  39. 12:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ==============================================================================
  40. 13:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ##### RCC specific features #####
  41. 14:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ==============================================================================
  42. 15:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** [..]
  43. 16:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** After reset the device is running from Internal High Speed oscillator
  44. 17:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (HSI 16MHz) with Flash 0 wait state, Flash prefetch buffer, D-Cache
  45. 18:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** and I-Cache are disabled, and all peripherals are off except internal
  46. 19:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** SRAM, Flash and JTAG.
  47. 20:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (+) There is no prescaler on High speed (AHB) and Low speed (APB) busses;
  48. 21:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** all peripherals mapped on these busses are running at HSI speed.
  49. 22:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (+) The clock for all peripherals is switched off, except the SRAM and FLASH.
  50. 23:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (+) All GPIOs are in input floating state, except the JTAG pins which
  51. 24:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** are assigned to be used for debug purpose.
  52. 25:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  53. 26:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** [..]
  54. 27:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** Once the device started from reset, the user application has to:
  55. 28:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (+) Configure the clock source to be used to drive the System clock
  56. 29:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (if the application needs higher frequency/performance)
  57. 30:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (+) Configure the System clock frequency and Flash settings
  58. 31:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (+) Configure the AHB and APB busses prescalers
  59. ARM GAS /tmp/ccxtFLUq.s page 2
  60. 32:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (+) Enable the clock for the peripheral(s) to be used
  61. 33:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (+) Configure the clock source(s) for peripherals which clocks are not
  62. 34:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** derived from the System clock (I2S, RTC, ADC, USB OTG FS/SDIO/RNG)
  63. 35:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  64. 36:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ##### RCC Limitations #####
  65. 37:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ==============================================================================
  66. 38:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** [..]
  67. 39:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** A delay between an RCC peripheral clock enable and the effective peripheral
  68. 40:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** enabling should be taken into account in order to manage the peripheral read/write
  69. 41:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** from/to registers.
  70. 42:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (+) This delay depends on the peripheral mapping.
  71. 43:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (+) If peripheral is mapped on AHB: the delay is 2 AHB clock cycle
  72. 44:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** after the clock enable bit is set on the hardware register
  73. 45:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (+) If peripheral is mapped on APB: the delay is 2 APB clock cycle
  74. 46:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** after the clock enable bit is set on the hardware register
  75. 47:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  76. 48:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** [..]
  77. 49:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** Implemented Workaround:
  78. 50:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (+) For AHB & APB peripherals, a dummy read to the peripheral register has been
  79. 51:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** inserted in each __HAL_RCC_PPP_CLK_ENABLE() macro.
  80. 52:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  81. 53:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** @endverbatim
  82. 54:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ******************************************************************************
  83. 55:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @attention
  84. 56:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  85. 57:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
  86. 58:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * All rights reserved.</center></h2>
  87. 59:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  88. 60:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * This software component is licensed by ST under BSD 3-Clause license,
  89. 61:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * the "License"; You may not use this file except in compliance with the
  90. 62:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * License. You may obtain a copy of the License at:
  91. 63:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * opensource.org/licenses/BSD-3-Clause
  92. 64:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  93. 65:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ******************************************************************************
  94. 66:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  95. 67:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  96. 68:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Includes ------------------------------------------------------------------*/
  97. 69:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** #include "stm32f4xx_hal.h"
  98. 70:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  99. 71:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /** @addtogroup STM32F4xx_HAL_Driver
  100. 72:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @{
  101. 73:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  102. 74:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  103. 75:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /** @defgroup RCC RCC
  104. 76:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief RCC HAL module driver
  105. 77:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @{
  106. 78:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  107. 79:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  108. 80:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** #ifdef HAL_RCC_MODULE_ENABLED
  109. 81:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  110. 82:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Private typedef -----------------------------------------------------------*/
  111. 83:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Private define ------------------------------------------------------------*/
  112. 84:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /** @addtogroup RCC_Private_Constants
  113. 85:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @{
  114. 86:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  115. 87:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  116. 88:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Private macro -------------------------------------------------------------*/
  117. ARM GAS /tmp/ccxtFLUq.s page 3
  118. 89:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** #define __MCO1_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE()
  119. 90:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** #define MCO1_GPIO_PORT GPIOA
  120. 91:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** #define MCO1_PIN GPIO_PIN_8
  121. 92:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  122. 93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** #define __MCO2_CLK_ENABLE() __HAL_RCC_GPIOC_CLK_ENABLE()
  123. 94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** #define MCO2_GPIO_PORT GPIOC
  124. 95:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** #define MCO2_PIN GPIO_PIN_9
  125. 96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  126. 97:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @}
  127. 98:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  128. 99:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  129. 100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Private variables ---------------------------------------------------------*/
  130. 101:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /** @defgroup RCC_Private_Variables RCC Private Variables
  131. 102:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @{
  132. 103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  133. 104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  134. 105:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @}
  135. 106:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  136. 107:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Private function prototypes -----------------------------------------------*/
  137. 108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Private functions ---------------------------------------------------------*/
  138. 109:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  139. 110:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /** @defgroup RCC_Exported_Functions RCC Exported Functions
  140. 111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @{
  141. 112:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  142. 113:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  143. 114:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /** @defgroup RCC_Exported_Functions_Group1 Initialization and de-initialization functions
  144. 115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief Initialization and Configuration functions
  145. 116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  146. 117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** @verbatim
  147. 118:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ===============================================================================
  148. 119:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ##### Initialization and de-initialization functions #####
  149. 120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ===============================================================================
  150. 121:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** [..]
  151. 122:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** This section provides functions allowing to configure the internal/external oscillators
  152. 123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (HSE, HSI, LSE, LSI, PLL, CSS and MCO) and the System busses clocks (SYSCLK, AHB, APB1
  153. 124:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** and APB2).
  154. 125:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  155. 126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** [..] Internal/external clock and PLL configuration
  156. 127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (#) HSI (high-speed internal), 16 MHz factory-trimmed RC used directly or through
  157. 128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** the PLL as System clock source.
  158. 129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  159. 130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (#) LSI (low-speed internal), 32 KHz low consumption RC used as IWDG and/or RTC
  160. 131:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** clock source.
  161. 132:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  162. 133:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (#) HSE (high-speed external), 4 to 26 MHz crystal oscillator used directly or
  163. 134:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** through the PLL as System clock source. Can be used also as RTC clock source.
  164. 135:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  165. 136:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (#) LSE (low-speed external), 32 KHz oscillator used as RTC clock source.
  166. 137:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  167. 138:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (#) PLL (clocked by HSI or HSE), featuring two different output clocks:
  168. 139:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (++) The first output is used to generate the high speed system clock (up to 168 MHz)
  169. 140:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (++) The second output is used to generate the clock for the USB OTG FS (48 MHz),
  170. 141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** the random analog generator (<=48 MHz) and the SDIO (<= 48 MHz).
  171. 142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  172. 143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (#) CSS (Clock security system), once enable using the macro __HAL_RCC_CSS_ENABLE()
  173. 144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** and if a HSE clock failure occurs(HSE used directly or through PLL as System
  174. 145:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** clock source), the System clocks automatically switched to HSI and an interrupt
  175. ARM GAS /tmp/ccxtFLUq.s page 4
  176. 146:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** is generated if enabled. The interrupt is linked to the Cortex-M4 NMI
  177. 147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (Non-Maskable Interrupt) exception vector.
  178. 148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  179. 149:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (#) MCO1 (microcontroller clock output), used to output HSI, LSE, HSE or PLL
  180. 150:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** clock (through a configurable prescaler) on PA8 pin.
  181. 151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  182. 152:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (#) MCO2 (microcontroller clock output), used to output HSE, PLL, SYSCLK or PLLI2S
  183. 153:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** clock (through a configurable prescaler) on PC9 pin.
  184. 154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  185. 155:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** [..] System, AHB and APB busses clocks configuration
  186. 156:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (#) Several clock sources can be used to drive the System clock (SYSCLK): HSI,
  187. 157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** HSE and PLL.
  188. 158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** The AHB clock (HCLK) is derived from System clock through configurable
  189. 159:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** prescaler and used to clock the CPU, memory and peripherals mapped
  190. 160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** on AHB bus (DMA, GPIO...). APB1 (PCLK1) and APB2 (PCLK2) clocks are derived
  191. 161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** from AHB clock through configurable prescalers and used to clock
  192. 162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** the peripherals mapped on these busses. You can use
  193. 163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** "HAL_RCC_GetSysClockFreq()" function to retrieve the frequencies of these clocks.
  194. 164:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  195. 165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (#) For the STM32F405xx/07xx and STM32F415xx/17xx devices, the maximum
  196. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** frequency of the SYSCLK and HCLK is 168 MHz, PCLK2 84 MHz and PCLK1 42 MHz.
  197. 167:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** Depending on the device voltage range, the maximum frequency should
  198. 168:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** be adapted accordingly (refer to the product datasheets for more details).
  199. 169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  200. 170:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (#) For the STM32F42xxx, STM32F43xxx, STM32F446xx, STM32F469xx and STM32F479xx devices,
  201. 171:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** the maximum frequency of the SYSCLK and HCLK is 180 MHz, PCLK2 90 MHz and PCLK1 45 MHz
  202. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** Depending on the device voltage range, the maximum frequency should
  203. 173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** be adapted accordingly (refer to the product datasheets for more details).
  204. 174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  205. 175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (#) For the STM32F401xx, the maximum frequency of the SYSCLK and HCLK is 84 MHz,
  206. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** PCLK2 84 MHz and PCLK1 42 MHz.
  207. 177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** Depending on the device voltage range, the maximum frequency should
  208. 178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** be adapted accordingly (refer to the product datasheets for more details).
  209. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  210. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (#) For the STM32F41xxx, the maximum frequency of the SYSCLK and HCLK is 100 MHz,
  211. 181:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** PCLK2 100 MHz and PCLK1 50 MHz.
  212. 182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** Depending on the device voltage range, the maximum frequency should
  213. 183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** be adapted accordingly (refer to the product datasheets for more details).
  214. 184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  215. 185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** @endverbatim
  216. 186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @{
  217. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  218. 188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  219. 189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  220. 190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief Resets the RCC clock configuration to the default reset state.
  221. 191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note The default reset state of the clock configuration is given below:
  222. 192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * - HSI ON and used as system clock source
  223. 193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * - HSE and PLL OFF
  224. 194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * - AHB, APB1 and APB2 prescaler set to 1.
  225. 195:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * - CSS, MCO1 and MCO2 OFF
  226. 196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * - All interrupts disabled
  227. 197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note This function doesn't modify the configuration of the
  228. 198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * - Peripheral clocks
  229. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * - LSI, LSE and RTC clocks
  230. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @retval HAL status
  231. 201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  232. 202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __weak HAL_StatusTypeDef HAL_RCC_DeInit(void)
  233. ARM GAS /tmp/ccxtFLUq.s page 5
  234. 203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  235. 28 .loc 1 203 0
  236. 29 .cfi_startproc
  237. 30 @ args = 0, pretend = 0, frame = 0
  238. 31 @ frame_needed = 0, uses_anonymous_args = 0
  239. 32 @ link register save eliminated.
  240. 204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_OK;
  241. 205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  242. 33 .loc 1 205 0
  243. 34 0000 0020 movs r0, #0
  244. 35 0002 7047 bx lr
  245. 36 .cfi_endproc
  246. 37 .LFE130:
  247. 39 .section .text.HAL_RCC_OscConfig,"ax",%progbits
  248. 40 .align 1
  249. 41 .weak HAL_RCC_OscConfig
  250. 42 .syntax unified
  251. 43 .thumb
  252. 44 .thumb_func
  253. 45 .fpu fpv4-sp-d16
  254. 47 HAL_RCC_OscConfig:
  255. 48 .LFB131:
  256. 206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  257. 207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  258. 208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief Initializes the RCC Oscillators according to the specified parameters in the
  259. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * RCC_OscInitTypeDef.
  260. 210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @param RCC_OscInitStruct pointer to an RCC_OscInitTypeDef structure that
  261. 211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * contains the configuration information for the RCC Oscillators.
  262. 212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note The PLL is not disabled when used as system clock.
  263. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note Transitions LSE Bypass to LSE On and LSE On to LSE Bypass are not
  264. 214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * supported by this API. User should request a transition to LSE Off
  265. 215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * first and then LSE On or LSE Bypass.
  266. 216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note Transition HSE Bypass to HSE On and HSE On to HSE Bypass are not
  267. 217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * supported by this API. User should request a transition to HSE Off
  268. 218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * first and then HSE On or HSE Bypass.
  269. 219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @retval HAL status
  270. 220:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  271. 221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __weak HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct)
  272. 222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  273. 49 .loc 1 222 0
  274. 50 .cfi_startproc
  275. 51 @ args = 0, pretend = 0, frame = 8
  276. 52 @ frame_needed = 0, uses_anonymous_args = 0
  277. 53 .LVL0:
  278. 223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** uint32_t tickstart;
  279. 224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  280. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check Null pointer */
  281. 226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(RCC_OscInitStruct == NULL)
  282. 54 .loc 1 226 0
  283. 55 0000 0028 cmp r0, #0
  284. 56 0002 00F0BB81 beq .L51
  285. 222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** uint32_t tickstart;
  286. 57 .loc 1 222 0
  287. 58 0006 70B5 push {r4, r5, r6, lr}
  288. 59 .LCFI0:
  289. 60 .cfi_def_cfa_offset 16
  290. 61 .cfi_offset 4, -16
  291. ARM GAS /tmp/ccxtFLUq.s page 6
  292. 62 .cfi_offset 5, -12
  293. 63 .cfi_offset 6, -8
  294. 64 .cfi_offset 14, -4
  295. 65 0008 82B0 sub sp, sp, #8
  296. 66 .LCFI1:
  297. 67 .cfi_def_cfa_offset 24
  298. 68 000a 0446 mov r4, r0
  299. 227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  300. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_ERROR;
  301. 229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  302. 230:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  303. 231:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the parameters */
  304. 232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType));
  305. 233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /*------------------------------- HSE Configuration ------------------------*/
  306. 234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSE) == RCC_OSCILLATORTYPE_HSE)
  307. 69 .loc 1 234 0
  308. 70 000c 0368 ldr r3, [r0]
  309. 71 000e 13F0010F tst r3, #1
  310. 72 0012 3BD0 beq .L4
  311. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  312. 236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the parameters */
  313. 237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_HSE(RCC_OscInitStruct->HSEState));
  314. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* When the HSE is used as system clock or clock source for PLL in these cases HSE will not dis
  315. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_HSE) ||\
  316. 73 .loc 1 239 0
  317. 74 0014 A74B ldr r3, .L87
  318. 75 0016 9B68 ldr r3, [r3, #8]
  319. 76 0018 03F00C03 and r3, r3, #12
  320. 77 001c 042B cmp r3, #4
  321. 78 001e 2CD0 beq .L5
  322. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC)
  323. 79 .loc 1 240 0 discriminator 1
  324. 80 0020 A44B ldr r3, .L87
  325. 81 0022 9B68 ldr r3, [r3, #8]
  326. 82 0024 03F00C03 and r3, r3, #12
  327. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC)
  328. 83 .loc 1 239 0 discriminator 1
  329. 84 0028 082B cmp r3, #8
  330. 85 002a 21D0 beq .L73
  331. 86 .L6:
  332. 241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  333. 242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_
  334. 243:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  335. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_ERROR;
  336. 245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  337. 246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  338. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  339. 248:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  340. 249:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Set the new HSE configuration ---------------------------------------*/
  341. 250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_HSE_CONFIG(RCC_OscInitStruct->HSEState);
  342. 87 .loc 1 250 0
  343. 88 002c 6368 ldr r3, [r4, #4]
  344. 89 002e B3F5803F cmp r3, #65536
  345. 90 0032 4FD0 beq .L74
  346. 91 .loc 1 250 0 is_stmt 0 discriminator 2
  347. 92 0034 B3F5A02F cmp r3, #327680
  348. 93 0038 52D0 beq .L75
  349. ARM GAS /tmp/ccxtFLUq.s page 7
  350. 94 .loc 1 250 0 discriminator 4
  351. 95 003a 9E4B ldr r3, .L87
  352. 96 003c 1A68 ldr r2, [r3]
  353. 97 003e 22F48032 bic r2, r2, #65536
  354. 98 0042 1A60 str r2, [r3]
  355. 99 0044 1A68 ldr r2, [r3]
  356. 100 0046 22F48022 bic r2, r2, #262144
  357. 101 004a 1A60 str r2, [r3]
  358. 102 .L8:
  359. 251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  360. 252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the HSE State */
  361. 253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((RCC_OscInitStruct->HSEState) != RCC_HSE_OFF)
  362. 103 .loc 1 253 0 is_stmt 1
  363. 104 004c 6368 ldr r3, [r4, #4]
  364. 105 004e 002B cmp r3, #0
  365. 106 0050 50D0 beq .L10
  366. 254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  367. 255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get Start Tick */
  368. 256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** tickstart = HAL_GetTick();
  369. 107 .loc 1 256 0
  370. 108 0052 FFF7FEFF bl HAL_GetTick
  371. 109 .LVL1:
  372. 110 0056 0546 mov r5, r0
  373. 111 .LVL2:
  374. 112 .L11:
  375. 257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  376. 258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Wait till HSE is ready */
  377. 259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET)
  378. 113 .loc 1 259 0
  379. 114 0058 964B ldr r3, .L87
  380. 115 005a 1B68 ldr r3, [r3]
  381. 116 005c 13F4003F tst r3, #131072
  382. 117 0060 14D1 bne .L4
  383. 260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  384. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > HSE_TIMEOUT_VALUE)
  385. 118 .loc 1 261 0
  386. 119 0062 FFF7FEFF bl HAL_GetTick
  387. 120 .LVL3:
  388. 121 0066 401B subs r0, r0, r5
  389. 122 0068 6428 cmp r0, #100
  390. 123 006a F5D9 bls .L11
  391. 262:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  392. 263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_TIMEOUT;
  393. 124 .loc 1 263 0
  394. 125 006c 0320 movs r0, #3
  395. 126 006e 8AE1 b .L3
  396. 127 .LVL4:
  397. 128 .L73:
  398. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  399. 129 .loc 1 240 0
  400. 130 0070 904B ldr r3, .L87
  401. 131 0072 5B68 ldr r3, [r3, #4]
  402. 132 0074 13F4800F tst r3, #4194304
  403. 133 0078 D8D0 beq .L6
  404. 134 .L5:
  405. 242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  406. 135 .loc 1 242 0
  407. ARM GAS /tmp/ccxtFLUq.s page 8
  408. 136 007a 8E4B ldr r3, .L87
  409. 137 007c 1B68 ldr r3, [r3]
  410. 138 007e 13F4003F tst r3, #131072
  411. 139 0082 03D0 beq .L4
  412. 242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  413. 140 .loc 1 242 0 is_stmt 0 discriminator 1
  414. 141 0084 6368 ldr r3, [r4, #4]
  415. 142 0086 002B cmp r3, #0
  416. 143 0088 00F07A81 beq .L76
  417. 144 .LVL5:
  418. 145 .L4:
  419. 264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  420. 265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  421. 266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  422. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  423. 268:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  424. 269:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get Start Tick */
  425. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** tickstart = HAL_GetTick();
  426. 271:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  427. 272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Wait till HSE is bypassed or disabled */
  428. 273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET)
  429. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  430. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > HSE_TIMEOUT_VALUE)
  431. 276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  432. 277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_TIMEOUT;
  433. 278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  434. 279:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  435. 280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  436. 281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  437. 282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  438. 283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /*----------------------------- HSI Configuration --------------------------*/
  439. 284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSI) == RCC_OSCILLATORTYPE_HSI)
  440. 146 .loc 1 284 0 is_stmt 1
  441. 147 008c 2368 ldr r3, [r4]
  442. 148 008e 13F0020F tst r3, #2
  443. 149 0092 55D0 beq .L15
  444. 285:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  445. 286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the parameters */
  446. 287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_HSI(RCC_OscInitStruct->HSIState));
  447. 288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_CALIBRATION_VALUE(RCC_OscInitStruct->HSICalibrationValue));
  448. 289:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  449. 290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check if HSI is used as system clock or as PLL source when PLL is selected as system clock *
  450. 291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_HSI) ||\
  451. 150 .loc 1 291 0
  452. 151 0094 874B ldr r3, .L87
  453. 152 0096 9B68 ldr r3, [r3, #8]
  454. 153 0098 13F00C0F tst r3, #12
  455. 154 009c 3ED0 beq .L16
  456. 292:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC)
  457. 155 .loc 1 292 0 discriminator 1
  458. 156 009e 854B ldr r3, .L87
  459. 157 00a0 9B68 ldr r3, [r3, #8]
  460. 158 00a2 03F00C03 and r3, r3, #12
  461. 291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC)
  462. 159 .loc 1 291 0 discriminator 1
  463. 160 00a6 082B cmp r3, #8
  464. 161 00a8 33D0 beq .L77
  465. ARM GAS /tmp/ccxtFLUq.s page 9
  466. 162 .L17:
  467. 293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  468. 294:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* When HSI is used as system clock it will not disabled */
  469. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_
  470. 296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  471. 297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_ERROR;
  472. 298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  473. 299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Otherwise, just the calibration is allowed */
  474. 300:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  475. 301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  476. 302:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/
  477. 303:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue);
  478. 304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  479. 305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  480. 306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  481. 307:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  482. 308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the HSI State */
  483. 309:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((RCC_OscInitStruct->HSIState)!= RCC_HSI_OFF)
  484. 163 .loc 1 309 0
  485. 164 00aa E368 ldr r3, [r4, #12]
  486. 165 00ac 002B cmp r3, #0
  487. 166 00ae 68D0 beq .L19
  488. 310:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  489. 311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Enable the Internal High Speed oscillator (HSI). */
  490. 312:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_HSI_ENABLE();
  491. 167 .loc 1 312 0
  492. 168 00b0 0122 movs r2, #1
  493. 169 00b2 814B ldr r3, .L87+4
  494. 170 00b4 1A60 str r2, [r3]
  495. 313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  496. 314:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get Start Tick*/
  497. 315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** tickstart = HAL_GetTick();
  498. 171 .loc 1 315 0
  499. 172 00b6 FFF7FEFF bl HAL_GetTick
  500. 173 .LVL6:
  501. 174 00ba 0546 mov r5, r0
  502. 175 .LVL7:
  503. 176 .L20:
  504. 316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  505. 317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Wait till HSI is ready */
  506. 318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET)
  507. 177 .loc 1 318 0
  508. 178 00bc 7D4B ldr r3, .L87
  509. 179 00be 1B68 ldr r3, [r3]
  510. 180 00c0 13F0020F tst r3, #2
  511. 181 00c4 54D1 bne .L78
  512. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  513. 320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > HSI_TIMEOUT_VALUE)
  514. 182 .loc 1 320 0
  515. 183 00c6 FFF7FEFF bl HAL_GetTick
  516. 184 .LVL8:
  517. 185 00ca 401B subs r0, r0, r5
  518. 186 00cc 0228 cmp r0, #2
  519. 187 00ce F5D9 bls .L20
  520. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  521. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_TIMEOUT;
  522. 188 .loc 1 322 0
  523. ARM GAS /tmp/ccxtFLUq.s page 10
  524. 189 00d0 0320 movs r0, #3
  525. 190 00d2 58E1 b .L3
  526. 191 .LVL9:
  527. 192 .L74:
  528. 250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  529. 193 .loc 1 250 0 discriminator 1
  530. 194 00d4 774A ldr r2, .L87
  531. 195 00d6 1368 ldr r3, [r2]
  532. 196 00d8 43F48033 orr r3, r3, #65536
  533. 197 00dc 1360 str r3, [r2]
  534. 198 00de B5E7 b .L8
  535. 199 .L75:
  536. 250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  537. 200 .loc 1 250 0 is_stmt 0 discriminator 3
  538. 201 00e0 744B ldr r3, .L87
  539. 202 00e2 1A68 ldr r2, [r3]
  540. 203 00e4 42F48022 orr r2, r2, #262144
  541. 204 00e8 1A60 str r2, [r3]
  542. 205 00ea 1A68 ldr r2, [r3]
  543. 206 00ec 42F48032 orr r2, r2, #65536
  544. 207 00f0 1A60 str r2, [r3]
  545. 208 00f2 ABE7 b .L8
  546. 209 .L10:
  547. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  548. 210 .loc 1 270 0 is_stmt 1
  549. 211 00f4 FFF7FEFF bl HAL_GetTick
  550. 212 .LVL10:
  551. 213 00f8 0546 mov r5, r0
  552. 214 .LVL11:
  553. 215 .L13:
  554. 273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  555. 216 .loc 1 273 0
  556. 217 00fa 6E4B ldr r3, .L87
  557. 218 00fc 1B68 ldr r3, [r3]
  558. 219 00fe 13F4003F tst r3, #131072
  559. 220 0102 C3D0 beq .L4
  560. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  561. 221 .loc 1 275 0
  562. 222 0104 FFF7FEFF bl HAL_GetTick
  563. 223 .LVL12:
  564. 224 0108 401B subs r0, r0, r5
  565. 225 010a 6428 cmp r0, #100
  566. 226 010c F5D9 bls .L13
  567. 277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  568. 227 .loc 1 277 0
  569. 228 010e 0320 movs r0, #3
  570. 229 0110 39E1 b .L3
  571. 230 .LVL13:
  572. 231 .L77:
  573. 292:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  574. 232 .loc 1 292 0
  575. 233 0112 684B ldr r3, .L87
  576. 234 0114 5B68 ldr r3, [r3, #4]
  577. 235 0116 13F4800F tst r3, #4194304
  578. 236 011a C6D1 bne .L17
  579. 237 .L16:
  580. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  581. ARM GAS /tmp/ccxtFLUq.s page 11
  582. 238 .loc 1 295 0
  583. 239 011c 654B ldr r3, .L87
  584. 240 011e 1B68 ldr r3, [r3]
  585. 241 0120 13F0020F tst r3, #2
  586. 242 0124 04D0 beq .L18
  587. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  588. 243 .loc 1 295 0 is_stmt 0 discriminator 1
  589. 244 0126 E368 ldr r3, [r4, #12]
  590. 245 0128 012B cmp r3, #1
  591. 246 012a 01D0 beq .L18
  592. 297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  593. 247 .loc 1 297 0 is_stmt 1
  594. 248 012c 0120 movs r0, #1
  595. 249 012e 2AE1 b .L3
  596. 250 .L18:
  597. 303:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  598. 251 .loc 1 303 0
  599. 252 0130 604A ldr r2, .L87
  600. 253 0132 1368 ldr r3, [r2]
  601. 254 0134 23F0F803 bic r3, r3, #248
  602. 255 0138 2169 ldr r1, [r4, #16]
  603. 256 013a 43EAC103 orr r3, r3, r1, lsl #3
  604. 257 013e 1360 str r3, [r2]
  605. 258 .L15:
  606. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  607. 324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  608. 325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  609. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Adjusts the Internal High Speed oscillator (HSI) calibration value. */
  610. 327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue);
  611. 328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  612. 329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  613. 330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  614. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Disable the Internal High Speed oscillator (HSI). */
  615. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_HSI_DISABLE();
  616. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  617. 334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get Start Tick*/
  618. 335:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** tickstart = HAL_GetTick();
  619. 336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  620. 337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Wait till HSI is ready */
  621. 338:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET)
  622. 339:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  623. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > HSI_TIMEOUT_VALUE)
  624. 341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  625. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_TIMEOUT;
  626. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  627. 344:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  628. 345:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  629. 346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  630. 347:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  631. 348:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /*------------------------------ LSI Configuration -------------------------*/
  632. 349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSI) == RCC_OSCILLATORTYPE_LSI)
  633. 259 .loc 1 349 0
  634. 260 0140 2368 ldr r3, [r4]
  635. 261 0142 13F0080F tst r3, #8
  636. 262 0146 40D0 beq .L24
  637. 350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  638. 351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the parameters */
  639. ARM GAS /tmp/ccxtFLUq.s page 12
  640. 352:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_LSI(RCC_OscInitStruct->LSIState));
  641. 353:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  642. 354:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the LSI State */
  643. 355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((RCC_OscInitStruct->LSIState)!= RCC_LSI_OFF)
  644. 263 .loc 1 355 0
  645. 264 0148 6369 ldr r3, [r4, #20]
  646. 265 014a 63B3 cbz r3, .L25
  647. 356:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  648. 357:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Enable the Internal Low Speed oscillator (LSI). */
  649. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_LSI_ENABLE();
  650. 266 .loc 1 358 0
  651. 267 014c 0122 movs r2, #1
  652. 268 014e 5B4B ldr r3, .L87+8
  653. 269 0150 1A60 str r2, [r3]
  654. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  655. 360:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get Start Tick*/
  656. 361:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** tickstart = HAL_GetTick();
  657. 270 .loc 1 361 0
  658. 271 0152 FFF7FEFF bl HAL_GetTick
  659. 272 .LVL14:
  660. 273 0156 0546 mov r5, r0
  661. 274 .LVL15:
  662. 275 .L26:
  663. 362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  664. 363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Wait till LSI is ready */
  665. 364:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET)
  666. 276 .loc 1 364 0
  667. 277 0158 564B ldr r3, .L87
  668. 278 015a 5B6F ldr r3, [r3, #116]
  669. 279 015c 13F0020F tst r3, #2
  670. 280 0160 33D1 bne .L24
  671. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  672. 366:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > LSI_TIMEOUT_VALUE)
  673. 281 .loc 1 366 0
  674. 282 0162 FFF7FEFF bl HAL_GetTick
  675. 283 .LVL16:
  676. 284 0166 401B subs r0, r0, r5
  677. 285 0168 0228 cmp r0, #2
  678. 286 016a F5D9 bls .L26
  679. 367:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  680. 368:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_TIMEOUT;
  681. 287 .loc 1 368 0
  682. 288 016c 0320 movs r0, #3
  683. 289 016e 0AE1 b .L3
  684. 290 .L78:
  685. 327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  686. 291 .loc 1 327 0
  687. 292 0170 504A ldr r2, .L87
  688. 293 0172 1368 ldr r3, [r2]
  689. 294 0174 23F0F803 bic r3, r3, #248
  690. 295 0178 2169 ldr r1, [r4, #16]
  691. 296 017a 43EAC103 orr r3, r3, r1, lsl #3
  692. 297 017e 1360 str r3, [r2]
  693. 298 0180 DEE7 b .L15
  694. 299 .LVL17:
  695. 300 .L19:
  696. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  697. ARM GAS /tmp/ccxtFLUq.s page 13
  698. 301 .loc 1 332 0
  699. 302 0182 0022 movs r2, #0
  700. 303 0184 4C4B ldr r3, .L87+4
  701. 304 0186 1A60 str r2, [r3]
  702. 335:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  703. 305 .loc 1 335 0
  704. 306 0188 FFF7FEFF bl HAL_GetTick
  705. 307 .LVL18:
  706. 308 018c 0546 mov r5, r0
  707. 309 .LVL19:
  708. 310 .L22:
  709. 338:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  710. 311 .loc 1 338 0
  711. 312 018e 494B ldr r3, .L87
  712. 313 0190 1B68 ldr r3, [r3]
  713. 314 0192 13F0020F tst r3, #2
  714. 315 0196 D3D0 beq .L15
  715. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  716. 316 .loc 1 340 0
  717. 317 0198 FFF7FEFF bl HAL_GetTick
  718. 318 .LVL20:
  719. 319 019c 401B subs r0, r0, r5
  720. 320 019e 0228 cmp r0, #2
  721. 321 01a0 F5D9 bls .L22
  722. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  723. 322 .loc 1 342 0
  724. 323 01a2 0320 movs r0, #3
  725. 324 01a4 EFE0 b .L3
  726. 325 .LVL21:
  727. 326 .L25:
  728. 369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  729. 370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  730. 371:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  731. 372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  732. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  733. 374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Disable the Internal Low Speed oscillator (LSI). */
  734. 375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_LSI_DISABLE();
  735. 327 .loc 1 375 0
  736. 328 01a6 0022 movs r2, #0
  737. 329 01a8 444B ldr r3, .L87+8
  738. 330 01aa 1A60 str r2, [r3]
  739. 376:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  740. 377:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get Start Tick */
  741. 378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** tickstart = HAL_GetTick();
  742. 331 .loc 1 378 0
  743. 332 01ac FFF7FEFF bl HAL_GetTick
  744. 333 .LVL22:
  745. 334 01b0 0546 mov r5, r0
  746. 335 .LVL23:
  747. 336 .L28:
  748. 379:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  749. 380:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Wait till LSI is ready */
  750. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET)
  751. 337 .loc 1 381 0
  752. 338 01b2 404B ldr r3, .L87
  753. 339 01b4 5B6F ldr r3, [r3, #116]
  754. 340 01b6 13F0020F tst r3, #2
  755. ARM GAS /tmp/ccxtFLUq.s page 14
  756. 341 01ba 06D0 beq .L24
  757. 382:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  758. 383:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > LSI_TIMEOUT_VALUE)
  759. 342 .loc 1 383 0
  760. 343 01bc FFF7FEFF bl HAL_GetTick
  761. 344 .LVL24:
  762. 345 01c0 401B subs r0, r0, r5
  763. 346 01c2 0228 cmp r0, #2
  764. 347 01c4 F5D9 bls .L28
  765. 384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  766. 385:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_TIMEOUT;
  767. 348 .loc 1 385 0
  768. 349 01c6 0320 movs r0, #3
  769. 350 01c8 DDE0 b .L3
  770. 351 .LVL25:
  771. 352 .L24:
  772. 386:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  773. 387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  774. 388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  775. 389:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  776. 390:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /*------------------------------ LSE Configuration -------------------------*/
  777. 391:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSE) == RCC_OSCILLATORTYPE_LSE)
  778. 353 .loc 1 391 0
  779. 354 01ca 2368 ldr r3, [r4]
  780. 355 01cc 13F0040F tst r3, #4
  781. 356 01d0 79D0 beq .L30
  782. 357 .LVL26:
  783. 358 .LBB2:
  784. 392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  785. 393:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** FlagStatus pwrclkchanged = RESET;
  786. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  787. 395:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the parameters */
  788. 396:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_LSE(RCC_OscInitStruct->LSEState));
  789. 397:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  790. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Update LSE configuration in Backup Domain control register */
  791. 399:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Requires to enable write access to Backup Domain of necessary */
  792. 400:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(__HAL_RCC_PWR_IS_CLK_DISABLED())
  793. 359 .loc 1 400 0
  794. 360 01d2 384B ldr r3, .L87
  795. 361 01d4 1B6C ldr r3, [r3, #64]
  796. 362 01d6 13F0805F tst r3, #268435456
  797. 363 01da 33D1 bne .L60
  798. 364 .LBB3:
  799. 401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  800. 402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_PWR_CLK_ENABLE();
  801. 365 .loc 1 402 0
  802. 366 01dc 0023 movs r3, #0
  803. 367 01de 0193 str r3, [sp, #4]
  804. 368 01e0 344B ldr r3, .L87
  805. 369 01e2 1A6C ldr r2, [r3, #64]
  806. 370 01e4 42F08052 orr r2, r2, #268435456
  807. 371 01e8 1A64 str r2, [r3, #64]
  808. 372 01ea 1B6C ldr r3, [r3, #64]
  809. 373 01ec 03F08053 and r3, r3, #268435456
  810. 374 01f0 0193 str r3, [sp, #4]
  811. 375 01f2 019B ldr r3, [sp, #4]
  812. 376 .LVL27:
  813. ARM GAS /tmp/ccxtFLUq.s page 15
  814. 377 .LBE3:
  815. 403:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** pwrclkchanged = SET;
  816. 378 .loc 1 403 0
  817. 379 01f4 0125 movs r5, #1
  818. 380 .LVL28:
  819. 381 .L31:
  820. 404:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  821. 405:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  822. 406:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP))
  823. 382 .loc 1 406 0
  824. 383 01f6 324B ldr r3, .L87+12
  825. 384 01f8 1B68 ldr r3, [r3]
  826. 385 01fa 13F4807F tst r3, #256
  827. 386 01fe 23D0 beq .L79
  828. 387 .L32:
  829. 407:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  830. 408:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Enable write access to Backup domain */
  831. 409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** SET_BIT(PWR->CR, PWR_CR_DBP);
  832. 410:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  833. 411:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Wait for Backup domain Write protection disable */
  834. 412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** tickstart = HAL_GetTick();
  835. 413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  836. 414:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** while(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP))
  837. 415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  838. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE)
  839. 417:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  840. 418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_TIMEOUT;
  841. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  842. 420:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  843. 421:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  844. 422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  845. 423:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Set the new LSE configuration -----------------------------------------*/
  846. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_LSE_CONFIG(RCC_OscInitStruct->LSEState);
  847. 388 .loc 1 424 0
  848. 389 0200 A368 ldr r3, [r4, #8]
  849. 390 0202 012B cmp r3, #1
  850. 391 0204 34D0 beq .L80
  851. 392 .loc 1 424 0 is_stmt 0 discriminator 2
  852. 393 0206 052B cmp r3, #5
  853. 394 0208 38D0 beq .L81
  854. 395 .loc 1 424 0 discriminator 4
  855. 396 020a 2A4B ldr r3, .L87
  856. 397 020c 1A6F ldr r2, [r3, #112]
  857. 398 020e 22F00102 bic r2, r2, #1
  858. 399 0212 1A67 str r2, [r3, #112]
  859. 400 0214 1A6F ldr r2, [r3, #112]
  860. 401 0216 22F00402 bic r2, r2, #4
  861. 402 021a 1A67 str r2, [r3, #112]
  862. 403 .L36:
  863. 425:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the LSE State */
  864. 426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((RCC_OscInitStruct->LSEState) != RCC_LSE_OFF)
  865. 404 .loc 1 426 0 is_stmt 1
  866. 405 021c A368 ldr r3, [r4, #8]
  867. 406 021e 002B cmp r3, #0
  868. 407 0220 36D0 beq .L38
  869. 427:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  870. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get Start Tick*/
  871. ARM GAS /tmp/ccxtFLUq.s page 16
  872. 429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** tickstart = HAL_GetTick();
  873. 408 .loc 1 429 0
  874. 409 0222 FFF7FEFF bl HAL_GetTick
  875. 410 .LVL29:
  876. 411 0226 0646 mov r6, r0
  877. 412 .LVL30:
  878. 413 .L39:
  879. 430:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  880. 431:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Wait till LSE is ready */
  881. 432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET)
  882. 414 .loc 1 432 0
  883. 415 0228 224B ldr r3, .L87
  884. 416 022a 1B6F ldr r3, [r3, #112]
  885. 417 022c 13F0020F tst r3, #2
  886. 418 0230 48D1 bne .L41
  887. 433:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  888. 434:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > RCC_LSE_TIMEOUT_VALUE)
  889. 419 .loc 1 434 0
  890. 420 0232 FFF7FEFF bl HAL_GetTick
  891. 421 .LVL31:
  892. 422 0236 801B subs r0, r0, r6
  893. 423 0238 41F28833 movw r3, #5000
  894. 424 023c 9842 cmp r0, r3
  895. 425 023e F3D9 bls .L39
  896. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  897. 436:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_TIMEOUT;
  898. 426 .loc 1 436 0
  899. 427 0240 0320 movs r0, #3
  900. 428 0242 A0E0 b .L3
  901. 429 .LVL32:
  902. 430 .L60:
  903. 393:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  904. 431 .loc 1 393 0
  905. 432 0244 0025 movs r5, #0
  906. 433 0246 D6E7 b .L31
  907. 434 .LVL33:
  908. 435 .L79:
  909. 409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  910. 436 .loc 1 409 0
  911. 437 0248 1D4A ldr r2, .L87+12
  912. 438 024a 1368 ldr r3, [r2]
  913. 439 024c 43F48073 orr r3, r3, #256
  914. 440 0250 1360 str r3, [r2]
  915. 412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  916. 441 .loc 1 412 0
  917. 442 0252 FFF7FEFF bl HAL_GetTick
  918. 443 .LVL34:
  919. 444 0256 0646 mov r6, r0
  920. 445 .LVL35:
  921. 446 .L33:
  922. 414:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  923. 447 .loc 1 414 0
  924. 448 0258 194B ldr r3, .L87+12
  925. 449 025a 1B68 ldr r3, [r3]
  926. 450 025c 13F4807F tst r3, #256
  927. 451 0260 CED1 bne .L32
  928. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  929. ARM GAS /tmp/ccxtFLUq.s page 17
  930. 452 .loc 1 416 0
  931. 453 0262 FFF7FEFF bl HAL_GetTick
  932. 454 .LVL36:
  933. 455 0266 801B subs r0, r0, r6
  934. 456 0268 0228 cmp r0, #2
  935. 457 026a F5D9 bls .L33
  936. 418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  937. 458 .loc 1 418 0
  938. 459 026c 0320 movs r0, #3
  939. 460 026e 8AE0 b .L3
  940. 461 .LVL37:
  941. 462 .L80:
  942. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the LSE State */
  943. 463 .loc 1 424 0 discriminator 1
  944. 464 0270 104A ldr r2, .L87
  945. 465 0272 136F ldr r3, [r2, #112]
  946. 466 0274 43F00103 orr r3, r3, #1
  947. 467 0278 1367 str r3, [r2, #112]
  948. 468 027a CFE7 b .L36
  949. 469 .L81:
  950. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the LSE State */
  951. 470 .loc 1 424 0 is_stmt 0 discriminator 3
  952. 471 027c 0D4B ldr r3, .L87
  953. 472 027e 1A6F ldr r2, [r3, #112]
  954. 473 0280 42F00402 orr r2, r2, #4
  955. 474 0284 1A67 str r2, [r3, #112]
  956. 475 0286 1A6F ldr r2, [r3, #112]
  957. 476 0288 42F00102 orr r2, r2, #1
  958. 477 028c 1A67 str r2, [r3, #112]
  959. 478 028e C5E7 b .L36
  960. 479 .L38:
  961. 437:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  962. 438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  963. 439:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  964. 440:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  965. 441:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  966. 442:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get Start Tick */
  967. 443:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** tickstart = HAL_GetTick();
  968. 480 .loc 1 443 0 is_stmt 1
  969. 481 0290 FFF7FEFF bl HAL_GetTick
  970. 482 .LVL38:
  971. 483 0294 0646 mov r6, r0
  972. 484 .LVL39:
  973. 485 .L42:
  974. 444:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  975. 445:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Wait till LSE is ready */
  976. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET)
  977. 486 .loc 1 446 0
  978. 487 0296 074B ldr r3, .L87
  979. 488 0298 1B6F ldr r3, [r3, #112]
  980. 489 029a 13F0020F tst r3, #2
  981. 490 029e 11D0 beq .L41
  982. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  983. 448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > RCC_LSE_TIMEOUT_VALUE)
  984. 491 .loc 1 448 0
  985. 492 02a0 FFF7FEFF bl HAL_GetTick
  986. 493 .LVL40:
  987. ARM GAS /tmp/ccxtFLUq.s page 18
  988. 494 02a4 801B subs r0, r0, r6
  989. 495 02a6 41F28833 movw r3, #5000
  990. 496 02aa 9842 cmp r0, r3
  991. 497 02ac F3D9 bls .L42
  992. 449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  993. 450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_TIMEOUT;
  994. 498 .loc 1 450 0
  995. 499 02ae 0320 movs r0, #3
  996. 500 02b0 69E0 b .L3
  997. 501 .L88:
  998. 502 02b2 00BF .align 2
  999. 503 .L87:
  1000. 504 02b4 00380240 .word 1073887232
  1001. 505 02b8 00004742 .word 1111949312
  1002. 506 02bc 800E4742 .word 1111953024
  1003. 507 02c0 00700040 .word 1073770496
  1004. 508 .L41:
  1005. 451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1006. 452:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1007. 453:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1008. 454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1009. 455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Restore clock configuration if changed */
  1010. 456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(pwrclkchanged == SET)
  1011. 509 .loc 1 456 0
  1012. 510 02c4 E5B9 cbnz r5, .L82
  1013. 511 .LVL41:
  1014. 512 .L30:
  1015. 513 .LBE2:
  1016. 457:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1017. 458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_PWR_CLK_DISABLE();
  1018. 459:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1019. 460:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1020. 461:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /*-------------------------------- PLL Configuration -----------------------*/
  1021. 462:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the parameters */
  1022. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_PLL(RCC_OscInitStruct->PLL.PLLState));
  1023. 464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if ((RCC_OscInitStruct->PLL.PLLState) != RCC_PLL_NONE)
  1024. 514 .loc 1 464 0
  1025. 515 02c6 A369 ldr r3, [r4, #24]
  1026. 516 02c8 002B cmp r3, #0
  1027. 517 02ca 5BD0 beq .L64
  1028. 465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1029. 466:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check if the PLL is used as system clock or not */
  1030. 467:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(__HAL_RCC_GET_SYSCLK_SOURCE() != RCC_CFGR_SWS_PLL)
  1031. 518 .loc 1 467 0
  1032. 519 02cc 304A ldr r2, .L89
  1033. 520 02ce 9268 ldr r2, [r2, #8]
  1034. 521 02d0 02F00C02 and r2, r2, #12
  1035. 522 02d4 082A cmp r2, #8
  1036. 523 02d6 58D0 beq .L65
  1037. 468:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1038. 469:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_ON)
  1039. 524 .loc 1 469 0
  1040. 525 02d8 022B cmp r3, #2
  1041. 526 02da 17D0 beq .L83
  1042. 470:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1043. 471:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the parameters */
  1044. 472:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_PLLSOURCE(RCC_OscInitStruct->PLL.PLLSource));
  1045. ARM GAS /tmp/ccxtFLUq.s page 19
  1046. 473:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_PLLM_VALUE(RCC_OscInitStruct->PLL.PLLM));
  1047. 474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_PLLN_VALUE(RCC_OscInitStruct->PLL.PLLN));
  1048. 475:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_PLLP_VALUE(RCC_OscInitStruct->PLL.PLLP));
  1049. 476:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_PLLQ_VALUE(RCC_OscInitStruct->PLL.PLLQ));
  1050. 477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1051. 478:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Disable the main PLL. */
  1052. 479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_PLL_DISABLE();
  1053. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1054. 481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get Start Tick */
  1055. 482:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** tickstart = HAL_GetTick();
  1056. 483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1057. 484:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Wait till PLL is ready */
  1058. 485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET)
  1059. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1060. 487:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE)
  1061. 488:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1062. 489:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_TIMEOUT;
  1063. 490:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1064. 491:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1065. 492:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1066. 493:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Configure the main PLL clock source, multiplication and division factors. */
  1067. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** WRITE_REG(RCC->PLLCFGR, (RCC_OscInitStruct->PLL.PLLSource
  1068. 495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLM
  1069. 496:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (RCC_OscInitStruct->PLL.PLLN << RCC_PLLCFGR_PLLN_Pos)
  1070. 497:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (((RCC_OscInitStruct->PLL.PLLP >> 1U) - 1U) << RCC_PLLCFGR_PLLP_Po
  1071. 498:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (RCC_OscInitStruct->PLL.PLLQ << RCC_PLLCFGR_PLLQ_Pos)));
  1072. 499:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Enable the main PLL. */
  1073. 500:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_PLL_ENABLE();
  1074. 501:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1075. 502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get Start Tick */
  1076. 503:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** tickstart = HAL_GetTick();
  1077. 504:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1078. 505:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Wait till PLL is ready */
  1079. 506:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET)
  1080. 507:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1081. 508:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE)
  1082. 509:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1083. 510:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_TIMEOUT;
  1084. 511:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1085. 512:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1086. 513:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1087. 514:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  1088. 515:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1089. 516:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Disable the main PLL. */
  1090. 517:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_PLL_DISABLE();
  1091. 527 .loc 1 517 0
  1092. 528 02dc 0022 movs r2, #0
  1093. 529 02de 2D4B ldr r3, .L89+4
  1094. 530 02e0 1A60 str r2, [r3]
  1095. 518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1096. 519:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get Start Tick */
  1097. 520:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** tickstart = HAL_GetTick();
  1098. 531 .loc 1 520 0
  1099. 532 02e2 FFF7FEFF bl HAL_GetTick
  1100. 533 .LVL42:
  1101. 534 02e6 0446 mov r4, r0
  1102. 535 .LVL43:
  1103. ARM GAS /tmp/ccxtFLUq.s page 20
  1104. 536 .L49:
  1105. 521:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1106. 522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Wait till PLL is ready */
  1107. 523:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET)
  1108. 537 .loc 1 523 0
  1109. 538 02e8 294B ldr r3, .L89
  1110. 539 02ea 1B68 ldr r3, [r3]
  1111. 540 02ec 13F0007F tst r3, #33554432
  1112. 541 02f0 42D0 beq .L84
  1113. 524:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1114. 525:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE)
  1115. 542 .loc 1 525 0
  1116. 543 02f2 FFF7FEFF bl HAL_GetTick
  1117. 544 .LVL44:
  1118. 545 02f6 001B subs r0, r0, r4
  1119. 546 02f8 0228 cmp r0, #2
  1120. 547 02fa F5D9 bls .L49
  1121. 526:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1122. 527:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_TIMEOUT;
  1123. 548 .loc 1 527 0
  1124. 549 02fc 0320 movs r0, #3
  1125. 550 02fe 42E0 b .L3
  1126. 551 .LVL45:
  1127. 552 .L82:
  1128. 553 .LBB4:
  1129. 458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1130. 554 .loc 1 458 0
  1131. 555 0300 234A ldr r2, .L89
  1132. 556 0302 136C ldr r3, [r2, #64]
  1133. 557 0304 23F08053 bic r3, r3, #268435456
  1134. 558 0308 1364 str r3, [r2, #64]
  1135. 559 030a DCE7 b .L30
  1136. 560 .LVL46:
  1137. 561 .L83:
  1138. 562 .LBE4:
  1139. 479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1140. 563 .loc 1 479 0
  1141. 564 030c 0022 movs r2, #0
  1142. 565 030e 214B ldr r3, .L89+4
  1143. 566 0310 1A60 str r2, [r3]
  1144. 482:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1145. 567 .loc 1 482 0
  1146. 568 0312 FFF7FEFF bl HAL_GetTick
  1147. 569 .LVL47:
  1148. 570 0316 0546 mov r5, r0
  1149. 571 .LVL48:
  1150. 572 .L45:
  1151. 485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1152. 573 .loc 1 485 0
  1153. 574 0318 1D4B ldr r3, .L89
  1154. 575 031a 1B68 ldr r3, [r3]
  1155. 576 031c 13F0007F tst r3, #33554432
  1156. 577 0320 06D0 beq .L85
  1157. 487:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1158. 578 .loc 1 487 0
  1159. 579 0322 FFF7FEFF bl HAL_GetTick
  1160. 580 .LVL49:
  1161. ARM GAS /tmp/ccxtFLUq.s page 21
  1162. 581 0326 401B subs r0, r0, r5
  1163. 582 0328 0228 cmp r0, #2
  1164. 583 032a F5D9 bls .L45
  1165. 489:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1166. 584 .loc 1 489 0
  1167. 585 032c 0320 movs r0, #3
  1168. 586 032e 2AE0 b .L3
  1169. 587 .L85:
  1170. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLM
  1171. 588 .loc 1 494 0
  1172. 589 0330 E369 ldr r3, [r4, #28]
  1173. 590 0332 226A ldr r2, [r4, #32]
  1174. 591 0334 1343 orrs r3, r3, r2
  1175. 592 0336 626A ldr r2, [r4, #36]
  1176. 593 0338 43EA8213 orr r3, r3, r2, lsl #6
  1177. 594 033c A26A ldr r2, [r4, #40]
  1178. 595 033e 5208 lsrs r2, r2, #1
  1179. 596 0340 013A subs r2, r2, #1
  1180. 597 0342 43EA0243 orr r3, r3, r2, lsl #16
  1181. 598 0346 E26A ldr r2, [r4, #44]
  1182. 599 0348 43EA0263 orr r3, r3, r2, lsl #24
  1183. 600 034c 104A ldr r2, .L89
  1184. 601 034e 5360 str r3, [r2, #4]
  1185. 500:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1186. 602 .loc 1 500 0
  1187. 603 0350 0122 movs r2, #1
  1188. 604 0352 104B ldr r3, .L89+4
  1189. 605 0354 1A60 str r2, [r3]
  1190. 503:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1191. 606 .loc 1 503 0
  1192. 607 0356 FFF7FEFF bl HAL_GetTick
  1193. 608 .LVL50:
  1194. 609 035a 0446 mov r4, r0
  1195. 610 .LVL51:
  1196. 611 .L47:
  1197. 506:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1198. 612 .loc 1 506 0
  1199. 613 035c 0C4B ldr r3, .L89
  1200. 614 035e 1B68 ldr r3, [r3]
  1201. 615 0360 13F0007F tst r3, #33554432
  1202. 616 0364 06D1 bne .L86
  1203. 508:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1204. 617 .loc 1 508 0
  1205. 618 0366 FFF7FEFF bl HAL_GetTick
  1206. 619 .LVL52:
  1207. 620 036a 001B subs r0, r0, r4
  1208. 621 036c 0228 cmp r0, #2
  1209. 622 036e F5D9 bls .L47
  1210. 510:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1211. 623 .loc 1 510 0
  1212. 624 0370 0320 movs r0, #3
  1213. 625 0372 08E0 b .L3
  1214. 626 .L86:
  1215. 528:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1216. 529:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1217. 530:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1218. 531:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1219. ARM GAS /tmp/ccxtFLUq.s page 22
  1220. 532:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  1221. 533:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1222. 534:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_ERROR;
  1223. 535:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1224. 536:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1225. 537:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_OK;
  1226. 627 .loc 1 537 0
  1227. 628 0374 0020 movs r0, #0
  1228. 629 0376 06E0 b .L3
  1229. 630 .L84:
  1230. 631 0378 0020 movs r0, #0
  1231. 632 037a 04E0 b .L3
  1232. 633 .LVL53:
  1233. 634 .L51:
  1234. 635 .LCFI2:
  1235. 636 .cfi_def_cfa_offset 0
  1236. 637 .cfi_restore 4
  1237. 638 .cfi_restore 5
  1238. 639 .cfi_restore 6
  1239. 640 .cfi_restore 14
  1240. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1241. 641 .loc 1 228 0
  1242. 642 037c 0120 movs r0, #1
  1243. 643 .LVL54:
  1244. 644 037e 7047 bx lr
  1245. 645 .LVL55:
  1246. 646 .L76:
  1247. 647 .LCFI3:
  1248. 648 .cfi_def_cfa_offset 24
  1249. 649 .cfi_offset 4, -16
  1250. 650 .cfi_offset 5, -12
  1251. 651 .cfi_offset 6, -8
  1252. 652 .cfi_offset 14, -4
  1253. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1254. 653 .loc 1 244 0
  1255. 654 0380 0120 movs r0, #1
  1256. 655 .LVL56:
  1257. 656 0382 00E0 b .L3
  1258. 657 .L64:
  1259. 658 .loc 1 537 0
  1260. 659 0384 0020 movs r0, #0
  1261. 660 .LVL57:
  1262. 661 .L3:
  1263. 538:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1264. 662 .loc 1 538 0
  1265. 663 0386 02B0 add sp, sp, #8
  1266. 664 .LCFI4:
  1267. 665 .cfi_remember_state
  1268. 666 .cfi_def_cfa_offset 16
  1269. 667 @ sp needed
  1270. 668 0388 70BD pop {r4, r5, r6, pc}
  1271. 669 .LVL58:
  1272. 670 .L65:
  1273. 671 .LCFI5:
  1274. 672 .cfi_restore_state
  1275. 534:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1276. 673 .loc 1 534 0
  1277. ARM GAS /tmp/ccxtFLUq.s page 23
  1278. 674 038a 0120 movs r0, #1
  1279. 675 038c FBE7 b .L3
  1280. 676 .L90:
  1281. 677 038e 00BF .align 2
  1282. 678 .L89:
  1283. 679 0390 00380240 .word 1073887232
  1284. 680 0394 60004742 .word 1111949408
  1285. 681 .cfi_endproc
  1286. 682 .LFE131:
  1287. 684 .section .text.HAL_RCC_MCOConfig,"ax",%progbits
  1288. 685 .align 1
  1289. 686 .global HAL_RCC_MCOConfig
  1290. 687 .syntax unified
  1291. 688 .thumb
  1292. 689 .thumb_func
  1293. 690 .fpu fpv4-sp-d16
  1294. 692 HAL_RCC_MCOConfig:
  1295. 693 .LFB133:
  1296. 539:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1297. 540:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  1298. 541:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief Initializes the CPU, AHB and APB busses clocks according to the specified
  1299. 542:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * parameters in the RCC_ClkInitStruct.
  1300. 543:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @param RCC_ClkInitStruct pointer to an RCC_OscInitTypeDef structure that
  1301. 544:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * contains the configuration information for the RCC peripheral.
  1302. 545:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @param FLatency FLASH Latency, this parameter depend on device selected
  1303. 546:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  1304. 547:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note The SystemCoreClock CMSIS variable is used to store System Clock Frequency
  1305. 548:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * and updated by HAL_RCC_GetHCLKFreq() function called within this function
  1306. 549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  1307. 550:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note The HSI is used (enabled by hardware) as system clock source after
  1308. 551:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * startup from Reset, wake-up from STOP and STANDBY mode, or in case
  1309. 552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * of failure of the HSE used directly or indirectly as system clock
  1310. 553:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * (if the Clock Security System CSS is enabled).
  1311. 554:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  1312. 555:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note A switch from one clock source to another occurs only if the target
  1313. 556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * clock source is ready (clock stable after startup delay or PLL locked).
  1314. 557:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * If a clock source which is not yet ready is selected, the switch will
  1315. 558:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * occur when the clock source will be ready.
  1316. 559:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  1317. 560:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note Depending on the device voltage range, the software has to set correctly
  1318. 561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * HPRE[3:0] bits to ensure that HCLK not exceed the maximum allowed frequency
  1319. 562:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * (for more details refer to section above "Initialization/de-initialization functions")
  1320. 563:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @retval None
  1321. 564:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  1322. 565:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency)
  1323. 566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1324. 567:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** uint32_t tickstart;
  1325. 568:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1326. 569:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check Null pointer */
  1327. 570:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(RCC_ClkInitStruct == NULL)
  1328. 571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1329. 572:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_ERROR;
  1330. 573:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1331. 574:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1332. 575:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the parameters */
  1333. 576:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_CLOCKTYPE(RCC_ClkInitStruct->ClockType));
  1334. 577:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_FLASH_LATENCY(FLatency));
  1335. ARM GAS /tmp/ccxtFLUq.s page 24
  1336. 578:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1337. 579:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* To correctly read data from FLASH memory, the number of wait states (LATENCY)
  1338. 580:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** must be correctly programmed according to the frequency of the CPU clock
  1339. 581:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (HCLK) and the supply voltage of the device. */
  1340. 582:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1341. 583:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Increasing the number of wait states because of higher CPU frequency */
  1342. 584:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(FLatency > __HAL_FLASH_GET_LATENCY())
  1343. 585:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1344. 586:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */
  1345. 587:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_FLASH_SET_LATENCY(FLatency);
  1346. 588:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1347. 589:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check that the new number of wait states is taken into account to access the Flash
  1348. 590:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** memory by reading the FLASH_ACR register */
  1349. 591:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(__HAL_FLASH_GET_LATENCY() != FLatency)
  1350. 592:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1351. 593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_ERROR;
  1352. 594:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1353. 595:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1354. 596:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1355. 597:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /*-------------------------- HCLK Configuration --------------------------*/
  1356. 598:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK)
  1357. 599:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1358. 600:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Set the highest APBx dividers in order to ensure that we do not go through
  1359. 601:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** a non-spec phase whatever we decrease or increase HCLK. */
  1360. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1)
  1361. 603:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1362. 604:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_HCLK_DIV16);
  1363. 605:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1364. 606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1365. 607:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2)
  1366. 608:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1367. 609:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, (RCC_HCLK_DIV16 << 3));
  1368. 610:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1369. 611:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1370. 612:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_HCLK(RCC_ClkInitStruct->AHBCLKDivider));
  1371. 613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider);
  1372. 614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1373. 615:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1374. 616:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /*------------------------- SYSCLK Configuration ---------------------------*/
  1375. 617:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK)
  1376. 618:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1377. 619:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource));
  1378. 620:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1379. 621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* HSE is selected as System Clock Source */
  1380. 622:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE)
  1381. 623:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1382. 624:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the HSE ready flag */
  1383. 625:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET)
  1384. 626:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1385. 627:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_ERROR;
  1386. 628:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1387. 629:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1388. 630:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* PLL is selected as System Clock Source */
  1389. 631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else if((RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK) ||
  1390. 632:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLRCLK))
  1391. 633:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1392. 634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the PLL ready flag */
  1393. ARM GAS /tmp/ccxtFLUq.s page 25
  1394. 635:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET)
  1395. 636:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1396. 637:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_ERROR;
  1397. 638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1398. 639:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1399. 640:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* HSI is selected as System Clock Source */
  1400. 641:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  1401. 642:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1402. 643:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the HSI ready flag */
  1403. 644:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET)
  1404. 645:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1405. 646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_ERROR;
  1406. 647:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1407. 648:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1408. 649:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1409. 650:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_SYSCLK_CONFIG(RCC_ClkInitStruct->SYSCLKSource);
  1410. 651:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1411. 652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get Start Tick */
  1412. 653:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** tickstart = HAL_GetTick();
  1413. 654:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1414. 655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos))
  1415. 656:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1416. 657:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > CLOCKSWITCH_TIMEOUT_VALUE)
  1417. 658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1418. 659:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_TIMEOUT;
  1419. 660:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1420. 661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1421. 662:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1422. 663:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1423. 664:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Decreasing the number of wait states because of lower CPU frequency */
  1424. 665:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(FLatency < __HAL_FLASH_GET_LATENCY())
  1425. 666:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1426. 667:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */
  1427. 668:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_FLASH_SET_LATENCY(FLatency);
  1428. 669:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1429. 670:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check that the new number of wait states is taken into account to access the Flash
  1430. 671:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** memory by reading the FLASH_ACR register */
  1431. 672:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(__HAL_FLASH_GET_LATENCY() != FLatency)
  1432. 673:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1433. 674:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_ERROR;
  1434. 675:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1435. 676:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1436. 677:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1437. 678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /*-------------------------- PCLK1 Configuration ---------------------------*/
  1438. 679:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1)
  1439. 680:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1440. 681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB1CLKDivider));
  1441. 682:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_ClkInitStruct->APB1CLKDivider);
  1442. 683:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1443. 684:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1444. 685:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /*-------------------------- PCLK2 Configuration ---------------------------*/
  1445. 686:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2)
  1446. 687:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1447. 688:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB2CLKDivider));
  1448. 689:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, ((RCC_ClkInitStruct->APB2CLKDivider) << 3U));
  1449. 690:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1450. 691:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1451. ARM GAS /tmp/ccxtFLUq.s page 26
  1452. 692:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Update the SystemCoreClock global variable */
  1453. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** SystemCoreClock = HAL_RCC_GetSysClockFreq() >> AHBPrescTable[(RCC->CFGR & RCC_CFGR_HPRE)>> RCC_CF
  1454. 694:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1455. 695:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Configure the source of time base considering new system clocks settings */
  1456. 696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** HAL_InitTick (TICK_INT_PRIORITY);
  1457. 697:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1458. 698:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return HAL_OK;
  1459. 699:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1460. 700:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1461. 701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  1462. 702:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @}
  1463. 703:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  1464. 704:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1465. 705:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /** @defgroup RCC_Exported_Functions_Group2 Peripheral Control functions
  1466. 706:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief RCC clocks control functions
  1467. 707:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  1468. 708:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** @verbatim
  1469. 709:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ===============================================================================
  1470. 710:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ##### Peripheral Control functions #####
  1471. 711:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** ===============================================================================
  1472. 712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** [..]
  1473. 713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** This subsection provides a set of functions allowing to control the RCC Clocks
  1474. 714:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** frequencies.
  1475. 715:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1476. 716:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** @endverbatim
  1477. 717:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @{
  1478. 718:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  1479. 719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1480. 720:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  1481. 721:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief Selects the clock source to output on MCO1 pin(PA8) or on MCO2 pin(PC9).
  1482. 722:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note PA8/PC9 should be configured in alternate function mode.
  1483. 723:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @param RCC_MCOx specifies the output direction for the clock source.
  1484. 724:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * This parameter can be one of the following values:
  1485. 725:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCO1: Clock source to output on MCO1 pin(PA8).
  1486. 726:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCO2: Clock source to output on MCO2 pin(PC9).
  1487. 727:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @param RCC_MCOSource specifies the clock source to output.
  1488. 728:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * This parameter can be one of the following values:
  1489. 729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCO1SOURCE_HSI: HSI clock selected as MCO1 source
  1490. 730:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCO1SOURCE_LSE: LSE clock selected as MCO1 source
  1491. 731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCO1SOURCE_HSE: HSE clock selected as MCO1 source
  1492. 732:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCO1SOURCE_PLLCLK: main PLL clock selected as MCO1 source
  1493. 733:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCO2SOURCE_SYSCLK: System clock (SYSCLK) selected as MCO2 source
  1494. 734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCO2SOURCE_PLLI2SCLK: PLLI2S clock selected as MCO2 source, available for a
  1495. 735:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCO2SOURCE_I2SCLK: I2SCLK clock selected as MCO2 source, available only for
  1496. 736:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCO2SOURCE_HSE: HSE clock selected as MCO2 source
  1497. 737:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCO2SOURCE_PLLCLK: main PLL clock selected as MCO2 source
  1498. 738:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @param RCC_MCODiv specifies the MCOx prescaler.
  1499. 739:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * This parameter can be one of the following values:
  1500. 740:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCODIV_1: no division applied to MCOx clock
  1501. 741:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCODIV_2: division by 2 applied to MCOx clock
  1502. 742:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCODIV_3: division by 3 applied to MCOx clock
  1503. 743:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCODIV_4: division by 4 applied to MCOx clock
  1504. 744:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @arg RCC_MCODIV_5: division by 5 applied to MCOx clock
  1505. 745:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note For STM32F410Rx devices to output I2SCLK clock on MCO2 you should have
  1506. 746:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * at last one of the SPI clocks enabled (SPI1, SPI2 or SPI5).
  1507. 747:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @retval None
  1508. 748:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  1509. ARM GAS /tmp/ccxtFLUq.s page 27
  1510. 749:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** void HAL_RCC_MCOConfig(uint32_t RCC_MCOx, uint32_t RCC_MCOSource, uint32_t RCC_MCODiv)
  1511. 750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1512. 694 .loc 1 750 0
  1513. 695 .cfi_startproc
  1514. 696 @ args = 0, pretend = 0, frame = 32
  1515. 697 @ frame_needed = 0, uses_anonymous_args = 0
  1516. 698 .LVL59:
  1517. 699 0000 70B5 push {r4, r5, r6, lr}
  1518. 700 .LCFI6:
  1519. 701 .cfi_def_cfa_offset 16
  1520. 702 .cfi_offset 4, -16
  1521. 703 .cfi_offset 5, -12
  1522. 704 .cfi_offset 6, -8
  1523. 705 .cfi_offset 14, -4
  1524. 706 0002 88B0 sub sp, sp, #32
  1525. 707 .LCFI7:
  1526. 708 .cfi_def_cfa_offset 48
  1527. 709 0004 0C46 mov r4, r1
  1528. 710 0006 1646 mov r6, r2
  1529. 751:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitTypeDef GPIO_InitStruct;
  1530. 752:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check the parameters */
  1531. 753:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_MCO(RCC_MCOx));
  1532. 754:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_MCODIV(RCC_MCODiv));
  1533. 755:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* RCC_MCO1 */
  1534. 756:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(RCC_MCOx == RCC_MCO1)
  1535. 711 .loc 1 756 0
  1536. 712 0008 08B3 cbz r0, .L95
  1537. 713 .LBB5:
  1538. 757:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1539. 758:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_MCO1SOURCE(RCC_MCOSource));
  1540. 759:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1541. 760:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* MCO1 Clock Enable */
  1542. 761:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __MCO1_CLK_ENABLE();
  1543. 762:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1544. 763:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Configure the MCO1 pin in alternate function mode */
  1545. 764:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitStruct.Pin = MCO1_PIN;
  1546. 765:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
  1547. 766:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
  1548. 767:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  1549. 768:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitStruct.Alternate = GPIO_AF0_MCO;
  1550. 769:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** HAL_GPIO_Init(MCO1_GPIO_PORT, &GPIO_InitStruct);
  1551. 770:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1552. 771:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Mask MCO1 and MCO1PRE[2:0] bits then Select MCO1 clock source and prescaler */
  1553. 772:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, (RCC_CFGR_MCO1 | RCC_CFGR_MCO1PRE), (RCC_MCOSource | RCC_MCODiv));
  1554. 773:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1555. 774:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* This RCC MCO1 enable feature is available only on STM32F410xx devices */
  1556. 775:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** #if defined(RCC_CFGR_MCO1EN)
  1557. 776:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_MCO1_ENABLE();
  1558. 777:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** #endif /* RCC_CFGR_MCO1EN */
  1559. 778:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1560. 779:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** #if defined(RCC_CFGR_MCO2)
  1561. 780:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  1562. 781:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1563. 782:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** assert_param(IS_RCC_MCO2SOURCE(RCC_MCOSource));
  1564. 783:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1565. 784:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* MCO2 Clock Enable */
  1566. 785:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __MCO2_CLK_ENABLE();
  1567. ARM GAS /tmp/ccxtFLUq.s page 28
  1568. 714 .loc 1 785 0
  1569. 715 000a 0023 movs r3, #0
  1570. 716 000c 0293 str r3, [sp, #8]
  1571. 717 000e 204D ldr r5, .L96
  1572. 718 0010 2A6B ldr r2, [r5, #48]
  1573. 719 .LVL60:
  1574. 720 0012 42F00402 orr r2, r2, #4
  1575. 721 0016 2A63 str r2, [r5, #48]
  1576. 722 0018 2A6B ldr r2, [r5, #48]
  1577. 723 001a 02F00402 and r2, r2, #4
  1578. 724 001e 0292 str r2, [sp, #8]
  1579. 725 0020 029A ldr r2, [sp, #8]
  1580. 726 .LBE5:
  1581. 786:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1582. 787:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Configure the MCO2 pin in alternate function mode */
  1583. 788:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitStruct.Pin = MCO2_PIN;
  1584. 727 .loc 1 788 0
  1585. 728 0022 4FF40072 mov r2, #512
  1586. 729 0026 0392 str r2, [sp, #12]
  1587. 789:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
  1588. 730 .loc 1 789 0
  1589. 731 0028 0222 movs r2, #2
  1590. 732 002a 0492 str r2, [sp, #16]
  1591. 790:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
  1592. 733 .loc 1 790 0
  1593. 734 002c 0322 movs r2, #3
  1594. 735 002e 0692 str r2, [sp, #24]
  1595. 791:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  1596. 736 .loc 1 791 0
  1597. 737 0030 0593 str r3, [sp, #20]
  1598. 792:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitStruct.Alternate = GPIO_AF0_MCO;
  1599. 738 .loc 1 792 0
  1600. 739 0032 0793 str r3, [sp, #28]
  1601. 793:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** HAL_GPIO_Init(MCO2_GPIO_PORT, &GPIO_InitStruct);
  1602. 740 .loc 1 793 0
  1603. 741 0034 03A9 add r1, sp, #12
  1604. 742 .LVL61:
  1605. 743 0036 1748 ldr r0, .L96+4
  1606. 744 .LVL62:
  1607. 745 0038 FFF7FEFF bl HAL_GPIO_Init
  1608. 746 .LVL63:
  1609. 794:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1610. 795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Mask MCO2 and MCO2PRE[2:0] bits then Select MCO2 clock source and prescaler */
  1611. 796:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, (RCC_CFGR_MCO2 | RCC_CFGR_MCO2PRE), (RCC_MCOSource | (RCC_MCODiv << 3U)))
  1612. 747 .loc 1 796 0
  1613. 748 003c AB68 ldr r3, [r5, #8]
  1614. 749 003e 23F07843 bic r3, r3, #-134217728
  1615. 750 0042 44EAC604 orr r4, r4, r6, lsl #3
  1616. 751 .LVL64:
  1617. 752 0046 1C43 orrs r4, r4, r3
  1618. 753 0048 AC60 str r4, [r5, #8]
  1619. 754 .L91:
  1620. 797:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1621. 798:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* This RCC MCO2 enable feature is available only on STM32F410Rx devices */
  1622. 799:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** #if defined(RCC_CFGR_MCO2EN)
  1623. 800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_MCO2_ENABLE();
  1624. 801:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** #endif /* RCC_CFGR_MCO2EN */
  1625. ARM GAS /tmp/ccxtFLUq.s page 29
  1626. 802:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1627. 803:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** #endif /* RCC_CFGR_MCO2 */
  1628. 804:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1629. 755 .loc 1 804 0
  1630. 756 004a 08B0 add sp, sp, #32
  1631. 757 .LCFI8:
  1632. 758 .cfi_remember_state
  1633. 759 .cfi_def_cfa_offset 16
  1634. 760 @ sp needed
  1635. 761 004c 70BD pop {r4, r5, r6, pc}
  1636. 762 .LVL65:
  1637. 763 .L95:
  1638. 764 .LCFI9:
  1639. 765 .cfi_restore_state
  1640. 766 .LBB6:
  1641. 761:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1642. 767 .loc 1 761 0
  1643. 768 004e 0023 movs r3, #0
  1644. 769 0050 0193 str r3, [sp, #4]
  1645. 770 0052 0F4D ldr r5, .L96
  1646. 771 0054 2A6B ldr r2, [r5, #48]
  1647. 772 .LVL66:
  1648. 773 0056 42F00102 orr r2, r2, #1
  1649. 774 005a 2A63 str r2, [r5, #48]
  1650. 775 005c 2A6B ldr r2, [r5, #48]
  1651. 776 005e 02F00102 and r2, r2, #1
  1652. 777 0062 0192 str r2, [sp, #4]
  1653. 778 0064 019A ldr r2, [sp, #4]
  1654. 779 .LBE6:
  1655. 764:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
  1656. 780 .loc 1 764 0
  1657. 781 0066 4FF48072 mov r2, #256
  1658. 782 006a 0392 str r2, [sp, #12]
  1659. 765:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
  1660. 783 .loc 1 765 0
  1661. 784 006c 0222 movs r2, #2
  1662. 785 006e 0492 str r2, [sp, #16]
  1663. 766:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
  1664. 786 .loc 1 766 0
  1665. 787 0070 0322 movs r2, #3
  1666. 788 0072 0692 str r2, [sp, #24]
  1667. 767:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** GPIO_InitStruct.Alternate = GPIO_AF0_MCO;
  1668. 789 .loc 1 767 0
  1669. 790 0074 0593 str r3, [sp, #20]
  1670. 768:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** HAL_GPIO_Init(MCO1_GPIO_PORT, &GPIO_InitStruct);
  1671. 791 .loc 1 768 0
  1672. 792 0076 0793 str r3, [sp, #28]
  1673. 769:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1674. 793 .loc 1 769 0
  1675. 794 0078 03A9 add r1, sp, #12
  1676. 795 .LVL67:
  1677. 796 007a 0748 ldr r0, .L96+8
  1678. 797 .LVL68:
  1679. 798 007c FFF7FEFF bl HAL_GPIO_Init
  1680. 799 .LVL69:
  1681. 772:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1682. 800 .loc 1 772 0
  1683. ARM GAS /tmp/ccxtFLUq.s page 30
  1684. 801 0080 AB68 ldr r3, [r5, #8]
  1685. 802 0082 23F0EC63 bic r3, r3, #123731968
  1686. 803 0086 3443 orrs r4, r4, r6
  1687. 804 .LVL70:
  1688. 805 0088 1C43 orrs r4, r4, r3
  1689. 806 008a AC60 str r4, [r5, #8]
  1690. 807 008c DDE7 b .L91
  1691. 808 .L97:
  1692. 809 008e 00BF .align 2
  1693. 810 .L96:
  1694. 811 0090 00380240 .word 1073887232
  1695. 812 0094 00080240 .word 1073874944
  1696. 813 0098 00000240 .word 1073872896
  1697. 814 .cfi_endproc
  1698. 815 .LFE133:
  1699. 817 .section .text.HAL_RCC_EnableCSS,"ax",%progbits
  1700. 818 .align 1
  1701. 819 .global HAL_RCC_EnableCSS
  1702. 820 .syntax unified
  1703. 821 .thumb
  1704. 822 .thumb_func
  1705. 823 .fpu fpv4-sp-d16
  1706. 825 HAL_RCC_EnableCSS:
  1707. 826 .LFB134:
  1708. 805:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1709. 806:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  1710. 807:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief Enables the Clock Security System.
  1711. 808:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note If a failure is detected on the HSE oscillator clock, this oscillator
  1712. 809:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * is automatically disabled and an interrupt is generated to inform the
  1713. 810:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * software about the failure (Clock Security System Interrupt, CSSI),
  1714. 811:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * allowing the MCU to perform rescue operations. The CSSI is linked to
  1715. 812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * the Cortex-M4 NMI (Non-Maskable Interrupt) exception vector.
  1716. 813:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @retval None
  1717. 814:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  1718. 815:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** void HAL_RCC_EnableCSS(void)
  1719. 816:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1720. 827 .loc 1 816 0
  1721. 828 .cfi_startproc
  1722. 829 @ args = 0, pretend = 0, frame = 0
  1723. 830 @ frame_needed = 0, uses_anonymous_args = 0
  1724. 831 @ link register save eliminated.
  1725. 817:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *(__IO uint32_t *) RCC_CR_CSSON_BB = (uint32_t)ENABLE;
  1726. 832 .loc 1 817 0
  1727. 833 0000 0122 movs r2, #1
  1728. 834 0002 014B ldr r3, .L99
  1729. 835 0004 1A60 str r2, [r3]
  1730. 836 0006 7047 bx lr
  1731. 837 .L100:
  1732. 838 .align 2
  1733. 839 .L99:
  1734. 840 0008 4C004742 .word 1111949388
  1735. 841 .cfi_endproc
  1736. 842 .LFE134:
  1737. 844 .section .text.HAL_RCC_DisableCSS,"ax",%progbits
  1738. 845 .align 1
  1739. 846 .global HAL_RCC_DisableCSS
  1740. 847 .syntax unified
  1741. ARM GAS /tmp/ccxtFLUq.s page 31
  1742. 848 .thumb
  1743. 849 .thumb_func
  1744. 850 .fpu fpv4-sp-d16
  1745. 852 HAL_RCC_DisableCSS:
  1746. 853 .LFB135:
  1747. 818:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1748. 819:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1749. 820:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  1750. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief Disables the Clock Security System.
  1751. 822:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @retval None
  1752. 823:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  1753. 824:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** void HAL_RCC_DisableCSS(void)
  1754. 825:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1755. 854 .loc 1 825 0
  1756. 855 .cfi_startproc
  1757. 856 @ args = 0, pretend = 0, frame = 0
  1758. 857 @ frame_needed = 0, uses_anonymous_args = 0
  1759. 858 @ link register save eliminated.
  1760. 826:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *(__IO uint32_t *) RCC_CR_CSSON_BB = (uint32_t)DISABLE;
  1761. 859 .loc 1 826 0
  1762. 860 0000 0022 movs r2, #0
  1763. 861 0002 014B ldr r3, .L102
  1764. 862 0004 1A60 str r2, [r3]
  1765. 863 0006 7047 bx lr
  1766. 864 .L103:
  1767. 865 .align 2
  1768. 866 .L102:
  1769. 867 0008 4C004742 .word 1111949388
  1770. 868 .cfi_endproc
  1771. 869 .LFE135:
  1772. 871 .global __aeabi_uldivmod
  1773. 872 .section .text.HAL_RCC_GetSysClockFreq,"ax",%progbits
  1774. 873 .align 1
  1775. 874 .weak HAL_RCC_GetSysClockFreq
  1776. 875 .syntax unified
  1777. 876 .thumb
  1778. 877 .thumb_func
  1779. 878 .fpu fpv4-sp-d16
  1780. 880 HAL_RCC_GetSysClockFreq:
  1781. 881 .LFB136:
  1782. 827:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1783. 828:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1784. 829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  1785. 830:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief Returns the SYSCLK frequency
  1786. 831:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  1787. 832:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note The system frequency computed by this function is not the real
  1788. 833:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * frequency in the chip. It is calculated based on the predefined
  1789. 834:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * constant and the selected clock source:
  1790. 835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note If SYSCLK source is HSI, function returns values based on HSI_VALUE(*)
  1791. 836:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note If SYSCLK source is HSE, function returns values based on HSE_VALUE(**)
  1792. 837:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note If SYSCLK source is PLL, function returns values based on HSE_VALUE(**)
  1793. 838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * or HSI_VALUE(*) multiplied/divided by the PLL factors.
  1794. 839:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note (*) HSI_VALUE is a constant defined in stm32f4xx_hal_conf.h file (default value
  1795. 840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * 16 MHz) but the real value may vary depending on the variations
  1796. 841:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * in voltage and temperature.
  1797. 842:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note (**) HSE_VALUE is a constant defined in stm32f4xx_hal_conf.h file (default value
  1798. 843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * 25 MHz), user has to ensure that HSE_VALUE is same as the real
  1799. ARM GAS /tmp/ccxtFLUq.s page 32
  1800. 844:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * frequency of the crystal used. Otherwise, this function may
  1801. 845:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * have wrong result.
  1802. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  1803. 847:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note The result of this function could be not correct when using fractional
  1804. 848:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * value for HSE crystal.
  1805. 849:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  1806. 850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note This function can be used by the user application to compute the
  1807. 851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * baudrate for the communication peripherals or configure other parameters.
  1808. 852:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  1809. 853:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note Each time SYSCLK changes, this function must be called to update the
  1810. 854:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * right SYSCLK value. Otherwise, any configuration based on this function will be incorre
  1811. 855:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  1812. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  1813. 857:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @retval SYSCLK frequency
  1814. 858:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  1815. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __weak uint32_t HAL_RCC_GetSysClockFreq(void)
  1816. 860:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1817. 882 .loc 1 860 0
  1818. 883 .cfi_startproc
  1819. 884 @ args = 0, pretend = 0, frame = 0
  1820. 885 @ frame_needed = 0, uses_anonymous_args = 0
  1821. 886 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
  1822. 887 .LCFI10:
  1823. 888 .cfi_def_cfa_offset 24
  1824. 889 .cfi_offset 3, -24
  1825. 890 .cfi_offset 4, -20
  1826. 891 .cfi_offset 5, -16
  1827. 892 .cfi_offset 6, -12
  1828. 893 .cfi_offset 7, -8
  1829. 894 .cfi_offset 14, -4
  1830. 895 .LVL71:
  1831. 861:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** uint32_t pllm = 0U, pllvco = 0U, pllp = 0U;
  1832. 862:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** uint32_t sysclockfreq = 0U;
  1833. 863:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1834. 864:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get SYSCLK source -------------------------------------------------------*/
  1835. 865:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** switch (RCC->CFGR & RCC_CFGR_SWS)
  1836. 896 .loc 1 865 0
  1837. 897 0002 254B ldr r3, .L112
  1838. 898 0004 9B68 ldr r3, [r3, #8]
  1839. 899 0006 03F00C03 and r3, r3, #12
  1840. 900 000a 042B cmp r3, #4
  1841. 901 000c 41D0 beq .L110
  1842. 902 000e 082B cmp r3, #8
  1843. 903 0010 01D0 beq .L107
  1844. 866:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1845. 867:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** case RCC_CFGR_SWS_HSI: /* HSI used as system clock source */
  1846. 868:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1847. 869:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** sysclockfreq = HSI_VALUE;
  1848. 904 .loc 1 869 0
  1849. 905 0012 2248 ldr r0, .L112+4
  1850. 906 0014 F8BD pop {r3, r4, r5, r6, r7, pc}
  1851. 907 .L107:
  1852. 870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** break;
  1853. 871:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1854. 872:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** case RCC_CFGR_SWS_HSE: /* HSE used as system clock source */
  1855. 873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1856. 874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** sysclockfreq = HSE_VALUE;
  1857. ARM GAS /tmp/ccxtFLUq.s page 33
  1858. 875:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** break;
  1859. 876:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1860. 877:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** case RCC_CFGR_SWS_PLL: /* PLL used as system clock source */
  1861. 878:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1862. 879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLLM) * PLLN
  1863. 880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** SYSCLK = PLL_VCO / PLLP */
  1864. 881:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** pllm = RCC->PLLCFGR & RCC_PLLCFGR_PLLM;
  1865. 908 .loc 1 881 0
  1866. 909 0016 204B ldr r3, .L112
  1867. 910 0018 5A68 ldr r2, [r3, #4]
  1868. 911 001a 02F03F02 and r2, r2, #63
  1869. 912 .LVL72:
  1870. 882:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(__HAL_RCC_GET_PLL_OSCSOURCE() != RCC_PLLSOURCE_HSI)
  1871. 913 .loc 1 882 0
  1872. 914 001e 5B68 ldr r3, [r3, #4]
  1873. 915 0020 13F4800F tst r3, #4194304
  1874. 916 0024 12D0 beq .L108
  1875. 883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1876. 884:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* HSE used as PLL clock source */
  1877. 885:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** pllvco = (uint32_t) ((((uint64_t) HSE_VALUE * ((uint64_t) ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN
  1878. 917 .loc 1 885 0
  1879. 918 0026 1C4B ldr r3, .L112
  1880. 919 0028 5968 ldr r1, [r3, #4]
  1881. 920 002a C1F38811 ubfx r1, r1, #6, #9
  1882. 921 002e 0023 movs r3, #0
  1883. 922 0030 1B48 ldr r0, .L112+8
  1884. 923 0032 A1FB0001 umull r0, r1, r1, r0
  1885. 924 0036 FFF7FEFF bl __aeabi_uldivmod
  1886. 925 .LVL73:
  1887. 926 .L109:
  1888. 886:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1889. 887:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  1890. 888:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1891. 889:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* HSI used as PLL clock source */
  1892. 890:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** pllvco = (uint32_t) ((((uint64_t) HSI_VALUE * ((uint64_t) ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN
  1893. 891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1894. 892:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** pllp = ((((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) + 1U) *2U);
  1895. 927 .loc 1 892 0
  1896. 928 003a 174B ldr r3, .L112
  1897. 929 003c 5B68 ldr r3, [r3, #4]
  1898. 930 003e C3F30143 ubfx r3, r3, #16, #2
  1899. 931 0042 0133 adds r3, r3, #1
  1900. 932 0044 5B00 lsls r3, r3, #1
  1901. 933 .LVL74:
  1902. 893:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  1903. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** sysclockfreq = pllvco/pllp;
  1904. 934 .loc 1 894 0
  1905. 935 0046 B0FBF3F0 udiv r0, r0, r3
  1906. 936 .LVL75:
  1907. 895:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** break;
  1908. 937 .loc 1 895 0
  1909. 938 004a F8BD pop {r3, r4, r5, r6, r7, pc}
  1910. 939 .LVL76:
  1911. 940 .L108:
  1912. 890:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1913. 941 .loc 1 890 0
  1914. 942 004c 124B ldr r3, .L112
  1915. ARM GAS /tmp/ccxtFLUq.s page 34
  1916. 943 004e 5B68 ldr r3, [r3, #4]
  1917. 944 0050 C3F38813 ubfx r3, r3, #6, #9
  1918. 945 0054 1E46 mov r6, r3
  1919. 946 0056 0027 movs r7, #0
  1920. 947 0058 5C01 lsls r4, r3, #5
  1921. 948 005a 0025 movs r5, #0
  1922. 949 005c E41A subs r4, r4, r3
  1923. 950 005e 65EB0705 sbc r5, r5, r7
  1924. 951 0062 A901 lsls r1, r5, #6
  1925. 952 0064 41EA9461 orr r1, r1, r4, lsr #26
  1926. 953 0068 A001 lsls r0, r4, #6
  1927. 954 006a 001B subs r0, r0, r4
  1928. 955 006c 61EB0501 sbc r1, r1, r5
  1929. 956 0070 CB00 lsls r3, r1, #3
  1930. 957 0072 43EA5073 orr r3, r3, r0, lsr #29
  1931. 958 0076 C400 lsls r4, r0, #3
  1932. 959 0078 A019 adds r0, r4, r6
  1933. 960 007a 43EB0701 adc r1, r3, r7
  1934. 961 007e 8B02 lsls r3, r1, #10
  1935. 962 0080 43EA9053 orr r3, r3, r0, lsr #22
  1936. 963 0084 8402 lsls r4, r0, #10
  1937. 964 0086 2046 mov r0, r4
  1938. 965 0088 1946 mov r1, r3
  1939. 966 008a 0023 movs r3, #0
  1940. 967 008c FFF7FEFF bl __aeabi_uldivmod
  1941. 968 .LVL77:
  1942. 969 0090 D3E7 b .L109
  1943. 970 .LVL78:
  1944. 971 .L110:
  1945. 874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** break;
  1946. 972 .loc 1 874 0
  1947. 973 0092 0348 ldr r0, .L112+8
  1948. 974 .LVL79:
  1949. 896:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1950. 897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** default:
  1951. 898:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1952. 899:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** sysclockfreq = HSI_VALUE;
  1953. 900:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** break;
  1954. 901:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1955. 902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1956. 903:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return sysclockfreq;
  1957. 904:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  1958. 975 .loc 1 904 0
  1959. 976 0094 F8BD pop {r3, r4, r5, r6, r7, pc}
  1960. 977 .L113:
  1961. 978 0096 00BF .align 2
  1962. 979 .L112:
  1963. 980 0098 00380240 .word 1073887232
  1964. 981 009c 0024F400 .word 16000000
  1965. 982 00a0 40787D01 .word 25000000
  1966. 983 .cfi_endproc
  1967. 984 .LFE136:
  1968. 986 .section .text.HAL_RCC_ClockConfig,"ax",%progbits
  1969. 987 .align 1
  1970. 988 .global HAL_RCC_ClockConfig
  1971. 989 .syntax unified
  1972. 990 .thumb
  1973. ARM GAS /tmp/ccxtFLUq.s page 35
  1974. 991 .thumb_func
  1975. 992 .fpu fpv4-sp-d16
  1976. 994 HAL_RCC_ClockConfig:
  1977. 995 .LFB132:
  1978. 566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** uint32_t tickstart;
  1979. 996 .loc 1 566 0
  1980. 997 .cfi_startproc
  1981. 998 @ args = 0, pretend = 0, frame = 0
  1982. 999 @ frame_needed = 0, uses_anonymous_args = 0
  1983. 1000 .LVL80:
  1984. 570:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1985. 1001 .loc 1 570 0
  1986. 1002 0000 0028 cmp r0, #0
  1987. 1003 0002 00F09D80 beq .L129
  1988. 566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** uint32_t tickstart;
  1989. 1004 .loc 1 566 0
  1990. 1005 0006 70B5 push {r4, r5, r6, lr}
  1991. 1006 .LCFI11:
  1992. 1007 .cfi_def_cfa_offset 16
  1993. 1008 .cfi_offset 4, -16
  1994. 1009 .cfi_offset 5, -12
  1995. 1010 .cfi_offset 6, -8
  1996. 1011 .cfi_offset 14, -4
  1997. 1012 0008 0446 mov r4, r0
  1998. 584:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  1999. 1013 .loc 1 584 0
  2000. 1014 000a 4F4B ldr r3, .L142
  2001. 1015 000c 1B68 ldr r3, [r3]
  2002. 1016 000e 03F00F03 and r3, r3, #15
  2003. 1017 0012 8B42 cmp r3, r1
  2004. 1018 0014 09D2 bcs .L116
  2005. 587:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2006. 1019 .loc 1 587 0
  2007. 1020 0016 CBB2 uxtb r3, r1
  2008. 1021 0018 4B4A ldr r2, .L142
  2009. 1022 001a 1370 strb r3, [r2]
  2010. 591:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2011. 1023 .loc 1 591 0
  2012. 1024 001c 1368 ldr r3, [r2]
  2013. 1025 001e 03F00F03 and r3, r3, #15
  2014. 1026 0022 9942 cmp r1, r3
  2015. 1027 0024 01D0 beq .L116
  2016. 593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2017. 1028 .loc 1 593 0
  2018. 1029 0026 0120 movs r0, #1
  2019. 1030 .LVL81:
  2020. 1031 0028 70BD pop {r4, r5, r6, pc}
  2021. 1032 .LVL82:
  2022. 1033 .L116:
  2023. 598:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2024. 1034 .loc 1 598 0
  2025. 1035 002a 2368 ldr r3, [r4]
  2026. 1036 002c 13F0020F tst r3, #2
  2027. 1037 0030 17D0 beq .L117
  2028. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2029. 1038 .loc 1 602 0
  2030. 1039 0032 13F0040F tst r3, #4
  2031. ARM GAS /tmp/ccxtFLUq.s page 36
  2032. 1040 0036 04D0 beq .L118
  2033. 604:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2034. 1041 .loc 1 604 0
  2035. 1042 0038 444A ldr r2, .L142+4
  2036. 1043 003a 9368 ldr r3, [r2, #8]
  2037. 1044 003c 43F4E053 orr r3, r3, #7168
  2038. 1045 0040 9360 str r3, [r2, #8]
  2039. 1046 .L118:
  2040. 607:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2041. 1047 .loc 1 607 0
  2042. 1048 0042 2368 ldr r3, [r4]
  2043. 1049 0044 13F0080F tst r3, #8
  2044. 1050 0048 04D0 beq .L119
  2045. 609:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2046. 1051 .loc 1 609 0
  2047. 1052 004a 404A ldr r2, .L142+4
  2048. 1053 004c 9368 ldr r3, [r2, #8]
  2049. 1054 004e 43F46043 orr r3, r3, #57344
  2050. 1055 0052 9360 str r3, [r2, #8]
  2051. 1056 .L119:
  2052. 613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2053. 1057 .loc 1 613 0
  2054. 1058 0054 3D4A ldr r2, .L142+4
  2055. 1059 0056 9368 ldr r3, [r2, #8]
  2056. 1060 0058 23F0F003 bic r3, r3, #240
  2057. 1061 005c A068 ldr r0, [r4, #8]
  2058. 1062 .LVL83:
  2059. 1063 005e 0343 orrs r3, r3, r0
  2060. 1064 0060 9360 str r3, [r2, #8]
  2061. 1065 .L117:
  2062. 1066 0062 0D46 mov r5, r1
  2063. 617:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2064. 1067 .loc 1 617 0
  2065. 1068 0064 2368 ldr r3, [r4]
  2066. 1069 0066 13F0010F tst r3, #1
  2067. 1070 006a 32D0 beq .L120
  2068. 622:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2069. 1071 .loc 1 622 0
  2070. 1072 006c 6368 ldr r3, [r4, #4]
  2071. 1073 006e 012B cmp r3, #1
  2072. 1074 0070 21D0 beq .L140
  2073. 631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** (RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLRCLK))
  2074. 1075 .loc 1 631 0
  2075. 1076 0072 9A1E subs r2, r3, #2
  2076. 1077 0074 012A cmp r2, #1
  2077. 1078 0076 25D9 bls .L141
  2078. 644:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2079. 1079 .loc 1 644 0
  2080. 1080 0078 344A ldr r2, .L142+4
  2081. 1081 007a 1268 ldr r2, [r2]
  2082. 1082 007c 12F0020F tst r2, #2
  2083. 1083 0080 60D0 beq .L133
  2084. 1084 .L122:
  2085. 650:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2086. 1085 .loc 1 650 0
  2087. 1086 0082 3249 ldr r1, .L142+4
  2088. 1087 .LVL84:
  2089. ARM GAS /tmp/ccxtFLUq.s page 37
  2090. 1088 0084 8A68 ldr r2, [r1, #8]
  2091. 1089 0086 22F00302 bic r2, r2, #3
  2092. 1090 008a 1343 orrs r3, r3, r2
  2093. 1091 008c 8B60 str r3, [r1, #8]
  2094. 653:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2095. 1092 .loc 1 653 0
  2096. 1093 008e FFF7FEFF bl HAL_GetTick
  2097. 1094 .LVL85:
  2098. 1095 0092 0646 mov r6, r0
  2099. 1096 .LVL86:
  2100. 1097 .L124:
  2101. 655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2102. 1098 .loc 1 655 0
  2103. 1099 0094 2D4B ldr r3, .L142+4
  2104. 1100 0096 9B68 ldr r3, [r3, #8]
  2105. 1101 0098 03F00C03 and r3, r3, #12
  2106. 1102 009c 6268 ldr r2, [r4, #4]
  2107. 1103 009e B3EB820F cmp r3, r2, lsl #2
  2108. 1104 00a2 16D0 beq .L120
  2109. 657:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2110. 1105 .loc 1 657 0
  2111. 1106 00a4 FFF7FEFF bl HAL_GetTick
  2112. 1107 .LVL87:
  2113. 1108 00a8 801B subs r0, r0, r6
  2114. 1109 00aa 41F28833 movw r3, #5000
  2115. 1110 00ae 9842 cmp r0, r3
  2116. 1111 00b0 F0D9 bls .L124
  2117. 659:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2118. 1112 .loc 1 659 0
  2119. 1113 00b2 0320 movs r0, #3
  2120. 1114 00b4 70BD pop {r4, r5, r6, pc}
  2121. 1115 .LVL88:
  2122. 1116 .L140:
  2123. 625:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2124. 1117 .loc 1 625 0
  2125. 1118 00b6 254A ldr r2, .L142+4
  2126. 1119 00b8 1268 ldr r2, [r2]
  2127. 1120 00ba 12F4003F tst r2, #131072
  2128. 1121 00be E0D1 bne .L122
  2129. 627:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2130. 1122 .loc 1 627 0
  2131. 1123 00c0 0120 movs r0, #1
  2132. 1124 00c2 70BD pop {r4, r5, r6, pc}
  2133. 1125 .LVL89:
  2134. 1126 .L141:
  2135. 635:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2136. 1127 .loc 1 635 0
  2137. 1128 00c4 214A ldr r2, .L142+4
  2138. 1129 00c6 1268 ldr r2, [r2]
  2139. 1130 00c8 12F0007F tst r2, #33554432
  2140. 1131 00cc D9D1 bne .L122
  2141. 637:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2142. 1132 .loc 1 637 0
  2143. 1133 00ce 0120 movs r0, #1
  2144. 1134 00d0 70BD pop {r4, r5, r6, pc}
  2145. 1135 .LVL90:
  2146. 1136 .L120:
  2147. ARM GAS /tmp/ccxtFLUq.s page 38
  2148. 665:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2149. 1137 .loc 1 665 0
  2150. 1138 00d2 1D4B ldr r3, .L142
  2151. 1139 00d4 1B68 ldr r3, [r3]
  2152. 1140 00d6 03F00F03 and r3, r3, #15
  2153. 1141 00da 9D42 cmp r5, r3
  2154. 1142 00dc 09D2 bcs .L126
  2155. 668:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2156. 1143 .loc 1 668 0
  2157. 1144 00de EAB2 uxtb r2, r5
  2158. 1145 00e0 194B ldr r3, .L142
  2159. 1146 00e2 1A70 strb r2, [r3]
  2160. 672:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2161. 1147 .loc 1 672 0
  2162. 1148 00e4 1B68 ldr r3, [r3]
  2163. 1149 00e6 03F00F03 and r3, r3, #15
  2164. 1150 00ea 9D42 cmp r5, r3
  2165. 1151 00ec 01D0 beq .L126
  2166. 674:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2167. 1152 .loc 1 674 0
  2168. 1153 00ee 0120 movs r0, #1
  2169. 699:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2170. 1154 .loc 1 699 0
  2171. 1155 00f0 70BD pop {r4, r5, r6, pc}
  2172. 1156 .LVL91:
  2173. 1157 .L126:
  2174. 679:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2175. 1158 .loc 1 679 0
  2176. 1159 00f2 2368 ldr r3, [r4]
  2177. 1160 00f4 13F0040F tst r3, #4
  2178. 1161 00f8 06D0 beq .L127
  2179. 682:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2180. 1162 .loc 1 682 0
  2181. 1163 00fa 144A ldr r2, .L142+4
  2182. 1164 00fc 9368 ldr r3, [r2, #8]
  2183. 1165 00fe 23F4E053 bic r3, r3, #7168
  2184. 1166 0102 E168 ldr r1, [r4, #12]
  2185. 1167 0104 0B43 orrs r3, r3, r1
  2186. 1168 0106 9360 str r3, [r2, #8]
  2187. 1169 .L127:
  2188. 686:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2189. 1170 .loc 1 686 0
  2190. 1171 0108 2368 ldr r3, [r4]
  2191. 1172 010a 13F0080F tst r3, #8
  2192. 1173 010e 07D0 beq .L128
  2193. 689:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2194. 1174 .loc 1 689 0
  2195. 1175 0110 0E4A ldr r2, .L142+4
  2196. 1176 0112 9368 ldr r3, [r2, #8]
  2197. 1177 0114 23F46043 bic r3, r3, #57344
  2198. 1178 0118 2169 ldr r1, [r4, #16]
  2199. 1179 011a 43EAC103 orr r3, r3, r1, lsl #3
  2200. 1180 011e 9360 str r3, [r2, #8]
  2201. 1181 .L128:
  2202. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2203. 1182 .loc 1 693 0
  2204. 1183 0120 FFF7FEFF bl HAL_RCC_GetSysClockFreq
  2205. ARM GAS /tmp/ccxtFLUq.s page 39
  2206. 1184 .LVL92:
  2207. 1185 0124 094B ldr r3, .L142+4
  2208. 1186 0126 9B68 ldr r3, [r3, #8]
  2209. 1187 0128 C3F30313 ubfx r3, r3, #4, #4
  2210. 1188 012c 084A ldr r2, .L142+8
  2211. 1189 012e D35C ldrb r3, [r2, r3] @ zero_extendqisi2
  2212. 1190 0130 D840 lsrs r0, r0, r3
  2213. 1191 0132 084B ldr r3, .L142+12
  2214. 1192 0134 1860 str r0, [r3]
  2215. 696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2216. 1193 .loc 1 696 0
  2217. 1194 0136 0020 movs r0, #0
  2218. 1195 0138 FFF7FEFF bl HAL_InitTick
  2219. 1196 .LVL93:
  2220. 698:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2221. 1197 .loc 1 698 0
  2222. 1198 013c 0020 movs r0, #0
  2223. 1199 013e 70BD pop {r4, r5, r6, pc}
  2224. 1200 .LVL94:
  2225. 1201 .L129:
  2226. 1202 .LCFI12:
  2227. 1203 .cfi_def_cfa_offset 0
  2228. 1204 .cfi_restore 4
  2229. 1205 .cfi_restore 5
  2230. 1206 .cfi_restore 6
  2231. 1207 .cfi_restore 14
  2232. 572:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2233. 1208 .loc 1 572 0
  2234. 1209 0140 0120 movs r0, #1
  2235. 1210 .LVL95:
  2236. 1211 0142 7047 bx lr
  2237. 1212 .LVL96:
  2238. 1213 .L133:
  2239. 1214 .LCFI13:
  2240. 1215 .cfi_def_cfa_offset 16
  2241. 1216 .cfi_offset 4, -16
  2242. 1217 .cfi_offset 5, -12
  2243. 1218 .cfi_offset 6, -8
  2244. 1219 .cfi_offset 14, -4
  2245. 646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2246. 1220 .loc 1 646 0
  2247. 1221 0144 0120 movs r0, #1
  2248. 1222 0146 70BD pop {r4, r5, r6, pc}
  2249. 1223 .LVL97:
  2250. 1224 .L143:
  2251. 1225 .align 2
  2252. 1226 .L142:
  2253. 1227 0148 003C0240 .word 1073888256
  2254. 1228 014c 00380240 .word 1073887232
  2255. 1229 0150 00000000 .word AHBPrescTable
  2256. 1230 0154 00000000 .word SystemCoreClock
  2257. 1231 .cfi_endproc
  2258. 1232 .LFE132:
  2259. 1234 .section .text.HAL_RCC_GetHCLKFreq,"ax",%progbits
  2260. 1235 .align 1
  2261. 1236 .global HAL_RCC_GetHCLKFreq
  2262. 1237 .syntax unified
  2263. ARM GAS /tmp/ccxtFLUq.s page 40
  2264. 1238 .thumb
  2265. 1239 .thumb_func
  2266. 1240 .fpu fpv4-sp-d16
  2267. 1242 HAL_RCC_GetHCLKFreq:
  2268. 1243 .LFB137:
  2269. 905:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2270. 906:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  2271. 907:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief Returns the HCLK frequency
  2272. 908:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note Each time HCLK changes, this function must be called to update the
  2273. 909:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * right HCLK value. Otherwise, any configuration based on this function will be incorrect
  2274. 910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *
  2275. 911:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note The SystemCoreClock CMSIS variable is used to store System Clock Frequency
  2276. 912:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * and updated within this function
  2277. 913:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @retval HCLK frequency
  2278. 914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  2279. 915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** uint32_t HAL_RCC_GetHCLKFreq(void)
  2280. 916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2281. 1244 .loc 1 916 0
  2282. 1245 .cfi_startproc
  2283. 1246 @ args = 0, pretend = 0, frame = 0
  2284. 1247 @ frame_needed = 0, uses_anonymous_args = 0
  2285. 1248 @ link register save eliminated.
  2286. 917:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return SystemCoreClock;
  2287. 918:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2288. 1249 .loc 1 918 0
  2289. 1250 0000 014B ldr r3, .L145
  2290. 1251 0002 1868 ldr r0, [r3]
  2291. 1252 0004 7047 bx lr
  2292. 1253 .L146:
  2293. 1254 0006 00BF .align 2
  2294. 1255 .L145:
  2295. 1256 0008 00000000 .word SystemCoreClock
  2296. 1257 .cfi_endproc
  2297. 1258 .LFE137:
  2298. 1260 .section .text.HAL_RCC_GetPCLK1Freq,"ax",%progbits
  2299. 1261 .align 1
  2300. 1262 .global HAL_RCC_GetPCLK1Freq
  2301. 1263 .syntax unified
  2302. 1264 .thumb
  2303. 1265 .thumb_func
  2304. 1266 .fpu fpv4-sp-d16
  2305. 1268 HAL_RCC_GetPCLK1Freq:
  2306. 1269 .LFB138:
  2307. 919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2308. 920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  2309. 921:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief Returns the PCLK1 frequency
  2310. 922:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note Each time PCLK1 changes, this function must be called to update the
  2311. 923:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * right PCLK1 value. Otherwise, any configuration based on this function will be incorrec
  2312. 924:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @retval PCLK1 frequency
  2313. 925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  2314. 926:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** uint32_t HAL_RCC_GetPCLK1Freq(void)
  2315. 927:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2316. 1270 .loc 1 927 0
  2317. 1271 .cfi_startproc
  2318. 1272 @ args = 0, pretend = 0, frame = 0
  2319. 1273 @ frame_needed = 0, uses_anonymous_args = 0
  2320. 1274 0000 08B5 push {r3, lr}
  2321. ARM GAS /tmp/ccxtFLUq.s page 41
  2322. 1275 .LCFI14:
  2323. 1276 .cfi_def_cfa_offset 8
  2324. 1277 .cfi_offset 3, -8
  2325. 1278 .cfi_offset 14, -4
  2326. 928:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get HCLK source and Compute PCLK1 frequency ---------------------------*/
  2327. 929:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return (HAL_RCC_GetHCLKFreq() >> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE1)>> RCC_CFGR_PPRE1_Pos]
  2328. 1279 .loc 1 929 0
  2329. 1280 0002 FFF7FEFF bl HAL_RCC_GetHCLKFreq
  2330. 1281 .LVL98:
  2331. 1282 0006 044B ldr r3, .L149
  2332. 1283 0008 9B68 ldr r3, [r3, #8]
  2333. 1284 000a C3F38223 ubfx r3, r3, #10, #3
  2334. 1285 000e 034A ldr r2, .L149+4
  2335. 1286 0010 D35C ldrb r3, [r2, r3] @ zero_extendqisi2
  2336. 930:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2337. 1287 .loc 1 930 0
  2338. 1288 0012 D840 lsrs r0, r0, r3
  2339. 1289 0014 08BD pop {r3, pc}
  2340. 1290 .L150:
  2341. 1291 0016 00BF .align 2
  2342. 1292 .L149:
  2343. 1293 0018 00380240 .word 1073887232
  2344. 1294 001c 00000000 .word APBPrescTable
  2345. 1295 .cfi_endproc
  2346. 1296 .LFE138:
  2347. 1298 .section .text.HAL_RCC_GetPCLK2Freq,"ax",%progbits
  2348. 1299 .align 1
  2349. 1300 .global HAL_RCC_GetPCLK2Freq
  2350. 1301 .syntax unified
  2351. 1302 .thumb
  2352. 1303 .thumb_func
  2353. 1304 .fpu fpv4-sp-d16
  2354. 1306 HAL_RCC_GetPCLK2Freq:
  2355. 1307 .LFB139:
  2356. 931:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2357. 932:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  2358. 933:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief Returns the PCLK2 frequency
  2359. 934:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note Each time PCLK2 changes, this function must be called to update the
  2360. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * right PCLK2 value. Otherwise, any configuration based on this function will be incorrec
  2361. 936:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @retval PCLK2 frequency
  2362. 937:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  2363. 938:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** uint32_t HAL_RCC_GetPCLK2Freq(void)
  2364. 939:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2365. 1308 .loc 1 939 0
  2366. 1309 .cfi_startproc
  2367. 1310 @ args = 0, pretend = 0, frame = 0
  2368. 1311 @ frame_needed = 0, uses_anonymous_args = 0
  2369. 1312 0000 08B5 push {r3, lr}
  2370. 1313 .LCFI15:
  2371. 1314 .cfi_def_cfa_offset 8
  2372. 1315 .cfi_offset 3, -8
  2373. 1316 .cfi_offset 14, -4
  2374. 940:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get HCLK source and Compute PCLK2 frequency ---------------------------*/
  2375. 941:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** return (HAL_RCC_GetHCLKFreq()>> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE2)>> RCC_CFGR_PPRE2_Pos])
  2376. 1317 .loc 1 941 0
  2377. 1318 0002 FFF7FEFF bl HAL_RCC_GetHCLKFreq
  2378. 1319 .LVL99:
  2379. ARM GAS /tmp/ccxtFLUq.s page 42
  2380. 1320 0006 044B ldr r3, .L153
  2381. 1321 0008 9B68 ldr r3, [r3, #8]
  2382. 1322 000a C3F34233 ubfx r3, r3, #13, #3
  2383. 1323 000e 034A ldr r2, .L153+4
  2384. 1324 0010 D35C ldrb r3, [r2, r3] @ zero_extendqisi2
  2385. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2386. 1325 .loc 1 942 0
  2387. 1326 0012 D840 lsrs r0, r0, r3
  2388. 1327 0014 08BD pop {r3, pc}
  2389. 1328 .L154:
  2390. 1329 0016 00BF .align 2
  2391. 1330 .L153:
  2392. 1331 0018 00380240 .word 1073887232
  2393. 1332 001c 00000000 .word APBPrescTable
  2394. 1333 .cfi_endproc
  2395. 1334 .LFE139:
  2396. 1336 .section .text.HAL_RCC_GetOscConfig,"ax",%progbits
  2397. 1337 .align 1
  2398. 1338 .weak HAL_RCC_GetOscConfig
  2399. 1339 .syntax unified
  2400. 1340 .thumb
  2401. 1341 .thumb_func
  2402. 1342 .fpu fpv4-sp-d16
  2403. 1344 HAL_RCC_GetOscConfig:
  2404. 1345 .LFB140:
  2405. 943:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2406. 944:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  2407. 945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief Configures the RCC_OscInitStruct according to the internal
  2408. 946:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * RCC configuration registers.
  2409. 947:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @param RCC_OscInitStruct pointer to an RCC_OscInitTypeDef structure that
  2410. 948:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * will be configured.
  2411. 949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @retval None
  2412. 950:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  2413. 951:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __weak void HAL_RCC_GetOscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct)
  2414. 952:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2415. 1346 .loc 1 952 0
  2416. 1347 .cfi_startproc
  2417. 1348 @ args = 0, pretend = 0, frame = 0
  2418. 1349 @ frame_needed = 0, uses_anonymous_args = 0
  2419. 1350 @ link register save eliminated.
  2420. 1351 .LVL100:
  2421. 953:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Set all possible values for the Oscillator type parameter ---------------*/
  2422. 954:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->OscillatorType = RCC_OSCILLATORTYPE_HSE | RCC_OSCILLATORTYPE_HSI | RCC_OSCILLA
  2423. 1352 .loc 1 954 0
  2424. 1353 0000 0F23 movs r3, #15
  2425. 1354 0002 0360 str r3, [r0]
  2426. 955:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2427. 956:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get the HSE configuration -----------------------------------------------*/
  2428. 957:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((RCC->CR &RCC_CR_HSEBYP) == RCC_CR_HSEBYP)
  2429. 1355 .loc 1 957 0
  2430. 1356 0004 304B ldr r3, .L169
  2431. 1357 0006 1B68 ldr r3, [r3]
  2432. 1358 0008 13F4802F tst r3, #262144
  2433. 1359 000c 3CD0 beq .L156
  2434. 958:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2435. 959:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->HSEState = RCC_HSE_BYPASS;
  2436. 1360 .loc 1 959 0
  2437. ARM GAS /tmp/ccxtFLUq.s page 43
  2438. 1361 000e 4FF4A023 mov r3, #327680
  2439. 1362 0012 4360 str r3, [r0, #4]
  2440. 1363 .L157:
  2441. 960:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2442. 961:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else if((RCC->CR &RCC_CR_HSEON) == RCC_CR_HSEON)
  2443. 962:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2444. 963:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->HSEState = RCC_HSE_ON;
  2445. 964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2446. 965:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  2447. 966:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2448. 967:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->HSEState = RCC_HSE_OFF;
  2449. 968:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2450. 969:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2451. 970:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get the HSI configuration -----------------------------------------------*/
  2452. 971:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((RCC->CR &RCC_CR_HSION) == RCC_CR_HSION)
  2453. 1364 .loc 1 971 0
  2454. 1365 0014 2C4B ldr r3, .L169
  2455. 1366 0016 1B68 ldr r3, [r3]
  2456. 1367 0018 13F0010F tst r3, #1
  2457. 1368 001c 40D0 beq .L159
  2458. 972:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2459. 973:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->HSIState = RCC_HSI_ON;
  2460. 1369 .loc 1 973 0
  2461. 1370 001e 0123 movs r3, #1
  2462. 1371 0020 C360 str r3, [r0, #12]
  2463. 1372 .L160:
  2464. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2465. 975:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  2466. 976:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2467. 977:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->HSIState = RCC_HSI_OFF;
  2468. 978:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2469. 979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2470. 980:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->HSICalibrationValue = (uint32_t)((RCC->CR &RCC_CR_HSITRIM) >> RCC_CR_HSITRIM_P
  2471. 1373 .loc 1 980 0
  2472. 1374 0022 294A ldr r2, .L169
  2473. 1375 0024 1368 ldr r3, [r2]
  2474. 1376 0026 C3F3C403 ubfx r3, r3, #3, #5
  2475. 1377 002a 0361 str r3, [r0, #16]
  2476. 981:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2477. 982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get the LSE configuration -----------------------------------------------*/
  2478. 983:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((RCC->BDCR &RCC_BDCR_LSEBYP) == RCC_BDCR_LSEBYP)
  2479. 1378 .loc 1 983 0
  2480. 1379 002c 136F ldr r3, [r2, #112]
  2481. 1380 002e 13F0040F tst r3, #4
  2482. 1381 0032 38D0 beq .L161
  2483. 984:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2484. 985:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->LSEState = RCC_LSE_BYPASS;
  2485. 1382 .loc 1 985 0
  2486. 1383 0034 0523 movs r3, #5
  2487. 1384 0036 8360 str r3, [r0, #8]
  2488. 1385 .L162:
  2489. 986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2490. 987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else if((RCC->BDCR &RCC_BDCR_LSEON) == RCC_BDCR_LSEON)
  2491. 988:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2492. 989:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->LSEState = RCC_LSE_ON;
  2493. 990:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2494. 991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  2495. ARM GAS /tmp/ccxtFLUq.s page 44
  2496. 992:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2497. 993:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->LSEState = RCC_LSE_OFF;
  2498. 994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2499. 995:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2500. 996:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get the LSI configuration -----------------------------------------------*/
  2501. 997:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((RCC->CSR &RCC_CSR_LSION) == RCC_CSR_LSION)
  2502. 1386 .loc 1 997 0
  2503. 1387 0038 234B ldr r3, .L169
  2504. 1388 003a 5B6F ldr r3, [r3, #116]
  2505. 1389 003c 13F0010F tst r3, #1
  2506. 1390 0040 3CD0 beq .L164
  2507. 998:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2508. 999:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->LSIState = RCC_LSI_ON;
  2509. 1391 .loc 1 999 0
  2510. 1392 0042 0123 movs r3, #1
  2511. 1393 0044 4361 str r3, [r0, #20]
  2512. 1394 .L165:
  2513. 1000:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2514. 1001:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  2515. 1002:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2516. 1003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->LSIState = RCC_LSI_OFF;
  2517. 1004:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2518. 1005:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2519. 1006:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get the PLL configuration -----------------------------------------------*/
  2520. 1007:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if((RCC->CR &RCC_CR_PLLON) == RCC_CR_PLLON)
  2521. 1395 .loc 1 1007 0
  2522. 1396 0046 204B ldr r3, .L169
  2523. 1397 0048 1B68 ldr r3, [r3]
  2524. 1398 004a 13F0807F tst r3, #16777216
  2525. 1399 004e 38D1 bne .L168
  2526. 1008:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2527. 1009:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLState = RCC_PLL_ON;
  2528. 1010:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2529. 1011:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** else
  2530. 1012:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2531. 1013:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLState = RCC_PLL_OFF;
  2532. 1400 .loc 1 1013 0
  2533. 1401 0050 0123 movs r3, #1
  2534. 1402 0052 8361 str r3, [r0, #24]
  2535. 1403 .L167:
  2536. 1014:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2537. 1015:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLSource = (uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC);
  2538. 1404 .loc 1 1015 0
  2539. 1405 0054 1C4A ldr r2, .L169
  2540. 1406 0056 5368 ldr r3, [r2, #4]
  2541. 1407 0058 03F48003 and r3, r3, #4194304
  2542. 1408 005c C361 str r3, [r0, #28]
  2543. 1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLM = (uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLM);
  2544. 1409 .loc 1 1016 0
  2545. 1410 005e 5368 ldr r3, [r2, #4]
  2546. 1411 0060 03F03F03 and r3, r3, #63
  2547. 1412 0064 0362 str r3, [r0, #32]
  2548. 1017:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLN = (uint32_t)((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Po
  2549. 1413 .loc 1 1017 0
  2550. 1414 0066 5368 ldr r3, [r2, #4]
  2551. 1415 0068 C3F38813 ubfx r3, r3, #6, #9
  2552. 1416 006c 4362 str r3, [r0, #36]
  2553. ARM GAS /tmp/ccxtFLUq.s page 45
  2554. 1018:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLP = (uint32_t)((((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) + RCC_PLLCFGR_PLLP_0
  2555. 1417 .loc 1 1018 0
  2556. 1418 006e 5368 ldr r3, [r2, #4]
  2557. 1419 0070 03F44033 and r3, r3, #196608
  2558. 1420 0074 03F58033 add r3, r3, #65536
  2559. 1421 0078 5B00 lsls r3, r3, #1
  2560. 1422 007a 1B0C lsrs r3, r3, #16
  2561. 1423 007c 8362 str r3, [r0, #40]
  2562. 1019:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLQ = (uint32_t)((RCC->PLLCFGR & RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Po
  2563. 1424 .loc 1 1019 0
  2564. 1425 007e 5368 ldr r3, [r2, #4]
  2565. 1426 0080 C3F30363 ubfx r3, r3, #24, #4
  2566. 1427 0084 C362 str r3, [r0, #44]
  2567. 1428 0086 7047 bx lr
  2568. 1429 .L156:
  2569. 961:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2570. 1430 .loc 1 961 0
  2571. 1431 0088 0F4B ldr r3, .L169
  2572. 1432 008a 1B68 ldr r3, [r3]
  2573. 1433 008c 13F4803F tst r3, #65536
  2574. 1434 0090 03D0 beq .L158
  2575. 963:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2576. 1435 .loc 1 963 0
  2577. 1436 0092 4FF48033 mov r3, #65536
  2578. 1437 0096 4360 str r3, [r0, #4]
  2579. 1438 0098 BCE7 b .L157
  2580. 1439 .L158:
  2581. 967:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2582. 1440 .loc 1 967 0
  2583. 1441 009a 0023 movs r3, #0
  2584. 1442 009c 4360 str r3, [r0, #4]
  2585. 1443 009e B9E7 b .L157
  2586. 1444 .L159:
  2587. 977:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2588. 1445 .loc 1 977 0
  2589. 1446 00a0 0023 movs r3, #0
  2590. 1447 00a2 C360 str r3, [r0, #12]
  2591. 1448 00a4 BDE7 b .L160
  2592. 1449 .L161:
  2593. 987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2594. 1450 .loc 1 987 0
  2595. 1451 00a6 084B ldr r3, .L169
  2596. 1452 00a8 1B6F ldr r3, [r3, #112]
  2597. 1453 00aa 13F0010F tst r3, #1
  2598. 1454 00ae 02D0 beq .L163
  2599. 989:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2600. 1455 .loc 1 989 0
  2601. 1456 00b0 0123 movs r3, #1
  2602. 1457 00b2 8360 str r3, [r0, #8]
  2603. 1458 00b4 C0E7 b .L162
  2604. 1459 .L163:
  2605. 993:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2606. 1460 .loc 1 993 0
  2607. 1461 00b6 0023 movs r3, #0
  2608. 1462 00b8 8360 str r3, [r0, #8]
  2609. 1463 00ba BDE7 b .L162
  2610. 1464 .L164:
  2611. ARM GAS /tmp/ccxtFLUq.s page 46
  2612. 1003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2613. 1465 .loc 1 1003 0
  2614. 1466 00bc 0023 movs r3, #0
  2615. 1467 00be 4361 str r3, [r0, #20]
  2616. 1468 00c0 C1E7 b .L165
  2617. 1469 .L168:
  2618. 1009:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2619. 1470 .loc 1 1009 0
  2620. 1471 00c2 0223 movs r3, #2
  2621. 1472 00c4 8361 str r3, [r0, #24]
  2622. 1473 00c6 C5E7 b .L167
  2623. 1474 .L170:
  2624. 1475 .align 2
  2625. 1476 .L169:
  2626. 1477 00c8 00380240 .word 1073887232
  2627. 1478 .cfi_endproc
  2628. 1479 .LFE140:
  2629. 1481 .section .text.HAL_RCC_GetClockConfig,"ax",%progbits
  2630. 1482 .align 1
  2631. 1483 .global HAL_RCC_GetClockConfig
  2632. 1484 .syntax unified
  2633. 1485 .thumb
  2634. 1486 .thumb_func
  2635. 1487 .fpu fpv4-sp-d16
  2636. 1489 HAL_RCC_GetClockConfig:
  2637. 1490 .LFB141:
  2638. 1020:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2639. 1021:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2640. 1022:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  2641. 1023:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief Configures the RCC_ClkInitStruct according to the internal
  2642. 1024:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * RCC configuration registers.
  2643. 1025:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @param RCC_ClkInitStruct pointer to an RCC_ClkInitTypeDef structure that
  2644. 1026:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * will be configured.
  2645. 1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @param pFLatency Pointer on the Flash Latency.
  2646. 1028:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @retval None
  2647. 1029:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  2648. 1030:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** void HAL_RCC_GetClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatency)
  2649. 1031:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2650. 1491 .loc 1 1031 0
  2651. 1492 .cfi_startproc
  2652. 1493 @ args = 0, pretend = 0, frame = 0
  2653. 1494 @ frame_needed = 0, uses_anonymous_args = 0
  2654. 1495 @ link register save eliminated.
  2655. 1496 .LVL101:
  2656. 1032:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Set all possible values for the Clock type parameter --------------------*/
  2657. 1033:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_ClkInitStruct->ClockType = RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_PCLK1 |
  2658. 1497 .loc 1 1033 0
  2659. 1498 0000 0F23 movs r3, #15
  2660. 1499 0002 0360 str r3, [r0]
  2661. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2662. 1035:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get the SYSCLK configuration --------------------------------------------*/
  2663. 1036:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_ClkInitStruct->SYSCLKSource = (uint32_t)(RCC->CFGR & RCC_CFGR_SW);
  2664. 1500 .loc 1 1036 0
  2665. 1501 0004 0B4B ldr r3, .L172
  2666. 1502 0006 9A68 ldr r2, [r3, #8]
  2667. 1503 0008 02F00302 and r2, r2, #3
  2668. 1504 000c 4260 str r2, [r0, #4]
  2669. ARM GAS /tmp/ccxtFLUq.s page 47
  2670. 1037:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2671. 1038:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get the HCLK configuration ----------------------------------------------*/
  2672. 1039:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_ClkInitStruct->AHBCLKDivider = (uint32_t)(RCC->CFGR & RCC_CFGR_HPRE);
  2673. 1505 .loc 1 1039 0
  2674. 1506 000e 9A68 ldr r2, [r3, #8]
  2675. 1507 0010 02F0F002 and r2, r2, #240
  2676. 1508 0014 8260 str r2, [r0, #8]
  2677. 1040:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2678. 1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get the APB1 configuration ----------------------------------------------*/
  2679. 1042:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_ClkInitStruct->APB1CLKDivider = (uint32_t)(RCC->CFGR & RCC_CFGR_PPRE1);
  2680. 1509 .loc 1 1042 0
  2681. 1510 0016 9A68 ldr r2, [r3, #8]
  2682. 1511 0018 02F4E052 and r2, r2, #7168
  2683. 1512 001c C260 str r2, [r0, #12]
  2684. 1043:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2685. 1044:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get the APB2 configuration ----------------------------------------------*/
  2686. 1045:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** RCC_ClkInitStruct->APB2CLKDivider = (uint32_t)((RCC->CFGR & RCC_CFGR_PPRE2) >> 3U);
  2687. 1513 .loc 1 1045 0
  2688. 1514 001e 9B68 ldr r3, [r3, #8]
  2689. 1515 0020 DB08 lsrs r3, r3, #3
  2690. 1516 0022 03F4E053 and r3, r3, #7168
  2691. 1517 0026 0361 str r3, [r0, #16]
  2692. 1046:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2693. 1047:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Get the Flash Wait State (Latency) configuration ------------------------*/
  2694. 1048:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** *pFLatency = (uint32_t)(FLASH->ACR & FLASH_ACR_LATENCY);
  2695. 1518 .loc 1 1048 0
  2696. 1519 0028 034B ldr r3, .L172+4
  2697. 1520 002a 1B68 ldr r3, [r3]
  2698. 1521 002c 03F00F03 and r3, r3, #15
  2699. 1522 0030 0B60 str r3, [r1]
  2700. 1523 0032 7047 bx lr
  2701. 1524 .L173:
  2702. 1525 .align 2
  2703. 1526 .L172:
  2704. 1527 0034 00380240 .word 1073887232
  2705. 1528 0038 003C0240 .word 1073888256
  2706. 1529 .cfi_endproc
  2707. 1530 .LFE141:
  2708. 1532 .section .text.HAL_RCC_CSSCallback,"ax",%progbits
  2709. 1533 .align 1
  2710. 1534 .weak HAL_RCC_CSSCallback
  2711. 1535 .syntax unified
  2712. 1536 .thumb
  2713. 1537 .thumb_func
  2714. 1538 .fpu fpv4-sp-d16
  2715. 1540 HAL_RCC_CSSCallback:
  2716. 1541 .LFB143:
  2717. 1049:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2718. 1050:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2719. 1051:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  2720. 1052:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief This function handles the RCC CSS interrupt request.
  2721. 1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @note This API should be called under the NMI_Handler().
  2722. 1054:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @retval None
  2723. 1055:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  2724. 1056:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** void HAL_RCC_NMI_IRQHandler(void)
  2725. 1057:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2726. 1058:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check RCC CSSF flag */
  2727. ARM GAS /tmp/ccxtFLUq.s page 48
  2728. 1059:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** if(__HAL_RCC_GET_IT(RCC_IT_CSS))
  2729. 1060:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2730. 1061:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* RCC Clock Security System interrupt user callback */
  2731. 1062:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** HAL_RCC_CSSCallback();
  2732. 1063:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2733. 1064:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Clear RCC CSS pending bit */
  2734. 1065:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __HAL_RCC_CLEAR_IT(RCC_IT_CSS);
  2735. 1066:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2736. 1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2737. 1068:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2738. 1069:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /**
  2739. 1070:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @brief RCC Clock Security System interrupt callback
  2740. 1071:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** * @retval None
  2741. 1072:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** */
  2742. 1073:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** __weak void HAL_RCC_CSSCallback(void)
  2743. 1074:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2744. 1542 .loc 1 1074 0
  2745. 1543 .cfi_startproc
  2746. 1544 @ args = 0, pretend = 0, frame = 0
  2747. 1545 @ frame_needed = 0, uses_anonymous_args = 0
  2748. 1546 @ link register save eliminated.
  2749. 1547 0000 7047 bx lr
  2750. 1548 .cfi_endproc
  2751. 1549 .LFE143:
  2752. 1551 .section .text.HAL_RCC_NMI_IRQHandler,"ax",%progbits
  2753. 1552 .align 1
  2754. 1553 .global HAL_RCC_NMI_IRQHandler
  2755. 1554 .syntax unified
  2756. 1555 .thumb
  2757. 1556 .thumb_func
  2758. 1557 .fpu fpv4-sp-d16
  2759. 1559 HAL_RCC_NMI_IRQHandler:
  2760. 1560 .LFB142:
  2761. 1057:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check RCC CSSF flag */
  2762. 1561 .loc 1 1057 0
  2763. 1562 .cfi_startproc
  2764. 1563 @ args = 0, pretend = 0, frame = 0
  2765. 1564 @ frame_needed = 0, uses_anonymous_args = 0
  2766. 1057:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** /* Check RCC CSSF flag */
  2767. 1565 .loc 1 1057 0
  2768. 1566 0000 08B5 push {r3, lr}
  2769. 1567 .LCFI16:
  2770. 1568 .cfi_def_cfa_offset 8
  2771. 1569 .cfi_offset 3, -8
  2772. 1570 .cfi_offset 14, -4
  2773. 1059:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** {
  2774. 1571 .loc 1 1059 0
  2775. 1572 0002 064B ldr r3, .L179
  2776. 1573 0004 DB68 ldr r3, [r3, #12]
  2777. 1574 0006 13F0800F tst r3, #128
  2778. 1575 000a 00D1 bne .L178
  2779. 1576 .L175:
  2780. 1577 000c 08BD pop {r3, pc}
  2781. 1578 .L178:
  2782. 1062:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2783. 1579 .loc 1 1062 0
  2784. 1580 000e FFF7FEFF bl HAL_RCC_CSSCallback
  2785. ARM GAS /tmp/ccxtFLUq.s page 49
  2786. 1581 .LVL102:
  2787. 1065:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c **** }
  2788. 1582 .loc 1 1065 0
  2789. 1583 0012 8022 movs r2, #128
  2790. 1584 0014 024B ldr r3, .L179+4
  2791. 1585 0016 1A70 strb r2, [r3]
  2792. 1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c ****
  2793. 1586 .loc 1 1067 0
  2794. 1587 0018 F8E7 b .L175
  2795. 1588 .L180:
  2796. 1589 001a 00BF .align 2
  2797. 1590 .L179:
  2798. 1591 001c 00380240 .word 1073887232
  2799. 1592 0020 0E380240 .word 1073887246
  2800. 1593 .cfi_endproc
  2801. 1594 .LFE142:
  2802. 1596 .text
  2803. 1597 .Letext0:
  2804. 1598 .file 2 "/usr/include/newlib/machine/_default_types.h"
  2805. 1599 .file 3 "/usr/include/newlib/sys/_stdint.h"
  2806. 1600 .file 4 "Drivers/CMSIS/Include/core_cm4.h"
  2807. 1601 .file 5 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h"
  2808. 1602 .file 6 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h"
  2809. 1603 .file 7 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
  2810. 1604 .file 8 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h"
  2811. 1605 .file 9 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h"
  2812. 1606 .file 10 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h"
  2813. 1607 .file 11 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h"
  2814. 1608 .file 12 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h"
  2815. ARM GAS /tmp/ccxtFLUq.s page 50
  2816. DEFINED SYMBOLS
  2817. *ABS*:0000000000000000 stm32f4xx_hal_rcc.c
  2818. /tmp/ccxtFLUq.s:18 .text.HAL_RCC_DeInit:0000000000000000 $t
  2819. /tmp/ccxtFLUq.s:25 .text.HAL_RCC_DeInit:0000000000000000 HAL_RCC_DeInit
  2820. /tmp/ccxtFLUq.s:40 .text.HAL_RCC_OscConfig:0000000000000000 $t
  2821. /tmp/ccxtFLUq.s:47 .text.HAL_RCC_OscConfig:0000000000000000 HAL_RCC_OscConfig
  2822. /tmp/ccxtFLUq.s:504 .text.HAL_RCC_OscConfig:00000000000002b4 $d
  2823. /tmp/ccxtFLUq.s:510 .text.HAL_RCC_OscConfig:00000000000002c4 $t
  2824. /tmp/ccxtFLUq.s:679 .text.HAL_RCC_OscConfig:0000000000000390 $d
  2825. /tmp/ccxtFLUq.s:685 .text.HAL_RCC_MCOConfig:0000000000000000 $t
  2826. /tmp/ccxtFLUq.s:692 .text.HAL_RCC_MCOConfig:0000000000000000 HAL_RCC_MCOConfig
  2827. /tmp/ccxtFLUq.s:811 .text.HAL_RCC_MCOConfig:0000000000000090 $d
  2828. /tmp/ccxtFLUq.s:818 .text.HAL_RCC_EnableCSS:0000000000000000 $t
  2829. /tmp/ccxtFLUq.s:825 .text.HAL_RCC_EnableCSS:0000000000000000 HAL_RCC_EnableCSS
  2830. /tmp/ccxtFLUq.s:840 .text.HAL_RCC_EnableCSS:0000000000000008 $d
  2831. /tmp/ccxtFLUq.s:845 .text.HAL_RCC_DisableCSS:0000000000000000 $t
  2832. /tmp/ccxtFLUq.s:852 .text.HAL_RCC_DisableCSS:0000000000000000 HAL_RCC_DisableCSS
  2833. /tmp/ccxtFLUq.s:867 .text.HAL_RCC_DisableCSS:0000000000000008 $d
  2834. /tmp/ccxtFLUq.s:873 .text.HAL_RCC_GetSysClockFreq:0000000000000000 $t
  2835. /tmp/ccxtFLUq.s:880 .text.HAL_RCC_GetSysClockFreq:0000000000000000 HAL_RCC_GetSysClockFreq
  2836. /tmp/ccxtFLUq.s:980 .text.HAL_RCC_GetSysClockFreq:0000000000000098 $d
  2837. /tmp/ccxtFLUq.s:987 .text.HAL_RCC_ClockConfig:0000000000000000 $t
  2838. /tmp/ccxtFLUq.s:994 .text.HAL_RCC_ClockConfig:0000000000000000 HAL_RCC_ClockConfig
  2839. /tmp/ccxtFLUq.s:1227 .text.HAL_RCC_ClockConfig:0000000000000148 $d
  2840. /tmp/ccxtFLUq.s:1235 .text.HAL_RCC_GetHCLKFreq:0000000000000000 $t
  2841. /tmp/ccxtFLUq.s:1242 .text.HAL_RCC_GetHCLKFreq:0000000000000000 HAL_RCC_GetHCLKFreq
  2842. /tmp/ccxtFLUq.s:1256 .text.HAL_RCC_GetHCLKFreq:0000000000000008 $d
  2843. /tmp/ccxtFLUq.s:1261 .text.HAL_RCC_GetPCLK1Freq:0000000000000000 $t
  2844. /tmp/ccxtFLUq.s:1268 .text.HAL_RCC_GetPCLK1Freq:0000000000000000 HAL_RCC_GetPCLK1Freq
  2845. /tmp/ccxtFLUq.s:1293 .text.HAL_RCC_GetPCLK1Freq:0000000000000018 $d
  2846. /tmp/ccxtFLUq.s:1299 .text.HAL_RCC_GetPCLK2Freq:0000000000000000 $t
  2847. /tmp/ccxtFLUq.s:1306 .text.HAL_RCC_GetPCLK2Freq:0000000000000000 HAL_RCC_GetPCLK2Freq
  2848. /tmp/ccxtFLUq.s:1331 .text.HAL_RCC_GetPCLK2Freq:0000000000000018 $d
  2849. /tmp/ccxtFLUq.s:1337 .text.HAL_RCC_GetOscConfig:0000000000000000 $t
  2850. /tmp/ccxtFLUq.s:1344 .text.HAL_RCC_GetOscConfig:0000000000000000 HAL_RCC_GetOscConfig
  2851. /tmp/ccxtFLUq.s:1477 .text.HAL_RCC_GetOscConfig:00000000000000c8 $d
  2852. /tmp/ccxtFLUq.s:1482 .text.HAL_RCC_GetClockConfig:0000000000000000 $t
  2853. /tmp/ccxtFLUq.s:1489 .text.HAL_RCC_GetClockConfig:0000000000000000 HAL_RCC_GetClockConfig
  2854. /tmp/ccxtFLUq.s:1527 .text.HAL_RCC_GetClockConfig:0000000000000034 $d
  2855. /tmp/ccxtFLUq.s:1533 .text.HAL_RCC_CSSCallback:0000000000000000 $t
  2856. /tmp/ccxtFLUq.s:1540 .text.HAL_RCC_CSSCallback:0000000000000000 HAL_RCC_CSSCallback
  2857. /tmp/ccxtFLUq.s:1552 .text.HAL_RCC_NMI_IRQHandler:0000000000000000 $t
  2858. /tmp/ccxtFLUq.s:1559 .text.HAL_RCC_NMI_IRQHandler:0000000000000000 HAL_RCC_NMI_IRQHandler
  2859. /tmp/ccxtFLUq.s:1591 .text.HAL_RCC_NMI_IRQHandler:000000000000001c $d
  2860. .debug_frame:0000000000000010 $d
  2861. UNDEFINED SYMBOLS
  2862. HAL_GetTick
  2863. HAL_GPIO_Init
  2864. __aeabi_uldivmod
  2865. HAL_InitTick
  2866. AHBPrescTable
  2867. SystemCoreClock
  2868. APBPrescTable