stm32f1xx_hal_rcc.lst 271 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463
  1. ARM GAS /tmp/ccWlYFBg.s page 1
  2. 1 .cpu cortex-m3
  3. 2 .arch armv7-m
  4. 3 .fpu softvfp
  5. 4 .eabi_attribute 20, 1
  6. 5 .eabi_attribute 21, 1
  7. 6 .eabi_attribute 23, 3
  8. 7 .eabi_attribute 24, 1
  9. 8 .eabi_attribute 25, 1
  10. 9 .eabi_attribute 26, 1
  11. 10 .eabi_attribute 30, 1
  12. 11 .eabi_attribute 34, 1
  13. 12 .eabi_attribute 18, 4
  14. 13 .file "stm32f1xx_hal_rcc.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.RCC_Delay,"ax",%progbits
  19. 18 .align 1
  20. 19 .syntax unified
  21. 20 .thumb
  22. 21 .thumb_func
  23. 23 RCC_Delay:
  24. 24 .LVL0:
  25. 25 .LFB78:
  26. 26 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c"
  27. 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  28. 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ******************************************************************************
  29. 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @file stm32f1xx_hal_rcc.c
  30. 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @author MCD Application Team
  31. 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief RCC HAL module driver.
  32. 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * This file provides firmware functions to manage the following
  33. 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * functionalities of the Reset and Clock Control (RCC) peripheral:
  34. 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * + Initialization and de-initialization functions
  35. 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * + Peripheral Control functions
  36. 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
  37. 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @verbatim
  38. 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ==============================================================================
  39. 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ##### RCC specific features #####
  40. 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ==============================================================================
  41. 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..]
  42. 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** After reset the device is running from Internal High Speed oscillator
  43. 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (HSI 8MHz) with Flash 0 wait state, Flash prefetch buffer is enabled,
  44. 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** and all peripherals are off except internal SRAM, Flash and JTAG.
  45. 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) There is no prescaler on High speed (AHB) and Low speed (APB) buses;
  46. 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** all peripherals mapped on these buses are running at HSI speed.
  47. 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) The clock for all peripherals is switched off, except the SRAM and FLASH.
  48. 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) All GPIOs are in input floating state, except the JTAG pins which
  49. 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** are assigned to be used for debug purpose.
  50. 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..] Once the device started from reset, the user application has to:
  51. 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) Configure the clock source to be used to drive the System clock
  52. 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (if the application needs higher frequency/performance)
  53. 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) Configure the System clock frequency and Flash settings
  54. 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) Configure the AHB and APB buses prescalers
  55. 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) Enable the clock for the peripheral(s) to be used
  56. 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) Configure the clock source(s) for peripherals whose clocks are not
  57. 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** derived from the System clock (I2S, RTC, ADC, USB OTG FS)
  58. 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  59. ARM GAS /tmp/ccWlYFBg.s page 2
  60. 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ##### RCC Limitations #####
  61. 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ==============================================================================
  62. 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..]
  63. 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** A delay between an RCC peripheral clock enable and the effective peripheral
  64. 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** enabling should be taken into account in order to manage the peripheral read/write
  65. 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** from/to registers.
  66. 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) This delay depends on the peripheral mapping.
  67. 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (++) AHB & APB peripherals, 1 dummy read is necessary
  68. 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  69. 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..]
  70. 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** Workarounds:
  71. 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) For AHB & APB peripherals, a dummy read to the peripheral register has been
  72. 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** inserted in each __HAL_RCC_PPP_CLK_ENABLE() macro.
  73. 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  74. 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @endverbatim
  75. 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ******************************************************************************
  76. 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @attention
  77. 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
  78. 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * Copyright (c) 2016 STMicroelectronics.
  79. 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * All rights reserved.
  80. 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
  81. 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * This software is licensed under terms that can be found in the LICENSE file in
  82. 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * the root directory of this software component.
  83. 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  84. 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ******************************************************************************
  85. 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  86. 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  87. 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Includes ------------------------------------------------------------------*/
  88. 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #include "stm32f1xx_hal.h"
  89. 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  90. 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @addtogroup STM32F1xx_HAL_Driver
  91. 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
  92. 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  93. 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  94. 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @defgroup RCC RCC
  95. 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief RCC HAL module driver
  96. 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
  97. 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  98. 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  99. 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #ifdef HAL_RCC_MODULE_ENABLED
  100. 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  101. 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Private typedef -----------------------------------------------------------*/
  102. 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Private define ------------------------------------------------------------*/
  103. 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @defgroup RCC_Private_Constants RCC Private Constants
  104. 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
  105. 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  106. 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  107. 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @}
  108. 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  109. 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Private macro -------------------------------------------------------------*/
  110. 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @defgroup RCC_Private_Macros RCC Private Macros
  111. 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
  112. 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  113. 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  114. 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #define MCO1_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE()
  115. 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #define MCO1_GPIO_PORT GPIOA
  116. 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #define MCO1_PIN GPIO_PIN_8
  117. ARM GAS /tmp/ccWlYFBg.s page 3
  118. 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  119. 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  120. 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @}
  121. 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  122. 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  123. 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Private variables ---------------------------------------------------------*/
  124. 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @defgroup RCC_Private_Variables RCC Private Variables
  125. 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
  126. 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  127. 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  128. 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @}
  129. 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  130. 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  131. 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Private function prototypes -----------------------------------------------*/
  132. 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** static void RCC_Delay(uint32_t mdelay);
  133. 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  134. 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Exported functions --------------------------------------------------------*/
  135. 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  136. 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @defgroup RCC_Exported_Functions RCC Exported Functions
  137. 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
  138. 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  139. 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  140. 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @defgroup RCC_Exported_Functions_Group1 Initialization and de-initialization functions
  141. 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Initialization and Configuration functions
  142. 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
  143. 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @verbatim
  144. 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ===============================================================================
  145. 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ##### Initialization and de-initialization functions #####
  146. 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ===============================================================================
  147. 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..]
  148. 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** This section provides functions allowing to configure the internal/external oscillators
  149. 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (HSE, HSI, LSE, LSI, PLL, CSS and MCO) and the System buses clocks (SYSCLK, AHB, APB1
  150. 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** and APB2).
  151. 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  152. 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..] Internal/external clock and PLL configuration
  153. 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) HSI (high-speed internal), 8 MHz factory-trimmed RC used directly or through
  154. 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** the PLL as System clock source.
  155. 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) LSI (low-speed internal), ~40 KHz low consumption RC used as IWDG and/or RTC
  156. 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** clock source.
  157. 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  158. 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) HSE (high-speed external), 4 to 24 MHz (STM32F100xx) or 4 to 16 MHz (STM32F101x/STM32F102
  159. 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** through the PLL as System clock source. Can be used also as RTC clock source.
  160. 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  161. 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) LSE (low-speed external), 32 KHz oscillator used as RTC clock source.
  162. 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  163. 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) PLL (clocked by HSI or HSE), featuring different output clocks:
  164. 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (++) The first output is used to generate the high speed system clock (up to 72 MHz for STM
  165. 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (++) The second output is used to generate the clock for the USB OTG FS (48 MHz)
  166. 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  167. 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) CSS (Clock security system), once enable using the macro __HAL_RCC_CSS_ENABLE()
  168. 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** and if a HSE clock failure occurs(HSE used directly or through PLL as System
  169. 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** clock source), the System clocks automatically switched to HSI and an interrupt
  170. 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** is generated if enabled. The interrupt is linked to the Cortex-M3 NMI
  171. 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (Non-Maskable Interrupt) exception vector.
  172. 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  173. 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) MCO1 (microcontroller clock output), used to output SYSCLK, HSI,
  174. 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HSE or PLL clock (divided by 2) on PA8 pin + PLL2CLK, PLL3CLK/2, PLL3CLK and XTI for STM3
  175. ARM GAS /tmp/ccWlYFBg.s page 4
  176. 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  177. 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..] System, AHB and APB buses clocks configuration
  178. 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) Several clock sources can be used to drive the System clock (SYSCLK): HSI,
  179. 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HSE and PLL.
  180. 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** The AHB clock (HCLK) is derived from System clock through configurable
  181. 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** prescaler and used to clock the CPU, memory and peripherals mapped
  182. 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** on AHB bus (DMA, GPIO...). APB1 (PCLK1) and APB2 (PCLK2) clocks are derived
  183. 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** from AHB clock through configurable prescalers and used to clock
  184. 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** the peripherals mapped on these buses. You can use
  185. 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** "HAL_RCC_GetSysClockFreq()" function to retrieve the frequencies of these clocks.
  186. 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  187. 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** -@- All the peripheral clocks are derived from the System clock (SYSCLK) except:
  188. 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+@) RTC: RTC clock can be derived either from the LSI, LSE or HSE clock
  189. 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** divided by 128.
  190. 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+@) USB OTG FS and RTC: USB OTG FS require a frequency equal to 48 MHz
  191. 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** to work correctly. This clock is derived of the main PLL through PLL Multiplier.
  192. 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+@) I2S interface on STM32F105x/STM32F107x can be derived from PLL3CLK
  193. 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+@) IWDG clock which is always the LSI clock.
  194. 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  195. 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) For STM32F10xxx, the maximum frequency of the SYSCLK and HCLK/PCLK2 is 72 MHz, PCLK1 36 M
  196. 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** For STM32F100xx, the maximum frequency of the SYSCLK and HCLK/PCLK1/PCLK2 is 24 MHz.
  197. 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** Depending on the SYSCLK frequency, the flash latency should be adapted accordingly.
  198. 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @endverbatim
  199. 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
  200. 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  201. 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  202. 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*
  203. 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** Additional consideration on the SYSCLK based on Latency settings:
  204. 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** +-----------------------------------------------+
  205. 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** | Latency | SYSCLK clock frequency (MHz) |
  206. 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** |---------------|-------------------------------|
  207. 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** |0WS(1CPU cycle)| 0 < SYSCLK <= 24 |
  208. 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** |---------------|-------------------------------|
  209. 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** |1WS(2CPU cycle)| 24 < SYSCLK <= 48 |
  210. 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** |---------------|-------------------------------|
  211. 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** |2WS(3CPU cycle)| 48 < SYSCLK <= 72 |
  212. 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** +-----------------------------------------------+
  213. 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  214. 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  215. 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  216. 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Resets the RCC clock configuration to the default reset state.
  217. 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The default reset state of the clock configuration is given below:
  218. 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - HSI ON and used as system clock source
  219. 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - HSE, PLL, PLL2 and PLL3 are OFF
  220. 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - AHB, APB1 and APB2 prescaler set to 1.
  221. 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - CSS and MCO1 OFF
  222. 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - All interrupts disabled
  223. 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - All flags are cleared
  224. 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note This function does not modify the configuration of the
  225. 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - Peripheral clocks
  226. 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - LSI, LSE and RTC clocks
  227. 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval HAL_StatusTypeDef
  228. 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  229. 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HAL_StatusTypeDef HAL_RCC_DeInit(void)
  230. 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  231. 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
  232. 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  233. ARM GAS /tmp/ccWlYFBg.s page 5
  234. 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  235. 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  236. 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  237. 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set HSION bit */
  238. 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** SET_BIT(RCC->CR, RCC_CR_HSION);
  239. 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  240. 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till HSI is ready */
  241. 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (READ_BIT(RCC->CR, RCC_CR_HSIRDY) == RESET)
  242. 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  243. 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > HSI_TIMEOUT_VALUE)
  244. 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  245. 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  246. 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  247. 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  248. 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  249. 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set HSITRIM bits to the reset value */
  250. 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CR, RCC_CR_HSITRIM, (0x10U << RCC_CR_HSITRIM_Pos));
  251. 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  252. 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  253. 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  254. 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  255. 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Reset CFGR register */
  256. 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_REG(RCC->CFGR);
  257. 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  258. 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till clock switch is ready */
  259. 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (READ_BIT(RCC->CFGR, RCC_CFGR_SWS) != RESET)
  260. 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  261. 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > CLOCKSWITCH_TIMEOUT_VALUE)
  262. 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  263. 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  264. 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  265. 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  266. 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  267. 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Update the SystemCoreClock global variable */
  268. 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** SystemCoreClock = HSI_VALUE;
  269. 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  270. 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Adapt Systick interrupt period */
  271. 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (HAL_InitTick(uwTickPrio) != HAL_OK)
  272. 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  273. 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
  274. 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  275. 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  276. 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  277. 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  278. 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  279. 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Second step is to clear PLLON bit */
  280. 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_PLLON);
  281. 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  282. 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL is disabled */
  283. 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (READ_BIT(RCC->CR, RCC_CR_PLLRDY) != RESET)
  284. 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  285. 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE)
  286. 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  287. 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  288. 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  289. 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  290. 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  291. ARM GAS /tmp/ccWlYFBg.s page 6
  292. 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Ensure to reset PLLSRC and PLLMUL bits */
  293. 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_REG(RCC->CFGR);
  294. 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  295. 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  296. 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  297. 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  298. 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Reset HSEON & CSSON bits */
  299. 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_HSEON | RCC_CR_CSSON);
  300. 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  301. 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till HSE is disabled */
  302. 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (READ_BIT(RCC->CR, RCC_CR_HSERDY) != RESET)
  303. 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  304. 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE)
  305. 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  306. 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  307. 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  308. 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  309. 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  310. 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Reset HSEBYP bit */
  311. 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_HSEBYP);
  312. 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  313. 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_PLL2_SUPPORT)
  314. 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  315. 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  316. 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  317. 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Clear PLL2ON bit */
  318. 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_PLL2ON);
  319. 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  320. 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL2 is disabled */
  321. 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (READ_BIT(RCC->CR, RCC_CR_PLL2RDY) != RESET)
  322. 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  323. 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL2_TIMEOUT_VALUE)
  324. 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  325. 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  326. 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  327. 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  328. 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* RCC_PLL2_SUPPORT */
  329. 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  330. 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_PLLI2S_SUPPORT)
  331. 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  332. 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  333. 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  334. 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Clear PLL3ON bit */
  335. 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_PLL3ON);
  336. 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  337. 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL3 is disabled */
  338. 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (READ_BIT(RCC->CR, RCC_CR_PLL3RDY) != RESET)
  339. 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  340. 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLLI2S_TIMEOUT_VALUE)
  341. 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  342. 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  343. 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  344. 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  345. 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* RCC_PLLI2S_SUPPORT */
  346. 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  347. 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1)
  348. 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Reset CFGR2 register */
  349. ARM GAS /tmp/ccWlYFBg.s page 7
  350. 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_REG(RCC->CFGR2);
  351. 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* RCC_CFGR2_PREDIV1 */
  352. 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  353. 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Reset all CSR flags */
  354. 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** SET_BIT(RCC->CSR, RCC_CSR_RMVF);
  355. 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  356. 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Disable all interrupts */
  357. 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_REG(RCC->CIR);
  358. 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  359. 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_OK;
  360. 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  361. 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  362. 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  363. 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Initializes the RCC Oscillators according to the specified parameters in the
  364. 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * RCC_OscInitTypeDef.
  365. 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param RCC_OscInitStruct pointer to an RCC_OscInitTypeDef structure that
  366. 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * contains the configuration information for the RCC Oscillators.
  367. 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The PLL is not disabled when used as system clock.
  368. 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The PLL is not disabled when USB OTG FS clock is enabled (specific to devices with USB
  369. 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note Transitions LSE Bypass to LSE On and LSE On to LSE Bypass are not
  370. 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * supported by this macro. User should request a transition to LSE Off
  371. 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * first and then LSE On or LSE Bypass.
  372. 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note Transition HSE Bypass to HSE On and HSE On to HSE Bypass are not
  373. 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * supported by this macro. User should request a transition to HSE Off
  374. 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * first and then HSE On or HSE Bypass.
  375. 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval HAL status
  376. 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  377. 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct)
  378. 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  379. 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
  380. 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t pll_config;
  381. 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  382. 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check Null pointer */
  383. 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_OscInitStruct == NULL)
  384. 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  385. 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
  386. 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  387. 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  388. 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  389. 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType));
  390. 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  391. 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*------------------------------- HSE Configuration ------------------------*/
  392. 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSE) == RCC_OSCILLATORTYPE_HSE)
  393. 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  394. 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  395. 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_HSE(RCC_OscInitStruct->HSEState));
  396. 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  397. 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* When the HSE is used as system clock or clock source for PLL in these cases it is not allowe
  398. 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_HSE)
  399. 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL
  400. 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  401. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE
  402. 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  403. 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
  404. 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  405. 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  406. 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  407. ARM GAS /tmp/ccWlYFBg.s page 8
  408. 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  409. 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set the new HSE configuration ---------------------------------------*/
  410. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_HSE_CONFIG(RCC_OscInitStruct->HSEState);
  411. 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  412. 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  413. 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the HSE State */
  414. 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_OscInitStruct->HSEState != RCC_HSE_OFF)
  415. 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  416. 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  417. 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  418. 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  419. 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till HSE is ready */
  420. 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET)
  421. 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  422. 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE)
  423. 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  424. 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  425. 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  426. 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  427. 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  428. 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  429. 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  430. 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  431. 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  432. 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  433. 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till HSE is disabled */
  434. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET)
  435. 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  436. 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE)
  437. 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  438. 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  439. 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  440. 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  441. 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  442. 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  443. 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  444. 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*----------------------------- HSI Configuration --------------------------*/
  445. 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSI) == RCC_OSCILLATORTYPE_HSI)
  446. 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  447. 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  448. 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_HSI(RCC_OscInitStruct->HSIState));
  449. 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_CALIBRATION_VALUE(RCC_OscInitStruct->HSICalibrationValue));
  450. 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  451. 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check if HSI is used as system clock or as PLL source when PLL is selected as system clock *
  452. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_HSI)
  453. 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL
  454. 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  455. 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* When HSI is used as system clock it will not disabled */
  456. 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI
  457. 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  458. 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
  459. 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  460. 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Otherwise, just the calibration is allowed */
  461. 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  462. 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  463. 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/
  464. 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue);
  465. ARM GAS /tmp/ccWlYFBg.s page 9
  466. 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  467. 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  468. 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  469. 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  470. 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the HSI State */
  471. 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_OscInitStruct->HSIState != RCC_HSI_OFF)
  472. 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  473. 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Enable the Internal High Speed oscillator (HSI). */
  474. 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_HSI_ENABLE();
  475. 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  476. 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  477. 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  478. 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  479. 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till HSI is ready */
  480. 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET)
  481. 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  482. 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > HSI_TIMEOUT_VALUE)
  483. 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  484. 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  485. 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  486. 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  487. 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  488. 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/
  489. 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue);
  490. 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  491. 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  492. 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  493. 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Disable the Internal High Speed oscillator (HSI). */
  494. 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_HSI_DISABLE();
  495. 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  496. 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  497. 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  498. 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  499. 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till HSI is disabled */
  500. 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET)
  501. 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  502. 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > HSI_TIMEOUT_VALUE)
  503. 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  504. 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  505. 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  506. 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  507. 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  508. 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  509. 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  510. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*------------------------------ LSI Configuration -------------------------*/
  511. 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSI) == RCC_OSCILLATORTYPE_LSI)
  512. 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  513. 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  514. 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_LSI(RCC_OscInitStruct->LSIState));
  515. 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  516. 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSI State */
  517. 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_OscInitStruct->LSIState != RCC_LSI_OFF)
  518. 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  519. 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Enable the Internal Low Speed oscillator (LSI). */
  520. 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_LSI_ENABLE();
  521. 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  522. 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  523. ARM GAS /tmp/ccWlYFBg.s page 10
  524. 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  525. 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  526. 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till LSI is ready */
  527. 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET)
  528. 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  529. 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > LSI_TIMEOUT_VALUE)
  530. 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  531. 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  532. 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  533. 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  534. 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* To have a fully stabilized clock in the specified range, a software delay of 1ms
  535. 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** should be added.*/
  536. 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_Delay(1);
  537. 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  538. 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  539. 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  540. 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Disable the Internal Low Speed oscillator (LSI). */
  541. 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_LSI_DISABLE();
  542. 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  543. 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  544. 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  545. 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  546. 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till LSI is disabled */
  547. 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET)
  548. 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  549. 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > LSI_TIMEOUT_VALUE)
  550. 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  551. 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  552. 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  553. 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  554. 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  555. 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  556. 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*------------------------------ LSE Configuration -------------------------*/
  557. 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSE) == RCC_OSCILLATORTYPE_LSE)
  558. 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  559. 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** FlagStatus pwrclkchanged = RESET;
  560. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  561. 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  562. 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_LSE(RCC_OscInitStruct->LSEState));
  563. 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  564. 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Update LSE configuration in Backup Domain control register */
  565. 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Requires to enable write access to Backup Domain of necessary */
  566. 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_RCC_PWR_IS_CLK_DISABLED())
  567. 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  568. 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PWR_CLK_ENABLE();
  569. 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pwrclkchanged = SET;
  570. 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  571. 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  572. 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP))
  573. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  574. 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Enable write access to Backup domain */
  575. 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** SET_BIT(PWR->CR, PWR_CR_DBP);
  576. 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  577. 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait for Backup domain Write protection disable */
  578. 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  579. 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  580. 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP))
  581. ARM GAS /tmp/ccWlYFBg.s page 11
  582. 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  583. 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE)
  584. 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  585. 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  586. 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  587. 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  588. 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  589. 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  590. 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set the new LSE configuration -----------------------------------------*/
  591. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_LSE_CONFIG(RCC_OscInitStruct->LSEState);
  592. 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
  593. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_OscInitStruct->LSEState != RCC_LSE_OFF)
  594. 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  595. 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  596. 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  597. 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  598. 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till LSE is ready */
  599. 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET)
  600. 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  601. 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE)
  602. 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  603. 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  604. 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  605. 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  606. 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  607. 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  608. 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  609. 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  610. 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  611. 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  612. 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till LSE is disabled */
  613. 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET)
  614. 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  615. 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE)
  616. 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  617. 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  618. 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  619. 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  620. 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  621. 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  622. 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Require to disable power clock if necessary */
  623. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (pwrclkchanged == SET)
  624. 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  625. 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PWR_CLK_DISABLE();
  626. 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  627. 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  628. 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  629. 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CR_PLL2ON)
  630. 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*-------------------------------- PLL2 Configuration -----------------------*/
  631. 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  632. 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PLL2(RCC_OscInitStruct->PLL2.PLL2State));
  633. 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC_OscInitStruct->PLL2.PLL2State) != RCC_PLL2_NONE)
  634. 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  635. 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* This bit can not be cleared if the PLL2 clock is used indirectly as system
  636. 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** clock (i.e. it is used as PLL clock entry that is used as system clock). */
  637. 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((__HAL_RCC_GET_PLL_OSCSOURCE() == RCC_PLLSOURCE_HSE) && \
  638. 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && \
  639. ARM GAS /tmp/ccWlYFBg.s page 12
  640. 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ((READ_BIT(RCC->CFGR2, RCC_CFGR2_PREDIV1SRC)) == RCC_CFGR2_PREDIV1SRC_PLL2))
  641. 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  642. 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
  643. 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  644. 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  645. 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  646. 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC_OscInitStruct->PLL2.PLL2State) == RCC_PLL2_ON)
  647. 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  648. 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  649. 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PLL2_MUL(RCC_OscInitStruct->PLL2.PLL2MUL));
  650. 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_HSE_PREDIV2(RCC_OscInitStruct->PLL2.HSEPrediv2Value));
  651. 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  652. 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Prediv2 can be written only when the PLLI2S is disabled. */
  653. 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Return an error only if new value is different from the programmed value */
  654. 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (HAL_IS_BIT_SET(RCC->CR, RCC_CR_PLL3ON) && \
  655. 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (__HAL_RCC_HSE_GET_PREDIV2() != RCC_OscInitStruct->PLL2.HSEPrediv2Value))
  656. 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  657. 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
  658. 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  659. 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  660. 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Disable the main PLL2. */
  661. 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL2_DISABLE();
  662. 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  663. 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  664. 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  665. 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  666. 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL2 is disabled */
  667. 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLL2RDY) != RESET)
  668. 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  669. 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL2_TIMEOUT_VALUE)
  670. 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  671. 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  672. 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  673. 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  674. 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  675. 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Configure the HSE prediv2 factor --------------------------------*/
  676. 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_HSE_PREDIV2_CONFIG(RCC_OscInitStruct->PLL2.HSEPrediv2Value);
  677. 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  678. 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Configure the main PLL2 multiplication factors. */
  679. 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL2_CONFIG(RCC_OscInitStruct->PLL2.PLL2MUL);
  680. 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  681. 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Enable the main PLL2. */
  682. 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL2_ENABLE();
  683. 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  684. 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  685. 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  686. 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  687. 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL2 is ready */
  688. 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLL2RDY) == RESET)
  689. 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  690. 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL2_TIMEOUT_VALUE)
  691. 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  692. 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  693. 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  694. 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  695. 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  696. 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  697. ARM GAS /tmp/ccWlYFBg.s page 13
  698. 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  699. 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set PREDIV1 source to HSE */
  700. 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_BIT(RCC->CFGR2, RCC_CFGR2_PREDIV1SRC);
  701. 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  702. 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Disable the main PLL2. */
  703. 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL2_DISABLE();
  704. 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  705. 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  706. 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  707. 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  708. 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL2 is disabled */
  709. 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLL2RDY) != RESET)
  710. 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  711. 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL2_TIMEOUT_VALUE)
  712. 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  713. 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  714. 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  715. 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  716. 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  717. 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  718. 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  719. 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  720. 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* RCC_CR_PLL2ON */
  721. 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*-------------------------------- PLL Configuration -----------------------*/
  722. 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  723. 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PLL(RCC_OscInitStruct->PLL.PLLState));
  724. 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC_OscInitStruct->PLL.PLLState) != RCC_PLL_NONE)
  725. 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  726. 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check if the PLL is used as system clock or not */
  727. 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_RCC_GET_SYSCLK_SOURCE() != RCC_SYSCLKSOURCE_STATUS_PLLCLK)
  728. 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  729. 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_ON)
  730. 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  731. 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  732. 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PLLSOURCE(RCC_OscInitStruct->PLL.PLLSource));
  733. 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PLL_MUL(RCC_OscInitStruct->PLL.PLLMUL));
  734. 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  735. 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Disable the main PLL. */
  736. 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL_DISABLE();
  737. 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  738. 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  739. 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  740. 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  741. 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL is disabled */
  742. 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET)
  743. 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  744. 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE)
  745. 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  746. 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  747. 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  748. 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  749. 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  750. 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Configure the HSE prediv factor --------------------------------*/
  751. 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* It can be written only when the PLL is disabled. Not used in PLL source is different tha
  752. 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_OscInitStruct->PLL.PLLSource == RCC_PLLSOURCE_HSE)
  753. 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  754. 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameter */
  755. ARM GAS /tmp/ccWlYFBg.s page 14
  756. 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_HSE_PREDIV(RCC_OscInitStruct->HSEPredivValue));
  757. 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1SRC)
  758. 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PREDIV1_SOURCE(RCC_OscInitStruct->Prediv1Source));
  759. 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  760. 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set PREDIV1 source */
  761. 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** SET_BIT(RCC->CFGR2, RCC_OscInitStruct->Prediv1Source);
  762. 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* RCC_CFGR2_PREDIV1SRC */
  763. 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  764. 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set PREDIV1 Value */
  765. 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_HSE_PREDIV_CONFIG(RCC_OscInitStruct->HSEPredivValue);
  766. 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  767. 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  768. 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Configure the main PLL clock source and multiplication factors. */
  769. 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL_CONFIG(RCC_OscInitStruct->PLL.PLLSource,
  770. 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLMUL);
  771. 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Enable the main PLL. */
  772. 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL_ENABLE();
  773. 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  774. 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  775. 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  776. 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  777. 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL is ready */
  778. 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET)
  779. 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  780. 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE)
  781. 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  782. 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  783. 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  784. 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  785. 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  786. 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  787. 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  788. 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Disable the main PLL. */
  789. 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL_DISABLE();
  790. 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  791. 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  792. 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  793. 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  794. 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL is disabled */
  795. 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET)
  796. 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  797. 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE)
  798. 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  799. 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  800. 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  801. 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  802. 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  803. 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  804. 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  805. 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  806. 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check if there is a request to disable the PLL used as System clock source */
  807. 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_OFF)
  808. 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  809. 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
  810. 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  811. 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  812. 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  813. ARM GAS /tmp/ccWlYFBg.s page 15
  814. 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Do not return HAL_ERROR if request repeats the current configuration */
  815. 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pll_config = RCC->CFGR;
  816. 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((READ_BIT(pll_config, RCC_CFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) ||
  817. 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMULL) != RCC_OscInitStruct->PLL.PLLMUL))
  818. 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  819. 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
  820. 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  821. 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  822. 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  823. 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  824. 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  825. 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_OK;
  826. 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  827. 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  828. 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  829. 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Initializes the CPU, AHB and APB buses clocks according to the specified
  830. 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * parameters in the RCC_ClkInitStruct.
  831. 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param RCC_ClkInitStruct pointer to an RCC_OscInitTypeDef structure that
  832. 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * contains the configuration information for the RCC peripheral.
  833. 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param FLatency FLASH Latency
  834. 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * The value of this parameter depend on device used within the same series
  835. 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The SystemCoreClock CMSIS variable is used to store System Clock Frequency
  836. 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * and updated by @ref HAL_RCC_GetHCLKFreq() function called within this function
  837. 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
  838. 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The HSI is used (enabled by hardware) as system clock source after
  839. 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * start-up from Reset, wake-up from STOP and STANDBY mode, or in case
  840. 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * of failure of the HSE used directly or indirectly as system clock
  841. 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * (if the Clock Security System CSS is enabled).
  842. 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
  843. 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note A switch from one clock source to another occurs only if the target
  844. 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * clock source is ready (clock stable after start-up delay or PLL locked).
  845. 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * If a clock source which is not yet ready is selected, the switch will
  846. 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * occur when the clock source will be ready.
  847. 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * You can use @ref HAL_RCC_GetClockConfig() function to know which clock is
  848. 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * currently used as system clock source.
  849. 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval HAL status
  850. 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  851. 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency)
  852. 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  853. 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
  854. 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  855. 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check Null pointer */
  856. 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_ClkInitStruct == NULL)
  857. 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  858. 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
  859. 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  860. 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  861. 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  862. 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_CLOCKTYPE(RCC_ClkInitStruct->ClockType));
  863. 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_FLASH_LATENCY(FLatency));
  864. 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  865. 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* To correctly read data from FLASH memory, the number of wait states (LATENCY)
  866. 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** must be correctly programmed according to the frequency of the CPU clock
  867. 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (HCLK) of the device. */
  868. 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  869. 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(FLASH_ACR_LATENCY)
  870. 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Increasing the number of wait states because of higher CPU frequency */
  871. ARM GAS /tmp/ccWlYFBg.s page 16
  872. 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (FLatency > __HAL_FLASH_GET_LATENCY())
  873. 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  874. 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */
  875. 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_FLASH_SET_LATENCY(FLatency);
  876. 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  877. 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check that the new number of wait states is taken into account to access the Flash
  878. 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** memory by reading the FLASH_ACR register */
  879. 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_FLASH_GET_LATENCY() != FLatency)
  880. 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  881. 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
  882. 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  883. 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  884. 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  885. 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* FLASH_ACR_LATENCY */
  886. 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*-------------------------- HCLK Configuration --------------------------*/
  887. 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK)
  888. 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  889. 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set the highest APBx dividers in order to ensure that we do not go through
  890. 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** a non-spec phase whatever we decrease or increase HCLK. */
  891. 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1)
  892. 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  893. 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_HCLK_DIV16);
  894. 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  895. 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  896. 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2)
  897. 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  898. 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, (RCC_HCLK_DIV16 << 3));
  899. 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  900. 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  901. 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set the new HCLK clock divider */
  902. 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_HCLK(RCC_ClkInitStruct->AHBCLKDivider));
  903. 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider);
  904. 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  905. 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  906. 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*------------------------- SYSCLK Configuration ---------------------------*/
  907. 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK)
  908. 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  909. 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource));
  910. 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  911. 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* HSE is selected as System Clock Source */
  912. 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE)
  913. 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  914. 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the HSE ready flag */
  915. 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET)
  916. 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  917. 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
  918. 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  919. 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  920. 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* PLL is selected as System Clock Source */
  921. 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else if (RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK)
  922. 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  923. 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the PLL ready flag */
  924. 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET)
  925. 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  926. 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
  927. 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  928. 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  929. ARM GAS /tmp/ccWlYFBg.s page 17
  930. 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* HSI is selected as System Clock Source */
  931. 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  932. 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  933. 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the HSI ready flag */
  934. 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET)
  935. 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  936. 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
  937. 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  938. 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  939. 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_SYSCLK_CONFIG(RCC_ClkInitStruct->SYSCLKSource);
  940. 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  941. 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
  942. 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
  943. 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  944. 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos))
  945. 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  946. 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > CLOCKSWITCH_TIMEOUT_VALUE)
  947. 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  948. 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
  949. 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  950. 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  951. 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  952. 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  953. 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(FLASH_ACR_LATENCY)
  954. 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Decreasing the number of wait states because of lower CPU frequency */
  955. 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (FLatency < __HAL_FLASH_GET_LATENCY())
  956. 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  957. 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */
  958. 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_FLASH_SET_LATENCY(FLatency);
  959. 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  960. 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check that the new number of wait states is taken into account to access the Flash
  961. 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** memory by reading the FLASH_ACR register */
  962. 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_FLASH_GET_LATENCY() != FLatency)
  963. 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  964. 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
  965. 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  966. 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  967. 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* FLASH_ACR_LATENCY */
  968. 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  969. 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*-------------------------- PCLK1 Configuration ---------------------------*/
  970. 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1)
  971. 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  972. 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB1CLKDivider));
  973. 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_ClkInitStruct->APB1CLKDivider);
  974. 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  975. 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  976. 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*-------------------------- PCLK2 Configuration ---------------------------*/
  977. 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2)
  978. 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  979. 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB2CLKDivider));
  980. 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, ((RCC_ClkInitStruct->APB2CLKDivider) << 3));
  981. 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  982. 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  983. 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Update the SystemCoreClock global variable */
  984. 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** SystemCoreClock = HAL_RCC_GetSysClockFreq() >> AHBPrescTable[(RCC->CFGR & RCC_CFGR_HPRE) >> RCC_C
  985. 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  986. 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Configure the source of time base considering new system clocks settings*/
  987. ARM GAS /tmp/ccWlYFBg.s page 18
  988. 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HAL_InitTick(uwTickPrio);
  989. 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  990. 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_OK;
  991. 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  992. 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  993. 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  994. 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @}
  995. 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  996. 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  997. 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @defgroup RCC_Exported_Functions_Group2 Peripheral Control functions
  998. 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief RCC clocks control functions
  999. 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
  1000. 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @verbatim
  1001. 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ===============================================================================
  1002. 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ##### Peripheral Control functions #####
  1003. 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ===============================================================================
  1004. 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..]
  1005. 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** This subsection provides a set of functions allowing to control the RCC Clocks
  1006. 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** frequencies.
  1007. 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1008. 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @endverbatim
  1009. 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
  1010. 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  1011. 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1012. 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  1013. 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Selects the clock source to output on MCO pin.
  1014. 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note MCO pin should be configured in alternate function mode.
  1015. 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param RCC_MCOx specifies the output direction for the clock source.
  1016. 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * This parameter can be one of the following values:
  1017. 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1 Clock source to output on MCO1 pin(PA8).
  1018. 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param RCC_MCOSource specifies the clock source to output.
  1019. 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * This parameter can be one of the following values:
  1020. 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_NOCLOCK No clock selected as MCO clock
  1021. 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_SYSCLK System clock selected as MCO clock
  1022. 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_HSI HSI selected as MCO clock
  1023. 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_HSE HSE selected as MCO clock
  1024. 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @if STM32F105xC
  1025. 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLLCLK PLL clock divided by 2 selected as MCO source
  1026. 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLL2CLK PLL2 clock selected as MCO source
  1027. 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLL3CLK_DIV2 PLL3 clock divided by 2 selected as MCO source
  1028. 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_EXT_HSE XT1 external 3-25 MHz oscillator clock selecte
  1029. 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLL3CLK PLL3 clock selected as MCO source
  1030. 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @endif
  1031. 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @if STM32F107xC
  1032. 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLLCLK PLL clock divided by 2 selected as MCO source
  1033. 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLL2CLK PLL2 clock selected as MCO source
  1034. 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLL3CLK_DIV2 PLL3 clock divided by 2 selected as MCO source
  1035. 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_EXT_HSE XT1 external 3-25 MHz oscillator clock selected as
  1036. 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLL3CLK PLL3 clock selected as MCO source
  1037. 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @endif
  1038. 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param RCC_MCODiv specifies the MCO DIV.
  1039. 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * This parameter can be one of the following values:
  1040. 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCODIV_1 no division applied to MCO clock
  1041. 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval None
  1042. 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  1043. 1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** void HAL_RCC_MCOConfig(uint32_t RCC_MCOx, uint32_t RCC_MCOSource, uint32_t RCC_MCODiv)
  1044. 1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1045. ARM GAS /tmp/ccWlYFBg.s page 19
  1046. 1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** GPIO_InitTypeDef gpio = {0U};
  1047. 1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1048. 1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  1049. 1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_MCO(RCC_MCOx));
  1050. 1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_MCODIV(RCC_MCODiv));
  1051. 1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_MCO1SOURCE(RCC_MCOSource));
  1052. 1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1053. 1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Prevent unused argument(s) compilation warning */
  1054. 1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** UNUSED(RCC_MCOx);
  1055. 1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** UNUSED(RCC_MCODiv);
  1056. 1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1057. 1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Configure the MCO1 pin in alternate function mode */
  1058. 1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Mode = GPIO_MODE_AF_PP;
  1059. 1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Speed = GPIO_SPEED_FREQ_HIGH;
  1060. 1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Pull = GPIO_NOPULL;
  1061. 1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Pin = MCO1_PIN;
  1062. 1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1063. 1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* MCO1 Clock Enable */
  1064. 1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MCO1_CLK_ENABLE();
  1065. 1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1066. 1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HAL_GPIO_Init(MCO1_GPIO_PORT, &gpio);
  1067. 1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1068. 1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Configure the MCO clock source */
  1069. 1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_MCO1_CONFIG(RCC_MCOSource, RCC_MCODiv);
  1070. 1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1071. 1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1072. 1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  1073. 1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Enables the Clock Security System.
  1074. 1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note If a failure is detected on the HSE oscillator clock, this oscillator
  1075. 1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * is automatically disabled and an interrupt is generated to inform the
  1076. 1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * software about the failure (Clock Security System Interrupt, CSSI),
  1077. 1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * allowing the MCU to perform rescue operations. The CSSI is linked to
  1078. 1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * the Cortex-M3 NMI (Non-Maskable Interrupt) exception vector.
  1079. 1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval None
  1080. 1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  1081. 1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** void HAL_RCC_EnableCSS(void)
  1082. 1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1083. 1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *(__IO uint32_t *) RCC_CR_CSSON_BB = (uint32_t)ENABLE;
  1084. 1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1085. 1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1086. 1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  1087. 1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Disables the Clock Security System.
  1088. 1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval None
  1089. 1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  1090. 1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** void HAL_RCC_DisableCSS(void)
  1091. 1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1092. 1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *(__IO uint32_t *) RCC_CR_CSSON_BB = (uint32_t)DISABLE;
  1093. 1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1094. 1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1095. 1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  1096. 1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Returns the SYSCLK frequency
  1097. 1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The system frequency computed by this function is not the real
  1098. 1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * frequency in the chip. It is calculated based on the predefined
  1099. 1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * constant and the selected clock source:
  1100. 1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note If SYSCLK source is HSI, function returns values based on HSI_VALUE(*)
  1101. 1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note If SYSCLK source is HSE, function returns a value based on HSE_VALUE
  1102. 1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * divided by PREDIV factor(**)
  1103. ARM GAS /tmp/ccWlYFBg.s page 20
  1104. 1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note If SYSCLK source is PLL, function returns a value based on HSE_VALUE
  1105. 1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * divided by PREDIV factor(**) or HSI_VALUE(*) multiplied by the PLL factor.
  1106. 1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note (*) HSI_VALUE is a constant defined in stm32f1xx_hal_conf.h file (default value
  1107. 1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * 8 MHz) but the real value may vary depending on the variations
  1108. 1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * in voltage and temperature.
  1109. 1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note (**) HSE_VALUE is a constant defined in stm32f1xx_hal_conf.h file (default value
  1110. 1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * 8 MHz), user has to ensure that HSE_VALUE is same as the real
  1111. 1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * frequency of the crystal used. Otherwise, this function may
  1112. 1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * have wrong result.
  1113. 1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
  1114. 1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The result of this function could be not correct when using fractional
  1115. 1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * value for HSE crystal.
  1116. 1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
  1117. 1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note This function can be used by the user application to compute the
  1118. 1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * baud-rate for the communication peripherals or configure other parameters.
  1119. 1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
  1120. 1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note Each time SYSCLK changes, this function must be called to update the
  1121. 1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * right SYSCLK value. Otherwise, any configuration based on this function will be incorre
  1122. 1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
  1123. 1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval SYSCLK frequency
  1124. 1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  1125. 1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t HAL_RCC_GetSysClockFreq(void)
  1126. 1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1127. 1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1SRC)
  1128. 1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** static const uint8_t aPLLMULFactorTable[14U] = {0, 0, 4, 5, 6, 7, 8, 9, 0, 0, 0, 0, 0, 13};
  1129. 1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** static const uint8_t aPredivFactorTable[16U] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
  1130. 1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
  1131. 1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** static const uint8_t aPLLMULFactorTable[16U] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 1
  1132. 1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1)
  1133. 1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** static const uint8_t aPredivFactorTable[16U] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
  1134. 1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
  1135. 1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** static const uint8_t aPredivFactorTable[2U] = {1, 2};
  1136. 1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1*/
  1137. 1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1138. 1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif
  1139. 1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tmpreg = 0U, prediv = 0U, pllclk = 0U, pllmul = 0U;
  1140. 1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t sysclockfreq = 0U;
  1141. 1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1SRC)
  1142. 1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t prediv2 = 0U, pll2mul = 0U;
  1143. 1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1SRC*/
  1144. 1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1145. 1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tmpreg = RCC->CFGR;
  1146. 1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1147. 1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get SYSCLK source -------------------------------------------------------*/
  1148. 1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** switch (tmpreg & RCC_CFGR_SWS)
  1149. 1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1150. 1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** case RCC_SYSCLKSOURCE_STATUS_HSE: /* HSE used as system clock */
  1151. 1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1152. 1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** sysclockfreq = HSE_VALUE;
  1153. 1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** break;
  1154. 1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1155. 1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** case RCC_SYSCLKSOURCE_STATUS_PLLCLK: /* PLL used as system clock */
  1156. 1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1157. 1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pllmul = aPLLMULFactorTable[(uint32_t)(tmpreg & RCC_CFGR_PLLMULL) >> RCC_CFGR_PLLMULL_Pos];
  1158. 1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((tmpreg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2)
  1159. 1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1160. 1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1)
  1161. ARM GAS /tmp/ccWlYFBg.s page 21
  1162. 1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV1) >> RCC_CFGR2_PREDIV1
  1163. 1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
  1164. 1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR & RCC_CFGR_PLLXTPRE) >> RCC_CFGR_PLLXTPRE_
  1165. 1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1*/
  1166. 1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1SRC)
  1167. 1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1168. 1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (HAL_IS_BIT_SET(RCC->CFGR2, RCC_CFGR2_PREDIV1SRC))
  1169. 1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1170. 1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* PLL2 selected as Prediv1 source */
  1171. 1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* PLLCLK = PLL2CLK / PREDIV1 * PLLMUL with PLL2CLK = HSE/PREDIV2 * PLL2MUL */
  1172. 1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** prediv2 = ((RCC->CFGR2 & RCC_CFGR2_PREDIV2) >> RCC_CFGR2_PREDIV2_Pos) + 1;
  1173. 1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pll2mul = ((RCC->CFGR2 & RCC_CFGR2_PLL2MUL) >> RCC_CFGR2_PLL2MUL_Pos) + 2;
  1174. 1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pllclk = (uint32_t)(((uint64_t)HSE_VALUE * (uint64_t)pll2mul * (uint64_t)pllmul) / ((uint
  1175. 1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1176. 1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  1177. 1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1178. 1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* HSE used as PLL clock source : PLLCLK = HSE/PREDIV1 * PLLMUL */
  1179. 1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pllclk = (uint32_t)((HSE_VALUE * pllmul) / prediv);
  1180. 1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1181. 1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1182. 1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* If PLLMUL was set to 13 means that it was to cover the case PLLMUL 6.5 (avoid using floa
  1183. 1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* In this case need to divide pllclk by 2 */
  1184. 1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (pllmul == aPLLMULFactorTable[(uint32_t)(RCC_CFGR_PLLMULL6_5) >> RCC_CFGR_PLLMULL_Pos])
  1185. 1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1186. 1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pllclk = pllclk / 2;
  1187. 1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1188. 1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
  1189. 1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* HSE used as PLL clock source : PLLCLK = HSE/PREDIV1 * PLLMUL */
  1190. 1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pllclk = (uint32_t)((HSE_VALUE * pllmul) / prediv);
  1191. 1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1SRC*/
  1192. 1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1193. 1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  1194. 1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1195. 1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* HSI used as PLL clock source : PLLCLK = HSI/2 * PLLMUL */
  1196. 1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pllclk = (uint32_t)((HSI_VALUE >> 1) * pllmul);
  1197. 1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1198. 1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** sysclockfreq = pllclk;
  1199. 1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** break;
  1200. 1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1201. 1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** case RCC_SYSCLKSOURCE_STATUS_HSI: /* HSI used as system clock source */
  1202. 1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** default: /* HSI used as system clock */
  1203. 1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1204. 1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** sysclockfreq = HSI_VALUE;
  1205. 1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** break;
  1206. 1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1207. 1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1208. 1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return sysclockfreq;
  1209. 1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1210. 1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1211. 1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  1212. 1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Returns the HCLK frequency
  1213. 1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note Each time HCLK changes, this function must be called to update the
  1214. 1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * right HCLK value. Otherwise, any configuration based on this function will be incorrect
  1215. 1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
  1216. 1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The SystemCoreClock CMSIS variable is used to store System Clock Frequency
  1217. 1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * and updated within this function
  1218. 1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval HCLK frequency
  1219. ARM GAS /tmp/ccWlYFBg.s page 22
  1220. 1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  1221. 1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t HAL_RCC_GetHCLKFreq(void)
  1222. 1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1223. 1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return SystemCoreClock;
  1224. 1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1225. 1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1226. 1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  1227. 1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Returns the PCLK1 frequency
  1228. 1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note Each time PCLK1 changes, this function must be called to update the
  1229. 1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * right PCLK1 value. Otherwise, any configuration based on this function will be incorrec
  1230. 1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval PCLK1 frequency
  1231. 1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  1232. 1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t HAL_RCC_GetPCLK1Freq(void)
  1233. 1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1234. 1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get HCLK source and Compute PCLK1 frequency ---------------------------*/
  1235. 1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return (HAL_RCC_GetHCLKFreq() >> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE1) >> RCC_CFGR_PPRE1_Pos
  1236. 1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1237. 1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1238. 1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  1239. 1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Returns the PCLK2 frequency
  1240. 1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note Each time PCLK2 changes, this function must be called to update the
  1241. 1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * right PCLK2 value. Otherwise, any configuration based on this function will be incorrec
  1242. 1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval PCLK2 frequency
  1243. 1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  1244. 1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t HAL_RCC_GetPCLK2Freq(void)
  1245. 1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1246. 1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get HCLK source and Compute PCLK2 frequency ---------------------------*/
  1247. 1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return (HAL_RCC_GetHCLKFreq() >> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE2) >> RCC_CFGR_PPRE2_Pos
  1248. 1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1249. 1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1250. 1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  1251. 1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Configures the RCC_OscInitStruct according to the internal
  1252. 1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * RCC configuration registers.
  1253. 1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param RCC_OscInitStruct pointer to an RCC_OscInitTypeDef structure that
  1254. 1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * will be configured.
  1255. 1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval None
  1256. 1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  1257. 1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** void HAL_RCC_GetOscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct)
  1258. 1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1259. 1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  1260. 1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(RCC_OscInitStruct != NULL);
  1261. 1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1262. 1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set all possible values for the Oscillator type parameter ---------------*/
  1263. 1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->OscillatorType = RCC_OSCILLATORTYPE_HSE | RCC_OSCILLATORTYPE_HSI \
  1264. 1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** | RCC_OSCILLATORTYPE_LSE | RCC_OSCILLATORTYPE_LSI;
  1265. 1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1266. 1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1SRC)
  1267. 1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the Prediv1 source --------------------------------------------------*/
  1268. 1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->Prediv1Source = READ_BIT(RCC->CFGR2, RCC_CFGR2_PREDIV1SRC);
  1269. 1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* RCC_CFGR2_PREDIV1SRC */
  1270. 1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1271. 1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the HSE configuration -----------------------------------------------*/
  1272. 1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC->CR & RCC_CR_HSEBYP) == RCC_CR_HSEBYP)
  1273. 1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1274. 1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->HSEState = RCC_HSE_BYPASS;
  1275. 1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1276. 1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else if ((RCC->CR & RCC_CR_HSEON) == RCC_CR_HSEON)
  1277. ARM GAS /tmp/ccWlYFBg.s page 23
  1278. 1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1279. 1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->HSEState = RCC_HSE_ON;
  1280. 1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1281. 1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  1282. 1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1283. 1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->HSEState = RCC_HSE_OFF;
  1284. 1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1285. 1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->HSEPredivValue = __HAL_RCC_HSE_GET_PREDIV();
  1286. 1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1287. 1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the HSI configuration -----------------------------------------------*/
  1288. 1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC->CR & RCC_CR_HSION) == RCC_CR_HSION)
  1289. 1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1290. 1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->HSIState = RCC_HSI_ON;
  1291. 1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1292. 1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  1293. 1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1294. 1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->HSIState = RCC_HSI_OFF;
  1295. 1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1296. 1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1297. 1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->HSICalibrationValue = (uint32_t)((RCC->CR & RCC_CR_HSITRIM) >> RCC_CR_HSITRIM_
  1298. 1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1299. 1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the LSE configuration -----------------------------------------------*/
  1300. 1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC->BDCR & RCC_BDCR_LSEBYP) == RCC_BDCR_LSEBYP)
  1301. 1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1302. 1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->LSEState = RCC_LSE_BYPASS;
  1303. 1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1304. 1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else if ((RCC->BDCR & RCC_BDCR_LSEON) == RCC_BDCR_LSEON)
  1305. 1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1306. 1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->LSEState = RCC_LSE_ON;
  1307. 1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1308. 1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  1309. 1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1310. 1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->LSEState = RCC_LSE_OFF;
  1311. 1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1312. 1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1313. 1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the LSI configuration -----------------------------------------------*/
  1314. 1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC->CSR & RCC_CSR_LSION) == RCC_CSR_LSION)
  1315. 1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1316. 1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->LSIState = RCC_LSI_ON;
  1317. 1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1318. 1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  1319. 1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1320. 1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->LSIState = RCC_LSI_OFF;
  1321. 1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1322. 1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1323. 1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1324. 1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the PLL configuration -----------------------------------------------*/
  1325. 1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC->CR & RCC_CR_PLLON) == RCC_CR_PLLON)
  1326. 1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1327. 1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLState = RCC_PLL_ON;
  1328. 1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1329. 1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  1330. 1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1331. 1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLState = RCC_PLL_OFF;
  1332. 1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1333. 1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLSource = (uint32_t)(RCC->CFGR & RCC_CFGR_PLLSRC);
  1334. 1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLMUL = (uint32_t)(RCC->CFGR & RCC_CFGR_PLLMULL);
  1335. ARM GAS /tmp/ccWlYFBg.s page 24
  1336. 1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CR_PLL2ON)
  1337. 1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the PLL2 configuration -----------------------------------------------*/
  1338. 1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC->CR & RCC_CR_PLL2ON) == RCC_CR_PLL2ON)
  1339. 1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1340. 1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL2.PLL2State = RCC_PLL2_ON;
  1341. 1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1342. 1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
  1343. 1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1344. 1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL2.PLL2State = RCC_PLL2_OFF;
  1345. 1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1346. 1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL2.HSEPrediv2Value = __HAL_RCC_HSE_GET_PREDIV2();
  1347. 1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL2.PLL2MUL = (uint32_t)(RCC->CFGR2 & RCC_CFGR2_PLL2MUL);
  1348. 1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* RCC_CR_PLL2ON */
  1349. 1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1350. 1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1351. 1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  1352. 1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Get the RCC_ClkInitStruct according to the internal
  1353. 1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * RCC configuration registers.
  1354. 1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param RCC_ClkInitStruct pointer to an RCC_ClkInitTypeDef structure that
  1355. 1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * contains the current clock configuration.
  1356. 1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param pFLatency Pointer on the Flash Latency.
  1357. 1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval None
  1358. 1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  1359. 1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** void HAL_RCC_GetClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatency)
  1360. 1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1361. 1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  1362. 1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(RCC_ClkInitStruct != NULL);
  1363. 1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(pFLatency != NULL);
  1364. 1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1365. 1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set all possible values for the Clock type parameter --------------------*/
  1366. 1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_ClkInitStruct->ClockType = RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_PCLK1 |
  1367. 1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1368. 1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the SYSCLK configuration --------------------------------------------*/
  1369. 1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_ClkInitStruct->SYSCLKSource = (uint32_t)(RCC->CFGR & RCC_CFGR_SW);
  1370. 1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1371. 1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the HCLK configuration ----------------------------------------------*/
  1372. 1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_ClkInitStruct->AHBCLKDivider = (uint32_t)(RCC->CFGR & RCC_CFGR_HPRE);
  1373. 1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1374. 1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the APB1 configuration ----------------------------------------------*/
  1375. 1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_ClkInitStruct->APB1CLKDivider = (uint32_t)(RCC->CFGR & RCC_CFGR_PPRE1);
  1376. 1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1377. 1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the APB2 configuration ----------------------------------------------*/
  1378. 1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_ClkInitStruct->APB2CLKDivider = (uint32_t)((RCC->CFGR & RCC_CFGR_PPRE2) >> 3);
  1379. 1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1380. 1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(FLASH_ACR_LATENCY)
  1381. 1332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the Flash Wait State (Latency) configuration ------------------------*/
  1382. 1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *pFLatency = (uint32_t)(FLASH->ACR & FLASH_ACR_LATENCY);
  1383. 1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
  1384. 1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* For VALUE lines devices, only LATENCY_0 can be set*/
  1385. 1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *pFLatency = (uint32_t)FLASH_LATENCY_0;
  1386. 1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif
  1387. 1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1388. 1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1389. 1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  1390. 1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief This function handles the RCC CSS interrupt request.
  1391. 1342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note This API should be called under the NMI_Handler().
  1392. 1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval None
  1393. ARM GAS /tmp/ccWlYFBg.s page 25
  1394. 1344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  1395. 1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** void HAL_RCC_NMI_IRQHandler(void)
  1396. 1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1397. 1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check RCC CSSF flag */
  1398. 1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_RCC_GET_IT(RCC_IT_CSS))
  1399. 1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1400. 1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* RCC Clock Security System interrupt user callback */
  1401. 1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HAL_RCC_CSSCallback();
  1402. 1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1403. 1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Clear RCC CSS pending bit */
  1404. 1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_CLEAR_IT(RCC_IT_CSS);
  1405. 1355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1406. 1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1407. 1357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1408. 1358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  1409. 1359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief This function provides delay (in milliseconds) based on CPU cycles method.
  1410. 1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param mdelay: specifies the delay time length, in milliseconds.
  1411. 1361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval None
  1412. 1362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  1413. 1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** static void RCC_Delay(uint32_t mdelay)
  1414. 1364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1415. 27 .loc 1 1364 1 view -0
  1416. 28 .cfi_startproc
  1417. 29 @ args = 0, pretend = 0, frame = 8
  1418. 30 @ frame_needed = 0, uses_anonymous_args = 0
  1419. 31 @ link register save eliminated.
  1420. 32 .loc 1 1364 1 is_stmt 0 view .LVU1
  1421. 33 0000 82B0 sub sp, sp, #8
  1422. 34 .LCFI0:
  1423. 35 .cfi_def_cfa_offset 8
  1424. 1365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __IO uint32_t Delay = mdelay * (SystemCoreClock / 8U / 1000U);
  1425. 36 .loc 1 1365 3 is_stmt 1 view .LVU2
  1426. 37 .loc 1 1365 56 is_stmt 0 view .LVU3
  1427. 38 0002 084B ldr r3, .L4
  1428. 39 0004 1B68 ldr r3, [r3]
  1429. 40 0006 084A ldr r2, .L4+4
  1430. 41 0008 A2FB0323 umull r2, r3, r2, r3
  1431. 42 000c 5B0A lsrs r3, r3, #9
  1432. 43 .loc 1 1365 32 view .LVU4
  1433. 44 000e 00FB03F3 mul r3, r0, r3
  1434. 45 .loc 1 1365 17 view .LVU5
  1435. 46 0012 0193 str r3, [sp, #4]
  1436. 47 .L2:
  1437. 1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** do
  1438. 48 .loc 1 1366 3 is_stmt 1 discriminator 1 view .LVU6
  1439. 1367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1440. 1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __NOP();
  1441. 49 .loc 1 1368 5 discriminator 1 view .LVU7
  1442. 50 .syntax unified
  1443. 51 @ 1368 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c" 1
  1444. 52 0014 00BF nop
  1445. 53 @ 0 "" 2
  1446. 1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1447. 1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (Delay --);
  1448. 54 .loc 1 1370 9 discriminator 1 view .LVU8
  1449. 55 .loc 1 1370 16 is_stmt 0 discriminator 1 view .LVU9
  1450. 56 .thumb
  1451. ARM GAS /tmp/ccWlYFBg.s page 26
  1452. 57 .syntax unified
  1453. 58 0016 019B ldr r3, [sp, #4]
  1454. 59 0018 5A1E subs r2, r3, #1
  1455. 60 001a 0192 str r2, [sp, #4]
  1456. 61 .loc 1 1370 3 discriminator 1 view .LVU10
  1457. 62 001c 002B cmp r3, #0
  1458. 63 001e F9D1 bne .L2
  1459. 1371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1460. 64 .loc 1 1371 1 view .LVU11
  1461. 65 0020 02B0 add sp, sp, #8
  1462. 66 .LCFI1:
  1463. 67 .cfi_def_cfa_offset 0
  1464. 68 @ sp needed
  1465. 69 0022 7047 bx lr
  1466. 70 .L5:
  1467. 71 .align 2
  1468. 72 .L4:
  1469. 73 0024 00000000 .word SystemCoreClock
  1470. 74 0028 D34D6210 .word 274877907
  1471. 75 .cfi_endproc
  1472. 76 .LFE78:
  1473. 78 .section .text.HAL_RCC_DeInit,"ax",%progbits
  1474. 79 .align 1
  1475. 80 .global HAL_RCC_DeInit
  1476. 81 .syntax unified
  1477. 82 .thumb
  1478. 83 .thumb_func
  1479. 85 HAL_RCC_DeInit:
  1480. 86 .LFB65:
  1481. 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
  1482. 87 .loc 1 201 1 is_stmt 1 view -0
  1483. 88 .cfi_startproc
  1484. 89 @ args = 0, pretend = 0, frame = 0
  1485. 90 @ frame_needed = 0, uses_anonymous_args = 0
  1486. 91 0000 70B5 push {r4, r5, r6, lr}
  1487. 92 .LCFI2:
  1488. 93 .cfi_def_cfa_offset 16
  1489. 94 .cfi_offset 4, -16
  1490. 95 .cfi_offset 5, -12
  1491. 96 .cfi_offset 6, -8
  1492. 97 .cfi_offset 14, -4
  1493. 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1494. 98 .loc 1 202 3 view .LVU13
  1495. 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1496. 99 .loc 1 205 3 view .LVU14
  1497. 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1498. 100 .loc 1 205 15 is_stmt 0 view .LVU15
  1499. 101 0002 FFF7FEFF bl HAL_GetTick
  1500. 102 .LVL1:
  1501. 103 0006 0446 mov r4, r0
  1502. 104 .LVL2:
  1503. 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1504. 105 .loc 1 208 3 is_stmt 1 view .LVU16
  1505. 106 0008 364A ldr r2, .L27
  1506. 107 000a 1368 ldr r3, [r2]
  1507. 108 000c 43F00103 orr r3, r3, #1
  1508. 109 0010 1360 str r3, [r2]
  1509. ARM GAS /tmp/ccWlYFBg.s page 27
  1510. 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1511. 110 .loc 1 211 3 view .LVU17
  1512. 111 .LVL3:
  1513. 112 .L7:
  1514. 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1515. 113 .loc 1 211 9 view .LVU18
  1516. 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1517. 114 .loc 1 211 10 is_stmt 0 view .LVU19
  1518. 115 0012 344B ldr r3, .L27
  1519. 116 0014 1B68 ldr r3, [r3]
  1520. 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1521. 117 .loc 1 211 9 view .LVU20
  1522. 118 0016 13F0020F tst r3, #2
  1523. 119 001a 07D1 bne .L22
  1524. 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1525. 120 .loc 1 213 5 is_stmt 1 view .LVU21
  1526. 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1527. 121 .loc 1 213 10 is_stmt 0 view .LVU22
  1528. 122 001c FFF7FEFF bl HAL_GetTick
  1529. 123 .LVL4:
  1530. 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1531. 124 .loc 1 213 24 view .LVU23
  1532. 125 0020 001B subs r0, r0, r4
  1533. 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1534. 126 .loc 1 213 8 view .LVU24
  1535. 127 0022 0228 cmp r0, #2
  1536. 128 0024 F5D9 bls .L7
  1537. 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1538. 129 .loc 1 215 14 view .LVU25
  1539. 130 0026 0324 movs r4, #3
  1540. 131 .LVL5:
  1541. 132 .L8:
  1542. 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1543. 133 .loc 1 328 1 view .LVU26
  1544. 134 0028 2046 mov r0, r4
  1545. 135 002a 70BD pop {r4, r5, r6, pc}
  1546. 136 .LVL6:
  1547. 137 .L22:
  1548. 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1549. 138 .loc 1 220 3 is_stmt 1 view .LVU27
  1550. 139 002c 2D4D ldr r5, .L27
  1551. 140 002e 2B68 ldr r3, [r5]
  1552. 141 0030 23F0F803 bic r3, r3, #248
  1553. 142 0034 43F08003 orr r3, r3, #128
  1554. 143 0038 2B60 str r3, [r5]
  1555. 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1556. 144 .loc 1 223 3 view .LVU28
  1557. 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1558. 145 .loc 1 223 15 is_stmt 0 view .LVU29
  1559. 146 003a FFF7FEFF bl HAL_GetTick
  1560. 147 .LVL7:
  1561. 148 003e 0446 mov r4, r0
  1562. 149 .LVL8:
  1563. 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1564. 150 .loc 1 226 3 is_stmt 1 view .LVU30
  1565. 151 0040 0023 movs r3, #0
  1566. 152 0042 6B60 str r3, [r5, #4]
  1567. ARM GAS /tmp/ccWlYFBg.s page 28
  1568. 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1569. 153 .loc 1 229 3 view .LVU31
  1570. 154 .LVL9:
  1571. 155 .L10:
  1572. 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1573. 156 .loc 1 229 9 view .LVU32
  1574. 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1575. 157 .loc 1 229 10 is_stmt 0 view .LVU33
  1576. 158 0044 274B ldr r3, .L27
  1577. 159 0046 5B68 ldr r3, [r3, #4]
  1578. 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1579. 160 .loc 1 229 9 view .LVU34
  1580. 161 0048 13F00C0F tst r3, #12
  1581. 162 004c 08D0 beq .L23
  1582. 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1583. 163 .loc 1 231 5 is_stmt 1 view .LVU35
  1584. 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1585. 164 .loc 1 231 10 is_stmt 0 view .LVU36
  1586. 165 004e FFF7FEFF bl HAL_GetTick
  1587. 166 .LVL10:
  1588. 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1589. 167 .loc 1 231 24 view .LVU37
  1590. 168 0052 001B subs r0, r0, r4
  1591. 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1592. 169 .loc 1 231 8 view .LVU38
  1593. 170 0054 41F28833 movw r3, #5000
  1594. 171 0058 9842 cmp r0, r3
  1595. 172 005a F3D9 bls .L10
  1596. 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1597. 173 .loc 1 233 14 view .LVU39
  1598. 174 005c 0324 movs r4, #3
  1599. 175 .LVL11:
  1600. 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1601. 176 .loc 1 233 14 view .LVU40
  1602. 177 005e E3E7 b .L8
  1603. 178 .LVL12:
  1604. 179 .L23:
  1605. 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1606. 180 .loc 1 238 3 is_stmt 1 view .LVU41
  1607. 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1608. 181 .loc 1 238 19 is_stmt 0 view .LVU42
  1609. 182 0060 214B ldr r3, .L27+4
  1610. 183 0062 224A ldr r2, .L27+8
  1611. 184 0064 1A60 str r2, [r3]
  1612. 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1613. 185 .loc 1 241 3 is_stmt 1 view .LVU43
  1614. 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1615. 186 .loc 1 241 7 is_stmt 0 view .LVU44
  1616. 187 0066 224B ldr r3, .L27+12
  1617. 188 0068 1868 ldr r0, [r3]
  1618. 189 006a FFF7FEFF bl HAL_InitTick
  1619. 190 .LVL13:
  1620. 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1621. 191 .loc 1 241 6 view .LVU45
  1622. 192 006e 0446 mov r4, r0
  1623. 193 .LVL14:
  1624. 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1625. ARM GAS /tmp/ccWlYFBg.s page 29
  1626. 194 .loc 1 241 6 view .LVU46
  1627. 195 0070 08B1 cbz r0, .L24
  1628. 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1629. 196 .loc 1 243 12 view .LVU47
  1630. 197 0072 0124 movs r4, #1
  1631. 198 0074 D8E7 b .L8
  1632. 199 .L24:
  1633. 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1634. 200 .loc 1 247 3 is_stmt 1 view .LVU48
  1635. 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1636. 201 .loc 1 247 15 is_stmt 0 view .LVU49
  1637. 202 0076 FFF7FEFF bl HAL_GetTick
  1638. 203 .LVL15:
  1639. 204 007a 0546 mov r5, r0
  1640. 205 .LVL16:
  1641. 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1642. 206 .loc 1 250 3 is_stmt 1 view .LVU50
  1643. 207 007c 194A ldr r2, .L27
  1644. 208 007e 1368 ldr r3, [r2]
  1645. 209 0080 23F08073 bic r3, r3, #16777216
  1646. 210 0084 1360 str r3, [r2]
  1647. 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1648. 211 .loc 1 253 3 view .LVU51
  1649. 212 .LVL17:
  1650. 213 .L12:
  1651. 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1652. 214 .loc 1 253 9 view .LVU52
  1653. 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1654. 215 .loc 1 253 10 is_stmt 0 view .LVU53
  1655. 216 0086 174B ldr r3, .L27
  1656. 217 0088 1B68 ldr r3, [r3]
  1657. 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1658. 218 .loc 1 253 9 view .LVU54
  1659. 219 008a 13F0007F tst r3, #33554432
  1660. 220 008e 06D0 beq .L25
  1661. 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1662. 221 .loc 1 255 5 is_stmt 1 view .LVU55
  1663. 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1664. 222 .loc 1 255 10 is_stmt 0 view .LVU56
  1665. 223 0090 FFF7FEFF bl HAL_GetTick
  1666. 224 .LVL18:
  1667. 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1668. 225 .loc 1 255 24 view .LVU57
  1669. 226 0094 401B subs r0, r0, r5
  1670. 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1671. 227 .loc 1 255 8 view .LVU58
  1672. 228 0096 0228 cmp r0, #2
  1673. 229 0098 F5D9 bls .L12
  1674. 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1675. 230 .loc 1 257 14 view .LVU59
  1676. 231 009a 0324 movs r4, #3
  1677. 232 009c C4E7 b .L8
  1678. 233 .L25:
  1679. 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1680. 234 .loc 1 262 3 is_stmt 1 view .LVU60
  1681. 235 009e 114E ldr r6, .L27
  1682. 236 00a0 0023 movs r3, #0
  1683. ARM GAS /tmp/ccWlYFBg.s page 30
  1684. 237 00a2 7360 str r3, [r6, #4]
  1685. 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1686. 238 .loc 1 265 3 view .LVU61
  1687. 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1688. 239 .loc 1 265 15 is_stmt 0 view .LVU62
  1689. 240 00a4 FFF7FEFF bl HAL_GetTick
  1690. 241 .LVL19:
  1691. 242 00a8 0546 mov r5, r0
  1692. 243 .LVL20:
  1693. 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1694. 244 .loc 1 268 3 is_stmt 1 view .LVU63
  1695. 245 00aa 3368 ldr r3, [r6]
  1696. 246 00ac 23F41023 bic r3, r3, #589824
  1697. 247 00b0 3360 str r3, [r6]
  1698. 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1699. 248 .loc 1 271 3 view .LVU64
  1700. 249 .LVL21:
  1701. 250 .L14:
  1702. 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1703. 251 .loc 1 271 9 view .LVU65
  1704. 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1705. 252 .loc 1 271 10 is_stmt 0 view .LVU66
  1706. 253 00b2 0C4B ldr r3, .L27
  1707. 254 00b4 1B68 ldr r3, [r3]
  1708. 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1709. 255 .loc 1 271 9 view .LVU67
  1710. 256 00b6 13F4003F tst r3, #131072
  1711. 257 00ba 06D0 beq .L26
  1712. 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1713. 258 .loc 1 273 5 is_stmt 1 view .LVU68
  1714. 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1715. 259 .loc 1 273 10 is_stmt 0 view .LVU69
  1716. 260 00bc FFF7FEFF bl HAL_GetTick
  1717. 261 .LVL22:
  1718. 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1719. 262 .loc 1 273 24 view .LVU70
  1720. 263 00c0 401B subs r0, r0, r5
  1721. 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1722. 264 .loc 1 273 8 view .LVU71
  1723. 265 00c2 6428 cmp r0, #100
  1724. 266 00c4 F5D9 bls .L14
  1725. 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1726. 267 .loc 1 275 14 view .LVU72
  1727. 268 00c6 0324 movs r4, #3
  1728. 269 00c8 AEE7 b .L8
  1729. 270 .L26:
  1730. 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1731. 271 .loc 1 280 3 is_stmt 1 view .LVU73
  1732. 272 00ca 064B ldr r3, .L27
  1733. 273 00cc 1A68 ldr r2, [r3]
  1734. 274 00ce 22F48022 bic r2, r2, #262144
  1735. 275 00d2 1A60 str r2, [r3]
  1736. 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1737. 276 .loc 1 322 3 view .LVU74
  1738. 277 00d4 5A6A ldr r2, [r3, #36]
  1739. 278 00d6 42F08072 orr r2, r2, #16777216
  1740. 279 00da 5A62 str r2, [r3, #36]
  1741. ARM GAS /tmp/ccWlYFBg.s page 31
  1742. 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1743. 280 .loc 1 325 3 view .LVU75
  1744. 281 00dc 0022 movs r2, #0
  1745. 282 00de 9A60 str r2, [r3, #8]
  1746. 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1747. 283 .loc 1 327 3 view .LVU76
  1748. 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1749. 284 .loc 1 327 10 is_stmt 0 view .LVU77
  1750. 285 00e0 A2E7 b .L8
  1751. 286 .L28:
  1752. 287 00e2 00BF .align 2
  1753. 288 .L27:
  1754. 289 00e4 00100240 .word 1073876992
  1755. 290 00e8 00000000 .word SystemCoreClock
  1756. 291 00ec 00127A00 .word 8000000
  1757. 292 00f0 00000000 .word uwTickPrio
  1758. 293 .cfi_endproc
  1759. 294 .LFE65:
  1760. 296 .section .text.HAL_RCC_OscConfig,"ax",%progbits
  1761. 297 .align 1
  1762. 298 .global HAL_RCC_OscConfig
  1763. 299 .syntax unified
  1764. 300 .thumb
  1765. 301 .thumb_func
  1766. 303 HAL_RCC_OscConfig:
  1767. 304 .LVL23:
  1768. 305 .LFB66:
  1769. 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
  1770. 306 .loc 1 346 1 is_stmt 1 view -0
  1771. 307 .cfi_startproc
  1772. 308 @ args = 0, pretend = 0, frame = 8
  1773. 309 @ frame_needed = 0, uses_anonymous_args = 0
  1774. 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t pll_config;
  1775. 310 .loc 1 347 3 view .LVU79
  1776. 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1777. 311 .loc 1 348 3 view .LVU80
  1778. 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1779. 312 .loc 1 351 3 view .LVU81
  1780. 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1781. 313 .loc 1 351 6 is_stmt 0 view .LVU82
  1782. 314 0000 0028 cmp r0, #0
  1783. 315 0002 00F0F181 beq .L82
  1784. 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
  1785. 316 .loc 1 346 1 view .LVU83
  1786. 317 0006 70B5 push {r4, r5, r6, lr}
  1787. 318 .LCFI3:
  1788. 319 .cfi_def_cfa_offset 16
  1789. 320 .cfi_offset 4, -16
  1790. 321 .cfi_offset 5, -12
  1791. 322 .cfi_offset 6, -8
  1792. 323 .cfi_offset 14, -4
  1793. 324 0008 82B0 sub sp, sp, #8
  1794. 325 .LCFI4:
  1795. 326 .cfi_def_cfa_offset 24
  1796. 327 000a 0446 mov r4, r0
  1797. 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1798. 328 .loc 1 357 3 is_stmt 1 view .LVU84
  1799. ARM GAS /tmp/ccWlYFBg.s page 32
  1800. 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1801. 329 .loc 1 360 3 view .LVU85
  1802. 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1803. 330 .loc 1 360 26 is_stmt 0 view .LVU86
  1804. 331 000c 0368 ldr r3, [r0]
  1805. 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1806. 332 .loc 1 360 6 view .LVU87
  1807. 333 000e 13F0010F tst r3, #1
  1808. 334 0012 2CD0 beq .L31
  1809. 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1810. 335 .loc 1 363 5 is_stmt 1 view .LVU88
  1811. 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL
  1812. 336 .loc 1 366 5 view .LVU89
  1813. 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL
  1814. 337 .loc 1 366 10 is_stmt 0 view .LVU90
  1815. 338 0014 994B ldr r3, .L122
  1816. 339 0016 5B68 ldr r3, [r3, #4]
  1817. 340 0018 03F00C03 and r3, r3, #12
  1818. 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL
  1819. 341 .loc 1 366 8 view .LVU91
  1820. 342 001c 042B cmp r3, #4
  1821. 343 001e 1DD0 beq .L32
  1822. 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1823. 344 .loc 1 367 14 view .LVU92
  1824. 345 0020 964B ldr r3, .L122
  1825. 346 0022 5B68 ldr r3, [r3, #4]
  1826. 347 0024 03F00C03 and r3, r3, #12
  1827. 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1828. 348 .loc 1 367 9 view .LVU93
  1829. 349 0028 082B cmp r3, #8
  1830. 350 002a 12D0 beq .L106
  1831. 351 .L33:
  1832. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1833. 352 .loc 1 377 7 is_stmt 1 view .LVU94
  1834. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1835. 353 .loc 1 377 7 view .LVU95
  1836. 354 002c 6368 ldr r3, [r4, #4]
  1837. 355 002e B3F5803F cmp r3, #65536
  1838. 356 0032 41D0 beq .L107
  1839. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1840. 357 .loc 1 377 7 discriminator 2 view .LVU96
  1841. 358 0034 002B cmp r3, #0
  1842. 359 0036 55D1 bne .L36
  1843. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1844. 360 .loc 1 377 7 discriminator 4 view .LVU97
  1845. 361 0038 03F18043 add r3, r3, #1073741824
  1846. 362 003c 03F50433 add r3, r3, #135168
  1847. 363 0040 1A68 ldr r2, [r3]
  1848. 364 0042 22F48032 bic r2, r2, #65536
  1849. 365 0046 1A60 str r2, [r3]
  1850. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1851. 366 .loc 1 377 7 discriminator 4 view .LVU98
  1852. 367 0048 1A68 ldr r2, [r3]
  1853. 368 004a 22F48022 bic r2, r2, #262144
  1854. 369 004e 1A60 str r2, [r3]
  1855. 370 0050 37E0 b .L35
  1856. 371 .L106:
  1857. ARM GAS /tmp/ccWlYFBg.s page 33
  1858. 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1859. 372 .loc 1 367 83 is_stmt 0 discriminator 1 view .LVU99
  1860. 373 0052 8A4B ldr r3, .L122
  1861. 374 0054 5B68 ldr r3, [r3, #4]
  1862. 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1863. 375 .loc 1 367 79 discriminator 1 view .LVU100
  1864. 376 0056 13F4803F tst r3, #65536
  1865. 377 005a E7D0 beq .L33
  1866. 378 .L32:
  1867. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1868. 379 .loc 1 369 7 is_stmt 1 view .LVU101
  1869. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1870. 380 .loc 1 369 12 is_stmt 0 view .LVU102
  1871. 381 005c 874B ldr r3, .L122
  1872. 382 005e 1B68 ldr r3, [r3]
  1873. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1874. 383 .loc 1 369 10 view .LVU103
  1875. 384 0060 13F4003F tst r3, #131072
  1876. 385 0064 03D0 beq .L31
  1877. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1878. 386 .loc 1 369 79 discriminator 1 view .LVU104
  1879. 387 0066 6368 ldr r3, [r4, #4]
  1880. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1881. 388 .loc 1 369 58 discriminator 1 view .LVU105
  1882. 389 0068 002B cmp r3, #0
  1883. 390 006a 00F0BF81 beq .L108
  1884. 391 .LVL24:
  1885. 392 .L31:
  1886. 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1887. 393 .loc 1 412 3 is_stmt 1 view .LVU106
  1888. 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1889. 394 .loc 1 412 26 is_stmt 0 view .LVU107
  1890. 395 006e 2368 ldr r3, [r4]
  1891. 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1892. 396 .loc 1 412 6 view .LVU108
  1893. 397 0070 13F0020F tst r3, #2
  1894. 398 0074 75D0 beq .L43
  1895. 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_CALIBRATION_VALUE(RCC_OscInitStruct->HSICalibrationValue));
  1896. 399 .loc 1 415 5 is_stmt 1 view .LVU109
  1897. 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1898. 400 .loc 1 416 5 view .LVU110
  1899. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL
  1900. 401 .loc 1 419 5 view .LVU111
  1901. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL
  1902. 402 .loc 1 419 10 is_stmt 0 view .LVU112
  1903. 403 0076 814B ldr r3, .L122
  1904. 404 0078 5B68 ldr r3, [r3, #4]
  1905. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL
  1906. 405 .loc 1 419 8 view .LVU113
  1907. 406 007a 13F00C0F tst r3, #12
  1908. 407 007e 5FD0 beq .L44
  1909. 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1910. 408 .loc 1 420 14 view .LVU114
  1911. 409 0080 7E4B ldr r3, .L122
  1912. 410 0082 5B68 ldr r3, [r3, #4]
  1913. 411 0084 03F00C03 and r3, r3, #12
  1914. 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1915. ARM GAS /tmp/ccWlYFBg.s page 34
  1916. 412 .loc 1 420 9 view .LVU115
  1917. 413 0088 082B cmp r3, #8
  1918. 414 008a 54D0 beq .L109
  1919. 415 .L45:
  1920. 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1921. 416 .loc 1 437 7 is_stmt 1 view .LVU116
  1922. 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1923. 417 .loc 1 437 28 is_stmt 0 view .LVU117
  1924. 418 008c 2369 ldr r3, [r4, #16]
  1925. 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1926. 419 .loc 1 437 10 view .LVU118
  1927. 420 008e 002B cmp r3, #0
  1928. 421 0090 00F08A80 beq .L47
  1929. 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1930. 422 .loc 1 440 9 is_stmt 1 view .LVU119
  1931. 423 0094 7A4B ldr r3, .L122+4
  1932. 424 0096 0122 movs r2, #1
  1933. 425 0098 1A60 str r2, [r3]
  1934. 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1935. 426 .loc 1 443 9 view .LVU120
  1936. 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1937. 427 .loc 1 443 21 is_stmt 0 view .LVU121
  1938. 428 009a FFF7FEFF bl HAL_GetTick
  1939. 429 .LVL25:
  1940. 430 009e 0546 mov r5, r0
  1941. 431 .LVL26:
  1942. 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1943. 432 .loc 1 446 9 is_stmt 1 view .LVU122
  1944. 433 .L48:
  1945. 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1946. 434 .loc 1 446 15 view .LVU123
  1947. 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1948. 435 .loc 1 446 16 is_stmt 0 view .LVU124
  1949. 436 00a0 764B ldr r3, .L122
  1950. 437 00a2 1B68 ldr r3, [r3]
  1951. 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1952. 438 .loc 1 446 15 view .LVU125
  1953. 439 00a4 13F0020F tst r3, #2
  1954. 440 00a8 75D1 bne .L110
  1955. 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1956. 441 .loc 1 448 11 is_stmt 1 view .LVU126
  1957. 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1958. 442 .loc 1 448 16 is_stmt 0 view .LVU127
  1959. 443 00aa FFF7FEFF bl HAL_GetTick
  1960. 444 .LVL27:
  1961. 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1962. 445 .loc 1 448 30 view .LVU128
  1963. 446 00ae 401B subs r0, r0, r5
  1964. 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1965. 447 .loc 1 448 14 view .LVU129
  1966. 448 00b0 0228 cmp r0, #2
  1967. 449 00b2 F5D9 bls .L48
  1968. 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  1969. 450 .loc 1 450 20 view .LVU130
  1970. 451 00b4 0320 movs r0, #3
  1971. 452 00b6 9EE1 b .L30
  1972. 453 .LVL28:
  1973. ARM GAS /tmp/ccWlYFBg.s page 35
  1974. 454 .L107:
  1975. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1976. 455 .loc 1 377 7 is_stmt 1 discriminator 1 view .LVU131
  1977. 456 00b8 704A ldr r2, .L122
  1978. 457 00ba 1368 ldr r3, [r2]
  1979. 458 00bc 43F48033 orr r3, r3, #65536
  1980. 459 00c0 1360 str r3, [r2]
  1981. 460 .L35:
  1982. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1983. 461 .loc 1 377 7 discriminator 10 view .LVU132
  1984. 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1985. 462 .loc 1 381 7 discriminator 10 view .LVU133
  1986. 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1987. 463 .loc 1 381 28 is_stmt 0 discriminator 10 view .LVU134
  1988. 464 00c2 6368 ldr r3, [r4, #4]
  1989. 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  1990. 465 .loc 1 381 10 discriminator 10 view .LVU135
  1991. 466 00c4 43B3 cbz r3, .L38
  1992. 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1993. 467 .loc 1 384 9 is_stmt 1 view .LVU136
  1994. 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1995. 468 .loc 1 384 21 is_stmt 0 view .LVU137
  1996. 469 00c6 FFF7FEFF bl HAL_GetTick
  1997. 470 .LVL29:
  1998. 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  1999. 471 .loc 1 384 21 view .LVU138
  2000. 472 00ca 0546 mov r5, r0
  2001. 473 .LVL30:
  2002. 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2003. 474 .loc 1 387 9 is_stmt 1 view .LVU139
  2004. 475 .L39:
  2005. 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2006. 476 .loc 1 387 15 view .LVU140
  2007. 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2008. 477 .loc 1 387 16 is_stmt 0 view .LVU141
  2009. 478 00cc 6B4B ldr r3, .L122
  2010. 479 00ce 1B68 ldr r3, [r3]
  2011. 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2012. 480 .loc 1 387 15 view .LVU142
  2013. 481 00d0 13F4003F tst r3, #131072
  2014. 482 00d4 CBD1 bne .L31
  2015. 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2016. 483 .loc 1 389 11 is_stmt 1 view .LVU143
  2017. 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2018. 484 .loc 1 389 16 is_stmt 0 view .LVU144
  2019. 485 00d6 FFF7FEFF bl HAL_GetTick
  2020. 486 .LVL31:
  2021. 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2022. 487 .loc 1 389 30 view .LVU145
  2023. 488 00da 401B subs r0, r0, r5
  2024. 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2025. 489 .loc 1 389 14 view .LVU146
  2026. 490 00dc 6428 cmp r0, #100
  2027. 491 00de F5D9 bls .L39
  2028. 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2029. 492 .loc 1 391 20 view .LVU147
  2030. 493 00e0 0320 movs r0, #3
  2031. ARM GAS /tmp/ccWlYFBg.s page 36
  2032. 494 00e2 88E1 b .L30
  2033. 495 .LVL32:
  2034. 496 .L36:
  2035. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2036. 497 .loc 1 377 7 is_stmt 1 discriminator 5 view .LVU148
  2037. 498 00e4 B3F5A02F cmp r3, #327680
  2038. 499 00e8 09D0 beq .L111
  2039. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2040. 500 .loc 1 377 7 discriminator 8 view .LVU149
  2041. 501 00ea 644B ldr r3, .L122
  2042. 502 00ec 1A68 ldr r2, [r3]
  2043. 503 00ee 22F48032 bic r2, r2, #65536
  2044. 504 00f2 1A60 str r2, [r3]
  2045. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2046. 505 .loc 1 377 7 discriminator 8 view .LVU150
  2047. 506 00f4 1A68 ldr r2, [r3]
  2048. 507 00f6 22F48022 bic r2, r2, #262144
  2049. 508 00fa 1A60 str r2, [r3]
  2050. 509 00fc E1E7 b .L35
  2051. 510 .L111:
  2052. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2053. 511 .loc 1 377 7 discriminator 7 view .LVU151
  2054. 512 00fe 03F18043 add r3, r3, #1073741824
  2055. 513 0102 A3F53C33 sub r3, r3, #192512
  2056. 514 0106 1A68 ldr r2, [r3]
  2057. 515 0108 42F48022 orr r2, r2, #262144
  2058. 516 010c 1A60 str r2, [r3]
  2059. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2060. 517 .loc 1 377 7 discriminator 7 view .LVU152
  2061. 518 010e 1A68 ldr r2, [r3]
  2062. 519 0110 42F48032 orr r2, r2, #65536
  2063. 520 0114 1A60 str r2, [r3]
  2064. 521 0116 D4E7 b .L35
  2065. 522 .L38:
  2066. 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2067. 523 .loc 1 398 9 view .LVU153
  2068. 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2069. 524 .loc 1 398 21 is_stmt 0 view .LVU154
  2070. 525 0118 FFF7FEFF bl HAL_GetTick
  2071. 526 .LVL33:
  2072. 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2073. 527 .loc 1 398 21 view .LVU155
  2074. 528 011c 0546 mov r5, r0
  2075. 529 .LVL34:
  2076. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2077. 530 .loc 1 401 9 is_stmt 1 view .LVU156
  2078. 531 .L41:
  2079. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2080. 532 .loc 1 401 15 view .LVU157
  2081. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2082. 533 .loc 1 401 16 is_stmt 0 view .LVU158
  2083. 534 011e 574B ldr r3, .L122
  2084. 535 0120 1B68 ldr r3, [r3]
  2085. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2086. 536 .loc 1 401 15 view .LVU159
  2087. 537 0122 13F4003F tst r3, #131072
  2088. 538 0126 A2D0 beq .L31
  2089. ARM GAS /tmp/ccWlYFBg.s page 37
  2090. 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2091. 539 .loc 1 403 11 is_stmt 1 view .LVU160
  2092. 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2093. 540 .loc 1 403 16 is_stmt 0 view .LVU161
  2094. 541 0128 FFF7FEFF bl HAL_GetTick
  2095. 542 .LVL35:
  2096. 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2097. 543 .loc 1 403 30 view .LVU162
  2098. 544 012c 401B subs r0, r0, r5
  2099. 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2100. 545 .loc 1 403 14 view .LVU163
  2101. 546 012e 6428 cmp r0, #100
  2102. 547 0130 F5D9 bls .L41
  2103. 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2104. 548 .loc 1 405 20 view .LVU164
  2105. 549 0132 0320 movs r0, #3
  2106. 550 0134 5FE1 b .L30
  2107. 551 .LVL36:
  2108. 552 .L109:
  2109. 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2110. 553 .loc 1 420 83 discriminator 1 view .LVU165
  2111. 554 0136 514B ldr r3, .L122
  2112. 555 0138 5B68 ldr r3, [r3, #4]
  2113. 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2114. 556 .loc 1 420 79 discriminator 1 view .LVU166
  2115. 557 013a 13F4803F tst r3, #65536
  2116. 558 013e A5D1 bne .L45
  2117. 559 .L44:
  2118. 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2119. 560 .loc 1 423 7 is_stmt 1 view .LVU167
  2120. 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2121. 561 .loc 1 423 12 is_stmt 0 view .LVU168
  2122. 562 0140 4E4B ldr r3, .L122
  2123. 563 0142 1B68 ldr r3, [r3]
  2124. 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2125. 564 .loc 1 423 10 view .LVU169
  2126. 565 0144 13F0020F tst r3, #2
  2127. 566 0148 03D0 beq .L46
  2128. 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2129. 567 .loc 1 423 79 discriminator 1 view .LVU170
  2130. 568 014a 2369 ldr r3, [r4, #16]
  2131. 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2132. 569 .loc 1 423 58 discriminator 1 view .LVU171
  2133. 570 014c 012B cmp r3, #1
  2134. 571 014e 40F04F81 bne .L86
  2135. 572 .L46:
  2136. 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2137. 573 .loc 1 431 9 is_stmt 1 view .LVU172
  2138. 574 0152 4A4A ldr r2, .L122
  2139. 575 0154 1368 ldr r3, [r2]
  2140. 576 0156 23F0F803 bic r3, r3, #248
  2141. 577 015a 6169 ldr r1, [r4, #20]
  2142. 578 015c 43EAC103 orr r3, r3, r1, lsl #3
  2143. 579 0160 1360 str r3, [r2]
  2144. 580 .L43:
  2145. 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2146. 581 .loc 1 477 3 view .LVU173
  2147. ARM GAS /tmp/ccWlYFBg.s page 38
  2148. 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2149. 582 .loc 1 477 26 is_stmt 0 view .LVU174
  2150. 583 0162 2368 ldr r3, [r4]
  2151. 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2152. 584 .loc 1 477 6 view .LVU175
  2153. 585 0164 13F0080F tst r3, #8
  2154. 586 0168 33D0 beq .L52
  2155. 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2156. 587 .loc 1 480 5 is_stmt 1 view .LVU176
  2157. 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2158. 588 .loc 1 483 5 view .LVU177
  2159. 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2160. 589 .loc 1 483 26 is_stmt 0 view .LVU178
  2161. 590 016a A369 ldr r3, [r4, #24]
  2162. 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2163. 591 .loc 1 483 8 view .LVU179
  2164. 592 016c 002B cmp r3, #0
  2165. 593 016e 5CD0 beq .L53
  2166. 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2167. 594 .loc 1 486 7 is_stmt 1 view .LVU180
  2168. 595 0170 434B ldr r3, .L122+4
  2169. 596 0172 0122 movs r2, #1
  2170. 597 0174 C3F88024 str r2, [r3, #1152]
  2171. 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2172. 598 .loc 1 489 7 view .LVU181
  2173. 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2174. 599 .loc 1 489 19 is_stmt 0 view .LVU182
  2175. 600 0178 FFF7FEFF bl HAL_GetTick
  2176. 601 .LVL37:
  2177. 602 017c 0546 mov r5, r0
  2178. 603 .LVL38:
  2179. 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2180. 604 .loc 1 492 7 is_stmt 1 view .LVU183
  2181. 605 .L54:
  2182. 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2183. 606 .loc 1 492 13 view .LVU184
  2184. 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2185. 607 .loc 1 492 14 is_stmt 0 view .LVU185
  2186. 608 017e 3F4B ldr r3, .L122
  2187. 609 0180 5B6A ldr r3, [r3, #36]
  2188. 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2189. 610 .loc 1 492 13 view .LVU186
  2190. 611 0182 13F0020F tst r3, #2
  2191. 612 0186 21D1 bne .L112
  2192. 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2193. 613 .loc 1 494 9 is_stmt 1 view .LVU187
  2194. 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2195. 614 .loc 1 494 14 is_stmt 0 view .LVU188
  2196. 615 0188 FFF7FEFF bl HAL_GetTick
  2197. 616 .LVL39:
  2198. 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2199. 617 .loc 1 494 28 view .LVU189
  2200. 618 018c 401B subs r0, r0, r5
  2201. 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2202. 619 .loc 1 494 12 view .LVU190
  2203. 620 018e 0228 cmp r0, #2
  2204. 621 0190 F5D9 bls .L54
  2205. ARM GAS /tmp/ccWlYFBg.s page 39
  2206. 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2207. 622 .loc 1 496 18 view .LVU191
  2208. 623 0192 0320 movs r0, #3
  2209. 624 0194 2FE1 b .L30
  2210. 625 .L110:
  2211. 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2212. 626 .loc 1 455 9 is_stmt 1 view .LVU192
  2213. 627 0196 394A ldr r2, .L122
  2214. 628 0198 1368 ldr r3, [r2]
  2215. 629 019a 23F0F803 bic r3, r3, #248
  2216. 630 019e 6169 ldr r1, [r4, #20]
  2217. 631 01a0 43EAC103 orr r3, r3, r1, lsl #3
  2218. 632 01a4 1360 str r3, [r2]
  2219. 633 01a6 DCE7 b .L43
  2220. 634 .LVL40:
  2221. 635 .L47:
  2222. 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2223. 636 .loc 1 460 9 view .LVU193
  2224. 637 01a8 354B ldr r3, .L122+4
  2225. 638 01aa 0022 movs r2, #0
  2226. 639 01ac 1A60 str r2, [r3]
  2227. 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2228. 640 .loc 1 463 9 view .LVU194
  2229. 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2230. 641 .loc 1 463 21 is_stmt 0 view .LVU195
  2231. 642 01ae FFF7FEFF bl HAL_GetTick
  2232. 643 .LVL41:
  2233. 644 01b2 0546 mov r5, r0
  2234. 645 .LVL42:
  2235. 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2236. 646 .loc 1 466 9 is_stmt 1 view .LVU196
  2237. 647 .L50:
  2238. 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2239. 648 .loc 1 466 15 view .LVU197
  2240. 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2241. 649 .loc 1 466 16 is_stmt 0 view .LVU198
  2242. 650 01b4 314B ldr r3, .L122
  2243. 651 01b6 1B68 ldr r3, [r3]
  2244. 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2245. 652 .loc 1 466 15 view .LVU199
  2246. 653 01b8 13F0020F tst r3, #2
  2247. 654 01bc D1D0 beq .L43
  2248. 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2249. 655 .loc 1 468 11 is_stmt 1 view .LVU200
  2250. 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2251. 656 .loc 1 468 16 is_stmt 0 view .LVU201
  2252. 657 01be FFF7FEFF bl HAL_GetTick
  2253. 658 .LVL43:
  2254. 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2255. 659 .loc 1 468 30 view .LVU202
  2256. 660 01c2 401B subs r0, r0, r5
  2257. 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2258. 661 .loc 1 468 14 view .LVU203
  2259. 662 01c4 0228 cmp r0, #2
  2260. 663 01c6 F5D9 bls .L50
  2261. 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2262. 664 .loc 1 470 20 view .LVU204
  2263. ARM GAS /tmp/ccWlYFBg.s page 40
  2264. 665 01c8 0320 movs r0, #3
  2265. 666 01ca 14E1 b .L30
  2266. 667 .L112:
  2267. 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2268. 668 .loc 1 501 7 is_stmt 1 view .LVU205
  2269. 669 01cc 0120 movs r0, #1
  2270. 670 01ce FFF7FEFF bl RCC_Delay
  2271. 671 .LVL44:
  2272. 672 .L52:
  2273. 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2274. 673 .loc 1 522 3 view .LVU206
  2275. 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2276. 674 .loc 1 522 26 is_stmt 0 view .LVU207
  2277. 675 01d2 2368 ldr r3, [r4]
  2278. 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2279. 676 .loc 1 522 6 view .LVU208
  2280. 677 01d4 13F0040F tst r3, #4
  2281. 678 01d8 00F09680 beq .L58
  2282. 679 .LBB2:
  2283. 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2284. 680 .loc 1 524 5 is_stmt 1 view .LVU209
  2285. 681 .LVL45:
  2286. 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2287. 682 .loc 1 527 5 view .LVU210
  2288. 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2289. 683 .loc 1 531 5 view .LVU211
  2290. 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2291. 684 .loc 1 531 9 is_stmt 0 view .LVU212
  2292. 685 01dc 274B ldr r3, .L122
  2293. 686 01de DB69 ldr r3, [r3, #28]
  2294. 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2295. 687 .loc 1 531 8 view .LVU213
  2296. 688 01e0 13F0805F tst r3, #268435456
  2297. 689 01e4 34D1 bne .L91
  2298. 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pwrclkchanged = SET;
  2299. 690 .loc 1 533 7 is_stmt 1 view .LVU214
  2300. 691 .LBB3:
  2301. 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pwrclkchanged = SET;
  2302. 692 .loc 1 533 7 view .LVU215
  2303. 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pwrclkchanged = SET;
  2304. 693 .loc 1 533 7 view .LVU216
  2305. 694 01e6 254B ldr r3, .L122
  2306. 695 01e8 DA69 ldr r2, [r3, #28]
  2307. 696 01ea 42F08052 orr r2, r2, #268435456
  2308. 697 01ee DA61 str r2, [r3, #28]
  2309. 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pwrclkchanged = SET;
  2310. 698 .loc 1 533 7 view .LVU217
  2311. 699 01f0 DB69 ldr r3, [r3, #28]
  2312. 700 01f2 03F08053 and r3, r3, #268435456
  2313. 701 01f6 0193 str r3, [sp, #4]
  2314. 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pwrclkchanged = SET;
  2315. 702 .loc 1 533 7 view .LVU218
  2316. 703 01f8 019B ldr r3, [sp, #4]
  2317. 704 .LBE3:
  2318. 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pwrclkchanged = SET;
  2319. 705 .loc 1 533 7 view .LVU219
  2320. 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2321. ARM GAS /tmp/ccWlYFBg.s page 41
  2322. 706 .loc 1 534 7 view .LVU220
  2323. 707 .LVL46:
  2324. 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2325. 708 .loc 1 534 21 is_stmt 0 view .LVU221
  2326. 709 01fa 0125 movs r5, #1
  2327. 710 .LVL47:
  2328. 711 .L59:
  2329. 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2330. 712 .loc 1 537 5 is_stmt 1 view .LVU222
  2331. 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2332. 713 .loc 1 537 9 is_stmt 0 view .LVU223
  2333. 714 01fc 214B ldr r3, .L122+8
  2334. 715 01fe 1B68 ldr r3, [r3]
  2335. 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2336. 716 .loc 1 537 8 view .LVU224
  2337. 717 0200 13F4807F tst r3, #256
  2338. 718 0204 26D0 beq .L113
  2339. 719 .L60:
  2340. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
  2341. 720 .loc 1 555 5 is_stmt 1 view .LVU225
  2342. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
  2343. 721 .loc 1 555 5 view .LVU226
  2344. 722 0206 E368 ldr r3, [r4, #12]
  2345. 723 0208 012B cmp r3, #1
  2346. 724 020a 3DD0 beq .L114
  2347. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
  2348. 725 .loc 1 555 5 discriminator 2 view .LVU227
  2349. 726 020c 002B cmp r3, #0
  2350. 727 020e 53D1 bne .L65
  2351. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
  2352. 728 .loc 1 555 5 discriminator 4 view .LVU228
  2353. 729 0210 03F18043 add r3, r3, #1073741824
  2354. 730 0214 03F50433 add r3, r3, #135168
  2355. 731 0218 1A6A ldr r2, [r3, #32]
  2356. 732 021a 22F00102 bic r2, r2, #1
  2357. 733 021e 1A62 str r2, [r3, #32]
  2358. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
  2359. 734 .loc 1 555 5 discriminator 4 view .LVU229
  2360. 735 0220 1A6A ldr r2, [r3, #32]
  2361. 736 0222 22F00402 bic r2, r2, #4
  2362. 737 0226 1A62 str r2, [r3, #32]
  2363. 738 0228 33E0 b .L64
  2364. 739 .LVL48:
  2365. 740 .L53:
  2366. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
  2367. 741 .loc 1 555 5 is_stmt 0 discriminator 4 view .LVU230
  2368. 742 .LBE2:
  2369. 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2370. 743 .loc 1 506 7 is_stmt 1 view .LVU231
  2371. 744 022a 154B ldr r3, .L122+4
  2372. 745 022c 0022 movs r2, #0
  2373. 746 022e C3F88024 str r2, [r3, #1152]
  2374. 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2375. 747 .loc 1 509 7 view .LVU232
  2376. 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2377. 748 .loc 1 509 19 is_stmt 0 view .LVU233
  2378. 749 0232 FFF7FEFF bl HAL_GetTick
  2379. ARM GAS /tmp/ccWlYFBg.s page 42
  2380. 750 .LVL49:
  2381. 751 0236 0546 mov r5, r0
  2382. 752 .LVL50:
  2383. 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2384. 753 .loc 1 512 7 is_stmt 1 view .LVU234
  2385. 754 .L56:
  2386. 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2387. 755 .loc 1 512 13 view .LVU235
  2388. 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2389. 756 .loc 1 512 14 is_stmt 0 view .LVU236
  2390. 757 0238 104B ldr r3, .L122
  2391. 758 023a 5B6A ldr r3, [r3, #36]
  2392. 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2393. 759 .loc 1 512 13 view .LVU237
  2394. 760 023c 13F0020F tst r3, #2
  2395. 761 0240 C7D0 beq .L52
  2396. 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2397. 762 .loc 1 514 9 is_stmt 1 view .LVU238
  2398. 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2399. 763 .loc 1 514 14 is_stmt 0 view .LVU239
  2400. 764 0242 FFF7FEFF bl HAL_GetTick
  2401. 765 .LVL51:
  2402. 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2403. 766 .loc 1 514 28 view .LVU240
  2404. 767 0246 401B subs r0, r0, r5
  2405. 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2406. 768 .loc 1 514 12 view .LVU241
  2407. 769 0248 0228 cmp r0, #2
  2408. 770 024a F5D9 bls .L56
  2409. 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2410. 771 .loc 1 516 18 view .LVU242
  2411. 772 024c 0320 movs r0, #3
  2412. 773 024e D2E0 b .L30
  2413. 774 .LVL52:
  2414. 775 .L91:
  2415. 776 .LBB4:
  2416. 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2417. 777 .loc 1 524 22 view .LVU243
  2418. 778 0250 0025 movs r5, #0
  2419. 779 0252 D3E7 b .L59
  2420. 780 .LVL53:
  2421. 781 .L113:
  2422. 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2423. 782 .loc 1 540 7 is_stmt 1 view .LVU244
  2424. 783 0254 0B4A ldr r2, .L122+8
  2425. 784 0256 1368 ldr r3, [r2]
  2426. 785 0258 43F48073 orr r3, r3, #256
  2427. 786 025c 1360 str r3, [r2]
  2428. 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2429. 787 .loc 1 543 7 view .LVU245
  2430. 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2431. 788 .loc 1 543 19 is_stmt 0 view .LVU246
  2432. 789 025e FFF7FEFF bl HAL_GetTick
  2433. 790 .LVL54:
  2434. 791 0262 0646 mov r6, r0
  2435. 792 .LVL55:
  2436. 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2437. ARM GAS /tmp/ccWlYFBg.s page 43
  2438. 793 .loc 1 545 7 is_stmt 1 view .LVU247
  2439. 794 .L61:
  2440. 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2441. 795 .loc 1 545 13 view .LVU248
  2442. 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2443. 796 .loc 1 545 14 is_stmt 0 view .LVU249
  2444. 797 0264 074B ldr r3, .L122+8
  2445. 798 0266 1B68 ldr r3, [r3]
  2446. 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2447. 799 .loc 1 545 13 view .LVU250
  2448. 800 0268 13F4807F tst r3, #256
  2449. 801 026c CBD1 bne .L60
  2450. 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2451. 802 .loc 1 547 9 is_stmt 1 view .LVU251
  2452. 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2453. 803 .loc 1 547 14 is_stmt 0 view .LVU252
  2454. 804 026e FFF7FEFF bl HAL_GetTick
  2455. 805 .LVL56:
  2456. 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2457. 806 .loc 1 547 28 view .LVU253
  2458. 807 0272 801B subs r0, r0, r6
  2459. 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2460. 808 .loc 1 547 12 view .LVU254
  2461. 809 0274 6428 cmp r0, #100
  2462. 810 0276 F5D9 bls .L61
  2463. 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2464. 811 .loc 1 549 18 view .LVU255
  2465. 812 0278 0320 movs r0, #3
  2466. 813 027a BCE0 b .L30
  2467. 814 .L123:
  2468. 815 .align 2
  2469. 816 .L122:
  2470. 817 027c 00100240 .word 1073876992
  2471. 818 0280 00004242 .word 1111621632
  2472. 819 0284 00700040 .word 1073770496
  2473. 820 .LVL57:
  2474. 821 .L114:
  2475. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
  2476. 822 .loc 1 555 5 is_stmt 1 discriminator 1 view .LVU256
  2477. 823 0288 5F4A ldr r2, .L124
  2478. 824 028a 136A ldr r3, [r2, #32]
  2479. 825 028c 43F00103 orr r3, r3, #1
  2480. 826 0290 1362 str r3, [r2, #32]
  2481. 827 .L64:
  2482. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
  2483. 828 .loc 1 555 5 discriminator 10 view .LVU257
  2484. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2485. 829 .loc 1 557 5 discriminator 10 view .LVU258
  2486. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2487. 830 .loc 1 557 26 is_stmt 0 discriminator 10 view .LVU259
  2488. 831 0292 E368 ldr r3, [r4, #12]
  2489. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2490. 832 .loc 1 557 8 discriminator 10 view .LVU260
  2491. 833 0294 33B3 cbz r3, .L67
  2492. 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2493. 834 .loc 1 560 7 is_stmt 1 view .LVU261
  2494. 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2495. ARM GAS /tmp/ccWlYFBg.s page 44
  2496. 835 .loc 1 560 19 is_stmt 0 view .LVU262
  2497. 836 0296 FFF7FEFF bl HAL_GetTick
  2498. 837 .LVL58:
  2499. 838 029a 0646 mov r6, r0
  2500. 839 .LVL59:
  2501. 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2502. 840 .loc 1 563 7 is_stmt 1 view .LVU263
  2503. 841 .L68:
  2504. 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2505. 842 .loc 1 563 13 view .LVU264
  2506. 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2507. 843 .loc 1 563 14 is_stmt 0 view .LVU265
  2508. 844 029c 5A4B ldr r3, .L124
  2509. 845 029e 1B6A ldr r3, [r3, #32]
  2510. 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2511. 846 .loc 1 563 13 view .LVU266
  2512. 847 02a0 13F0020F tst r3, #2
  2513. 848 02a4 2FD1 bne .L70
  2514. 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2515. 849 .loc 1 565 9 is_stmt 1 view .LVU267
  2516. 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2517. 850 .loc 1 565 14 is_stmt 0 view .LVU268
  2518. 851 02a6 FFF7FEFF bl HAL_GetTick
  2519. 852 .LVL60:
  2520. 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2521. 853 .loc 1 565 28 view .LVU269
  2522. 854 02aa 801B subs r0, r0, r6
  2523. 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2524. 855 .loc 1 565 12 view .LVU270
  2525. 856 02ac 41F28833 movw r3, #5000
  2526. 857 02b0 9842 cmp r0, r3
  2527. 858 02b2 F3D9 bls .L68
  2528. 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2529. 859 .loc 1 567 18 view .LVU271
  2530. 860 02b4 0320 movs r0, #3
  2531. 861 02b6 9EE0 b .L30
  2532. 862 .LVL61:
  2533. 863 .L65:
  2534. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
  2535. 864 .loc 1 555 5 is_stmt 1 discriminator 5 view .LVU272
  2536. 865 02b8 052B cmp r3, #5
  2537. 866 02ba 09D0 beq .L115
  2538. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
  2539. 867 .loc 1 555 5 discriminator 8 view .LVU273
  2540. 868 02bc 524B ldr r3, .L124
  2541. 869 02be 1A6A ldr r2, [r3, #32]
  2542. 870 02c0 22F00102 bic r2, r2, #1
  2543. 871 02c4 1A62 str r2, [r3, #32]
  2544. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
  2545. 872 .loc 1 555 5 discriminator 8 view .LVU274
  2546. 873 02c6 1A6A ldr r2, [r3, #32]
  2547. 874 02c8 22F00402 bic r2, r2, #4
  2548. 875 02cc 1A62 str r2, [r3, #32]
  2549. 876 02ce E0E7 b .L64
  2550. 877 .L115:
  2551. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
  2552. 878 .loc 1 555 5 discriminator 7 view .LVU275
  2553. ARM GAS /tmp/ccWlYFBg.s page 45
  2554. 879 02d0 4D4B ldr r3, .L124
  2555. 880 02d2 1A6A ldr r2, [r3, #32]
  2556. 881 02d4 42F00402 orr r2, r2, #4
  2557. 882 02d8 1A62 str r2, [r3, #32]
  2558. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
  2559. 883 .loc 1 555 5 discriminator 7 view .LVU276
  2560. 884 02da 1A6A ldr r2, [r3, #32]
  2561. 885 02dc 42F00102 orr r2, r2, #1
  2562. 886 02e0 1A62 str r2, [r3, #32]
  2563. 887 02e2 D6E7 b .L64
  2564. 888 .L67:
  2565. 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2566. 889 .loc 1 574 7 view .LVU277
  2567. 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2568. 890 .loc 1 574 19 is_stmt 0 view .LVU278
  2569. 891 02e4 FFF7FEFF bl HAL_GetTick
  2570. 892 .LVL62:
  2571. 893 02e8 0646 mov r6, r0
  2572. 894 .LVL63:
  2573. 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2574. 895 .loc 1 577 7 is_stmt 1 view .LVU279
  2575. 896 .L71:
  2576. 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2577. 897 .loc 1 577 13 view .LVU280
  2578. 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2579. 898 .loc 1 577 14 is_stmt 0 view .LVU281
  2580. 899 02ea 474B ldr r3, .L124
  2581. 900 02ec 1B6A ldr r3, [r3, #32]
  2582. 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2583. 901 .loc 1 577 13 view .LVU282
  2584. 902 02ee 13F0020F tst r3, #2
  2585. 903 02f2 08D0 beq .L70
  2586. 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2587. 904 .loc 1 579 9 is_stmt 1 view .LVU283
  2588. 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2589. 905 .loc 1 579 14 is_stmt 0 view .LVU284
  2590. 906 02f4 FFF7FEFF bl HAL_GetTick
  2591. 907 .LVL64:
  2592. 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2593. 908 .loc 1 579 28 view .LVU285
  2594. 909 02f8 801B subs r0, r0, r6
  2595. 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2596. 910 .loc 1 579 12 view .LVU286
  2597. 911 02fa 41F28833 movw r3, #5000
  2598. 912 02fe 9842 cmp r0, r3
  2599. 913 0300 F3D9 bls .L71
  2600. 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2601. 914 .loc 1 581 18 view .LVU287
  2602. 915 0302 0320 movs r0, #3
  2603. 916 0304 77E0 b .L30
  2604. 917 .L70:
  2605. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2606. 918 .loc 1 587 5 is_stmt 1 view .LVU288
  2607. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2608. 919 .loc 1 587 8 is_stmt 0 view .LVU289
  2609. 920 0306 E5B9 cbnz r5, .L116
  2610. 921 .LVL65:
  2611. ARM GAS /tmp/ccWlYFBg.s page 46
  2612. 922 .L58:
  2613. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2614. 923 .loc 1 587 8 view .LVU290
  2615. 924 .LBE4:
  2616. 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC_OscInitStruct->PLL.PLLState) != RCC_PLL_NONE)
  2617. 925 .loc 1 685 3 is_stmt 1 view .LVU291
  2618. 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2619. 926 .loc 1 686 3 view .LVU292
  2620. 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2621. 927 .loc 1 686 30 is_stmt 0 view .LVU293
  2622. 928 0308 E369 ldr r3, [r4, #28]
  2623. 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2624. 929 .loc 1 686 6 view .LVU294
  2625. 930 030a 002B cmp r3, #0
  2626. 931 030c 72D0 beq .L95
  2627. 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2628. 932 .loc 1 689 5 is_stmt 1 view .LVU295
  2629. 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2630. 933 .loc 1 689 9 is_stmt 0 view .LVU296
  2631. 934 030e 3E4A ldr r2, .L124
  2632. 935 0310 5268 ldr r2, [r2, #4]
  2633. 936 0312 02F00C02 and r2, r2, #12
  2634. 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2635. 937 .loc 1 689 8 view .LVU297
  2636. 938 0316 082A cmp r2, #8
  2637. 939 0318 56D0 beq .L73
  2638. 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2639. 940 .loc 1 691 7 is_stmt 1 view .LVU298
  2640. 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2641. 941 .loc 1 691 10 is_stmt 0 view .LVU299
  2642. 942 031a 022B cmp r3, #2
  2643. 943 031c 17D0 beq .L117
  2644. 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2645. 944 .loc 1 750 9 is_stmt 1 view .LVU300
  2646. 945 031e 3B4B ldr r3, .L124+4
  2647. 946 0320 0022 movs r2, #0
  2648. 947 0322 1A66 str r2, [r3, #96]
  2649. 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2650. 948 .loc 1 753 9 view .LVU301
  2651. 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2652. 949 .loc 1 753 21 is_stmt 0 view .LVU302
  2653. 950 0324 FFF7FEFF bl HAL_GetTick
  2654. 951 .LVL66:
  2655. 952 0328 0446 mov r4, r0
  2656. 953 .LVL67:
  2657. 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2658. 954 .loc 1 756 9 is_stmt 1 view .LVU303
  2659. 955 .L80:
  2660. 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2661. 956 .loc 1 756 15 view .LVU304
  2662. 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2663. 957 .loc 1 756 16 is_stmt 0 view .LVU305
  2664. 958 032a 374B ldr r3, .L124
  2665. 959 032c 1B68 ldr r3, [r3]
  2666. 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2667. 960 .loc 1 756 15 view .LVU306
  2668. 961 032e 13F0007F tst r3, #33554432
  2669. ARM GAS /tmp/ccWlYFBg.s page 47
  2670. 962 0332 47D0 beq .L118
  2671. 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2672. 963 .loc 1 758 11 is_stmt 1 view .LVU307
  2673. 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2674. 964 .loc 1 758 16 is_stmt 0 view .LVU308
  2675. 965 0334 FFF7FEFF bl HAL_GetTick
  2676. 966 .LVL68:
  2677. 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2678. 967 .loc 1 758 30 view .LVU309
  2679. 968 0338 001B subs r0, r0, r4
  2680. 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2681. 969 .loc 1 758 14 view .LVU310
  2682. 970 033a 0228 cmp r0, #2
  2683. 971 033c F5D9 bls .L80
  2684. 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2685. 972 .loc 1 760 20 view .LVU311
  2686. 973 033e 0320 movs r0, #3
  2687. 974 0340 59E0 b .L30
  2688. 975 .LVL69:
  2689. 976 .L116:
  2690. 977 .LBB5:
  2691. 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2692. 978 .loc 1 589 7 is_stmt 1 view .LVU312
  2693. 979 0342 314A ldr r2, .L124
  2694. 980 0344 D369 ldr r3, [r2, #28]
  2695. 981 0346 23F08053 bic r3, r3, #268435456
  2696. 982 034a D361 str r3, [r2, #28]
  2697. 983 034c DCE7 b .L58
  2698. 984 .LVL70:
  2699. 985 .L117:
  2700. 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2701. 986 .loc 1 589 7 is_stmt 0 view .LVU313
  2702. 987 .LBE5:
  2703. 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PLL_MUL(RCC_OscInitStruct->PLL.PLLMUL));
  2704. 988 .loc 1 694 9 is_stmt 1 view .LVU314
  2705. 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2706. 989 .loc 1 695 9 view .LVU315
  2707. 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2708. 990 .loc 1 698 9 view .LVU316
  2709. 991 034e 2F4B ldr r3, .L124+4
  2710. 992 0350 0022 movs r2, #0
  2711. 993 0352 1A66 str r2, [r3, #96]
  2712. 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2713. 994 .loc 1 701 9 view .LVU317
  2714. 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2715. 995 .loc 1 701 21 is_stmt 0 view .LVU318
  2716. 996 0354 FFF7FEFF bl HAL_GetTick
  2717. 997 .LVL71:
  2718. 998 0358 0546 mov r5, r0
  2719. 999 .LVL72:
  2720. 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2721. 1000 .loc 1 704 9 is_stmt 1 view .LVU319
  2722. 1001 .L75:
  2723. 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2724. 1002 .loc 1 704 15 view .LVU320
  2725. 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2726. 1003 .loc 1 704 16 is_stmt 0 view .LVU321
  2727. ARM GAS /tmp/ccWlYFBg.s page 48
  2728. 1004 035a 2B4B ldr r3, .L124
  2729. 1005 035c 1B68 ldr r3, [r3]
  2730. 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2731. 1006 .loc 1 704 15 view .LVU322
  2732. 1007 035e 13F0007F tst r3, #33554432
  2733. 1008 0362 06D0 beq .L119
  2734. 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2735. 1009 .loc 1 706 11 is_stmt 1 view .LVU323
  2736. 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2737. 1010 .loc 1 706 16 is_stmt 0 view .LVU324
  2738. 1011 0364 FFF7FEFF bl HAL_GetTick
  2739. 1012 .LVL73:
  2740. 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2741. 1013 .loc 1 706 30 view .LVU325
  2742. 1014 0368 401B subs r0, r0, r5
  2743. 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2744. 1015 .loc 1 706 14 view .LVU326
  2745. 1016 036a 0228 cmp r0, #2
  2746. 1017 036c F5D9 bls .L75
  2747. 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2748. 1018 .loc 1 708 20 view .LVU327
  2749. 1019 036e 0320 movs r0, #3
  2750. 1020 0370 41E0 b .L30
  2751. 1021 .L119:
  2752. 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2753. 1022 .loc 1 714 9 is_stmt 1 view .LVU328
  2754. 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2755. 1023 .loc 1 714 35 is_stmt 0 view .LVU329
  2756. 1024 0372 236A ldr r3, [r4, #32]
  2757. 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2758. 1025 .loc 1 714 12 view .LVU330
  2759. 1026 0374 B3F5803F cmp r3, #65536
  2760. 1027 0378 1AD0 beq .L120
  2761. 1028 .L77:
  2762. 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLMUL);
  2763. 1029 .loc 1 730 9 is_stmt 1 view .LVU331
  2764. 1030 037a 2349 ldr r1, .L124
  2765. 1031 037c 4B68 ldr r3, [r1, #4]
  2766. 1032 037e 23F47413 bic r3, r3, #3997696
  2767. 1033 0382 226A ldr r2, [r4, #32]
  2768. 1034 0384 606A ldr r0, [r4, #36]
  2769. 1035 0386 0243 orrs r2, r2, r0
  2770. 1036 0388 1343 orrs r3, r3, r2
  2771. 1037 038a 4B60 str r3, [r1, #4]
  2772. 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2773. 1038 .loc 1 733 9 view .LVU332
  2774. 1039 038c 1F4B ldr r3, .L124+4
  2775. 1040 038e 0122 movs r2, #1
  2776. 1041 0390 1A66 str r2, [r3, #96]
  2777. 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2778. 1042 .loc 1 736 9 view .LVU333
  2779. 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2780. 1043 .loc 1 736 21 is_stmt 0 view .LVU334
  2781. 1044 0392 FFF7FEFF bl HAL_GetTick
  2782. 1045 .LVL74:
  2783. 1046 0396 0446 mov r4, r0
  2784. 1047 .LVL75:
  2785. ARM GAS /tmp/ccWlYFBg.s page 49
  2786. 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2787. 1048 .loc 1 739 9 is_stmt 1 view .LVU335
  2788. 1049 .L78:
  2789. 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2790. 1050 .loc 1 739 15 view .LVU336
  2791. 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2792. 1051 .loc 1 739 16 is_stmt 0 view .LVU337
  2793. 1052 0398 1B4B ldr r3, .L124
  2794. 1053 039a 1B68 ldr r3, [r3]
  2795. 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2796. 1054 .loc 1 739 15 view .LVU338
  2797. 1055 039c 13F0007F tst r3, #33554432
  2798. 1056 03a0 0ED1 bne .L121
  2799. 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2800. 1057 .loc 1 741 11 is_stmt 1 view .LVU339
  2801. 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2802. 1058 .loc 1 741 16 is_stmt 0 view .LVU340
  2803. 1059 03a2 FFF7FEFF bl HAL_GetTick
  2804. 1060 .LVL76:
  2805. 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2806. 1061 .loc 1 741 30 view .LVU341
  2807. 1062 03a6 001B subs r0, r0, r4
  2808. 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2809. 1063 .loc 1 741 14 view .LVU342
  2810. 1064 03a8 0228 cmp r0, #2
  2811. 1065 03aa F5D9 bls .L78
  2812. 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2813. 1066 .loc 1 743 20 view .LVU343
  2814. 1067 03ac 0320 movs r0, #3
  2815. 1068 03ae 22E0 b .L30
  2816. 1069 .LVL77:
  2817. 1070 .L120:
  2818. 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1SRC)
  2819. 1071 .loc 1 717 11 is_stmt 1 view .LVU344
  2820. 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2821. 1072 .loc 1 726 11 view .LVU345
  2822. 1073 03b0 154A ldr r2, .L124
  2823. 1074 03b2 5368 ldr r3, [r2, #4]
  2824. 1075 03b4 23F40033 bic r3, r3, #131072
  2825. 1076 03b8 A168 ldr r1, [r4, #8]
  2826. 1077 03ba 0B43 orrs r3, r3, r1
  2827. 1078 03bc 5360 str r3, [r2, #4]
  2828. 1079 03be DCE7 b .L77
  2829. 1080 .LVL78:
  2830. 1081 .L121:
  2831. 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2832. 1082 .loc 1 785 10 is_stmt 0 view .LVU346
  2833. 1083 03c0 0020 movs r0, #0
  2834. 1084 03c2 18E0 b .L30
  2835. 1085 .L118:
  2836. 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2837. 1086 .loc 1 785 10 view .LVU347
  2838. 1087 03c4 0020 movs r0, #0
  2839. 1088 03c6 16E0 b .L30
  2840. 1089 .LVL79:
  2841. 1090 .L73:
  2842. 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2843. ARM GAS /tmp/ccWlYFBg.s page 50
  2844. 1091 .loc 1 768 7 is_stmt 1 view .LVU348
  2845. 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2846. 1092 .loc 1 768 10 is_stmt 0 view .LVU349
  2847. 1093 03c8 012B cmp r3, #1
  2848. 1094 03ca 16D0 beq .L99
  2849. 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((READ_BIT(pll_config, RCC_CFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) ||
  2850. 1095 .loc 1 775 9 is_stmt 1 view .LVU350
  2851. 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((READ_BIT(pll_config, RCC_CFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) ||
  2852. 1096 .loc 1 775 20 is_stmt 0 view .LVU351
  2853. 1097 03cc 0E4B ldr r3, .L124
  2854. 1098 03ce 5B68 ldr r3, [r3, #4]
  2855. 1099 .LVL80:
  2856. 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMULL) != RCC_OscInitStruct->PLL.PLLMUL))
  2857. 1100 .loc 1 776 9 is_stmt 1 view .LVU352
  2858. 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMULL) != RCC_OscInitStruct->PLL.PLLMUL))
  2859. 1101 .loc 1 776 14 is_stmt 0 view .LVU353
  2860. 1102 03d0 03F48031 and r1, r3, #65536
  2861. 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMULL) != RCC_OscInitStruct->PLL.PLLMUL))
  2862. 1103 .loc 1 776 77 view .LVU354
  2863. 1104 03d4 226A ldr r2, [r4, #32]
  2864. 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMULL) != RCC_OscInitStruct->PLL.PLLMUL))
  2865. 1105 .loc 1 776 12 view .LVU355
  2866. 1106 03d6 9142 cmp r1, r2
  2867. 1107 03d8 11D1 bne .L100
  2868. 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2869. 1108 .loc 1 777 14 discriminator 1 view .LVU356
  2870. 1109 03da 03F47013 and r3, r3, #3932160
  2871. 1110 .LVL81:
  2872. 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  2873. 1111 .loc 1 777 78 discriminator 1 view .LVU357
  2874. 1112 03de 626A ldr r2, [r4, #36]
  2875. 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMULL) != RCC_OscInitStruct->PLL.PLLMUL))
  2876. 1113 .loc 1 776 89 discriminator 1 view .LVU358
  2877. 1114 03e0 9342 cmp r3, r2
  2878. 1115 03e2 0ED1 bne .L101
  2879. 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2880. 1116 .loc 1 785 10 view .LVU359
  2881. 1117 03e4 0020 movs r0, #0
  2882. 1118 03e6 06E0 b .L30
  2883. 1119 .LVL82:
  2884. 1120 .L82:
  2885. 1121 .LCFI5:
  2886. 1122 .cfi_def_cfa_offset 0
  2887. 1123 .cfi_restore 4
  2888. 1124 .cfi_restore 5
  2889. 1125 .cfi_restore 6
  2890. 1126 .cfi_restore 14
  2891. 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2892. 1127 .loc 1 353 12 view .LVU360
  2893. 1128 03e8 0120 movs r0, #1
  2894. 1129 .LVL83:
  2895. 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2896. 1130 .loc 1 786 1 view .LVU361
  2897. 1131 03ea 7047 bx lr
  2898. 1132 .LVL84:
  2899. 1133 .L108:
  2900. 1134 .LCFI6:
  2901. ARM GAS /tmp/ccWlYFBg.s page 51
  2902. 1135 .cfi_def_cfa_offset 24
  2903. 1136 .cfi_offset 4, -16
  2904. 1137 .cfi_offset 5, -12
  2905. 1138 .cfi_offset 6, -8
  2906. 1139 .cfi_offset 14, -4
  2907. 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2908. 1140 .loc 1 371 16 view .LVU362
  2909. 1141 03ec 0120 movs r0, #1
  2910. 1142 .LVL85:
  2911. 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2912. 1143 .loc 1 371 16 view .LVU363
  2913. 1144 03ee 02E0 b .L30
  2914. 1145 .L86:
  2915. 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2916. 1146 .loc 1 425 16 view .LVU364
  2917. 1147 03f0 0120 movs r0, #1
  2918. 1148 03f2 00E0 b .L30
  2919. 1149 .L95:
  2920. 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2921. 1150 .loc 1 785 10 view .LVU365
  2922. 1151 03f4 0020 movs r0, #0
  2923. 1152 .LVL86:
  2924. 1153 .L30:
  2925. 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2926. 1154 .loc 1 786 1 view .LVU366
  2927. 1155 03f6 02B0 add sp, sp, #8
  2928. 1156 .LCFI7:
  2929. 1157 .cfi_remember_state
  2930. 1158 .cfi_def_cfa_offset 16
  2931. 1159 @ sp needed
  2932. 1160 03f8 70BD pop {r4, r5, r6, pc}
  2933. 1161 .LVL87:
  2934. 1162 .L99:
  2935. 1163 .LCFI8:
  2936. 1164 .cfi_restore_state
  2937. 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2938. 1165 .loc 1 770 16 view .LVU367
  2939. 1166 03fa 0120 movs r0, #1
  2940. 1167 03fc FBE7 b .L30
  2941. 1168 .LVL88:
  2942. 1169 .L100:
  2943. 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2944. 1170 .loc 1 779 18 view .LVU368
  2945. 1171 03fe 0120 movs r0, #1
  2946. 1172 0400 F9E7 b .L30
  2947. 1173 .LVL89:
  2948. 1174 .L101:
  2949. 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  2950. 1175 .loc 1 779 18 view .LVU369
  2951. 1176 0402 0120 movs r0, #1
  2952. 1177 0404 F7E7 b .L30
  2953. 1178 .L125:
  2954. 1179 0406 00BF .align 2
  2955. 1180 .L124:
  2956. 1181 0408 00100240 .word 1073876992
  2957. 1182 040c 00004242 .word 1111621632
  2958. 1183 .cfi_endproc
  2959. ARM GAS /tmp/ccWlYFBg.s page 52
  2960. 1184 .LFE66:
  2961. 1186 .section .text.HAL_RCC_MCOConfig,"ax",%progbits
  2962. 1187 .align 1
  2963. 1188 .global HAL_RCC_MCOConfig
  2964. 1189 .syntax unified
  2965. 1190 .thumb
  2966. 1191 .thumb_func
  2967. 1193 HAL_RCC_MCOConfig:
  2968. 1194 .LVL90:
  2969. 1195 .LFB68:
  2970. 1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** GPIO_InitTypeDef gpio = {0U};
  2971. 1196 .loc 1 1001 1 is_stmt 1 view -0
  2972. 1197 .cfi_startproc
  2973. 1198 @ args = 0, pretend = 0, frame = 24
  2974. 1199 @ frame_needed = 0, uses_anonymous_args = 0
  2975. 1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** GPIO_InitTypeDef gpio = {0U};
  2976. 1200 .loc 1 1001 1 is_stmt 0 view .LVU371
  2977. 1201 0000 30B5 push {r4, r5, lr}
  2978. 1202 .LCFI9:
  2979. 1203 .cfi_def_cfa_offset 12
  2980. 1204 .cfi_offset 4, -12
  2981. 1205 .cfi_offset 5, -8
  2982. 1206 .cfi_offset 14, -4
  2983. 1207 0002 87B0 sub sp, sp, #28
  2984. 1208 .LCFI10:
  2985. 1209 .cfi_def_cfa_offset 40
  2986. 1210 0004 0D46 mov r5, r1
  2987. 1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2988. 1211 .loc 1 1002 3 is_stmt 1 view .LVU372
  2989. 1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  2990. 1212 .loc 1 1002 20 is_stmt 0 view .LVU373
  2991. 1213 0006 0023 movs r3, #0
  2992. 1214 0008 0293 str r3, [sp, #8]
  2993. 1215 000a 0393 str r3, [sp, #12]
  2994. 1216 000c 0493 str r3, [sp, #16]
  2995. 1217 000e 0593 str r3, [sp, #20]
  2996. 1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_MCODIV(RCC_MCODiv));
  2997. 1218 .loc 1 1005 3 is_stmt 1 view .LVU374
  2998. 1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_MCO1SOURCE(RCC_MCOSource));
  2999. 1219 .loc 1 1006 3 view .LVU375
  3000. 1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3001. 1220 .loc 1 1007 3 view .LVU376
  3002. 1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** UNUSED(RCC_MCODiv);
  3003. 1221 .loc 1 1010 3 view .LVU377
  3004. 1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3005. 1222 .loc 1 1011 3 view .LVU378
  3006. 1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Speed = GPIO_SPEED_FREQ_HIGH;
  3007. 1223 .loc 1 1014 3 view .LVU379
  3008. 1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Speed = GPIO_SPEED_FREQ_HIGH;
  3009. 1224 .loc 1 1014 18 is_stmt 0 view .LVU380
  3010. 1225 0010 0223 movs r3, #2
  3011. 1226 0012 0393 str r3, [sp, #12]
  3012. 1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Pull = GPIO_NOPULL;
  3013. 1227 .loc 1 1015 3 is_stmt 1 view .LVU381
  3014. 1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Pull = GPIO_NOPULL;
  3015. 1228 .loc 1 1015 18 is_stmt 0 view .LVU382
  3016. 1229 0014 0323 movs r3, #3
  3017. ARM GAS /tmp/ccWlYFBg.s page 53
  3018. 1230 0016 0593 str r3, [sp, #20]
  3019. 1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Pin = MCO1_PIN;
  3020. 1231 .loc 1 1016 3 is_stmt 1 view .LVU383
  3021. 1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3022. 1232 .loc 1 1017 3 view .LVU384
  3023. 1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3024. 1233 .loc 1 1017 18 is_stmt 0 view .LVU385
  3025. 1234 0018 4FF48073 mov r3, #256
  3026. 1235 001c 0293 str r3, [sp, #8]
  3027. 1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3028. 1236 .loc 1 1020 3 is_stmt 1 view .LVU386
  3029. 1237 .LBB6:
  3030. 1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3031. 1238 .loc 1 1020 3 view .LVU387
  3032. 1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3033. 1239 .loc 1 1020 3 view .LVU388
  3034. 1240 001e 0A4C ldr r4, .L128
  3035. 1241 0020 A369 ldr r3, [r4, #24]
  3036. 1242 0022 43F00403 orr r3, r3, #4
  3037. 1243 0026 A361 str r3, [r4, #24]
  3038. 1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3039. 1244 .loc 1 1020 3 view .LVU389
  3040. 1245 0028 A369 ldr r3, [r4, #24]
  3041. 1246 002a 03F00403 and r3, r3, #4
  3042. 1247 002e 0193 str r3, [sp, #4]
  3043. 1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3044. 1248 .loc 1 1020 3 view .LVU390
  3045. 1249 0030 019B ldr r3, [sp, #4]
  3046. 1250 .LBE6:
  3047. 1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3048. 1251 .loc 1 1020 3 view .LVU391
  3049. 1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3050. 1252 .loc 1 1022 3 view .LVU392
  3051. 1253 0032 02A9 add r1, sp, #8
  3052. 1254 .LVL91:
  3053. 1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3054. 1255 .loc 1 1022 3 is_stmt 0 view .LVU393
  3055. 1256 0034 0548 ldr r0, .L128+4
  3056. 1257 .LVL92:
  3057. 1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3058. 1258 .loc 1 1022 3 view .LVU394
  3059. 1259 0036 FFF7FEFF bl HAL_GPIO_Init
  3060. 1260 .LVL93:
  3061. 1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3062. 1261 .loc 1 1025 3 is_stmt 1 view .LVU395
  3063. 1262 003a 6368 ldr r3, [r4, #4]
  3064. 1263 003c 23F0E063 bic r3, r3, #117440512
  3065. 1264 0040 2B43 orrs r3, r3, r5
  3066. 1265 0042 6360 str r3, [r4, #4]
  3067. 1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3068. 1266 .loc 1 1026 1 is_stmt 0 view .LVU396
  3069. 1267 0044 07B0 add sp, sp, #28
  3070. 1268 .LCFI11:
  3071. 1269 .cfi_def_cfa_offset 12
  3072. 1270 @ sp needed
  3073. 1271 0046 30BD pop {r4, r5, pc}
  3074. 1272 .LVL94:
  3075. ARM GAS /tmp/ccWlYFBg.s page 54
  3076. 1273 .L129:
  3077. 1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3078. 1274 .loc 1 1026 1 view .LVU397
  3079. 1275 .align 2
  3080. 1276 .L128:
  3081. 1277 0048 00100240 .word 1073876992
  3082. 1278 004c 00080140 .word 1073809408
  3083. 1279 .cfi_endproc
  3084. 1280 .LFE68:
  3085. 1282 .section .text.HAL_RCC_EnableCSS,"ax",%progbits
  3086. 1283 .align 1
  3087. 1284 .global HAL_RCC_EnableCSS
  3088. 1285 .syntax unified
  3089. 1286 .thumb
  3090. 1287 .thumb_func
  3091. 1289 HAL_RCC_EnableCSS:
  3092. 1290 .LFB69:
  3093. 1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *(__IO uint32_t *) RCC_CR_CSSON_BB = (uint32_t)ENABLE;
  3094. 1291 .loc 1 1038 1 is_stmt 1 view -0
  3095. 1292 .cfi_startproc
  3096. 1293 @ args = 0, pretend = 0, frame = 0
  3097. 1294 @ frame_needed = 0, uses_anonymous_args = 0
  3098. 1295 @ link register save eliminated.
  3099. 1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3100. 1296 .loc 1 1039 3 view .LVU399
  3101. 1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3102. 1297 .loc 1 1039 38 is_stmt 0 view .LVU400
  3103. 1298 0000 014B ldr r3, .L131
  3104. 1299 0002 0122 movs r2, #1
  3105. 1300 0004 DA64 str r2, [r3, #76]
  3106. 1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3107. 1301 .loc 1 1040 1 view .LVU401
  3108. 1302 0006 7047 bx lr
  3109. 1303 .L132:
  3110. 1304 .align 2
  3111. 1305 .L131:
  3112. 1306 0008 00004242 .word 1111621632
  3113. 1307 .cfi_endproc
  3114. 1308 .LFE69:
  3115. 1310 .section .text.HAL_RCC_DisableCSS,"ax",%progbits
  3116. 1311 .align 1
  3117. 1312 .global HAL_RCC_DisableCSS
  3118. 1313 .syntax unified
  3119. 1314 .thumb
  3120. 1315 .thumb_func
  3121. 1317 HAL_RCC_DisableCSS:
  3122. 1318 .LFB70:
  3123. 1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *(__IO uint32_t *) RCC_CR_CSSON_BB = (uint32_t)DISABLE;
  3124. 1319 .loc 1 1047 1 is_stmt 1 view -0
  3125. 1320 .cfi_startproc
  3126. 1321 @ args = 0, pretend = 0, frame = 0
  3127. 1322 @ frame_needed = 0, uses_anonymous_args = 0
  3128. 1323 @ link register save eliminated.
  3129. 1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3130. 1324 .loc 1 1048 3 view .LVU403
  3131. 1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3132. 1325 .loc 1 1048 38 is_stmt 0 view .LVU404
  3133. ARM GAS /tmp/ccWlYFBg.s page 55
  3134. 1326 0000 014B ldr r3, .L134
  3135. 1327 0002 0022 movs r2, #0
  3136. 1328 0004 DA64 str r2, [r3, #76]
  3137. 1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3138. 1329 .loc 1 1049 1 view .LVU405
  3139. 1330 0006 7047 bx lr
  3140. 1331 .L135:
  3141. 1332 .align 2
  3142. 1333 .L134:
  3143. 1334 0008 00004242 .word 1111621632
  3144. 1335 .cfi_endproc
  3145. 1336 .LFE70:
  3146. 1338 .section .text.HAL_RCC_GetSysClockFreq,"ax",%progbits
  3147. 1339 .align 1
  3148. 1340 .global HAL_RCC_GetSysClockFreq
  3149. 1341 .syntax unified
  3150. 1342 .thumb
  3151. 1343 .thumb_func
  3152. 1345 HAL_RCC_GetSysClockFreq:
  3153. 1346 .LFB71:
  3154. 1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1SRC)
  3155. 1347 .loc 1 1081 1 is_stmt 1 view -0
  3156. 1348 .cfi_startproc
  3157. 1349 @ args = 0, pretend = 0, frame = 0
  3158. 1350 @ frame_needed = 0, uses_anonymous_args = 0
  3159. 1351 @ link register save eliminated.
  3160. 1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1)
  3161. 1352 .loc 1 1086 3 view .LVU407
  3162. 1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1*/
  3163. 1353 .loc 1 1090 3 view .LVU408
  3164. 1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t sysclockfreq = 0U;
  3165. 1354 .loc 1 1094 3 view .LVU409
  3166. 1355 .LVL95:
  3167. 1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1SRC)
  3168. 1356 .loc 1 1095 3 view .LVU410
  3169. 1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3170. 1357 .loc 1 1100 3 view .LVU411
  3171. 1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3172. 1358 .loc 1 1100 10 is_stmt 0 view .LVU412
  3173. 1359 0000 0F4B ldr r3, .L141
  3174. 1360 0002 5B68 ldr r3, [r3, #4]
  3175. 1361 .LVL96:
  3176. 1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3177. 1362 .loc 1 1103 3 is_stmt 1 view .LVU413
  3178. 1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3179. 1363 .loc 1 1103 18 is_stmt 0 view .LVU414
  3180. 1364 0004 03F00C02 and r2, r3, #12
  3181. 1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3182. 1365 .loc 1 1103 3 view .LVU415
  3183. 1366 0008 082A cmp r2, #8
  3184. 1367 000a 01D0 beq .L140
  3185. 1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** break;
  3186. 1368 .loc 1 1107 20 view .LVU416
  3187. 1369 000c 0D48 ldr r0, .L141+4
  3188. 1370 .LVL97:
  3189. 1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3190. 1371 .loc 1 1162 3 is_stmt 1 view .LVU417
  3191. ARM GAS /tmp/ccWlYFBg.s page 56
  3192. 1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3193. 1372 .loc 1 1163 1 is_stmt 0 view .LVU418
  3194. 1373 000e 7047 bx lr
  3195. 1374 .LVL98:
  3196. 1375 .L140:
  3197. 1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((tmpreg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2)
  3198. 1376 .loc 1 1112 7 is_stmt 1 view .LVU419
  3199. 1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((tmpreg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2)
  3200. 1377 .loc 1 1112 73 is_stmt 0 view .LVU420
  3201. 1378 0010 C3F38342 ubfx r2, r3, #18, #4
  3202. 1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((tmpreg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2)
  3203. 1379 .loc 1 1112 34 view .LVU421
  3204. 1380 0014 0C49 ldr r1, .L141+8
  3205. 1381 0016 885C ldrb r0, [r1, r2] @ zero_extendqisi2
  3206. 1382 .LVL99:
  3207. 1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3208. 1383 .loc 1 1113 7 is_stmt 1 view .LVU422
  3209. 1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3210. 1384 .loc 1 1113 10 is_stmt 0 view .LVU423
  3211. 1385 0018 13F4803F tst r3, #65536
  3212. 1386 001c 0BD0 beq .L138
  3213. 1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1*/
  3214. 1387 .loc 1 1118 9 is_stmt 1 view .LVU424
  3215. 1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1*/
  3216. 1388 .loc 1 1118 51 is_stmt 0 view .LVU425
  3217. 1389 001e 084B ldr r3, .L141
  3218. 1390 .LVL100:
  3219. 1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1*/
  3220. 1391 .loc 1 1118 51 view .LVU426
  3221. 1392 0020 5B68 ldr r3, [r3, #4]
  3222. 1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1*/
  3223. 1393 .loc 1 1118 79 view .LVU427
  3224. 1394 0022 C3F34043 ubfx r3, r3, #17, #1
  3225. 1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1*/
  3226. 1395 .loc 1 1118 36 view .LVU428
  3227. 1396 0026 094A ldr r2, .L141+12
  3228. 1397 0028 D35C ldrb r3, [r2, r3] @ zero_extendqisi2
  3229. 1398 .LVL101:
  3230. 1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1SRC*/
  3231. 1399 .loc 1 1144 9 is_stmt 1 view .LVU429
  3232. 1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1SRC*/
  3233. 1400 .loc 1 1144 41 is_stmt 0 view .LVU430
  3234. 1401 002a 064A ldr r2, .L141+4
  3235. 1402 002c 02FB00F0 mul r0, r2, r0
  3236. 1403 .LVL102:
  3237. 1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1SRC*/
  3238. 1404 .loc 1 1144 16 view .LVU431
  3239. 1405 0030 B0FBF3F0 udiv r0, r0, r3
  3240. 1406 .LVL103:
  3241. 1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1SRC*/
  3242. 1407 .loc 1 1144 16 view .LVU432
  3243. 1408 0034 7047 bx lr
  3244. 1409 .LVL104:
  3245. 1410 .L138:
  3246. 1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3247. 1411 .loc 1 1150 9 is_stmt 1 view .LVU433
  3248. 1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3249. ARM GAS /tmp/ccWlYFBg.s page 57
  3250. 1412 .loc 1 1150 16 is_stmt 0 view .LVU434
  3251. 1413 0036 064B ldr r3, .L141+16
  3252. 1414 .LVL105:
  3253. 1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3254. 1415 .loc 1 1150 16 view .LVU435
  3255. 1416 0038 03FB00F0 mul r0, r3, r0
  3256. 1417 .LVL106:
  3257. 1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3258. 1418 .loc 1 1150 16 view .LVU436
  3259. 1419 003c 7047 bx lr
  3260. 1420 .L142:
  3261. 1421 003e 00BF .align 2
  3262. 1422 .L141:
  3263. 1423 0040 00100240 .word 1073876992
  3264. 1424 0044 00127A00 .word 8000000
  3265. 1425 0048 00000000 .word .LANCHOR0
  3266. 1426 004c 00000000 .word .LANCHOR1
  3267. 1427 0050 00093D00 .word 4000000
  3268. 1428 .cfi_endproc
  3269. 1429 .LFE71:
  3270. 1431 .section .text.HAL_RCC_ClockConfig,"ax",%progbits
  3271. 1432 .align 1
  3272. 1433 .global HAL_RCC_ClockConfig
  3273. 1434 .syntax unified
  3274. 1435 .thumb
  3275. 1436 .thumb_func
  3276. 1438 HAL_RCC_ClockConfig:
  3277. 1439 .LVL107:
  3278. 1440 .LFB67:
  3279. 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
  3280. 1441 .loc 1 812 1 is_stmt 1 view -0
  3281. 1442 .cfi_startproc
  3282. 1443 @ args = 0, pretend = 0, frame = 0
  3283. 1444 @ frame_needed = 0, uses_anonymous_args = 0
  3284. 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3285. 1445 .loc 1 813 3 view .LVU438
  3286. 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3287. 1446 .loc 1 816 3 view .LVU439
  3288. 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3289. 1447 .loc 1 816 6 is_stmt 0 view .LVU440
  3290. 1448 0000 0028 cmp r0, #0
  3291. 1449 0002 00F0A080 beq .L158
  3292. 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
  3293. 1450 .loc 1 812 1 view .LVU441
  3294. 1451 0006 70B5 push {r4, r5, r6, lr}
  3295. 1452 .LCFI12:
  3296. 1453 .cfi_def_cfa_offset 16
  3297. 1454 .cfi_offset 4, -16
  3298. 1455 .cfi_offset 5, -12
  3299. 1456 .cfi_offset 6, -8
  3300. 1457 .cfi_offset 14, -4
  3301. 1458 0008 0D46 mov r5, r1
  3302. 1459 000a 0446 mov r4, r0
  3303. 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_FLASH_LATENCY(FLatency));
  3304. 1460 .loc 1 822 3 is_stmt 1 view .LVU442
  3305. 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3306. 1461 .loc 1 823 3 view .LVU443
  3307. ARM GAS /tmp/ccWlYFBg.s page 58
  3308. 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3309. 1462 .loc 1 831 3 view .LVU444
  3310. 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3311. 1463 .loc 1 831 18 is_stmt 0 view .LVU445
  3312. 1464 000c 524B ldr r3, .L171
  3313. 1465 000e 1B68 ldr r3, [r3]
  3314. 1466 0010 03F00703 and r3, r3, #7
  3315. 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3316. 1467 .loc 1 831 6 view .LVU446
  3317. 1468 0014 8B42 cmp r3, r1
  3318. 1469 0016 0BD2 bcs .L145
  3319. 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3320. 1470 .loc 1 834 5 is_stmt 1 view .LVU447
  3321. 1471 0018 4F4A ldr r2, .L171
  3322. 1472 001a 1368 ldr r3, [r2]
  3323. 1473 001c 23F00703 bic r3, r3, #7
  3324. 1474 0020 0B43 orrs r3, r3, r1
  3325. 1475 0022 1360 str r3, [r2]
  3326. 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3327. 1476 .loc 1 838 5 view .LVU448
  3328. 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3329. 1477 .loc 1 838 9 is_stmt 0 view .LVU449
  3330. 1478 0024 1368 ldr r3, [r2]
  3331. 1479 0026 03F00703 and r3, r3, #7
  3332. 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3333. 1480 .loc 1 838 8 view .LVU450
  3334. 1481 002a 8B42 cmp r3, r1
  3335. 1482 002c 40F08D80 bne .L159
  3336. 1483 .L145:
  3337. 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3338. 1484 .loc 1 846 1 is_stmt 1 view .LVU451
  3339. 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3340. 1485 .loc 1 846 24 is_stmt 0 view .LVU452
  3341. 1486 0030 2368 ldr r3, [r4]
  3342. 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3343. 1487 .loc 1 846 4 view .LVU453
  3344. 1488 0032 13F0020F tst r3, #2
  3345. 1489 0036 17D0 beq .L146
  3346. 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3347. 1490 .loc 1 850 5 is_stmt 1 view .LVU454
  3348. 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3349. 1491 .loc 1 850 8 is_stmt 0 view .LVU455
  3350. 1492 0038 13F0040F tst r3, #4
  3351. 1493 003c 04D0 beq .L147
  3352. 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3353. 1494 .loc 1 852 7 is_stmt 1 view .LVU456
  3354. 1495 003e 474A ldr r2, .L171+4
  3355. 1496 0040 5368 ldr r3, [r2, #4]
  3356. 1497 0042 43F4E063 orr r3, r3, #1792
  3357. 1498 0046 5360 str r3, [r2, #4]
  3358. 1499 .L147:
  3359. 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3360. 1500 .loc 1 855 5 view .LVU457
  3361. 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3362. 1501 .loc 1 855 28 is_stmt 0 view .LVU458
  3363. 1502 0048 2368 ldr r3, [r4]
  3364. 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3365. ARM GAS /tmp/ccWlYFBg.s page 59
  3366. 1503 .loc 1 855 8 view .LVU459
  3367. 1504 004a 13F0080F tst r3, #8
  3368. 1505 004e 04D0 beq .L148
  3369. 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3370. 1506 .loc 1 857 7 is_stmt 1 view .LVU460
  3371. 1507 0050 424A ldr r2, .L171+4
  3372. 1508 0052 5368 ldr r3, [r2, #4]
  3373. 1509 0054 43F46053 orr r3, r3, #14336
  3374. 1510 0058 5360 str r3, [r2, #4]
  3375. 1511 .L148:
  3376. 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider);
  3377. 1512 .loc 1 861 5 view .LVU461
  3378. 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3379. 1513 .loc 1 862 5 view .LVU462
  3380. 1514 005a 404A ldr r2, .L171+4
  3381. 1515 005c 5368 ldr r3, [r2, #4]
  3382. 1516 005e 23F0F003 bic r3, r3, #240
  3383. 1517 0062 A168 ldr r1, [r4, #8]
  3384. 1518 .LVL108:
  3385. 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3386. 1519 .loc 1 862 5 is_stmt 0 view .LVU463
  3387. 1520 0064 0B43 orrs r3, r3, r1
  3388. 1521 0066 5360 str r3, [r2, #4]
  3389. 1522 .L146:
  3390. 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3391. 1523 .loc 1 866 3 is_stmt 1 view .LVU464
  3392. 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3393. 1524 .loc 1 866 26 is_stmt 0 view .LVU465
  3394. 1525 0068 2368 ldr r3, [r4]
  3395. 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3396. 1526 .loc 1 866 6 view .LVU466
  3397. 1527 006a 13F0010F tst r3, #1
  3398. 1528 006e 31D0 beq .L149
  3399. 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3400. 1529 .loc 1 868 5 is_stmt 1 view .LVU467
  3401. 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3402. 1530 .loc 1 871 5 view .LVU468
  3403. 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3404. 1531 .loc 1 871 26 is_stmt 0 view .LVU469
  3405. 1532 0070 6368 ldr r3, [r4, #4]
  3406. 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3407. 1533 .loc 1 871 8 view .LVU470
  3408. 1534 0072 012B cmp r3, #1
  3409. 1535 0074 20D0 beq .L169
  3410. 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3411. 1536 .loc 1 880 10 is_stmt 1 view .LVU471
  3412. 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3413. 1537 .loc 1 880 13 is_stmt 0 view .LVU472
  3414. 1538 0076 022B cmp r3, #2
  3415. 1539 0078 25D0 beq .L170
  3416. 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3417. 1540 .loc 1 892 7 is_stmt 1 view .LVU473
  3418. 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3419. 1541 .loc 1 892 11 is_stmt 0 view .LVU474
  3420. 1542 007a 384A ldr r2, .L171+4
  3421. 1543 007c 1268 ldr r2, [r2]
  3422. 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3423. ARM GAS /tmp/ccWlYFBg.s page 60
  3424. 1544 .loc 1 892 10 view .LVU475
  3425. 1545 007e 12F0020F tst r2, #2
  3426. 1546 0082 64D0 beq .L162
  3427. 1547 .L151:
  3428. 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3429. 1548 .loc 1 897 5 is_stmt 1 view .LVU476
  3430. 1549 0084 3549 ldr r1, .L171+4
  3431. 1550 0086 4A68 ldr r2, [r1, #4]
  3432. 1551 0088 22F00302 bic r2, r2, #3
  3433. 1552 008c 1343 orrs r3, r3, r2
  3434. 1553 008e 4B60 str r3, [r1, #4]
  3435. 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3436. 1554 .loc 1 900 5 view .LVU477
  3437. 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3438. 1555 .loc 1 900 17 is_stmt 0 view .LVU478
  3439. 1556 0090 FFF7FEFF bl HAL_GetTick
  3440. 1557 .LVL109:
  3441. 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3442. 1558 .loc 1 900 17 view .LVU479
  3443. 1559 0094 0646 mov r6, r0
  3444. 1560 .LVL110:
  3445. 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3446. 1561 .loc 1 902 5 is_stmt 1 view .LVU480
  3447. 1562 .L153:
  3448. 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3449. 1563 .loc 1 902 11 view .LVU481
  3450. 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3451. 1564 .loc 1 902 12 is_stmt 0 view .LVU482
  3452. 1565 0096 314B ldr r3, .L171+4
  3453. 1566 0098 5B68 ldr r3, [r3, #4]
  3454. 1567 009a 03F00C03 and r3, r3, #12
  3455. 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3456. 1568 .loc 1 902 63 view .LVU483
  3457. 1569 009e 6268 ldr r2, [r4, #4]
  3458. 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3459. 1570 .loc 1 902 11 view .LVU484
  3460. 1571 00a0 B3EB820F cmp r3, r2, lsl #2
  3461. 1572 00a4 16D0 beq .L149
  3462. 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3463. 1573 .loc 1 904 7 is_stmt 1 view .LVU485
  3464. 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3465. 1574 .loc 1 904 12 is_stmt 0 view .LVU486
  3466. 1575 00a6 FFF7FEFF bl HAL_GetTick
  3467. 1576 .LVL111:
  3468. 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3469. 1577 .loc 1 904 26 view .LVU487
  3470. 1578 00aa 801B subs r0, r0, r6
  3471. 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3472. 1579 .loc 1 904 10 view .LVU488
  3473. 1580 00ac 41F28833 movw r3, #5000
  3474. 1581 00b0 9842 cmp r0, r3
  3475. 1582 00b2 F0D9 bls .L153
  3476. 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3477. 1583 .loc 1 906 16 view .LVU489
  3478. 1584 00b4 0320 movs r0, #3
  3479. 1585 00b6 45E0 b .L144
  3480. 1586 .LVL112:
  3481. ARM GAS /tmp/ccWlYFBg.s page 61
  3482. 1587 .L169:
  3483. 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3484. 1588 .loc 1 874 7 is_stmt 1 view .LVU490
  3485. 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3486. 1589 .loc 1 874 11 is_stmt 0 view .LVU491
  3487. 1590 00b8 284A ldr r2, .L171+4
  3488. 1591 00ba 1268 ldr r2, [r2]
  3489. 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3490. 1592 .loc 1 874 10 view .LVU492
  3491. 1593 00bc 12F4003F tst r2, #131072
  3492. 1594 00c0 E0D1 bne .L151
  3493. 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3494. 1595 .loc 1 876 16 view .LVU493
  3495. 1596 00c2 0120 movs r0, #1
  3496. 1597 .LVL113:
  3497. 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3498. 1598 .loc 1 876 16 view .LVU494
  3499. 1599 00c4 3EE0 b .L144
  3500. 1600 .LVL114:
  3501. 1601 .L170:
  3502. 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3503. 1602 .loc 1 883 7 is_stmt 1 view .LVU495
  3504. 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3505. 1603 .loc 1 883 11 is_stmt 0 view .LVU496
  3506. 1604 00c6 254A ldr r2, .L171+4
  3507. 1605 00c8 1268 ldr r2, [r2]
  3508. 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3509. 1606 .loc 1 883 10 view .LVU497
  3510. 1607 00ca 12F0007F tst r2, #33554432
  3511. 1608 00ce D9D1 bne .L151
  3512. 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3513. 1609 .loc 1 885 16 view .LVU498
  3514. 1610 00d0 0120 movs r0, #1
  3515. 1611 .LVL115:
  3516. 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3517. 1612 .loc 1 885 16 view .LVU499
  3518. 1613 00d2 37E0 b .L144
  3519. 1614 .L149:
  3520. 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3521. 1615 .loc 1 913 3 is_stmt 1 view .LVU500
  3522. 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3523. 1616 .loc 1 913 18 is_stmt 0 view .LVU501
  3524. 1617 00d4 204B ldr r3, .L171
  3525. 1618 00d6 1B68 ldr r3, [r3]
  3526. 1619 00d8 03F00703 and r3, r3, #7
  3527. 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3528. 1620 .loc 1 913 6 view .LVU502
  3529. 1621 00dc AB42 cmp r3, r5
  3530. 1622 00de 0AD9 bls .L155
  3531. 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3532. 1623 .loc 1 916 5 is_stmt 1 view .LVU503
  3533. 1624 00e0 1D4A ldr r2, .L171
  3534. 1625 00e2 1368 ldr r3, [r2]
  3535. 1626 00e4 23F00703 bic r3, r3, #7
  3536. 1627 00e8 2B43 orrs r3, r3, r5
  3537. 1628 00ea 1360 str r3, [r2]
  3538. 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3539. ARM GAS /tmp/ccWlYFBg.s page 62
  3540. 1629 .loc 1 920 5 view .LVU504
  3541. 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3542. 1630 .loc 1 920 9 is_stmt 0 view .LVU505
  3543. 1631 00ec 1368 ldr r3, [r2]
  3544. 1632 00ee 03F00703 and r3, r3, #7
  3545. 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3546. 1633 .loc 1 920 8 view .LVU506
  3547. 1634 00f2 AB42 cmp r3, r5
  3548. 1635 00f4 2DD1 bne .L164
  3549. 1636 .L155:
  3550. 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3551. 1637 .loc 1 928 1 is_stmt 1 view .LVU507
  3552. 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3553. 1638 .loc 1 928 24 is_stmt 0 view .LVU508
  3554. 1639 00f6 2368 ldr r3, [r4]
  3555. 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3556. 1640 .loc 1 928 4 view .LVU509
  3557. 1641 00f8 13F0040F tst r3, #4
  3558. 1642 00fc 06D0 beq .L156
  3559. 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_ClkInitStruct->APB1CLKDivider);
  3560. 1643 .loc 1 930 5 is_stmt 1 view .LVU510
  3561. 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3562. 1644 .loc 1 931 5 view .LVU511
  3563. 1645 00fe 174A ldr r2, .L171+4
  3564. 1646 0100 5368 ldr r3, [r2, #4]
  3565. 1647 0102 23F4E063 bic r3, r3, #1792
  3566. 1648 0106 E168 ldr r1, [r4, #12]
  3567. 1649 0108 0B43 orrs r3, r3, r1
  3568. 1650 010a 5360 str r3, [r2, #4]
  3569. 1651 .L156:
  3570. 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3571. 1652 .loc 1 935 3 view .LVU512
  3572. 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3573. 1653 .loc 1 935 26 is_stmt 0 view .LVU513
  3574. 1654 010c 2368 ldr r3, [r4]
  3575. 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3576. 1655 .loc 1 935 6 view .LVU514
  3577. 1656 010e 13F0080F tst r3, #8
  3578. 1657 0112 07D0 beq .L157
  3579. 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, ((RCC_ClkInitStruct->APB2CLKDivider) << 3));
  3580. 1658 .loc 1 937 5 is_stmt 1 view .LVU515
  3581. 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3582. 1659 .loc 1 938 5 view .LVU516
  3583. 1660 0114 114A ldr r2, .L171+4
  3584. 1661 0116 5368 ldr r3, [r2, #4]
  3585. 1662 0118 23F46053 bic r3, r3, #14336
  3586. 1663 011c 2169 ldr r1, [r4, #16]
  3587. 1664 011e 43EAC103 orr r3, r3, r1, lsl #3
  3588. 1665 0122 5360 str r3, [r2, #4]
  3589. 1666 .L157:
  3590. 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3591. 1667 .loc 1 942 3 view .LVU517
  3592. 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3593. 1668 .loc 1 942 21 is_stmt 0 view .LVU518
  3594. 1669 0124 FFF7FEFF bl HAL_RCC_GetSysClockFreq
  3595. 1670 .LVL116:
  3596. 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3597. ARM GAS /tmp/ccWlYFBg.s page 63
  3598. 1671 .loc 1 942 68 view .LVU519
  3599. 1672 0128 0C4B ldr r3, .L171+4
  3600. 1673 012a 5B68 ldr r3, [r3, #4]
  3601. 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3602. 1674 .loc 1 942 92 view .LVU520
  3603. 1675 012c C3F30313 ubfx r3, r3, #4, #4
  3604. 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3605. 1676 .loc 1 942 63 view .LVU521
  3606. 1677 0130 0B4A ldr r2, .L171+8
  3607. 1678 0132 D35C ldrb r3, [r2, r3] @ zero_extendqisi2
  3608. 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3609. 1679 .loc 1 942 47 view .LVU522
  3610. 1680 0134 D840 lsrs r0, r0, r3
  3611. 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3612. 1681 .loc 1 942 19 view .LVU523
  3613. 1682 0136 0B4B ldr r3, .L171+12
  3614. 1683 0138 1860 str r0, [r3]
  3615. 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3616. 1684 .loc 1 945 3 is_stmt 1 view .LVU524
  3617. 1685 013a 0B4B ldr r3, .L171+16
  3618. 1686 013c 1868 ldr r0, [r3]
  3619. 1687 013e FFF7FEFF bl HAL_InitTick
  3620. 1688 .LVL117:
  3621. 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3622. 1689 .loc 1 947 3 view .LVU525
  3623. 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3624. 1690 .loc 1 947 10 is_stmt 0 view .LVU526
  3625. 1691 0142 0020 movs r0, #0
  3626. 1692 .L144:
  3627. 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3628. 1693 .loc 1 948 1 view .LVU527
  3629. 1694 0144 70BD pop {r4, r5, r6, pc}
  3630. 1695 .LVL118:
  3631. 1696 .L158:
  3632. 1697 .LCFI13:
  3633. 1698 .cfi_def_cfa_offset 0
  3634. 1699 .cfi_restore 4
  3635. 1700 .cfi_restore 5
  3636. 1701 .cfi_restore 6
  3637. 1702 .cfi_restore 14
  3638. 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3639. 1703 .loc 1 818 12 view .LVU528
  3640. 1704 0146 0120 movs r0, #1
  3641. 1705 .LVL119:
  3642. 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3643. 1706 .loc 1 948 1 view .LVU529
  3644. 1707 0148 7047 bx lr
  3645. 1708 .LVL120:
  3646. 1709 .L159:
  3647. 1710 .LCFI14:
  3648. 1711 .cfi_def_cfa_offset 16
  3649. 1712 .cfi_offset 4, -16
  3650. 1713 .cfi_offset 5, -12
  3651. 1714 .cfi_offset 6, -8
  3652. 1715 .cfi_offset 14, -4
  3653. 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3654. 1716 .loc 1 840 12 view .LVU530
  3655. ARM GAS /tmp/ccWlYFBg.s page 64
  3656. 1717 014a 0120 movs r0, #1
  3657. 1718 .LVL121:
  3658. 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3659. 1719 .loc 1 840 12 view .LVU531
  3660. 1720 014c FAE7 b .L144
  3661. 1721 .LVL122:
  3662. 1722 .L162:
  3663. 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3664. 1723 .loc 1 894 16 view .LVU532
  3665. 1724 014e 0120 movs r0, #1
  3666. 1725 .LVL123:
  3667. 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3668. 1726 .loc 1 894 16 view .LVU533
  3669. 1727 0150 F8E7 b .L144
  3670. 1728 .L164:
  3671. 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3672. 1729 .loc 1 922 12 view .LVU534
  3673. 1730 0152 0120 movs r0, #1
  3674. 1731 0154 F6E7 b .L144
  3675. 1732 .L172:
  3676. 1733 0156 00BF .align 2
  3677. 1734 .L171:
  3678. 1735 0158 00200240 .word 1073881088
  3679. 1736 015c 00100240 .word 1073876992
  3680. 1737 0160 00000000 .word AHBPrescTable
  3681. 1738 0164 00000000 .word SystemCoreClock
  3682. 1739 0168 00000000 .word uwTickPrio
  3683. 1740 .cfi_endproc
  3684. 1741 .LFE67:
  3685. 1743 .section .text.HAL_RCC_GetHCLKFreq,"ax",%progbits
  3686. 1744 .align 1
  3687. 1745 .global HAL_RCC_GetHCLKFreq
  3688. 1746 .syntax unified
  3689. 1747 .thumb
  3690. 1748 .thumb_func
  3691. 1750 HAL_RCC_GetHCLKFreq:
  3692. 1751 .LFB72:
  3693. 1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return SystemCoreClock;
  3694. 1752 .loc 1 1175 1 is_stmt 1 view -0
  3695. 1753 .cfi_startproc
  3696. 1754 @ args = 0, pretend = 0, frame = 0
  3697. 1755 @ frame_needed = 0, uses_anonymous_args = 0
  3698. 1756 @ link register save eliminated.
  3699. 1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3700. 1757 .loc 1 1176 3 view .LVU536
  3701. 1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3702. 1758 .loc 1 1177 1 is_stmt 0 view .LVU537
  3703. 1759 0000 014B ldr r3, .L174
  3704. 1760 0002 1868 ldr r0, [r3]
  3705. 1761 0004 7047 bx lr
  3706. 1762 .L175:
  3707. 1763 0006 00BF .align 2
  3708. 1764 .L174:
  3709. 1765 0008 00000000 .word SystemCoreClock
  3710. 1766 .cfi_endproc
  3711. 1767 .LFE72:
  3712. 1769 .section .text.HAL_RCC_GetPCLK1Freq,"ax",%progbits
  3713. ARM GAS /tmp/ccWlYFBg.s page 65
  3714. 1770 .align 1
  3715. 1771 .global HAL_RCC_GetPCLK1Freq
  3716. 1772 .syntax unified
  3717. 1773 .thumb
  3718. 1774 .thumb_func
  3719. 1776 HAL_RCC_GetPCLK1Freq:
  3720. 1777 .LFB73:
  3721. 1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get HCLK source and Compute PCLK1 frequency ---------------------------*/
  3722. 1778 .loc 1 1186 1 is_stmt 1 view -0
  3723. 1779 .cfi_startproc
  3724. 1780 @ args = 0, pretend = 0, frame = 0
  3725. 1781 @ frame_needed = 0, uses_anonymous_args = 0
  3726. 1782 0000 08B5 push {r3, lr}
  3727. 1783 .LCFI15:
  3728. 1784 .cfi_def_cfa_offset 8
  3729. 1785 .cfi_offset 3, -8
  3730. 1786 .cfi_offset 14, -4
  3731. 1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3732. 1787 .loc 1 1188 3 view .LVU539
  3733. 1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3734. 1788 .loc 1 1188 11 is_stmt 0 view .LVU540
  3735. 1789 0002 FFF7FEFF bl HAL_RCC_GetHCLKFreq
  3736. 1790 .LVL124:
  3737. 1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3738. 1791 .loc 1 1188 54 view .LVU541
  3739. 1792 0006 044B ldr r3, .L178
  3740. 1793 0008 5B68 ldr r3, [r3, #4]
  3741. 1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3742. 1794 .loc 1 1188 79 view .LVU542
  3743. 1795 000a C3F30223 ubfx r3, r3, #8, #3
  3744. 1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3745. 1796 .loc 1 1188 49 view .LVU543
  3746. 1797 000e 034A ldr r2, .L178+4
  3747. 1798 0010 D35C ldrb r3, [r2, r3] @ zero_extendqisi2
  3748. 1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3749. 1799 .loc 1 1189 1 view .LVU544
  3750. 1800 0012 D840 lsrs r0, r0, r3
  3751. 1801 0014 08BD pop {r3, pc}
  3752. 1802 .L179:
  3753. 1803 0016 00BF .align 2
  3754. 1804 .L178:
  3755. 1805 0018 00100240 .word 1073876992
  3756. 1806 001c 00000000 .word APBPrescTable
  3757. 1807 .cfi_endproc
  3758. 1808 .LFE73:
  3759. 1810 .section .text.HAL_RCC_GetPCLK2Freq,"ax",%progbits
  3760. 1811 .align 1
  3761. 1812 .global HAL_RCC_GetPCLK2Freq
  3762. 1813 .syntax unified
  3763. 1814 .thumb
  3764. 1815 .thumb_func
  3765. 1817 HAL_RCC_GetPCLK2Freq:
  3766. 1818 .LFB74:
  3767. 1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get HCLK source and Compute PCLK2 frequency ---------------------------*/
  3768. 1819 .loc 1 1198 1 is_stmt 1 view -0
  3769. 1820 .cfi_startproc
  3770. 1821 @ args = 0, pretend = 0, frame = 0
  3771. ARM GAS /tmp/ccWlYFBg.s page 66
  3772. 1822 @ frame_needed = 0, uses_anonymous_args = 0
  3773. 1823 0000 08B5 push {r3, lr}
  3774. 1824 .LCFI16:
  3775. 1825 .cfi_def_cfa_offset 8
  3776. 1826 .cfi_offset 3, -8
  3777. 1827 .cfi_offset 14, -4
  3778. 1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3779. 1828 .loc 1 1200 3 view .LVU546
  3780. 1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3781. 1829 .loc 1 1200 11 is_stmt 0 view .LVU547
  3782. 1830 0002 FFF7FEFF bl HAL_RCC_GetHCLKFreq
  3783. 1831 .LVL125:
  3784. 1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3785. 1832 .loc 1 1200 54 view .LVU548
  3786. 1833 0006 044B ldr r3, .L182
  3787. 1834 0008 5B68 ldr r3, [r3, #4]
  3788. 1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3789. 1835 .loc 1 1200 79 view .LVU549
  3790. 1836 000a C3F3C223 ubfx r3, r3, #11, #3
  3791. 1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3792. 1837 .loc 1 1200 49 view .LVU550
  3793. 1838 000e 034A ldr r2, .L182+4
  3794. 1839 0010 D35C ldrb r3, [r2, r3] @ zero_extendqisi2
  3795. 1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3796. 1840 .loc 1 1201 1 view .LVU551
  3797. 1841 0012 D840 lsrs r0, r0, r3
  3798. 1842 0014 08BD pop {r3, pc}
  3799. 1843 .L183:
  3800. 1844 0016 00BF .align 2
  3801. 1845 .L182:
  3802. 1846 0018 00100240 .word 1073876992
  3803. 1847 001c 00000000 .word APBPrescTable
  3804. 1848 .cfi_endproc
  3805. 1849 .LFE74:
  3806. 1851 .section .text.HAL_RCC_GetOscConfig,"ax",%progbits
  3807. 1852 .align 1
  3808. 1853 .global HAL_RCC_GetOscConfig
  3809. 1854 .syntax unified
  3810. 1855 .thumb
  3811. 1856 .thumb_func
  3812. 1858 HAL_RCC_GetOscConfig:
  3813. 1859 .LVL126:
  3814. 1860 .LFB75:
  3815. 1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  3816. 1861 .loc 1 1211 1 is_stmt 1 view -0
  3817. 1862 .cfi_startproc
  3818. 1863 @ args = 0, pretend = 0, frame = 0
  3819. 1864 @ frame_needed = 0, uses_anonymous_args = 0
  3820. 1865 @ link register save eliminated.
  3821. 1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3822. 1866 .loc 1 1213 3 view .LVU553
  3823. 1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** | RCC_OSCILLATORTYPE_LSE | RCC_OSCILLATORTYPE_LSI;
  3824. 1867 .loc 1 1216 3 view .LVU554
  3825. 1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** | RCC_OSCILLATORTYPE_LSE | RCC_OSCILLATORTYPE_LSI;
  3826. 1868 .loc 1 1216 37 is_stmt 0 view .LVU555
  3827. 1869 0000 0F23 movs r3, #15
  3828. 1870 0002 0360 str r3, [r0]
  3829. ARM GAS /tmp/ccWlYFBg.s page 67
  3830. 1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3831. 1871 .loc 1 1225 3 is_stmt 1 view .LVU556
  3832. 1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3833. 1872 .loc 1 1225 11 is_stmt 0 view .LVU557
  3834. 1873 0004 2A4B ldr r3, .L197
  3835. 1874 0006 1B68 ldr r3, [r3]
  3836. 1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3837. 1875 .loc 1 1225 6 view .LVU558
  3838. 1876 0008 13F4802F tst r3, #262144
  3839. 1877 000c 30D0 beq .L185
  3840. 1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3841. 1878 .loc 1 1227 5 is_stmt 1 view .LVU559
  3842. 1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3843. 1879 .loc 1 1227 33 is_stmt 0 view .LVU560
  3844. 1880 000e 4FF4A023 mov r3, #327680
  3845. 1881 0012 4360 str r3, [r0, #4]
  3846. 1882 .L186:
  3847. 1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3848. 1883 .loc 1 1237 3 is_stmt 1 view .LVU561
  3849. 1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3850. 1884 .loc 1 1237 39 is_stmt 0 view .LVU562
  3851. 1885 0014 264A ldr r2, .L197
  3852. 1886 0016 5368 ldr r3, [r2, #4]
  3853. 1887 0018 03F40033 and r3, r3, #131072
  3854. 1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3855. 1888 .loc 1 1237 37 view .LVU563
  3856. 1889 001c 8360 str r3, [r0, #8]
  3857. 1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3858. 1890 .loc 1 1240 3 is_stmt 1 view .LVU564
  3859. 1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3860. 1891 .loc 1 1240 11 is_stmt 0 view .LVU565
  3861. 1892 001e 1368 ldr r3, [r2]
  3862. 1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3863. 1893 .loc 1 1240 6 view .LVU566
  3864. 1894 0020 13F0010F tst r3, #1
  3865. 1895 0024 30D0 beq .L188
  3866. 1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3867. 1896 .loc 1 1242 5 is_stmt 1 view .LVU567
  3868. 1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3869. 1897 .loc 1 1242 33 is_stmt 0 view .LVU568
  3870. 1898 0026 0123 movs r3, #1
  3871. 1899 0028 0361 str r3, [r0, #16]
  3872. 1900 .L189:
  3873. 1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3874. 1901 .loc 1 1249 3 is_stmt 1 view .LVU569
  3875. 1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3876. 1902 .loc 1 1249 59 is_stmt 0 view .LVU570
  3877. 1903 002a 214A ldr r2, .L197
  3878. 1904 002c 1368 ldr r3, [r2]
  3879. 1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3880. 1905 .loc 1 1249 44 view .LVU571
  3881. 1906 002e C3F3C403 ubfx r3, r3, #3, #5
  3882. 1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3883. 1907 .loc 1 1249 42 view .LVU572
  3884. 1908 0032 4361 str r3, [r0, #20]
  3885. 1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3886. 1909 .loc 1 1252 3 is_stmt 1 view .LVU573
  3887. ARM GAS /tmp/ccWlYFBg.s page 68
  3888. 1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3889. 1910 .loc 1 1252 11 is_stmt 0 view .LVU574
  3890. 1911 0034 136A ldr r3, [r2, #32]
  3891. 1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3892. 1912 .loc 1 1252 6 view .LVU575
  3893. 1913 0036 13F0040F tst r3, #4
  3894. 1914 003a 28D0 beq .L190
  3895. 1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3896. 1915 .loc 1 1254 5 is_stmt 1 view .LVU576
  3897. 1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3898. 1916 .loc 1 1254 33 is_stmt 0 view .LVU577
  3899. 1917 003c 0523 movs r3, #5
  3900. 1918 003e C360 str r3, [r0, #12]
  3901. 1919 .L191:
  3902. 1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3903. 1920 .loc 1 1266 3 is_stmt 1 view .LVU578
  3904. 1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3905. 1921 .loc 1 1266 11 is_stmt 0 view .LVU579
  3906. 1922 0040 1B4B ldr r3, .L197
  3907. 1923 0042 5B6A ldr r3, [r3, #36]
  3908. 1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3909. 1924 .loc 1 1266 6 view .LVU580
  3910. 1925 0044 13F0010F tst r3, #1
  3911. 1926 0048 2CD0 beq .L193
  3912. 1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3913. 1927 .loc 1 1268 5 is_stmt 1 view .LVU581
  3914. 1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3915. 1928 .loc 1 1268 33 is_stmt 0 view .LVU582
  3916. 1929 004a 0123 movs r3, #1
  3917. 1930 004c 8361 str r3, [r0, #24]
  3918. 1931 .L194:
  3919. 1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3920. 1932 .loc 1 1277 3 is_stmt 1 view .LVU583
  3921. 1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3922. 1933 .loc 1 1277 11 is_stmt 0 view .LVU584
  3923. 1934 004e 184B ldr r3, .L197
  3924. 1935 0050 1B68 ldr r3, [r3]
  3925. 1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3926. 1936 .loc 1 1277 6 view .LVU585
  3927. 1937 0052 13F0807F tst r3, #16777216
  3928. 1938 0056 28D0 beq .L195
  3929. 1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3930. 1939 .loc 1 1279 5 is_stmt 1 view .LVU586
  3931. 1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3932. 1940 .loc 1 1279 37 is_stmt 0 view .LVU587
  3933. 1941 0058 0223 movs r3, #2
  3934. 1942 005a C361 str r3, [r0, #28]
  3935. 1943 .L196:
  3936. 1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLMUL = (uint32_t)(RCC->CFGR & RCC_CFGR_PLLMULL);
  3937. 1944 .loc 1 1285 3 is_stmt 1 view .LVU588
  3938. 1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLMUL = (uint32_t)(RCC->CFGR & RCC_CFGR_PLLMULL);
  3939. 1945 .loc 1 1285 52 is_stmt 0 view .LVU589
  3940. 1946 005c 144A ldr r2, .L197
  3941. 1947 005e 5368 ldr r3, [r2, #4]
  3942. 1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLMUL = (uint32_t)(RCC->CFGR & RCC_CFGR_PLLMULL);
  3943. 1948 .loc 1 1285 38 view .LVU590
  3944. 1949 0060 03F48033 and r3, r3, #65536
  3945. ARM GAS /tmp/ccWlYFBg.s page 69
  3946. 1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLMUL = (uint32_t)(RCC->CFGR & RCC_CFGR_PLLMULL);
  3947. 1950 .loc 1 1285 36 view .LVU591
  3948. 1951 0064 0362 str r3, [r0, #32]
  3949. 1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CR_PLL2ON)
  3950. 1952 .loc 1 1286 3 is_stmt 1 view .LVU592
  3951. 1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CR_PLL2ON)
  3952. 1953 .loc 1 1286 49 is_stmt 0 view .LVU593
  3953. 1954 0066 5368 ldr r3, [r2, #4]
  3954. 1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CR_PLL2ON)
  3955. 1955 .loc 1 1286 35 view .LVU594
  3956. 1956 0068 03F47013 and r3, r3, #3932160
  3957. 1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CR_PLL2ON)
  3958. 1957 .loc 1 1286 33 view .LVU595
  3959. 1958 006c 4362 str r3, [r0, #36]
  3960. 1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  3961. 1959 .loc 1 1300 1 view .LVU596
  3962. 1960 006e 7047 bx lr
  3963. 1961 .L185:
  3964. 1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3965. 1962 .loc 1 1229 8 is_stmt 1 view .LVU597
  3966. 1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3967. 1963 .loc 1 1229 16 is_stmt 0 view .LVU598
  3968. 1964 0070 0F4B ldr r3, .L197
  3969. 1965 0072 1B68 ldr r3, [r3]
  3970. 1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3971. 1966 .loc 1 1229 11 view .LVU599
  3972. 1967 0074 13F4803F tst r3, #65536
  3973. 1968 0078 03D0 beq .L187
  3974. 1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3975. 1969 .loc 1 1231 5 is_stmt 1 view .LVU600
  3976. 1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3977. 1970 .loc 1 1231 33 is_stmt 0 view .LVU601
  3978. 1971 007a 4FF48033 mov r3, #65536
  3979. 1972 007e 4360 str r3, [r0, #4]
  3980. 1973 0080 C8E7 b .L186
  3981. 1974 .L187:
  3982. 1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3983. 1975 .loc 1 1235 5 is_stmt 1 view .LVU602
  3984. 1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3985. 1976 .loc 1 1235 33 is_stmt 0 view .LVU603
  3986. 1977 0082 0023 movs r3, #0
  3987. 1978 0084 4360 str r3, [r0, #4]
  3988. 1979 0086 C5E7 b .L186
  3989. 1980 .L188:
  3990. 1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3991. 1981 .loc 1 1246 5 is_stmt 1 view .LVU604
  3992. 1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  3993. 1982 .loc 1 1246 33 is_stmt 0 view .LVU605
  3994. 1983 0088 0023 movs r3, #0
  3995. 1984 008a 0361 str r3, [r0, #16]
  3996. 1985 008c CDE7 b .L189
  3997. 1986 .L190:
  3998. 1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  3999. 1987 .loc 1 1256 8 is_stmt 1 view .LVU606
  4000. 1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  4001. 1988 .loc 1 1256 16 is_stmt 0 view .LVU607
  4002. 1989 008e 084B ldr r3, .L197
  4003. ARM GAS /tmp/ccWlYFBg.s page 70
  4004. 1990 0090 1B6A ldr r3, [r3, #32]
  4005. 1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  4006. 1991 .loc 1 1256 11 view .LVU608
  4007. 1992 0092 13F0010F tst r3, #1
  4008. 1993 0096 02D0 beq .L192
  4009. 1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  4010. 1994 .loc 1 1258 5 is_stmt 1 view .LVU609
  4011. 1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  4012. 1995 .loc 1 1258 33 is_stmt 0 view .LVU610
  4013. 1996 0098 0123 movs r3, #1
  4014. 1997 009a C360 str r3, [r0, #12]
  4015. 1998 009c D0E7 b .L191
  4016. 1999 .L192:
  4017. 1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  4018. 2000 .loc 1 1262 5 is_stmt 1 view .LVU611
  4019. 1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  4020. 2001 .loc 1 1262 33 is_stmt 0 view .LVU612
  4021. 2002 009e 0023 movs r3, #0
  4022. 2003 00a0 C360 str r3, [r0, #12]
  4023. 2004 00a2 CDE7 b .L191
  4024. 2005 .L193:
  4025. 1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  4026. 2006 .loc 1 1272 5 is_stmt 1 view .LVU613
  4027. 1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  4028. 2007 .loc 1 1272 33 is_stmt 0 view .LVU614
  4029. 2008 00a4 0023 movs r3, #0
  4030. 2009 00a6 8361 str r3, [r0, #24]
  4031. 2010 00a8 D1E7 b .L194
  4032. 2011 .L195:
  4033. 1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  4034. 2012 .loc 1 1283 5 is_stmt 1 view .LVU615
  4035. 1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  4036. 2013 .loc 1 1283 37 is_stmt 0 view .LVU616
  4037. 2014 00aa 0123 movs r3, #1
  4038. 2015 00ac C361 str r3, [r0, #28]
  4039. 2016 00ae D5E7 b .L196
  4040. 2017 .L198:
  4041. 2018 .align 2
  4042. 2019 .L197:
  4043. 2020 00b0 00100240 .word 1073876992
  4044. 2021 .cfi_endproc
  4045. 2022 .LFE75:
  4046. 2024 .section .text.HAL_RCC_GetClockConfig,"ax",%progbits
  4047. 2025 .align 1
  4048. 2026 .global HAL_RCC_GetClockConfig
  4049. 2027 .syntax unified
  4050. 2028 .thumb
  4051. 2029 .thumb_func
  4052. 2031 HAL_RCC_GetClockConfig:
  4053. 2032 .LVL127:
  4054. 2033 .LFB76:
  4055. 1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
  4056. 2034 .loc 1 1311 1 is_stmt 1 view -0
  4057. 2035 .cfi_startproc
  4058. 2036 @ args = 0, pretend = 0, frame = 0
  4059. 2037 @ frame_needed = 0, uses_anonymous_args = 0
  4060. 2038 @ link register save eliminated.
  4061. ARM GAS /tmp/ccWlYFBg.s page 71
  4062. 1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(pFLatency != NULL);
  4063. 2039 .loc 1 1313 3 view .LVU618
  4064. 1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4065. 2040 .loc 1 1314 3 view .LVU619
  4066. 1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4067. 2041 .loc 1 1317 3 view .LVU620
  4068. 1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4069. 2042 .loc 1 1317 32 is_stmt 0 view .LVU621
  4070. 2043 0000 0F23 movs r3, #15
  4071. 2044 0002 0360 str r3, [r0]
  4072. 1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4073. 2045 .loc 1 1320 3 is_stmt 1 view .LVU622
  4074. 1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4075. 2046 .loc 1 1320 51 is_stmt 0 view .LVU623
  4076. 2047 0004 0B4B ldr r3, .L200
  4077. 2048 0006 5A68 ldr r2, [r3, #4]
  4078. 1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4079. 2049 .loc 1 1320 37 view .LVU624
  4080. 2050 0008 02F00302 and r2, r2, #3
  4081. 1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4082. 2051 .loc 1 1320 35 view .LVU625
  4083. 2052 000c 4260 str r2, [r0, #4]
  4084. 1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4085. 2053 .loc 1 1323 3 is_stmt 1 view .LVU626
  4086. 1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4087. 2054 .loc 1 1323 52 is_stmt 0 view .LVU627
  4088. 2055 000e 5A68 ldr r2, [r3, #4]
  4089. 1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4090. 2056 .loc 1 1323 38 view .LVU628
  4091. 2057 0010 02F0F002 and r2, r2, #240
  4092. 1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4093. 2058 .loc 1 1323 36 view .LVU629
  4094. 2059 0014 8260 str r2, [r0, #8]
  4095. 1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4096. 2060 .loc 1 1326 3 is_stmt 1 view .LVU630
  4097. 1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4098. 2061 .loc 1 1326 53 is_stmt 0 view .LVU631
  4099. 2062 0016 5A68 ldr r2, [r3, #4]
  4100. 1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4101. 2063 .loc 1 1326 39 view .LVU632
  4102. 2064 0018 02F4E062 and r2, r2, #1792
  4103. 1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4104. 2065 .loc 1 1326 37 view .LVU633
  4105. 2066 001c C260 str r2, [r0, #12]
  4106. 1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4107. 2067 .loc 1 1329 3 is_stmt 1 view .LVU634
  4108. 1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4109. 2068 .loc 1 1329 54 is_stmt 0 view .LVU635
  4110. 2069 001e 5B68 ldr r3, [r3, #4]
  4111. 1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4112. 2070 .loc 1 1329 39 view .LVU636
  4113. 2071 0020 DB08 lsrs r3, r3, #3
  4114. 2072 0022 03F4E063 and r3, r3, #1792
  4115. 1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4116. 2073 .loc 1 1329 37 view .LVU637
  4117. 2074 0026 0361 str r3, [r0, #16]
  4118. 1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
  4119. ARM GAS /tmp/ccWlYFBg.s page 72
  4120. 2075 .loc 1 1333 3 is_stmt 1 view .LVU638
  4121. 1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
  4122. 2076 .loc 1 1333 32 is_stmt 0 view .LVU639
  4123. 2077 0028 034B ldr r3, .L200+4
  4124. 2078 002a 1B68 ldr r3, [r3]
  4125. 1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
  4126. 2079 .loc 1 1333 16 view .LVU640
  4127. 2080 002c 03F00703 and r3, r3, #7
  4128. 1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
  4129. 2081 .loc 1 1333 14 view .LVU641
  4130. 2082 0030 0B60 str r3, [r1]
  4131. 1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4132. 2083 .loc 1 1338 1 view .LVU642
  4133. 2084 0032 7047 bx lr
  4134. 2085 .L201:
  4135. 2086 .align 2
  4136. 2087 .L200:
  4137. 2088 0034 00100240 .word 1073876992
  4138. 2089 0038 00200240 .word 1073881088
  4139. 2090 .cfi_endproc
  4140. 2091 .LFE76:
  4141. 2093 .section .text.HAL_RCC_CSSCallback,"ax",%progbits
  4142. 2094 .align 1
  4143. 2095 .weak HAL_RCC_CSSCallback
  4144. 2096 .syntax unified
  4145. 2097 .thumb
  4146. 2098 .thumb_func
  4147. 2100 HAL_RCC_CSSCallback:
  4148. 2101 .LFB79:
  4149. 1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4150. 1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
  4151. 1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief RCC Clock Security System interrupt callback
  4152. 1375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval none
  4153. 1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  4154. 1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __weak void HAL_RCC_CSSCallback(void)
  4155. 1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  4156. 2102 .loc 1 1378 1 is_stmt 1 view -0
  4157. 2103 .cfi_startproc
  4158. 2104 @ args = 0, pretend = 0, frame = 0
  4159. 2105 @ frame_needed = 0, uses_anonymous_args = 0
  4160. 2106 @ link register save eliminated.
  4161. 1379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  4162. 1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** the HAL_RCC_CSSCallback could be implemented in the user file
  4163. 1381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
  4164. 1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  4165. 2107 .loc 1 1382 1 view .LVU644
  4166. 2108 0000 7047 bx lr
  4167. 2109 .cfi_endproc
  4168. 2110 .LFE79:
  4169. 2112 .section .text.HAL_RCC_NMI_IRQHandler,"ax",%progbits
  4170. 2113 .align 1
  4171. 2114 .global HAL_RCC_NMI_IRQHandler
  4172. 2115 .syntax unified
  4173. 2116 .thumb
  4174. 2117 .thumb_func
  4175. 2119 HAL_RCC_NMI_IRQHandler:
  4176. 2120 .LFB77:
  4177. ARM GAS /tmp/ccWlYFBg.s page 73
  4178. 1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check RCC CSSF flag */
  4179. 2121 .loc 1 1346 1 view -0
  4180. 2122 .cfi_startproc
  4181. 2123 @ args = 0, pretend = 0, frame = 0
  4182. 2124 @ frame_needed = 0, uses_anonymous_args = 0
  4183. 2125 0000 08B5 push {r3, lr}
  4184. 2126 .LCFI17:
  4185. 2127 .cfi_def_cfa_offset 8
  4186. 2128 .cfi_offset 3, -8
  4187. 2129 .cfi_offset 14, -4
  4188. 1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  4189. 2130 .loc 1 1348 3 view .LVU646
  4190. 1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  4191. 2131 .loc 1 1348 7 is_stmt 0 view .LVU647
  4192. 2132 0002 064B ldr r3, .L207
  4193. 2133 0004 9B68 ldr r3, [r3, #8]
  4194. 1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
  4195. 2134 .loc 1 1348 6 view .LVU648
  4196. 2135 0006 13F0800F tst r3, #128
  4197. 2136 000a 00D1 bne .L206
  4198. 2137 .L203:
  4199. 1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4200. 2138 .loc 1 1356 1 view .LVU649
  4201. 2139 000c 08BD pop {r3, pc}
  4202. 2140 .L206:
  4203. 1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4204. 2141 .loc 1 1351 5 is_stmt 1 view .LVU650
  4205. 2142 000e FFF7FEFF bl HAL_RCC_CSSCallback
  4206. 2143 .LVL128:
  4207. 1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
  4208. 2144 .loc 1 1354 5 view .LVU651
  4209. 2145 0012 024B ldr r3, .L207
  4210. 2146 0014 8022 movs r2, #128
  4211. 2147 0016 9A72 strb r2, [r3, #10]
  4212. 1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
  4213. 2148 .loc 1 1356 1 is_stmt 0 view .LVU652
  4214. 2149 0018 F8E7 b .L203
  4215. 2150 .L208:
  4216. 2151 001a 00BF .align 2
  4217. 2152 .L207:
  4218. 2153 001c 00100240 .word 1073876992
  4219. 2154 .cfi_endproc
  4220. 2155 .LFE77:
  4221. 2157 .section .rodata.aPLLMULFactorTable.1,"a"
  4222. 2158 .align 2
  4223. 2159 .set .LANCHOR0,. + 0
  4224. 2162 aPLLMULFactorTable.1:
  4225. 2163 0000 02030405 .ascii "\002\003\004\005\006\007\010\011\012\013\014\015\016"
  4226. 2163 06070809
  4227. 2163 0A0B0C0D
  4228. 2163 0E
  4229. 2164 000d 0F1010 .ascii "\017\020\020"
  4230. 2165 .section .rodata.aPredivFactorTable.0,"a"
  4231. 2166 .align 2
  4232. 2167 .set .LANCHOR1,. + 0
  4233. 2170 aPredivFactorTable.0:
  4234. 2171 0000 0102 .ascii "\001\002"
  4235. ARM GAS /tmp/ccWlYFBg.s page 74
  4236. 2172 .text
  4237. 2173 .Letext0:
  4238. 2174 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
  4239. 2175 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
  4240. 2176 .file 4 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
  4241. 2177 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
  4242. 2178 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
  4243. 2179 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
  4244. 2180 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h"
  4245. 2181 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h"
  4246. 2182 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h"
  4247. 2183 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
  4248. ARM GAS /tmp/ccWlYFBg.s page 75
  4249. DEFINED SYMBOLS
  4250. *ABS*:0000000000000000 stm32f1xx_hal_rcc.c
  4251. /tmp/ccWlYFBg.s:18 .text.RCC_Delay:0000000000000000 $t
  4252. /tmp/ccWlYFBg.s:23 .text.RCC_Delay:0000000000000000 RCC_Delay
  4253. /tmp/ccWlYFBg.s:73 .text.RCC_Delay:0000000000000024 $d
  4254. /tmp/ccWlYFBg.s:79 .text.HAL_RCC_DeInit:0000000000000000 $t
  4255. /tmp/ccWlYFBg.s:85 .text.HAL_RCC_DeInit:0000000000000000 HAL_RCC_DeInit
  4256. /tmp/ccWlYFBg.s:289 .text.HAL_RCC_DeInit:00000000000000e4 $d
  4257. /tmp/ccWlYFBg.s:297 .text.HAL_RCC_OscConfig:0000000000000000 $t
  4258. /tmp/ccWlYFBg.s:303 .text.HAL_RCC_OscConfig:0000000000000000 HAL_RCC_OscConfig
  4259. /tmp/ccWlYFBg.s:817 .text.HAL_RCC_OscConfig:000000000000027c $d
  4260. /tmp/ccWlYFBg.s:823 .text.HAL_RCC_OscConfig:0000000000000288 $t
  4261. /tmp/ccWlYFBg.s:1181 .text.HAL_RCC_OscConfig:0000000000000408 $d
  4262. /tmp/ccWlYFBg.s:1187 .text.HAL_RCC_MCOConfig:0000000000000000 $t
  4263. /tmp/ccWlYFBg.s:1193 .text.HAL_RCC_MCOConfig:0000000000000000 HAL_RCC_MCOConfig
  4264. /tmp/ccWlYFBg.s:1277 .text.HAL_RCC_MCOConfig:0000000000000048 $d
  4265. /tmp/ccWlYFBg.s:1283 .text.HAL_RCC_EnableCSS:0000000000000000 $t
  4266. /tmp/ccWlYFBg.s:1289 .text.HAL_RCC_EnableCSS:0000000000000000 HAL_RCC_EnableCSS
  4267. /tmp/ccWlYFBg.s:1306 .text.HAL_RCC_EnableCSS:0000000000000008 $d
  4268. /tmp/ccWlYFBg.s:1311 .text.HAL_RCC_DisableCSS:0000000000000000 $t
  4269. /tmp/ccWlYFBg.s:1317 .text.HAL_RCC_DisableCSS:0000000000000000 HAL_RCC_DisableCSS
  4270. /tmp/ccWlYFBg.s:1334 .text.HAL_RCC_DisableCSS:0000000000000008 $d
  4271. /tmp/ccWlYFBg.s:1339 .text.HAL_RCC_GetSysClockFreq:0000000000000000 $t
  4272. /tmp/ccWlYFBg.s:1345 .text.HAL_RCC_GetSysClockFreq:0000000000000000 HAL_RCC_GetSysClockFreq
  4273. /tmp/ccWlYFBg.s:1423 .text.HAL_RCC_GetSysClockFreq:0000000000000040 $d
  4274. /tmp/ccWlYFBg.s:1432 .text.HAL_RCC_ClockConfig:0000000000000000 $t
  4275. /tmp/ccWlYFBg.s:1438 .text.HAL_RCC_ClockConfig:0000000000000000 HAL_RCC_ClockConfig
  4276. /tmp/ccWlYFBg.s:1735 .text.HAL_RCC_ClockConfig:0000000000000158 $d
  4277. /tmp/ccWlYFBg.s:1744 .text.HAL_RCC_GetHCLKFreq:0000000000000000 $t
  4278. /tmp/ccWlYFBg.s:1750 .text.HAL_RCC_GetHCLKFreq:0000000000000000 HAL_RCC_GetHCLKFreq
  4279. /tmp/ccWlYFBg.s:1765 .text.HAL_RCC_GetHCLKFreq:0000000000000008 $d
  4280. /tmp/ccWlYFBg.s:1770 .text.HAL_RCC_GetPCLK1Freq:0000000000000000 $t
  4281. /tmp/ccWlYFBg.s:1776 .text.HAL_RCC_GetPCLK1Freq:0000000000000000 HAL_RCC_GetPCLK1Freq
  4282. /tmp/ccWlYFBg.s:1805 .text.HAL_RCC_GetPCLK1Freq:0000000000000018 $d
  4283. /tmp/ccWlYFBg.s:1811 .text.HAL_RCC_GetPCLK2Freq:0000000000000000 $t
  4284. /tmp/ccWlYFBg.s:1817 .text.HAL_RCC_GetPCLK2Freq:0000000000000000 HAL_RCC_GetPCLK2Freq
  4285. /tmp/ccWlYFBg.s:1846 .text.HAL_RCC_GetPCLK2Freq:0000000000000018 $d
  4286. /tmp/ccWlYFBg.s:1852 .text.HAL_RCC_GetOscConfig:0000000000000000 $t
  4287. /tmp/ccWlYFBg.s:1858 .text.HAL_RCC_GetOscConfig:0000000000000000 HAL_RCC_GetOscConfig
  4288. /tmp/ccWlYFBg.s:2020 .text.HAL_RCC_GetOscConfig:00000000000000b0 $d
  4289. /tmp/ccWlYFBg.s:2025 .text.HAL_RCC_GetClockConfig:0000000000000000 $t
  4290. /tmp/ccWlYFBg.s:2031 .text.HAL_RCC_GetClockConfig:0000000000000000 HAL_RCC_GetClockConfig
  4291. /tmp/ccWlYFBg.s:2088 .text.HAL_RCC_GetClockConfig:0000000000000034 $d
  4292. /tmp/ccWlYFBg.s:2094 .text.HAL_RCC_CSSCallback:0000000000000000 $t
  4293. /tmp/ccWlYFBg.s:2100 .text.HAL_RCC_CSSCallback:0000000000000000 HAL_RCC_CSSCallback
  4294. /tmp/ccWlYFBg.s:2113 .text.HAL_RCC_NMI_IRQHandler:0000000000000000 $t
  4295. /tmp/ccWlYFBg.s:2119 .text.HAL_RCC_NMI_IRQHandler:0000000000000000 HAL_RCC_NMI_IRQHandler
  4296. /tmp/ccWlYFBg.s:2153 .text.HAL_RCC_NMI_IRQHandler:000000000000001c $d
  4297. /tmp/ccWlYFBg.s:2158 .rodata.aPLLMULFactorTable.1:0000000000000000 $d
  4298. /tmp/ccWlYFBg.s:2162 .rodata.aPLLMULFactorTable.1:0000000000000000 aPLLMULFactorTable.1
  4299. /tmp/ccWlYFBg.s:2166 .rodata.aPredivFactorTable.0:0000000000000000 $d
  4300. /tmp/ccWlYFBg.s:2170 .rodata.aPredivFactorTable.0:0000000000000000 aPredivFactorTable.0
  4301. UNDEFINED SYMBOLS
  4302. SystemCoreClock
  4303. HAL_GetTick
  4304. HAL_InitTick
  4305. ARM GAS /tmp/ccWlYFBg.s page 76
  4306. uwTickPrio
  4307. HAL_GPIO_Init
  4308. AHBPrescTable
  4309. APBPrescTable