stm32f3xx_hal_rcc.lst 391 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980
  1. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 1
  2. 1 .cpu cortex-m4
  3. 2 .arch armv7e-m
  4. 3 .fpu fpv4-sp-d16
  5. 4 .eabi_attribute 27, 1
  6. 5 .eabi_attribute 28, 1
  7. 6 .eabi_attribute 20, 1
  8. 7 .eabi_attribute 21, 1
  9. 8 .eabi_attribute 23, 3
  10. 9 .eabi_attribute 24, 1
  11. 10 .eabi_attribute 25, 1
  12. 11 .eabi_attribute 26, 1
  13. 12 .eabi_attribute 30, 2
  14. 13 .eabi_attribute 34, 1
  15. 14 .eabi_attribute 18, 4
  16. 15 .file "stm32f3xx_hal_rcc.c"
  17. 16 .text
  18. 17 .Ltext0:
  19. 18 .cfi_sections .debug_frame
  20. 19 .section .text.HAL_RCC_DeInit,"ax",%progbits
  21. 20 .align 1
  22. 21 .p2align 2,,3
  23. 22 .global HAL_RCC_DeInit
  24. 23 .syntax unified
  25. 24 .thumb
  26. 25 .thumb_func
  27. 27 HAL_RCC_DeInit:
  28. 28 .LFB130:
  29. 29 .file 1 "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c"
  30. 1:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  31. 2:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** ******************************************************************************
  32. 3:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @file stm32f3xx_hal_rcc.c
  33. 4:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @author MCD Application Team
  34. 5:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief RCC HAL module driver.
  35. 6:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * This file provides firmware functions to manage the following
  36. 7:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * functionalities of the Reset and Clock Control (RCC) peripheral:
  37. 8:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * + Initialization and de-initialization functions
  38. 9:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * + Peripheral Control functions
  39. 10:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *
  40. 11:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** @verbatim
  41. 12:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** ==============================================================================
  42. 13:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** ##### RCC specific features #####
  43. 14:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** ==============================================================================
  44. 15:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** [..]
  45. 16:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** After reset the device is running from Internal High Speed oscillator
  46. 17:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (HSI 8MHz) with Flash 0 wait state, Flash prefetch buffer is enabled,
  47. 18:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** and all peripherals are off except internal SRAM, Flash and JTAG.
  48. 19:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (+) There is no prescaler on High speed (AHB) and Low speed (APB) buses;
  49. 20:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** all peripherals mapped on these buses are running at HSI speed.
  50. 21:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (+) The clock for all peripherals is switched off, except the SRAM and FLASH.
  51. 22:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (+) All GPIOs are in input floating state, except the JTAG pins which
  52. 23:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** are assigned to be used for debug purpose.
  53. 24:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** [..] Once the device started from reset, the user application has to:
  54. 25:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (+) Configure the clock source to be used to drive the System clock
  55. 26:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (if the application needs higher frequency/performance)
  56. 27:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (+) Configure the System clock frequency and Flash settings
  57. 28:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (+) Configure the AHB and APB buses prescalers
  58. 29:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (+) Enable the clock for the peripheral(s) to be used
  59. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 2
  60. 30:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (+) Configure the clock source(s) for peripherals whose clocks are not
  61. 31:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** derived from the System clock (RTC, ADC, I2C, I2S, TIM, USB FS)
  62. 32:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  63. 33:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** ##### RCC Limitations #####
  64. 34:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** ==============================================================================
  65. 35:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** [..]
  66. 36:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** A delay between an RCC peripheral clock enable and the effective peripheral
  67. 37:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** enabling should be taken into account in order to manage the peripheral read/write
  68. 38:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** from/to registers.
  69. 39:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (+) This delay depends on the peripheral mapping.
  70. 40:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (++) AHB & APB peripherals, 1 dummy read is necessary
  71. 41:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  72. 42:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** [..]
  73. 43:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** Workarounds:
  74. 44:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (#) For AHB & APB peripherals, a dummy read to the peripheral register has been
  75. 45:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** inserted in each __HAL_RCC_PPP_CLK_ENABLE() macro.
  76. 46:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  77. 47:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** @endverbatim
  78. 48:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** ******************************************************************************
  79. 49:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @attention
  80. 50:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *
  81. 51:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * Copyright (c) 2016 STMicroelectronics.
  82. 52:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * All rights reserved.
  83. 53:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *
  84. 54:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * This software is licensed under terms that can be found in the LICENSE file in
  85. 55:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * the root directory of this software component.
  86. 56:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  87. 57:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** ******************************************************************************
  88. 58:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  89. 59:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  90. 60:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Includes ------------------------------------------------------------------*/
  91. 61:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #include "stm32f3xx_hal.h"
  92. 62:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  93. 63:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /** @addtogroup STM32F3xx_HAL_Driver
  94. 64:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @{
  95. 65:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  96. 66:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  97. 67:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /** @defgroup RCC RCC
  98. 68:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief RCC HAL module driver
  99. 69:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @{
  100. 70:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  101. 71:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  102. 72:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #ifdef HAL_RCC_MODULE_ENABLED
  103. 73:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  104. 74:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Private typedef -----------------------------------------------------------*/
  105. 75:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Private define ------------------------------------------------------------*/
  106. 76:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /** @defgroup RCC_Private_Constants RCC Private Constants
  107. 77:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @{
  108. 78:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  109. 79:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Bits position in in the CFGR register */
  110. 80:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #define RCC_CFGR_HPRE_BITNUMBER POSITION_VAL(RCC_CFGR_HPRE)
  111. 81:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #define RCC_CFGR_PPRE1_BITNUMBER POSITION_VAL(RCC_CFGR_PPRE1)
  112. 82:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #define RCC_CFGR_PPRE2_BITNUMBER POSITION_VAL(RCC_CFGR_PPRE2)
  113. 83:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  114. 84:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @}
  115. 85:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  116. 86:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Private macro -------------------------------------------------------------*/
  117. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 3
  118. 87:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /** @defgroup RCC_Private_Macros RCC Private Macros
  119. 88:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @{
  120. 89:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  121. 90:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  122. 91:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #define MCO1_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE()
  123. 92:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #define MCO1_GPIO_PORT GPIOA
  124. 93:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #define MCO1_PIN GPIO_PIN_8
  125. 94:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  126. 95:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  127. 96:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @}
  128. 97:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  129. 98:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  130. 99:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Private variables ---------------------------------------------------------*/
  131. 100:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /** @defgroup RCC_Private_Variables RCC Private Variables
  132. 101:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @{
  133. 102:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  134. 103:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** static const uint8_t aPLLMULFactorTable[16U] = { 2U, 3U, 4U, 5U, 6U, 7U, 8U, 9U,
  135. 104:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** 10U, 11U, 12U, 13U, 14U, 15U, 16U, 16U};
  136. 105:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** static const uint8_t aPredivFactorTable[16U] = { 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U,
  137. 106:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** 9U,10U, 11U, 12U, 13U, 14U, 15U, 16U};
  138. 107:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  139. 108:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @}
  140. 109:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  141. 110:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  142. 111:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Private function prototypes -----------------------------------------------*/
  143. 112:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Exported functions ---------------------------------------------------------*/
  144. 113:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  145. 114:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /** @defgroup RCC_Exported_Functions RCC Exported Functions
  146. 115:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @{
  147. 116:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  148. 117:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  149. 118:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /** @defgroup RCC_Exported_Functions_Group1 Initialization and de-initialization functions
  150. 119:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief Initialization and Configuration functions
  151. 120:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *
  152. 121:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** @verbatim
  153. 122:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** ===============================================================================
  154. 123:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** ##### Initialization and de-initialization functions #####
  155. 124:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** ===============================================================================
  156. 125:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** [..]
  157. 126:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** This section provides functions allowing to configure the internal/external oscillators
  158. 127:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (HSE, HSI, LSE, LSI, PLL, CSS and MCO) and the System buses clocks (SYSCLK, AHB, APB1
  159. 128:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** and APB2).
  160. 129:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  161. 130:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** [..] Internal/external clock and PLL configuration
  162. 131:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (#) HSI (high-speed internal), 8 MHz factory-trimmed RC used directly or through
  163. 132:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** the PLL as System clock source.
  164. 133:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** The HSI clock can be used also to clock the USART and I2C peripherals.
  165. 134:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  166. 135:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (#) LSI (low-speed internal), ~40 KHz low consumption RC used as IWDG and/or RTC
  167. 136:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** clock source.
  168. 137:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  169. 138:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (#) HSE (high-speed external), 4 to 32 MHz crystal oscillator used directly or
  170. 139:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** through the PLL as System clock source. Can be used also as RTC clock source.
  171. 140:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  172. 141:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (#) LSE (low-speed external), 32 KHz oscillator used as RTC clock source.
  173. 142:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  174. 143:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (#) PLL (clocked by HSI or HSE), featuring different output clocks:
  175. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 4
  176. 144:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (++) The first output is used to generate the high speed system clock (up to 72 MHz)
  177. 145:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (++) The second output is used to generate the clock for the USB FS (48 MHz)
  178. 146:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (++) The third output may be used to generate the clock for the ADC peripherals (up to 72 M
  179. 147:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (++) The fourth output may be used to generate the clock for the TIM peripherals (144 MHz)
  180. 148:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  181. 149:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (#) CSS (Clock security system), once enable using the macro __HAL_RCC_CSS_ENABLE()
  182. 150:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** and if a HSE clock failure occurs(HSE used directly or through PLL as System
  183. 151:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** clock source), the System clocks automatically switched to HSI and an interrupt
  184. 152:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** is generated if enabled. The interrupt is linked to the Cortex-M4 NMI
  185. 153:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (Non-Maskable Interrupt) exception vector.
  186. 154:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  187. 155:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (#) MCO (microcontroller clock output), used to output SYSCLK, HSI, HSE, LSI, LSE or PLL
  188. 156:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** clock (divided by 2) output on pin (such as PA8 pin).
  189. 157:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  190. 158:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** [..] System, AHB and APB buses clocks configuration
  191. 159:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (#) Several clock sources can be used to drive the System clock (SYSCLK): HSI,
  192. 160:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** HSE and PLL.
  193. 161:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** The AHB clock (HCLK) is derived from System clock through configurable
  194. 162:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** prescaler and used to clock the CPU, memory and peripherals mapped
  195. 163:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** on AHB bus (DMA, GPIO...). APB1 (PCLK1) and APB2 (PCLK2) clocks are derived
  196. 164:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** from AHB clock through configurable prescalers and used to clock
  197. 165:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** the peripherals mapped on these buses. You can use
  198. 166:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** "HAL_RCC_GetSysClockFreq()" function to retrieve the frequencies of these clocks.
  199. 167:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  200. 168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (#) All the peripheral clocks are derived from the System clock (SYSCLK) except:
  201. 169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (++) The FLASH program/erase clock which is always HSI 8MHz clock.
  202. 170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (++) The USB 48 MHz clock which is derived from the PLL VCO clock.
  203. 171:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (++) The USART clock which can be derived as well from HSI 8MHz, LSI or LSE.
  204. 172:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (++) The I2C clock which can be derived as well from HSI 8MHz clock.
  205. 173:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (++) The ADC clock which is derived from PLL output.
  206. 174:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (++) The RTC clock which is derived from the LSE, LSI or 1 MHz HSE_RTC
  207. 175:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (HSE divided by a programmable prescaler). The System clock (SYSCLK)
  208. 176:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** frequency must be higher or equal to the RTC clock frequency.
  209. 177:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (++) IWDG clock which is always the LSI clock.
  210. 178:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  211. 179:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (#) For the STM32F3xx devices, the maximum frequency of the SYSCLK, HCLK, PCLK1 and PCLK2
  212. 180:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** Depending on the SYSCLK frequency, the flash latency should be adapted accordingly.
  213. 181:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  214. 182:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (#) After reset, the System clock source is the HSI (8 MHz) with 0 WS and
  215. 183:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** prefetch is disabled.
  216. 184:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** @endverbatim
  217. 185:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @{
  218. 186:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  219. 187:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  220. 188:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /*
  221. 189:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** Additional consideration on the SYSCLK based on Latency settings:
  222. 190:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** +-----------------------------------------------+
  223. 191:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** | Latency | SYSCLK clock frequency (MHz) |
  224. 192:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** |---------------|-------------------------------|
  225. 193:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** |0WS(1CPU cycle)| 0 < SYSCLK <= 24 |
  226. 194:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** |---------------|-------------------------------|
  227. 195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** |1WS(2CPU cycle)| 24 < SYSCLK <= 48 |
  228. 196:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** |---------------|-------------------------------|
  229. 197:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** |2WS(3CPU cycle)| 48 < SYSCLK <= 72 |
  230. 198:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** +-----------------------------------------------+
  231. 199:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  232. 200:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  233. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 5
  234. 201:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  235. 202:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief Resets the RCC clock configuration to the default reset state.
  236. 203:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note The default reset state of the clock configuration is given below:
  237. 204:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * - HSI ON and used as system clock source
  238. 205:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * - HSE and PLL OFF
  239. 206:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * - AHB, APB1 and APB2 prescaler set to 1.
  240. 207:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * - CSS and MCO1 OFF
  241. 208:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * - All interrupts disabled
  242. 209:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note This function does not modify the configuration of the
  243. 210:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * - Peripheral clocks
  244. 211:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * - LSI, LSE and RTC clocks
  245. 212:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval HAL status
  246. 213:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  247. 214:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** HAL_StatusTypeDef HAL_RCC_DeInit(void)
  248. 215:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  249. 30 .loc 1 215 1 view -0
  250. 31 .cfi_startproc
  251. 32 @ args = 0, pretend = 0, frame = 0
  252. 33 @ frame_needed = 0, uses_anonymous_args = 0
  253. 216:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t tickstart = 0;
  254. 34 .loc 1 216 3 view .LVU1
  255. 35 .LVL0:
  256. 217:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  257. 218:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Set HSION bit */
  258. 219:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** SET_BIT(RCC->CR, RCC_CR_HSION);
  259. 36 .loc 1 219 3 view .LVU2
  260. 215:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t tickstart = 0;
  261. 37 .loc 1 215 1 is_stmt 0 view .LVU3
  262. 38 0000 70B5 push {r4, r5, r6, lr}
  263. 39 .LCFI0:
  264. 40 .cfi_def_cfa_offset 16
  265. 41 .cfi_offset 4, -16
  266. 42 .cfi_offset 5, -12
  267. 43 .cfi_offset 6, -8
  268. 44 .cfi_offset 14, -4
  269. 45 .loc 1 219 3 view .LVU4
  270. 46 0002 334C ldr r4, .L15
  271. 47 0004 2368 ldr r3, [r4]
  272. 48 0006 43F00103 orr r3, r3, #1
  273. 49 000a 2360 str r3, [r4]
  274. 220:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  275. 221:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Insure HSIRDY bit is set before writing default HSITRIM value */
  276. 222:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get start tick */
  277. 223:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  278. 50 .loc 1 223 3 is_stmt 1 view .LVU5
  279. 51 .loc 1 223 15 is_stmt 0 view .LVU6
  280. 52 000c FFF7FEFF bl HAL_GetTick
  281. 53 .LVL1:
  282. 54 0010 0546 mov r5, r0
  283. 55 .LVL2:
  284. 224:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  285. 225:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Wait till HSI is ready */
  286. 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(READ_BIT(RCC->CR, RCC_CR_HSIRDY) == RESET)
  287. 56 .loc 1 226 3 is_stmt 1 view .LVU7
  288. 57 .loc 1 226 8 is_stmt 0 view .LVU8
  289. 58 0012 04E0 b .L2
  290. 59 .LVL3:
  291. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 6
  292. 60 .L4:
  293. 227:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  294. 228:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart) > HSI_TIMEOUT_VALUE)
  295. 61 .loc 1 228 9 view .LVU9
  296. 62 0014 FFF7FEFF bl HAL_GetTick
  297. 63 .LVL4:
  298. 64 .loc 1 228 23 view .LVU10
  299. 65 0018 401B subs r0, r0, r5
  300. 66 .loc 1 228 7 view .LVU11
  301. 67 001a 0228 cmp r0, #2
  302. 68 001c 28D8 bhi .L6
  303. 69 .L2:
  304. 70 .loc 1 228 5 is_stmt 1 view .LVU12
  305. 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  306. 71 .loc 1 226 8 view .LVU13
  307. 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  308. 72 .loc 1 226 9 is_stmt 0 view .LVU14
  309. 73 001e 2368 ldr r3, [r4]
  310. 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  311. 74 .loc 1 226 8 view .LVU15
  312. 75 0020 9B07 lsls r3, r3, #30
  313. 76 0022 F7D5 bpl .L4
  314. 229:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  315. 230:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  316. 231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  317. 232:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  318. 233:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  319. 234:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Set HSITRIM default value */
  320. 235:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CR, RCC_CR_HSITRIM, RCC_CR_HSITRIM_4);
  321. 77 .loc 1 235 3 is_stmt 1 view .LVU16
  322. 78 0024 2368 ldr r3, [r4]
  323. 236:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  324. 237:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Reset SW[1:0], HPRE[3:0], PPRE1[2:0], PPRE2[2:0] and MCOSEL[2:0] bits */
  325. 238:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** CLEAR_BIT(RCC->CFGR, RCC_CFGR_SW | RCC_CFGR_HPRE | RCC_CFGR_PPRE1 | RCC_CFGR_PPRE2 | RCC_CFGR_MCO
  326. 79 .loc 1 238 3 is_stmt 0 view .LVU17
  327. 80 0026 2B4A ldr r2, .L15+4
  328. 239:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  329. 240:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Insure HSI selected as system clock source */
  330. 241:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get start tick */
  331. 242:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  332. 243:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  333. 244:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Wait till system clock source is ready */
  334. 245:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(READ_BIT(RCC->CFGR, RCC_CFGR_SWS) != RCC_CFGR_SWS_HSI)
  335. 81 .loc 1 245 9 view .LVU18
  336. 82 0028 294D ldr r5, .L15
  337. 83 .LVL5:
  338. 235:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  339. 84 .loc 1 235 3 view .LVU19
  340. 85 002a 23F0F803 bic r3, r3, #248
  341. 86 002e 43F08003 orr r3, r3, #128
  342. 87 0032 2360 str r3, [r4]
  343. 238:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  344. 88 .loc 1 238 3 is_stmt 1 view .LVU20
  345. 89 0034 6368 ldr r3, [r4, #4]
  346. 90 0036 1A40 ands r2, r2, r3
  347. 91 0038 6260 str r2, [r4, #4]
  348. 242:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  349. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 7
  350. 92 .loc 1 242 3 view .LVU21
  351. 242:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  352. 93 .loc 1 242 15 is_stmt 0 view .LVU22
  353. 94 003a FFF7FEFF bl HAL_GetTick
  354. 95 .LVL6:
  355. 246:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  356. 247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart) > CLOCKSWITCH_TIMEOUT_VALUE)
  357. 96 .loc 1 247 7 view .LVU23
  358. 97 003e 41F28836 movw r6, #5000
  359. 242:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  360. 98 .loc 1 242 15 view .LVU24
  361. 99 0042 0446 mov r4, r0
  362. 100 .LVL7:
  363. 245:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  364. 101 .loc 1 245 3 is_stmt 1 view .LVU25
  365. 245:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  366. 102 .loc 1 245 8 is_stmt 0 view .LVU26
  367. 103 0044 04E0 b .L5
  368. 104 .LVL8:
  369. 105 .L7:
  370. 106 .loc 1 247 9 view .LVU27
  371. 107 0046 FFF7FEFF bl HAL_GetTick
  372. 108 .LVL9:
  373. 109 .loc 1 247 23 view .LVU28
  374. 110 004a 001B subs r0, r0, r4
  375. 111 .loc 1 247 7 view .LVU29
  376. 112 004c B042 cmp r0, r6
  377. 113 004e 0FD8 bhi .L6
  378. 114 .L5:
  379. 115 .loc 1 247 5 is_stmt 1 view .LVU30
  380. 245:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  381. 116 .loc 1 245 8 view .LVU31
  382. 245:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  383. 117 .loc 1 245 9 is_stmt 0 view .LVU32
  384. 118 0050 6B68 ldr r3, [r5, #4]
  385. 245:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  386. 119 .loc 1 245 8 view .LVU33
  387. 120 0052 13F00C0F tst r3, #12
  388. 121 0056 F6D1 bne .L7
  389. 248:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  390. 249:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  391. 250:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  392. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  393. 252:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  394. 253:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Update the SystemCoreClock global variable for HSI as system clock source */
  395. 254:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** SystemCoreClock = HSI_VALUE;
  396. 122 .loc 1 254 3 is_stmt 1 view .LVU34
  397. 255:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  398. 256:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Configure the source of time base considering new system clock settings */
  399. 257:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(HAL_InitTick(uwTickPrio) != HAL_OK)
  400. 123 .loc 1 257 6 is_stmt 0 view .LVU35
  401. 124 0058 1F49 ldr r1, .L15+8
  402. 254:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  403. 125 .loc 1 254 19 view .LVU36
  404. 126 005a 204B ldr r3, .L15+12
  405. 127 005c 204A ldr r2, .L15+16
  406. 128 .loc 1 257 6 view .LVU37
  407. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 8
  408. 129 005e 0868 ldr r0, [r1]
  409. 254:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  410. 130 .loc 1 254 19 view .LVU38
  411. 131 0060 1A60 str r2, [r3]
  412. 132 .loc 1 257 3 is_stmt 1 view .LVU39
  413. 133 .loc 1 257 6 is_stmt 0 view .LVU40
  414. 134 0062 FFF7FEFF bl HAL_InitTick
  415. 135 .LVL10:
  416. 136 .loc 1 257 5 view .LVU41
  417. 137 0066 0446 mov r4, r0
  418. 138 .LVL11:
  419. 139 .loc 1 257 5 view .LVU42
  420. 140 0068 28B1 cbz r0, .L14
  421. 258:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  422. 259:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_ERROR;
  423. 141 .loc 1 259 12 view .LVU43
  424. 142 006a 0124 movs r4, #1
  425. 260:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  426. 261:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  427. 262:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Reset HSEON, CSSON, PLLON bits */
  428. 263:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_PLLON | RCC_CR_CSSON | RCC_CR_HSEON);
  429. 264:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  430. 265:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Reset HSEBYP bit */
  431. 266:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_HSEBYP);
  432. 267:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  433. 268:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Insure PLLRDY is reset */
  434. 269:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get start tick */
  435. 270:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  436. 271:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(READ_BIT(RCC->CR, RCC_CR_PLLRDY) != 0U)
  437. 272:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  438. 273:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE)
  439. 274:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  440. 275:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  441. 276:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  442. 277:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  443. 278:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  444. 279:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Reset CFGR register */
  445. 280:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** CLEAR_REG(RCC->CFGR);
  446. 281:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  447. 282:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Reset CFGR2 register */
  448. 283:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** CLEAR_REG(RCC->CFGR2);
  449. 284:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  450. 285:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Reset CFGR3 register */
  451. 286:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** CLEAR_REG(RCC->CFGR3);
  452. 287:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  453. 288:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Clear all interrupt flags */
  454. 289:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** SET_BIT(RCC->CIR, RCC_CIR_LSIRDYC | RCC_CIR_LSERDYC | RCC_CIR_HSIRDYC | RCC_CIR_HSERDYC | RCC_CIR
  455. 290:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  456. 291:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Disable all interrupts */
  457. 292:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** CLEAR_REG(RCC->CIR);
  458. 293:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  459. 294:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Reset all CSR flags */
  460. 295:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_CLEAR_RESET_FLAGS();
  461. 296:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  462. 297:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_OK;
  463. 298:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  464. 143 .loc 1 298 1 view .LVU44
  465. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 9
  466. 144 006c 2046 mov r0, r4
  467. 145 006e 70BD pop {r4, r5, r6, pc}
  468. 146 .L6:
  469. 230:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  470. 147 .loc 1 230 14 view .LVU45
  471. 148 0070 0324 movs r4, #3
  472. 149 .L3:
  473. 150 .loc 1 298 1 view .LVU46
  474. 151 0072 2046 mov r0, r4
  475. 152 0074 70BD pop {r4, r5, r6, pc}
  476. 153 .L14:
  477. 263:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  478. 154 .loc 1 263 3 is_stmt 1 view .LVU47
  479. 155 0076 2B68 ldr r3, [r5]
  480. 271:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  481. 156 .loc 1 271 9 is_stmt 0 view .LVU48
  482. 157 0078 154E ldr r6, .L15
  483. 263:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  484. 158 .loc 1 263 3 view .LVU49
  485. 159 007a 23F08473 bic r3, r3, #17301504
  486. 160 007e 23F48033 bic r3, r3, #65536
  487. 161 0082 2B60 str r3, [r5]
  488. 266:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  489. 162 .loc 1 266 3 is_stmt 1 view .LVU50
  490. 163 0084 2B68 ldr r3, [r5]
  491. 164 0086 23F48023 bic r3, r3, #262144
  492. 165 008a 2B60 str r3, [r5]
  493. 270:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(READ_BIT(RCC->CR, RCC_CR_PLLRDY) != 0U)
  494. 166 .loc 1 270 3 view .LVU51
  495. 270:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(READ_BIT(RCC->CR, RCC_CR_PLLRDY) != 0U)
  496. 167 .loc 1 270 15 is_stmt 0 view .LVU52
  497. 168 008c FFF7FEFF bl HAL_GetTick
  498. 169 .LVL12:
  499. 170 0090 0546 mov r5, r0
  500. 171 .LVL13:
  501. 271:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  502. 172 .loc 1 271 3 is_stmt 1 view .LVU53
  503. 271:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  504. 173 .loc 1 271 8 is_stmt 0 view .LVU54
  505. 174 0092 04E0 b .L8
  506. 175 .LVL14:
  507. 176 .L9:
  508. 273:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  509. 177 .loc 1 273 9 view .LVU55
  510. 178 0094 FFF7FEFF bl HAL_GetTick
  511. 179 .LVL15:
  512. 273:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  513. 180 .loc 1 273 23 view .LVU56
  514. 181 0098 431B subs r3, r0, r5
  515. 273:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  516. 182 .loc 1 273 7 view .LVU57
  517. 183 009a 022B cmp r3, #2
  518. 184 009c E8D8 bhi .L6
  519. 185 .L8:
  520. 273:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  521. 186 .loc 1 273 5 is_stmt 1 view .LVU58
  522. 271:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  523. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 10
  524. 187 .loc 1 271 8 view .LVU59
  525. 271:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  526. 188 .loc 1 271 9 is_stmt 0 view .LVU60
  527. 189 009e 3368 ldr r3, [r6]
  528. 271:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  529. 190 .loc 1 271 8 view .LVU61
  530. 191 00a0 13F00073 ands r3, r3, #33554432
  531. 192 00a4 F6D1 bne .L9
  532. 280:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  533. 193 .loc 1 280 3 is_stmt 1 view .LVU62
  534. 194 00a6 7360 str r3, [r6, #4]
  535. 283:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  536. 195 .loc 1 283 3 view .LVU63
  537. 196 00a8 F362 str r3, [r6, #44]
  538. 286:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  539. 197 .loc 1 286 3 view .LVU64
  540. 198 00aa 3363 str r3, [r6, #48]
  541. 289:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  542. 199 .loc 1 289 3 view .LVU65
  543. 200 00ac B168 ldr r1, [r6, #8]
  544. 201 00ae 41F41F01 orr r1, r1, #10420224
  545. 202 00b2 B160 str r1, [r6, #8]
  546. 292:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  547. 203 .loc 1 292 3 view .LVU66
  548. 204 .LBB170:
  549. 205 .LBB171:
  550. 206 .file 2 "Drivers/CMSIS/Include/cmsis_gcc.h"
  551. 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
  552. 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
  553. 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
  554. 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.0.4
  555. 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 09. April 2018
  556. 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
  557. 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
  558. 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
  559. 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  560. 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
  561. 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  562. 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
  563. 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
  564. 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
  565. 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  566. 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
  567. 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  568. 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
  569. 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  570. 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  571. 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
  572. 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
  573. 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  574. 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
  575. 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
  576. 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
  577. 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
  578. 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
  579. 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  580. 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
  581. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 11
  582. 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
  583. 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
  584. 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
  585. 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
  586. 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
  587. 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
  588. 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  589. 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
  590. 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
  591. 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
  592. 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
  593. 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  594. 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
  595. 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
  596. 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  597. 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
  598. 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
  599. 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  600. 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
  601. 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
  602. 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  603. 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
  604. 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
  605. 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  606. 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
  607. 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
  608. 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  609. 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
  610. 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
  611. 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  612. 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
  613. 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
  614. 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  615. 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
  616. 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
  617. 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  618. 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
  619. 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
  620. 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  621. 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
  622. 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  623. 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  624. 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  625. 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
  626. 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  627. 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
  628. 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  629. 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
  630. 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  631. 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  632. 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  633. 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
  634. 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  635. 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
  636. 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  637. 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
  638. 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  639. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 12
  640. 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  641. 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  642. 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
  643. 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  644. 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
  645. 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  646. 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
  647. 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  648. 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  649. 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  650. 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
  651. 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  652. 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
  653. 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  654. 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
  655. 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  656. 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  657. 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  658. 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
  659. 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  660. 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
  661. 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  662. 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
  663. 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
  664. 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  665. 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
  666. 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
  667. 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  668. 116:Drivers/CMSIS/Include/cmsis_gcc.h ****
  669. 117:Drivers/CMSIS/Include/cmsis_gcc.h ****
  670. 118:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
  671. 119:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
  672. 120:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
  673. 121:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  674. 122:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  675. 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
  676. 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  677. 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
  678. 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
  679. 127:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  680. 128:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  681. 129:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
  682. 130:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  683. 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
  684. 132:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  685. 133:Drivers/CMSIS/Include/cmsis_gcc.h ****
  686. 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
  687. 135:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  688. 136:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
  689. 137:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
  690. 138:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  691. 139:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  692. 140:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
  693. 141:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  694. 142:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
  695. 143:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  696. 144:Drivers/CMSIS/Include/cmsis_gcc.h ****
  697. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 13
  698. 145:Drivers/CMSIS/Include/cmsis_gcc.h ****
  699. 146:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  700. 147:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
  701. 148:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
  702. 149:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
  703. 150:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  704. 151:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
  705. 152:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  706. 153:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  707. 154:Drivers/CMSIS/Include/cmsis_gcc.h ****
  708. 155:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
  709. 156:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  710. 157:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  711. 158:Drivers/CMSIS/Include/cmsis_gcc.h ****
  712. 159:Drivers/CMSIS/Include/cmsis_gcc.h ****
  713. 160:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  714. 161:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  715. 162:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
  716. 163:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
  717. 164:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
  718. 165:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  719. 166:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
  720. 167:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  721. 168:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  722. 169:Drivers/CMSIS/Include/cmsis_gcc.h ****
  723. 170:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
  724. 171:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  725. 172:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  726. 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  727. 174:Drivers/CMSIS/Include/cmsis_gcc.h ****
  728. 175:Drivers/CMSIS/Include/cmsis_gcc.h ****
  729. 176:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  730. 177:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
  731. 178:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
  732. 179:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  733. 180:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  734. 181:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
  735. 182:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  736. 183:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
  737. 184:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  738. 185:Drivers/CMSIS/Include/cmsis_gcc.h ****
  739. 186:Drivers/CMSIS/Include/cmsis_gcc.h ****
  740. 187:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  741. 188:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  742. 189:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
  743. 190:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
  744. 191:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  745. 192:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  746. 193:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
  747. 194:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  748. 195:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
  749. 196:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  750. 197:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  751. 198:Drivers/CMSIS/Include/cmsis_gcc.h ****
  752. 199:Drivers/CMSIS/Include/cmsis_gcc.h ****
  753. 200:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  754. 201:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
  755. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 14
  756. 202:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
  757. 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
  758. 204:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  759. 205:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
  760. 206:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  761. 207:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  762. 208:Drivers/CMSIS/Include/cmsis_gcc.h ****
  763. 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
  764. 210:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  765. 211:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  766. 212:Drivers/CMSIS/Include/cmsis_gcc.h ****
  767. 213:Drivers/CMSIS/Include/cmsis_gcc.h ****
  768. 214:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  769. 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
  770. 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
  771. 217:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
  772. 218:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  773. 219:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
  774. 220:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  775. 221:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  776. 222:Drivers/CMSIS/Include/cmsis_gcc.h ****
  777. 223:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
  778. 224:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  779. 225:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  780. 226:Drivers/CMSIS/Include/cmsis_gcc.h ****
  781. 227:Drivers/CMSIS/Include/cmsis_gcc.h ****
  782. 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  783. 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
  784. 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
  785. 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
  786. 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  787. 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
  788. 234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  789. 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  790. 236:Drivers/CMSIS/Include/cmsis_gcc.h ****
  791. 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
  792. 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  793. 239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  794. 240:Drivers/CMSIS/Include/cmsis_gcc.h ****
  795. 241:Drivers/CMSIS/Include/cmsis_gcc.h ****
  796. 242:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  797. 243:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
  798. 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
  799. 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  800. 246:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  801. 247:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
  802. 248:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  803. 249:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  804. 250:Drivers/CMSIS/Include/cmsis_gcc.h ****
  805. 251:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
  806. 252:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  807. 253:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  808. 254:Drivers/CMSIS/Include/cmsis_gcc.h ****
  809. 255:Drivers/CMSIS/Include/cmsis_gcc.h ****
  810. 256:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  811. 257:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  812. 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
  813. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 15
  814. 259:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
  815. 260:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  816. 261:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  817. 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
  818. 263:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  819. 264:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  820. 265:Drivers/CMSIS/Include/cmsis_gcc.h ****
  821. 266:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
  822. 267:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  823. 268:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  824. 269:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  825. 270:Drivers/CMSIS/Include/cmsis_gcc.h ****
  826. 271:Drivers/CMSIS/Include/cmsis_gcc.h ****
  827. 272:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  828. 273:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
  829. 274:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
  830. 275:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  831. 276:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  832. 277:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
  833. 278:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  834. 279:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
  835. 280:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  836. 281:Drivers/CMSIS/Include/cmsis_gcc.h ****
  837. 282:Drivers/CMSIS/Include/cmsis_gcc.h ****
  838. 283:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  839. 284:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  840. 285:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  841. 286:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
  842. 287:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  843. 288:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  844. 289:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
  845. 290:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  846. 291:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
  847. 292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  848. 293:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  849. 294:Drivers/CMSIS/Include/cmsis_gcc.h ****
  850. 295:Drivers/CMSIS/Include/cmsis_gcc.h ****
  851. 296:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  852. 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
  853. 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
  854. 299:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  855. 300:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  856. 301:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
  857. 302:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  858. 303:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  859. 304:Drivers/CMSIS/Include/cmsis_gcc.h ****
  860. 305:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
  861. 306:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  862. 307:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  863. 308:Drivers/CMSIS/Include/cmsis_gcc.h ****
  864. 309:Drivers/CMSIS/Include/cmsis_gcc.h ****
  865. 310:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  866. 311:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  867. 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
  868. 313:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
  869. 314:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  870. 315:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  871. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 16
  872. 316:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
  873. 317:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  874. 318:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  875. 319:Drivers/CMSIS/Include/cmsis_gcc.h ****
  876. 320:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
  877. 321:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  878. 322:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  879. 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  880. 324:Drivers/CMSIS/Include/cmsis_gcc.h ****
  881. 325:Drivers/CMSIS/Include/cmsis_gcc.h ****
  882. 326:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  883. 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
  884. 328:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
  885. 329:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  886. 330:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  887. 331:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
  888. 332:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  889. 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
  890. 334:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  891. 335:Drivers/CMSIS/Include/cmsis_gcc.h ****
  892. 336:Drivers/CMSIS/Include/cmsis_gcc.h ****
  893. 337:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  894. 338:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  895. 339:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
  896. 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
  897. 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  898. 342:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  899. 343:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
  900. 344:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  901. 345:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
  902. 346:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  903. 347:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  904. 348:Drivers/CMSIS/Include/cmsis_gcc.h ****
  905. 349:Drivers/CMSIS/Include/cmsis_gcc.h ****
  906. 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  907. 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  908. 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
  909. 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
  910. 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
  911. 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  912. 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
  913. 357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  914. 358:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  915. 359:Drivers/CMSIS/Include/cmsis_gcc.h ****
  916. 360:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
  917. 361:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  918. 362:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  919. 363:Drivers/CMSIS/Include/cmsis_gcc.h ****
  920. 364:Drivers/CMSIS/Include/cmsis_gcc.h ****
  921. 365:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  922. 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
  923. 367:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
  924. 368:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
  925. 369:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  926. 370:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
  927. 371:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  928. 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
  929. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 17
  930. 373:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  931. 374:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  932. 375:Drivers/CMSIS/Include/cmsis_gcc.h ****
  933. 376:Drivers/CMSIS/Include/cmsis_gcc.h ****
  934. 377:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  935. 378:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
  936. 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
  937. 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  938. 381:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  939. 382:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
  940. 383:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  941. 384:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  942. 385:Drivers/CMSIS/Include/cmsis_gcc.h ****
  943. 386:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
  944. 387:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  945. 388:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  946. 389:Drivers/CMSIS/Include/cmsis_gcc.h ****
  947. 390:Drivers/CMSIS/Include/cmsis_gcc.h ****
  948. 391:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  949. 392:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  950. 393:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
  951. 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
  952. 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  953. 396:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  954. 397:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
  955. 398:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  956. 399:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  957. 400:Drivers/CMSIS/Include/cmsis_gcc.h ****
  958. 401:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
  959. 402:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  960. 403:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  961. 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  962. 405:Drivers/CMSIS/Include/cmsis_gcc.h ****
  963. 406:Drivers/CMSIS/Include/cmsis_gcc.h ****
  964. 407:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  965. 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
  966. 409:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
  967. 410:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  968. 411:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  969. 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
  970. 413:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  971. 414:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
  972. 415:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  973. 416:Drivers/CMSIS/Include/cmsis_gcc.h ****
  974. 417:Drivers/CMSIS/Include/cmsis_gcc.h ****
  975. 418:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  976. 419:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  977. 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask (non-secure)
  978. 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Priority Mask Register when in secure state.
  979. 422:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  980. 423:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  981. 424:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PRIMASK_NS(uint32_t priMask)
  982. 425:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  983. 426:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask_ns, %0" : : "r" (priMask) : "memory");
  984. 427:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  985. 428:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  986. 429:Drivers/CMSIS/Include/cmsis_gcc.h ****
  987. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 18
  988. 430:Drivers/CMSIS/Include/cmsis_gcc.h ****
  989. 431:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  990. 432:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  991. 433:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
  992. 434:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  993. 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable FIQ
  994. 436:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables FIQ interrupts by clearing the F-bit in the CPSR.
  995. 437:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  996. 438:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  997. 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_fault_irq(void)
  998. 440:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  999. 441:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie f" : : : "memory");
  1000. 442:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1001. 443:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1002. 444:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1003. 445:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1004. 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable FIQ
  1005. 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables FIQ interrupts by setting the F-bit in the CPSR.
  1006. 448:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  1007. 449:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1008. 450:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_fault_irq(void)
  1009. 451:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1010. 452:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid f" : : : "memory");
  1011. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1012. 454:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1013. 455:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1014. 456:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1015. 457:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority
  1016. 458:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Base Priority register.
  1017. 459:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
  1018. 460:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1019. 461:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_BASEPRI(void)
  1020. 462:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1021. 463:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1022. 464:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1023. 465:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri" : "=r" (result) );
  1024. 466:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1025. 467:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1026. 468:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1027. 469:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1028. 470:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1029. 471:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1030. 472:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority (non-secure)
  1031. 473:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Base Priority register when in secure state.
  1032. 474:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
  1033. 475:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1034. 476:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_BASEPRI_NS(void)
  1035. 477:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1036. 478:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1037. 479:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1038. 480:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri_ns" : "=r" (result) );
  1039. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1040. 482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1041. 483:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1042. 484:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1043. 485:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1044. 486:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1045. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 19
  1046. 487:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority
  1047. 488:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register.
  1048. 489:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  1049. 490:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1050. 491:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI(uint32_t basePri)
  1051. 492:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1052. 493:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri, %0" : : "r" (basePri) : "memory");
  1053. 494:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1054. 495:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1055. 496:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1056. 497:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1057. 498:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1058. 499:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority (non-secure)
  1059. 500:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Base Priority register when in secure state.
  1060. 501:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  1061. 502:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1062. 503:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_BASEPRI_NS(uint32_t basePri)
  1063. 504:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1064. 505:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_ns, %0" : : "r" (basePri) : "memory");
  1065. 506:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1066. 507:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1067. 508:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1068. 509:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1069. 510:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1070. 511:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority with condition
  1071. 512:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register only if BASEPRI masking is disable
  1072. 513:Drivers/CMSIS/Include/cmsis_gcc.h **** or the new value increases the BASEPRI priority level.
  1073. 514:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  1074. 515:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1075. 516:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI_MAX(uint32_t basePri)
  1076. 517:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1077. 518:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_max, %0" : : "r" (basePri) : "memory");
  1078. 519:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1079. 520:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1080. 521:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1081. 522:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1082. 523:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask
  1083. 524:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Fault Mask register.
  1084. 525:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
  1085. 526:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1086. 527:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FAULTMASK(void)
  1087. 528:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1088. 529:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1089. 530:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1090. 531:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask" : "=r" (result) );
  1091. 532:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1092. 533:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1093. 534:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1094. 535:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1095. 536:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1096. 537:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1097. 538:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask (non-secure)
  1098. 539:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Fault Mask register when in secure state.
  1099. 540:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
  1100. 541:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1101. 542:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_FAULTMASK_NS(void)
  1102. 543:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1103. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 20
  1104. 544:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1105. 545:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1106. 546:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask_ns" : "=r" (result) );
  1107. 547:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1108. 548:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1109. 549:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1110. 550:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1111. 551:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1112. 552:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1113. 553:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask
  1114. 554:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Fault Mask register.
  1115. 555:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
  1116. 556:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1117. 557:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FAULTMASK(uint32_t faultMask)
  1118. 558:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1119. 559:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory");
  1120. 560:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1121. 561:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1122. 562:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1123. 563:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1124. 564:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1125. 565:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask (non-secure)
  1126. 566:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Fault Mask register when in secure state.
  1127. 567:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
  1128. 568:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1129. 569:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_FAULTMASK_NS(uint32_t faultMask)
  1130. 570:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1131. 571:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask_ns, %0" : : "r" (faultMask) : "memory");
  1132. 572:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1133. 573:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1134. 574:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1135. 575:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  1136. 576:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  1137. 577:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) */
  1138. 578:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1139. 579:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1140. 580:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
  1141. 581:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) )
  1142. 582:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1143. 583:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1144. 584:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit
  1145. 585:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1146. 586:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
  1147. 587:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  1148. 588:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1149. 589:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer Limit (PSPLIM).
  1150. 590:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
  1151. 591:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1152. 592:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSPLIM(void)
  1153. 593:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1154. 594:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  1155. 595:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  1156. 596:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  1157. 597:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  1158. 598:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1159. 599:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1160. 600:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim" : "=r" (result) );
  1161. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 21
  1162. 601:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1163. 602:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1164. 603:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1165. 604:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1166. 605:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3))
  1167. 606:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1168. 607:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit (non-secure)
  1169. 608:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1170. 609:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
  1171. 610:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1172. 611:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in
  1173. 612:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
  1174. 613:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1175. 614:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSPLIM_NS(void)
  1176. 615:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1177. 616:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  1178. 617:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  1179. 618:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  1180. 619:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1181. 620:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1182. 621:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim_ns" : "=r" (result) );
  1183. 622:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1184. 623:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1185. 624:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1186. 625:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1187. 626:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1188. 627:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1189. 628:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1190. 629:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer Limit
  1191. 630:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1192. 631:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
  1193. 632:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  1194. 633:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1195. 634:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer Limit (PSPLIM).
  1196. 635:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
  1197. 636:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1198. 637:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSPLIM(uint32_t ProcStackPtrLimit)
  1199. 638:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1200. 639:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  1201. 640:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  1202. 641:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  1203. 642:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
  1204. 643:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1205. 644:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim, %0" : : "r" (ProcStackPtrLimit));
  1206. 645:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1207. 646:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1208. 647:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1209. 648:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1210. 649:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1211. 650:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1212. 651:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  1213. 652:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1214. 653:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
  1215. 654:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1216. 655:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in s
  1217. 656:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
  1218. 657:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1219. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 22
  1220. 658:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSPLIM_NS(uint32_t ProcStackPtrLimit)
  1221. 659:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1222. 660:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  1223. 661:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  1224. 662:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
  1225. 663:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1226. 664:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim_ns, %0\n" : : "r" (ProcStackPtrLimit));
  1227. 665:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1228. 666:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1229. 667:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1230. 668:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1231. 669:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1232. 670:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1233. 671:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit
  1234. 672:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1235. 673:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
  1236. 674:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  1237. 675:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1238. 676:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer Limit (MSPLIM).
  1239. 677:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
  1240. 678:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1241. 679:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSPLIM(void)
  1242. 680:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1243. 681:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  1244. 682:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  1245. 683:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  1246. 684:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  1247. 685:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1248. 686:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1249. 687:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim" : "=r" (result) );
  1250. 688:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1251. 689:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1252. 690:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1253. 691:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1254. 692:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1255. 693:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1256. 694:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1257. 695:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit (non-secure)
  1258. 696:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1259. 697:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
  1260. 698:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1261. 699:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in sec
  1262. 700:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
  1263. 701:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1264. 702:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSPLIM_NS(void)
  1265. 703:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1266. 704:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  1267. 705:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  1268. 706:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  1269. 707:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1270. 708:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1271. 709:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim_ns" : "=r" (result) );
  1272. 710:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1273. 711:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1274. 712:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1275. 713:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1276. 714:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1277. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 23
  1278. 715:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1279. 716:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1280. 717:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit
  1281. 718:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1282. 719:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
  1283. 720:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  1284. 721:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1285. 722:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer Limit (MSPLIM).
  1286. 723:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer Limit value to set
  1287. 724:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1288. 725:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSPLIM(uint32_t MainStackPtrLimit)
  1289. 726:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1290. 727:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  1291. 728:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  1292. 729:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  1293. 730:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
  1294. 731:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1295. 732:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim, %0" : : "r" (MainStackPtrLimit));
  1296. 733:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1297. 734:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1298. 735:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1299. 736:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1300. 737:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  1301. 738:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1302. 739:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit (non-secure)
  1303. 740:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  1304. 741:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
  1305. 742:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1306. 743:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secu
  1307. 744:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer value to set
  1308. 745:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1309. 746:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSPLIM_NS(uint32_t MainStackPtrLimit)
  1310. 747:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1311. 748:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  1312. 749:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  1313. 750:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
  1314. 751:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1315. 752:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim_ns, %0" : : "r" (MainStackPtrLimit));
  1316. 753:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1317. 754:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1318. 755:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1319. 756:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1320. 757:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
  1321. 758:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) */
  1322. 759:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1323. 760:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1324. 761:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1325. 762:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get FPSCR
  1326. 763:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Floating Point Status/Control register.
  1327. 764:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Floating Point Status/Control register value
  1328. 765:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1329. 766:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FPSCR(void)
  1330. 767:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1331. 768:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
  1332. 769:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
  1333. 770:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_get_fpscr)
  1334. 771:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
  1335. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 24
  1336. 772:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
  1337. 773:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
  1338. 774:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_arm_get_fpscr();
  1339. 775:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1340. 776:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1341. 777:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1342. 778:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMRS %0, fpscr" : "=r" (result) );
  1343. 779:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  1344. 780:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1345. 781:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1346. 782:Drivers/CMSIS/Include/cmsis_gcc.h **** return(0U);
  1347. 783:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1348. 784:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1349. 785:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1350. 786:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1351. 787:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1352. 788:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set FPSCR
  1353. 789:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Floating Point Status/Control register.
  1354. 790:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] fpscr Floating Point Status/Control value to set
  1355. 791:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1356. 792:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FPSCR(uint32_t fpscr)
  1357. 793:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1358. 794:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
  1359. 795:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
  1360. 796:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_set_fpscr)
  1361. 797:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
  1362. 798:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
  1363. 799:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
  1364. 800:Drivers/CMSIS/Include/cmsis_gcc.h **** __builtin_arm_set_fpscr(fpscr);
  1365. 801:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1366. 802:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc", "memory");
  1367. 803:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1368. 804:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1369. 805:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)fpscr;
  1370. 806:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1371. 807:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1372. 808:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1373. 809:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1374. 810:Drivers/CMSIS/Include/cmsis_gcc.h **** /*@} end of CMSIS_Core_RegAccFunctions */
  1375. 811:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1376. 812:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1377. 813:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################## Core Instruction Access ######################### */
  1378. 814:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
  1379. 815:Drivers/CMSIS/Include/cmsis_gcc.h **** Access to dedicated instructions
  1380. 816:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  1381. 817:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1382. 818:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1383. 819:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Define macros for porting to both thumb1 and thumb2.
  1384. 820:Drivers/CMSIS/Include/cmsis_gcc.h **** * For thumb1, use low register (r0-r7), specified by constraint "l"
  1385. 821:Drivers/CMSIS/Include/cmsis_gcc.h **** * Otherwise, use general registers, specified by constraint "r" */
  1386. 822:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined (__thumb__) && !defined (__thumb2__)
  1387. 823:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=l" (r)
  1388. 824:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+l" (r)
  1389. 825:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "l" (r)
  1390. 826:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1391. 827:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=r" (r)
  1392. 828:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+r" (r)
  1393. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 25
  1394. 829:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "r" (r)
  1395. 830:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1396. 831:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1397. 832:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1398. 833:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief No Operation
  1399. 834:Drivers/CMSIS/Include/cmsis_gcc.h **** \details No Operation does nothing. This instruction can be used for code alignment purposes.
  1400. 835:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1401. 836:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NOP() __ASM volatile ("nop")
  1402. 837:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1403. 838:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1404. 839:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Interrupt
  1405. 840:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Interrupt is a hint instruction that suspends execution until one of a number o
  1406. 841:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1407. 842:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFI() __ASM volatile ("wfi")
  1408. 843:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1409. 844:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1410. 845:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1411. 846:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Event
  1412. 847:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Event is a hint instruction that permits the processor to enter
  1413. 848:Drivers/CMSIS/Include/cmsis_gcc.h **** a low-power state until one of a number of events occurs.
  1414. 849:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1415. 850:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFE() __ASM volatile ("wfe")
  1416. 851:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1417. 852:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1418. 853:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1419. 854:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Send Event
  1420. 855:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Send Event is a hint instruction. It causes an event to be signaled to the CPU.
  1421. 856:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1422. 857:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __SEV() __ASM volatile ("sev")
  1423. 858:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1424. 859:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1425. 860:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1426. 861:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Instruction Synchronization Barrier
  1427. 862:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Instruction Synchronization Barrier flushes the pipeline in the processor,
  1428. 863:Drivers/CMSIS/Include/cmsis_gcc.h **** so that all instructions following the ISB are fetched from cache or memory,
  1429. 864:Drivers/CMSIS/Include/cmsis_gcc.h **** after the instruction has been completed.
  1430. 865:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1431. 866:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __ISB(void)
  1432. 867:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1433. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("isb 0xF":::"memory");
  1434. 869:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1435. 870:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1436. 871:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1437. 872:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1438. 873:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Synchronization Barrier
  1439. 874:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Acts as a special kind of Data Memory Barrier.
  1440. 875:Drivers/CMSIS/Include/cmsis_gcc.h **** It completes when all explicit memory accesses before this instruction complete.
  1441. 876:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1442. 877:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DSB(void)
  1443. 878:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1444. 879:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dsb 0xF":::"memory");
  1445. 880:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1446. 881:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1447. 882:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1448. 883:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1449. 884:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Memory Barrier
  1450. 885:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Ensures the apparent order of the explicit memory operations before
  1451. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 26
  1452. 886:Drivers/CMSIS/Include/cmsis_gcc.h **** and after the instruction, without ensuring their completion.
  1453. 887:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1454. 888:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DMB(void)
  1455. 889:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1456. 890:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dmb 0xF":::"memory");
  1457. 891:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1458. 892:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1459. 893:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1460. 894:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1461. 895:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (32 bit)
  1462. 896:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order in unsigned integer value. For example, 0x12345678 becomes 0x785
  1463. 897:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
  1464. 898:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
  1465. 899:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1466. 900:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __REV(uint32_t value)
  1467. 901:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1468. 902:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
  1469. 903:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_bswap32(value);
  1470. 904:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1471. 905:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1472. 906:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1473. 907:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rev %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
  1474. 908:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1475. 909:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1476. 910:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1477. 911:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1478. 912:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1479. 913:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1480. 914:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (16 bit)
  1481. 915:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order within each halfword of a word. For example, 0x12345678 becomes
  1482. 916:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
  1483. 917:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
  1484. 918:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1485. 919:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __REV16(uint32_t value)
  1486. 920:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1487. 921:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1488. 922:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1489. 923:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rev16 %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
  1490. 924:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1491. 925:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1492. 926:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1493. 927:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1494. 928:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1495. 929:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (16 bit)
  1496. 930:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order in a 16-bit value and returns the signed 16-bit result. For exam
  1497. 931:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
  1498. 932:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
  1499. 933:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1500. 934:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE int16_t __REVSH(int16_t value)
  1501. 935:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1502. 936:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
  1503. 937:Drivers/CMSIS/Include/cmsis_gcc.h **** return (int16_t)__builtin_bswap16(value);
  1504. 938:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1505. 939:Drivers/CMSIS/Include/cmsis_gcc.h **** int16_t result;
  1506. 940:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1507. 941:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("revsh %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
  1508. 942:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1509. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 27
  1510. 943:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1511. 944:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1512. 945:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1513. 946:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1514. 947:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1515. 948:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Rotate Right in unsigned value (32 bit)
  1516. 949:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Rotate Right (immediate) provides the value of the contents of a register rotated by a v
  1517. 950:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] op1 Value to rotate
  1518. 951:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] op2 Number of Bits to rotate
  1519. 952:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Rotated value
  1520. 953:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1521. 954:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
  1522. 955:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1523. 956:Drivers/CMSIS/Include/cmsis_gcc.h **** op2 %= 32U;
  1524. 957:Drivers/CMSIS/Include/cmsis_gcc.h **** if (op2 == 0U)
  1525. 958:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1526. 959:Drivers/CMSIS/Include/cmsis_gcc.h **** return op1;
  1527. 960:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1528. 961:Drivers/CMSIS/Include/cmsis_gcc.h **** return (op1 >> op2) | (op1 << (32U - op2));
  1529. 962:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1530. 963:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1531. 964:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1532. 965:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1533. 966:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Breakpoint
  1534. 967:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Causes the processor to enter Debug state.
  1535. 968:Drivers/CMSIS/Include/cmsis_gcc.h **** Debug tools can use this to investigate system state when the instruction at a particula
  1536. 969:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value is ignored by the processor.
  1537. 970:Drivers/CMSIS/Include/cmsis_gcc.h **** If required, a debugger can use it to store additional information about the break
  1538. 971:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1539. 972:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __BKPT(value) __ASM volatile ("bkpt "#value)
  1540. 973:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1541. 974:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1542. 975:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  1543. 976:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse bit order of value
  1544. 977:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the bit order of the given value.
  1545. 978:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
  1546. 979:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
  1547. 980:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  1548. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __RBIT(uint32_t value)
  1549. 982:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1550. 983:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  1551. 984:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1552. 985:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  1553. 986:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  1554. 987:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
  1555. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rbit %0, %1" : "=r" (result) : "r" (value) );
  1556. 207 .loc 2 988 4 is_stmt 0 view .LVU67
  1557. 208 00b4 4FF08072 mov r2, #16777216
  1558. 209 .LBE171:
  1559. 210 .LBE170:
  1560. 292:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  1561. 211 .loc 1 292 3 view .LVU68
  1562. 212 00b8 B360 str r3, [r6, #8]
  1563. 295:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  1564. 213 .loc 1 295 3 is_stmt 1 view .LVU69
  1565. 214 .LVL16:
  1566. 215 .LBB173:
  1567. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 28
  1568. 216 .LBI170:
  1569. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1570. 217 .loc 2 981 31 view .LVU70
  1571. 218 .LBB172:
  1572. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1573. 219 .loc 2 983 3 view .LVU71
  1574. 220 .loc 2 988 4 view .LVU72
  1575. 221 .syntax unified
  1576. 222 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  1577. 223 00ba 92FAA2F2 rbit r2, r2
  1578. 224 @ 0 "" 2
  1579. 225 .LVL17:
  1580. 989:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1581. 990:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t s = (4U /*sizeof(v)*/ * 8U) - 1U; /* extra shift needed at end */
  1582. 991:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1583. 992:Drivers/CMSIS/Include/cmsis_gcc.h **** result = value; /* r will be reversed bits of v; first get LSB of v */
  1584. 993:Drivers/CMSIS/Include/cmsis_gcc.h **** for (value >>= 1U; value != 0U; value >>= 1U)
  1585. 994:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1586. 995:Drivers/CMSIS/Include/cmsis_gcc.h **** result <<= 1U;
  1587. 996:Drivers/CMSIS/Include/cmsis_gcc.h **** result |= value & 1U;
  1588. 997:Drivers/CMSIS/Include/cmsis_gcc.h **** s--;
  1589. 998:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  1590. 999:Drivers/CMSIS/Include/cmsis_gcc.h **** result <<= s; /* shift when v's highest bits are zero */
  1591. 1000:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  1592. 1001:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  1593. 226 .loc 2 1001 3 view .LVU73
  1594. 227 .loc 2 1001 3 is_stmt 0 view .LVU74
  1595. 228 .thumb
  1596. 229 .syntax unified
  1597. 230 .LBE172:
  1598. 231 .LBE173:
  1599. 295:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  1600. 232 .loc 1 295 3 view .LVU75
  1601. 233 00be 094B ldr r3, .L15+20
  1602. 234 00c0 B2FA82F2 clz r2, r2
  1603. 235 00c4 1344 add r3, r3, r2
  1604. 236 00c6 9B00 lsls r3, r3, #2
  1605. 237 00c8 0122 movs r2, #1
  1606. 238 00ca 1A60 str r2, [r3]
  1607. 297:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  1608. 239 .loc 1 297 3 is_stmt 1 view .LVU76
  1609. 297:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  1610. 240 .loc 1 297 10 is_stmt 0 view .LVU77
  1611. 241 00cc D1E7 b .L3
  1612. 242 .L16:
  1613. 243 00ce 00BF .align 2
  1614. 244 .L15:
  1615. 245 00d0 00100240 .word 1073876992
  1616. 246 00d4 0CC0FFF8 .word -117456884
  1617. 247 00d8 00000000 .word uwTickPrio
  1618. 248 00dc 00000000 .word SystemCoreClock
  1619. 249 00e0 00127A00 .word 8000000
  1620. 250 00e4 20819010 .word 277905696
  1621. 251 .cfi_endproc
  1622. 252 .LFE130:
  1623. 254 .section .rodata.HAL_RCC_OscConfig.str1.4,"aMS",%progbits,1
  1624. 255 .align 2
  1625. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 29
  1626. 256 .LC0:
  1627. 257 0000 44726976 .ascii "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc."
  1628. 257 6572732F
  1629. 257 53544D33
  1630. 257 32463378
  1631. 257 785F4841
  1632. 258 0033 6300 .ascii "c\000"
  1633. 259 .section .text.HAL_RCC_OscConfig,"ax",%progbits
  1634. 260 .align 1
  1635. 261 .p2align 2,,3
  1636. 262 .global HAL_RCC_OscConfig
  1637. 263 .syntax unified
  1638. 264 .thumb
  1639. 265 .thumb_func
  1640. 267 HAL_RCC_OscConfig:
  1641. 268 .LVL18:
  1642. 269 .LFB131:
  1643. 299:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  1644. 300:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  1645. 301:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief Initializes the RCC Oscillators according to the specified parameters in the
  1646. 302:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * RCC_OscInitTypeDef.
  1647. 303:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @param RCC_OscInitStruct pointer to an RCC_OscInitTypeDef structure that
  1648. 304:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * contains the configuration information for the RCC Oscillators.
  1649. 305:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note The PLL is not disabled when used as system clock.
  1650. 306:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note Transitions LSE Bypass to LSE On and LSE On to LSE Bypass are not
  1651. 307:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * supported by this macro. User should request a transition to LSE Off
  1652. 308:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * first and then LSE On or LSE Bypass.
  1653. 309:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note Transition HSE Bypass to HSE On and HSE On to HSE Bypass are not
  1654. 310:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * supported by this macro. User should request a transition to HSE Off
  1655. 311:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * first and then HSE On or HSE Bypass.
  1656. 312:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval HAL status
  1657. 313:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  1658. 314:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct)
  1659. 315:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1660. 270 .loc 1 315 1 is_stmt 1 view -0
  1661. 271 .cfi_startproc
  1662. 272 @ args = 0, pretend = 0, frame = 8
  1663. 273 @ frame_needed = 0, uses_anonymous_args = 0
  1664. 316:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t tickstart;
  1665. 274 .loc 1 316 3 view .LVU79
  1666. 317:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t pll_config;
  1667. 275 .loc 1 317 3 view .LVU80
  1668. 318:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_PREDIV)
  1669. 319:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t pll_config2;
  1670. 320:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #endif /* RCC_CFGR_PLLSRC_HSI_PREDIV */
  1671. 321:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  1672. 322:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check Null pointer */
  1673. 323:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(RCC_OscInitStruct == NULL)
  1674. 276 .loc 1 323 3 view .LVU81
  1675. 277 .loc 1 323 5 is_stmt 0 view .LVU82
  1676. 278 0000 0028 cmp r0, #0
  1677. 279 0002 00F06383 beq .L158
  1678. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1679. 325:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_ERROR;
  1680. 326:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  1681. 327:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  1682. 328:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the parameters */
  1683. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 30
  1684. 329:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType));
  1685. 280 .loc 1 329 3 is_stmt 1 view .LVU83
  1686. 315:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t tickstart;
  1687. 281 .loc 1 315 1 is_stmt 0 view .LVU84
  1688. 282 0006 2DE9F043 push {r4, r5, r6, r7, r8, r9, lr}
  1689. 283 .LCFI1:
  1690. 284 .cfi_def_cfa_offset 28
  1691. 285 .cfi_offset 4, -28
  1692. 286 .cfi_offset 5, -24
  1693. 287 .cfi_offset 6, -20
  1694. 288 .cfi_offset 7, -16
  1695. 289 .cfi_offset 8, -12
  1696. 290 .cfi_offset 9, -8
  1697. 291 .cfi_offset 14, -4
  1698. 292 .loc 1 329 3 view .LVU85
  1699. 293 000a 0368 ldr r3, [r0]
  1700. 315:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t tickstart;
  1701. 294 .loc 1 315 1 view .LVU86
  1702. 295 000c 83B0 sub sp, sp, #12
  1703. 296 .LCFI2:
  1704. 297 .cfi_def_cfa_offset 40
  1705. 298 000e 0446 mov r4, r0
  1706. 299 .loc 1 329 3 view .LVU87
  1707. 300 0010 002B cmp r3, #0
  1708. 301 0012 00F0B180 beq .L51
  1709. 302 .loc 1 329 3 discriminator 1 view .LVU88
  1710. 303 0016 1907 lsls r1, r3, #28
  1711. 304 0018 00F04A82 beq .L159
  1712. 305 .LVL19:
  1713. 306 .L21:
  1714. 330:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  1715. 331:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /*------------------------------- HSE Configuration ------------------------*/
  1716. 332:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSE) == RCC_OSCILLATORTYPE_HSE)
  1717. 307 .loc 1 332 3 is_stmt 1 view .LVU89
  1718. 308 .loc 1 332 5 is_stmt 0 view .LVU90
  1719. 309 001c DA07 lsls r2, r3, #31
  1720. 310 001e 48D5 bpl .L22
  1721. 333:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1722. 334:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the parameters */
  1723. 335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_HSE(RCC_OscInitStruct->HSEState));
  1724. 311 .loc 1 335 5 is_stmt 1 view .LVU91
  1725. 312 0020 6368 ldr r3, [r4, #4]
  1726. 313 0022 33F48032 bics r2, r3, #65536
  1727. 314 0026 03D0 beq .L23
  1728. 315 .loc 1 335 5 is_stmt 0 discriminator 2 view .LVU92
  1729. 316 0028 B3F5A02F cmp r3, #327680
  1730. 317 002c 40F02282 bne .L160
  1731. 318 .L23:
  1732. 336:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  1733. 337:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* When the HSE is used as system clock or clock source for PLL in these cases it is not allowe
  1734. 338:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_HSE)
  1735. 319 .loc 1 338 5 is_stmt 1 view .LVU93
  1736. 320 .loc 1 338 9 is_stmt 0 view .LVU94
  1737. 321 0030 B44A ldr r2, .L176
  1738. 322 0032 5368 ldr r3, [r2, #4]
  1739. 323 0034 03F00C03 and r3, r3, #12
  1740. 324 .loc 1 338 7 view .LVU95
  1741. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 31
  1742. 325 0038 042B cmp r3, #4
  1743. 326 003a 24D0 beq .L24
  1744. 339:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL_
  1745. 327 .loc 1 339 13 view .LVU96
  1746. 328 003c 5368 ldr r3, [r2, #4]
  1747. 329 003e 03F00C03 and r3, r3, #12
  1748. 330 .loc 1 339 8 view .LVU97
  1749. 331 0042 082B cmp r3, #8
  1750. 332 0044 1CD0 beq .L161
  1751. 333 .L25:
  1752. 340:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1753. 341:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_
  1754. 342:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1755. 343:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_ERROR;
  1756. 344:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  1757. 345:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  1758. 346:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  1759. 347:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1760. 348:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Set the new HSE configuration ---------------------------------------*/
  1761. 349:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_HSE_CONFIG(RCC_OscInitStruct->HSEState);
  1762. 334 .loc 1 349 7 is_stmt 1 view .LVU98
  1763. 335 .loc 1 349 7 view .LVU99
  1764. 336 0046 6368 ldr r3, [r4, #4]
  1765. 337 0048 B3F5803F cmp r3, #65536
  1766. 338 004c 00F0EC81 beq .L162
  1767. 339 .loc 1 349 7 discriminator 2 view .LVU100
  1768. 340 0050 002B cmp r3, #0
  1769. 341 0052 00F03482 beq .L163
  1770. 342 .loc 1 349 7 discriminator 5 view .LVU101
  1771. 343 0056 B3F5A02F cmp r3, #327680
  1772. 344 005a 00F0FA82 beq .L164
  1773. 345 .loc 1 349 7 discriminator 8 view .LVU102
  1774. 346 005e A94B ldr r3, .L176
  1775. 347 0060 1A68 ldr r2, [r3]
  1776. 348 0062 22F48032 bic r2, r2, #65536
  1777. 349 0066 1A60 str r2, [r3]
  1778. 350 .loc 1 349 7 discriminator 8 view .LVU103
  1779. 351 0068 1A68 ldr r2, [r3]
  1780. 352 006a 22F48022 bic r2, r2, #262144
  1781. 353 006e 1A60 str r2, [r3]
  1782. 354 .L34:
  1783. 355 .loc 1 349 7 view .LVU104
  1784. 350:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  1785. 351:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_DIV2)
  1786. 352:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Configure the HSE predivision factor --------------------------------*/
  1787. 353:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_HSE_PREDIV_CONFIG(RCC_OscInitStruct->HSEPredivValue);
  1788. 356 .loc 1 353 7 view .LVU105
  1789. 357 0070 A44A ldr r2, .L176
  1790. 358 0072 A168 ldr r1, [r4, #8]
  1791. 359 0074 D36A ldr r3, [r2, #44]
  1792. 360 0076 23F00F03 bic r3, r3, #15
  1793. 361 007a 0B43 orrs r3, r3, r1
  1794. 362 007c D362 str r3, [r2, #44]
  1795. 354:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #endif /* RCC_CFGR_PLLSRC_HSI_DIV2 */
  1796. 355:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  1797. 356:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the HSE State */
  1798. 357:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(RCC_OscInitStruct->HSEState != RCC_HSE_OFF)
  1799. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 32
  1800. 363 .loc 1 357 7 view .LVU106
  1801. 364 007e DEE1 b .L30
  1802. 365 .L161:
  1803. 339:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1804. 366 .loc 1 339 82 is_stmt 0 discriminator 1 view .LVU107
  1805. 367 0080 5368 ldr r3, [r2, #4]
  1806. 339:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1807. 368 .loc 1 339 78 discriminator 1 view .LVU108
  1808. 369 0082 DB03 lsls r3, r3, #15
  1809. 370 0084 DFD5 bpl .L25
  1810. 371 .L24:
  1811. 341:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1812. 372 .loc 1 341 7 is_stmt 1 view .LVU109
  1813. 373 .LVL20:
  1814. 374 .LBB174:
  1815. 375 .LBI174:
  1816. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1817. 376 .loc 2 981 31 view .LVU110
  1818. 377 .LBB175:
  1819. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1820. 378 .loc 2 983 3 view .LVU111
  1821. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1822. 379 .loc 2 988 4 view .LVU112
  1823. 380 0086 4FF40033 mov r3, #131072
  1824. 381 .syntax unified
  1825. 382 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  1826. 383 008a 93FAA3F2 rbit r2, r3
  1827. 384 @ 0 "" 2
  1828. 385 .LVL21:
  1829. 386 .loc 2 1001 3 view .LVU113
  1830. 387 .loc 2 1001 3 is_stmt 0 view .LVU114
  1831. 388 .thumb
  1832. 389 .syntax unified
  1833. 390 .LBE175:
  1834. 391 .LBE174:
  1835. 341:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1836. 392 .loc 1 341 11 view .LVU115
  1837. 393 008e 9D4A ldr r2, .L176
  1838. 394 0090 1168 ldr r1, [r2]
  1839. 395 .LVL22:
  1840. 396 .LBB176:
  1841. 397 .LBI176:
  1842. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1843. 398 .loc 2 981 31 is_stmt 1 view .LVU116
  1844. 399 .LBB177:
  1845. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1846. 400 .loc 2 983 3 view .LVU117
  1847. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1848. 401 .loc 2 988 4 view .LVU118
  1849. 402 .syntax unified
  1850. 403 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  1851. 404 0092 93FAA3F3 rbit r3, r3
  1852. 405 @ 0 "" 2
  1853. 406 .LVL23:
  1854. 407 .loc 2 1001 3 view .LVU119
  1855. 408 .loc 2 1001 3 is_stmt 0 view .LVU120
  1856. 409 .thumb
  1857. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 33
  1858. 410 .syntax unified
  1859. 411 .LBE177:
  1860. 412 .LBE176:
  1861. 341:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1862. 413 .loc 1 341 11 view .LVU121
  1863. 414 0096 B3FA83F3 clz r3, r3
  1864. 415 009a 03F01F03 and r3, r3, #31
  1865. 416 009e 0122 movs r2, #1
  1866. 417 00a0 02FA03F3 lsl r3, r2, r3
  1867. 341:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1868. 418 .loc 1 341 9 view .LVU122
  1869. 419 00a4 0B42 tst r3, r1
  1870. 420 00a6 03D0 beq .L156
  1871. 341:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1872. 421 .loc 1 341 57 discriminator 13 view .LVU123
  1873. 422 00a8 6368 ldr r3, [r4, #4]
  1874. 423 00aa 002B cmp r3, #0
  1875. 424 00ac 00F0E881 beq .L98
  1876. 425 .L156:
  1877. 358:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1878. 359:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get Start Tick */
  1879. 360:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  1880. 361:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  1881. 362:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Wait till HSE is ready */
  1882. 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET)
  1883. 364:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1884. 365:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > HSE_TIMEOUT_VALUE)
  1885. 366:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1886. 367:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  1887. 368:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  1888. 369:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  1889. 370:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  1890. 371:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  1891. 372:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1892. 373:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get Start Tick */
  1893. 374:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  1894. 375:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  1895. 376:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Wait till HSE is disabled */
  1896. 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET)
  1897. 378:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1898. 379:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > HSE_TIMEOUT_VALUE)
  1899. 380:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1900. 381:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  1901. 382:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  1902. 383:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  1903. 384:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  1904. 385:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  1905. 386:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  1906. 387:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /*----------------------------- HSI Configuration --------------------------*/
  1907. 388:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSI) == RCC_OSCILLATORTYPE_HSI)
  1908. 426 .loc 1 388 25 view .LVU124
  1909. 427 00b0 2368 ldr r3, [r4]
  1910. 428 .L22:
  1911. 429 .loc 1 388 3 is_stmt 1 view .LVU125
  1912. 430 .loc 1 388 5 is_stmt 0 view .LVU126
  1913. 431 00b2 9F07 lsls r7, r3, #30
  1914. 432 00b4 2FD5 bpl .L39
  1915. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 34
  1916. 389:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1917. 390:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the parameters */
  1918. 391:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_HSI(RCC_OscInitStruct->HSIState));
  1919. 433 .loc 1 391 5 is_stmt 1 view .LVU127
  1920. 434 00b6 2369 ldr r3, [r4, #16]
  1921. 435 00b8 012B cmp r3, #1
  1922. 436 00ba 00F26881 bhi .L165
  1923. 392:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_CALIBRATION_VALUE(RCC_OscInitStruct->HSICalibrationValue));
  1924. 437 .loc 1 392 5 view .LVU128
  1925. 438 00be 6369 ldr r3, [r4, #20]
  1926. 439 00c0 1F2B cmp r3, #31
  1927. 440 00c2 00F26D81 bhi .L166
  1928. 441 .L41:
  1929. 393:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  1930. 394:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check if HSI is used as system clock or as PLL source when PLL is selected as system clock *
  1931. 395:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_HSI)
  1932. 442 .loc 1 395 5 view .LVU129
  1933. 443 .loc 1 395 9 is_stmt 0 view .LVU130
  1934. 444 00c6 8F4B ldr r3, .L176
  1935. 445 00c8 5A68 ldr r2, [r3, #4]
  1936. 446 .loc 1 395 7 view .LVU131
  1937. 447 00ca 12F00C0F tst r2, #12
  1938. 448 00ce 40F02181 bne .L167
  1939. 449 .L42:
  1940. 396:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL_
  1941. 397:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  1942. 398:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* When HSI is used as system clock it will not disabled */
  1943. 399:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_
  1944. 450 .loc 1 399 7 is_stmt 1 view .LVU132
  1945. 451 .LVL24:
  1946. 452 .LBB178:
  1947. 453 .LBI178:
  1948. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1949. 454 .loc 2 981 31 view .LVU133
  1950. 455 .LBB179:
  1951. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1952. 456 .loc 2 983 3 view .LVU134
  1953. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1954. 457 .loc 2 988 4 view .LVU135
  1955. 458 00d2 0223 movs r3, #2
  1956. 459 .syntax unified
  1957. 460 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  1958. 461 00d4 93FAA3F2 rbit r2, r3
  1959. 462 @ 0 "" 2
  1960. 463 .LVL25:
  1961. 464 .loc 2 1001 3 view .LVU136
  1962. 465 .loc 2 1001 3 is_stmt 0 view .LVU137
  1963. 466 .thumb
  1964. 467 .syntax unified
  1965. 468 .LBE179:
  1966. 469 .LBE178:
  1967. 470 .loc 1 399 11 view .LVU138
  1968. 471 00d8 8A4A ldr r2, .L176
  1969. 472 00da 1168 ldr r1, [r2]
  1970. 473 .LVL26:
  1971. 474 .LBB180:
  1972. 475 .LBI180:
  1973. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 35
  1974. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  1975. 476 .loc 2 981 31 is_stmt 1 view .LVU139
  1976. 477 .LBB181:
  1977. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  1978. 478 .loc 2 983 3 view .LVU140
  1979. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  1980. 479 .loc 2 988 4 view .LVU141
  1981. 480 .syntax unified
  1982. 481 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  1983. 482 00dc 93FAA3F3 rbit r3, r3
  1984. 483 @ 0 "" 2
  1985. 484 .LVL27:
  1986. 485 .loc 2 1001 3 view .LVU142
  1987. 486 .loc 2 1001 3 is_stmt 0 view .LVU143
  1988. 487 .thumb
  1989. 488 .syntax unified
  1990. 489 .LBE181:
  1991. 490 .LBE180:
  1992. 491 .loc 1 399 11 view .LVU144
  1993. 492 00e0 B3FA83F3 clz r3, r3
  1994. 493 00e4 03F01F03 and r3, r3, #31
  1995. 494 00e8 0122 movs r2, #1
  1996. 495 00ea 02FA03F3 lsl r3, r2, r3
  1997. 496 .loc 1 399 9 view .LVU145
  1998. 497 00ee 0B42 tst r3, r1
  1999. 498 00f0 03D0 beq .L44
  2000. 499 .loc 1 399 57 discriminator 13 view .LVU146
  2001. 500 00f2 2369 ldr r3, [r4, #16]
  2002. 501 00f4 9342 cmp r3, r2
  2003. 502 00f6 40F0C381 bne .L98
  2004. 503 .L44:
  2005. 400:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2006. 401:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_ERROR;
  2007. 402:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2008. 403:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Otherwise, just the calibration is allowed */
  2009. 404:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  2010. 405:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2011. 406:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/
  2012. 407:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue);
  2013. 504 .loc 1 407 9 is_stmt 1 view .LVU147
  2014. 505 00fa 8248 ldr r0, .L176
  2015. 506 .LBB182:
  2016. 507 .LBB183:
  2017. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2018. 508 .loc 2 988 4 is_stmt 0 view .LVU148
  2019. 509 00fc F822 movs r2, #248
  2020. 510 .LBE183:
  2021. 511 .LBE182:
  2022. 512 .loc 1 407 9 view .LVU149
  2023. 513 00fe 0168 ldr r1, [r0]
  2024. 514 .LVL28:
  2025. 515 .LBB185:
  2026. 516 .LBI182:
  2027. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2028. 517 .loc 2 981 31 is_stmt 1 view .LVU150
  2029. 518 .LBB184:
  2030. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2031. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 36
  2032. 519 .loc 2 983 3 view .LVU151
  2033. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2034. 520 .loc 2 988 4 view .LVU152
  2035. 521 .syntax unified
  2036. 522 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2037. 523 0100 92FAA2F2 rbit r2, r2
  2038. 524 @ 0 "" 2
  2039. 525 .LVL29:
  2040. 526 .loc 2 1001 3 view .LVU153
  2041. 527 .loc 2 1001 3 is_stmt 0 view .LVU154
  2042. 528 .thumb
  2043. 529 .syntax unified
  2044. 530 .LBE184:
  2045. 531 .LBE185:
  2046. 532 .loc 1 407 9 view .LVU155
  2047. 533 0104 6369 ldr r3, [r4, #20]
  2048. 534 0106 B2FA82F2 clz r2, r2
  2049. 535 010a 9340 lsls r3, r3, r2
  2050. 536 010c 21F0F802 bic r2, r1, #248
  2051. 537 0110 1343 orrs r3, r3, r2
  2052. 538 0112 0360 str r3, [r0]
  2053. 408:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2054. 409:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2055. 410:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  2056. 411:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2057. 412:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the HSI State */
  2058. 413:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(RCC_OscInitStruct->HSIState != RCC_HSI_OFF)
  2059. 414:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2060. 415:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Enable the Internal High Speed oscillator (HSI). */
  2061. 416:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_HSI_ENABLE();
  2062. 417:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2063. 418:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get Start Tick */
  2064. 419:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  2065. 420:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2066. 421:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Wait till HSI is ready */
  2067. 422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET)
  2068. 423:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2069. 424:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > HSI_TIMEOUT_VALUE)
  2070. 425:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2071. 426:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  2072. 427:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2073. 428:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2074. 429:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2075. 430:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/
  2076. 431:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue);
  2077. 432:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2078. 433:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  2079. 434:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2080. 435:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Disable the Internal High Speed oscillator (HSI). */
  2081. 436:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_HSI_DISABLE();
  2082. 437:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2083. 438:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get Start Tick */
  2084. 439:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  2085. 440:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2086. 441:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Wait till HSI is disabled */
  2087. 442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET)
  2088. 443:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2089. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 37
  2090. 444:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > HSI_TIMEOUT_VALUE)
  2091. 445:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2092. 446:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  2093. 447:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2094. 448:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2095. 449:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2096. 450:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2097. 451:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2098. 452:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /*------------------------------ LSI Configuration -------------------------*/
  2099. 453:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSI) == RCC_OSCILLATORTYPE_LSI)
  2100. 539 .loc 1 453 25 view .LVU156
  2101. 540 0114 2368 ldr r3, [r4]
  2102. 541 .L39:
  2103. 542 .loc 1 453 3 is_stmt 1 view .LVU157
  2104. 543 .loc 1 453 5 is_stmt 0 view .LVU158
  2105. 544 0116 1D07 lsls r5, r3, #28
  2106. 545 0118 2ED5 bpl .L51
  2107. 454:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2108. 455:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the parameters */
  2109. 456:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_LSI(RCC_OscInitStruct->LSIState));
  2110. 546 .loc 1 456 5 is_stmt 1 view .LVU159
  2111. 547 011a A369 ldr r3, [r4, #24]
  2112. 548 011c 012B cmp r3, #1
  2113. 549 011e 00F26C81 bhi .L168
  2114. 457:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2115. 458:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the LSI State */
  2116. 459:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(RCC_OscInitStruct->LSIState != RCC_LSI_OFF)
  2117. 550 .loc 1 459 5 view .LVU160
  2118. 551 .loc 1 459 7 is_stmt 0 view .LVU161
  2119. 552 0122 002B cmp r3, #0
  2120. 553 0124 40F04281 bne .L169
  2121. 554 .L53:
  2122. 460:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2123. 461:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Enable the Internal Low Speed oscillator (LSI). */
  2124. 462:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_LSI_ENABLE();
  2125. 463:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2126. 464:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get Start Tick */
  2127. 465:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  2128. 466:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2129. 467:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Wait till LSI is ready */
  2130. 468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET)
  2131. 469:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2132. 470:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > LSI_TIMEOUT_VALUE)
  2133. 471:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2134. 472:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  2135. 473:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2136. 474:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2137. 475:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2138. 476:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  2139. 477:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2140. 478:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Disable the Internal Low Speed oscillator (LSI). */
  2141. 479:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_LSI_DISABLE();
  2142. 555 .loc 1 479 7 is_stmt 1 view .LVU162
  2143. 556 .LVL30:
  2144. 557 .LBB186:
  2145. 558 .LBI186:
  2146. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2147. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 38
  2148. 559 .loc 2 981 31 view .LVU163
  2149. 560 .LBB187:
  2150. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2151. 561 .loc 2 983 3 view .LVU164
  2152. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2153. 562 .loc 2 988 4 view .LVU165
  2154. 563 0128 0126 movs r6, #1
  2155. 564 .syntax unified
  2156. 565 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2157. 566 012a 96FAA6F1 rbit r1, r6
  2158. 567 @ 0 "" 2
  2159. 568 .LVL31:
  2160. 569 .loc 2 1001 3 view .LVU166
  2161. 570 .loc 2 1001 3 is_stmt 0 view .LVU167
  2162. 571 .thumb
  2163. 572 .syntax unified
  2164. 573 .LBE187:
  2165. 574 .LBE186:
  2166. 575 .loc 1 479 7 view .LVU168
  2167. 576 012e 764A ldr r2, .L176+4
  2168. 480:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2169. 481:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get Start Tick */
  2170. 482:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  2171. 483:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2172. 484:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Wait till LSI is disabled */
  2173. 485:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET)
  2174. 577 .loc 1 485 13 view .LVU169
  2175. 578 0130 744F ldr r7, .L176
  2176. 479:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2177. 579 .loc 1 479 7 view .LVU170
  2178. 580 0132 B1FA81F1 clz r1, r1
  2179. 581 0136 0A44 add r2, r2, r1
  2180. 582 0138 9200 lsls r2, r2, #2
  2181. 583 .LBB188:
  2182. 584 .LBB189:
  2183. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2184. 585 .loc 2 988 4 view .LVU171
  2185. 586 013a 4FF00208 mov r8, #2
  2186. 587 .LBE189:
  2187. 588 .LBE188:
  2188. 479:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2189. 589 .loc 1 479 7 view .LVU172
  2190. 590 013e 1360 str r3, [r2]
  2191. 482:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2192. 591 .loc 1 482 7 is_stmt 1 view .LVU173
  2193. 482:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2194. 592 .loc 1 482 19 is_stmt 0 view .LVU174
  2195. 593 0140 FFF7FEFF bl HAL_GetTick
  2196. 594 .LVL32:
  2197. 595 0144 0546 mov r5, r0
  2198. 596 .LVL33:
  2199. 597 .loc 1 485 7 is_stmt 1 view .LVU175
  2200. 598 .loc 1 485 12 is_stmt 0 view .LVU176
  2201. 599 0146 05E0 b .L56
  2202. 600 .LVL34:
  2203. 601 .L57:
  2204. 486:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2205. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 39
  2206. 487:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > LSI_TIMEOUT_VALUE)
  2207. 602 .loc 1 487 13 view .LVU177
  2208. 603 0148 FFF7FEFF bl HAL_GetTick
  2209. 604 .LVL35:
  2210. 605 .loc 1 487 27 view .LVU178
  2211. 606 014c 401B subs r0, r0, r5
  2212. 607 .loc 1 487 11 view .LVU179
  2213. 608 014e 0228 cmp r0, #2
  2214. 609 0150 00F2AA81 bhi .L37
  2215. 610 .L56:
  2216. 485:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2217. 611 .loc 1 485 12 is_stmt 1 view .LVU180
  2218. 612 .LVL36:
  2219. 613 .LBB191:
  2220. 614 .LBI188:
  2221. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2222. 615 .loc 2 981 31 view .LVU181
  2223. 616 .LBB190:
  2224. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2225. 617 .loc 2 983 3 view .LVU182
  2226. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2227. 618 .loc 2 988 4 view .LVU183
  2228. 619 .syntax unified
  2229. 620 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2230. 621 0154 98FAA8F3 rbit r3, r8
  2231. 622 @ 0 "" 2
  2232. 623 .LVL37:
  2233. 624 .loc 2 1001 3 view .LVU184
  2234. 625 .loc 2 1001 3 is_stmt 0 view .LVU185
  2235. 626 .thumb
  2236. 627 .syntax unified
  2237. 628 .LBE190:
  2238. 629 .LBE191:
  2239. 630 .LBB192:
  2240. 631 .LBI192:
  2241. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2242. 632 .loc 2 981 31 is_stmt 1 view .LVU186
  2243. 633 .LBB193:
  2244. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2245. 634 .loc 2 983 3 view .LVU187
  2246. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2247. 635 .loc 2 988 4 view .LVU188
  2248. 636 .syntax unified
  2249. 637 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2250. 638 0158 98FAA8F3 rbit r3, r8
  2251. 639 @ 0 "" 2
  2252. 640 .LVL38:
  2253. 641 .loc 2 1001 3 view .LVU189
  2254. 642 .loc 2 1001 3 is_stmt 0 view .LVU190
  2255. 643 .thumb
  2256. 644 .syntax unified
  2257. 645 .LBE193:
  2258. 646 .LBE192:
  2259. 647 .LBB194:
  2260. 648 .LBI194:
  2261. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2262. 649 .loc 2 981 31 is_stmt 1 view .LVU191
  2263. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 40
  2264. 650 .LBB195:
  2265. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2266. 651 .loc 2 983 3 view .LVU192
  2267. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2268. 652 .loc 2 988 4 view .LVU193
  2269. 653 .syntax unified
  2270. 654 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2271. 655 015c 98FAA8F3 rbit r3, r8
  2272. 656 @ 0 "" 2
  2273. 657 .LVL39:
  2274. 658 .loc 2 1001 3 view .LVU194
  2275. 659 .loc 2 1001 3 is_stmt 0 view .LVU195
  2276. 660 .thumb
  2277. 661 .syntax unified
  2278. 662 .LBE195:
  2279. 663 .LBE194:
  2280. 485:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2281. 664 .loc 1 485 13 view .LVU196
  2282. 665 0160 7A6A ldr r2, [r7, #36]
  2283. 666 .LVL40:
  2284. 667 .LBB196:
  2285. 668 .LBI196:
  2286. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2287. 669 .loc 2 981 31 is_stmt 1 view .LVU197
  2288. 670 .LBB197:
  2289. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2290. 671 .loc 2 983 3 view .LVU198
  2291. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2292. 672 .loc 2 988 4 view .LVU199
  2293. 673 .syntax unified
  2294. 674 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2295. 675 0162 98FAA8F3 rbit r3, r8
  2296. 676 @ 0 "" 2
  2297. 677 .thumb
  2298. 678 .syntax unified
  2299. 679 .LBE197:
  2300. 680 .LBE196:
  2301. 681 .loc 1 487 9 view .LVU200
  2302. 682 .LVL41:
  2303. 683 .LBB199:
  2304. 684 .LBB198:
  2305. 685 .loc 2 1001 3 view .LVU201
  2306. 686 .loc 2 1001 3 is_stmt 0 view .LVU202
  2307. 687 .LBE198:
  2308. 688 .LBE199:
  2309. 485:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2310. 689 .loc 1 485 13 view .LVU203
  2311. 690 0166 B3FA83F3 clz r3, r3
  2312. 691 016a 03F01F03 and r3, r3, #31
  2313. 692 016e 06FA03F3 lsl r3, r6, r3
  2314. 485:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2315. 693 .loc 1 485 12 view .LVU204
  2316. 694 0172 1342 tst r3, r2
  2317. 695 0174 E8D1 bne .L57
  2318. 696 .LVL42:
  2319. 697 .L157:
  2320. 488:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2321. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 41
  2322. 489:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  2323. 490:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2324. 491:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2325. 492:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2326. 493:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2327. 494:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /*------------------------------ LSE Configuration -------------------------*/
  2328. 495:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSE) == RCC_OSCILLATORTYPE_LSE)
  2329. 698 .loc 1 495 25 view .LVU205
  2330. 699 0176 2368 ldr r3, [r4]
  2331. 700 .L51:
  2332. 701 .loc 1 495 3 is_stmt 1 view .LVU206
  2333. 702 .loc 1 495 5 is_stmt 0 view .LVU207
  2334. 703 0178 5807 lsls r0, r3, #29
  2335. 704 017a 36D5 bpl .L59
  2336. 705 .LBB200:
  2337. 496:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2338. 497:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** FlagStatus pwrclkchanged = RESET;
  2339. 706 .loc 1 497 5 is_stmt 1 view .LVU208
  2340. 707 .LVL43:
  2341. 498:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2342. 499:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the parameters */
  2343. 500:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_LSE(RCC_OscInitStruct->LSEState));
  2344. 708 .loc 1 500 5 view .LVU209
  2345. 709 017c E368 ldr r3, [r4, #12]
  2346. 710 017e 012B cmp r3, #1
  2347. 711 0180 06D9 bls .L60
  2348. 712 .loc 1 500 5 is_stmt 0 discriminator 1 view .LVU210
  2349. 713 0182 052B cmp r3, #5
  2350. 714 0184 04D0 beq .L60
  2351. 715 .loc 1 500 5 discriminator 2 view .LVU211
  2352. 716 0186 6148 ldr r0, .L176+8
  2353. 717 0188 4FF4FA71 mov r1, #500
  2354. 718 018c FFF7FEFF bl assert_failed
  2355. 719 .LVL44:
  2356. 720 .L60:
  2357. 501:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2358. 502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Update LSE configuration in Backup Domain control register */
  2359. 503:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Requires to enable write access to Backup Domain of necessary */
  2360. 504:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(__HAL_RCC_PWR_IS_CLK_DISABLED())
  2361. 721 .loc 1 504 5 is_stmt 1 view .LVU212
  2362. 722 .loc 1 504 8 is_stmt 0 view .LVU213
  2363. 723 0190 5C4B ldr r3, .L176
  2364. 724 0192 DA69 ldr r2, [r3, #28]
  2365. 725 .loc 1 504 7 view .LVU214
  2366. 726 0194 D100 lsls r1, r2, #3
  2367. 727 0196 00F13A81 bmi .L96
  2368. 505:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2369. 506:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_PWR_CLK_ENABLE();
  2370. 728 .loc 1 506 7 is_stmt 1 view .LVU215
  2371. 729 .LBB201:
  2372. 730 .loc 1 506 7 view .LVU216
  2373. 731 .loc 1 506 7 view .LVU217
  2374. 732 019a DA69 ldr r2, [r3, #28]
  2375. 733 019c 42F08052 orr r2, r2, #268435456
  2376. 734 01a0 DA61 str r2, [r3, #28]
  2377. 735 .loc 1 506 7 view .LVU218
  2378. 736 01a2 DB69 ldr r3, [r3, #28]
  2379. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 42
  2380. 737 01a4 03F08053 and r3, r3, #268435456
  2381. 738 01a8 0193 str r3, [sp, #4]
  2382. 739 .loc 1 506 7 view .LVU219
  2383. 740 01aa 019B ldr r3, [sp, #4]
  2384. 741 .LBE201:
  2385. 742 .loc 1 506 7 view .LVU220
  2386. 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** pwrclkchanged = SET;
  2387. 743 .loc 1 507 7 view .LVU221
  2388. 744 .LVL45:
  2389. 745 .loc 1 507 21 is_stmt 0 view .LVU222
  2390. 746 01ac 4FF00108 mov r8, #1
  2391. 747 .LVL46:
  2392. 748 .L61:
  2393. 508:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2394. 509:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2395. 510:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP))
  2396. 749 .loc 1 510 5 is_stmt 1 view .LVU223
  2397. 750 .loc 1 510 8 is_stmt 0 view .LVU224
  2398. 751 01b0 574D ldr r5, .L176+12
  2399. 752 01b2 2B68 ldr r3, [r5]
  2400. 753 .loc 1 510 7 view .LVU225
  2401. 754 01b4 DA05 lsls r2, r3, #23
  2402. 755 01b6 40F16781 bpl .L62
  2403. 756 .L67:
  2404. 511:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2405. 512:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Enable write access to Backup domain */
  2406. 513:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** SET_BIT(PWR->CR, PWR_CR_DBP);
  2407. 514:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2408. 515:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Wait for Backup domain Write protection disable */
  2409. 516:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  2410. 517:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2411. 518:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP))
  2412. 519:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2413. 520:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE)
  2414. 521:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2415. 522:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  2416. 523:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2417. 524:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2418. 525:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2419. 526:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2420. 527:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Set the new LSE configuration -----------------------------------------*/
  2421. 528:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_LSE_CONFIG(RCC_OscInitStruct->LSEState);
  2422. 757 .loc 1 528 5 is_stmt 1 view .LVU226
  2423. 758 .loc 1 528 5 view .LVU227
  2424. 759 01ba E368 ldr r3, [r4, #12]
  2425. 760 01bc 012B cmp r3, #1
  2426. 761 01be 00F0FA81 beq .L170
  2427. 762 .loc 1 528 5 discriminator 2 view .LVU228
  2428. 763 01c2 002B cmp r3, #0
  2429. 764 01c4 00F0A481 beq .L171
  2430. 765 .loc 1 528 5 discriminator 5 view .LVU229
  2431. 766 01c8 052B cmp r3, #5
  2432. 767 01ca 4E4B ldr r3, .L176
  2433. 768 01cc 1A6A ldr r2, [r3, #32]
  2434. 769 01ce 00F04D82 beq .L172
  2435. 770 .loc 1 528 5 discriminator 8 view .LVU230
  2436. 771 01d2 22F00102 bic r2, r2, #1
  2437. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 43
  2438. 772 01d6 1A62 str r2, [r3, #32]
  2439. 773 .loc 1 528 5 discriminator 8 view .LVU231
  2440. 774 01d8 1A6A ldr r2, [r3, #32]
  2441. 775 01da 22F00402 bic r2, r2, #4
  2442. 776 01de 1A62 str r2, [r3, #32]
  2443. 777 01e0 EEE1 b .L68
  2444. 778 .L82:
  2445. 529:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the LSE State */
  2446. 530:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(RCC_OscInitStruct->LSEState != RCC_LSE_OFF)
  2447. 531:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2448. 532:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get Start Tick */
  2449. 533:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  2450. 534:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2451. 535:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Wait till LSE is ready */
  2452. 536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET)
  2453. 537:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2454. 538:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > RCC_LSE_TIMEOUT_VALUE)
  2455. 539:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2456. 540:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  2457. 541:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2458. 542:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2459. 543:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2460. 544:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  2461. 545:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2462. 546:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get Start Tick */
  2463. 547:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  2464. 548:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2465. 549:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Wait till LSE is disabled */
  2466. 550:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET)
  2467. 551:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2468. 552:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > RCC_LSE_TIMEOUT_VALUE)
  2469. 553:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2470. 554:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  2471. 555:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2472. 556:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2473. 557:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2474. 558:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2475. 559:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Require to disable power clock if necessary */
  2476. 560:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(pwrclkchanged == SET)
  2477. 779 .loc 1 560 5 view .LVU232
  2478. 780 .loc 1 560 7 is_stmt 0 view .LVU233
  2479. 781 01e2 B8F1000F cmp r8, #0
  2480. 782 01e6 40F02E82 bne .L173
  2481. 783 .LVL47:
  2482. 784 .L59:
  2483. 785 .loc 1 560 7 view .LVU234
  2484. 786 .LBE200:
  2485. 561:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2486. 562:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_PWR_CLK_DISABLE();
  2487. 563:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2488. 564:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2489. 565:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2490. 566:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /*-------------------------------- PLL Configuration -----------------------*/
  2491. 567:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the parameters */
  2492. 568:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_PLL(RCC_OscInitStruct->PLL.PLLState));
  2493. 787 .loc 1 568 3 is_stmt 1 view .LVU235
  2494. 788 01ea E069 ldr r0, [r4, #28]
  2495. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 44
  2496. 789 01ec 0228 cmp r0, #2
  2497. 790 01ee 00F21181 bhi .L174
  2498. 569:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if ((RCC_OscInitStruct->PLL.PLLState) != RCC_PLL_NONE)
  2499. 791 .loc 1 569 3 view .LVU236
  2500. 792 .loc 1 569 6 is_stmt 0 view .LVU237
  2501. 793 01f2 0028 cmp r0, #0
  2502. 794 01f4 00F08180 beq .L93
  2503. 795 .L84:
  2504. 570:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2505. 571:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check if the PLL is used as system clock or not */
  2506. 572:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(__HAL_RCC_GET_SYSCLK_SOURCE() != RCC_SYSCLKSOURCE_STATUS_PLLCLK)
  2507. 796 .loc 1 572 5 is_stmt 1 view .LVU238
  2508. 797 .loc 1 572 8 is_stmt 0 view .LVU239
  2509. 798 01f8 424D ldr r5, .L176
  2510. 799 01fa 6B68 ldr r3, [r5, #4]
  2511. 800 01fc 03F00C03 and r3, r3, #12
  2512. 801 .loc 1 572 7 view .LVU240
  2513. 802 0200 082B cmp r3, #8
  2514. 803 0202 00F00F82 beq .L85
  2515. 573:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2516. 574:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_ON)
  2517. 804 .loc 1 574 7 is_stmt 1 view .LVU241
  2518. 805 .loc 1 574 9 is_stmt 0 view .LVU242
  2519. 806 0206 0228 cmp r0, #2
  2520. 807 0208 40F03882 bne .L86
  2521. 575:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2522. 576:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the parameters */
  2523. 577:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_PLLSOURCE(RCC_OscInitStruct->PLL.PLLSource));
  2524. 808 .loc 1 577 9 is_stmt 1 view .LVU243
  2525. 809 020c 236A ldr r3, [r4, #32]
  2526. 810 020e 33F48033 bics r3, r3, #65536
  2527. 811 0212 04D0 beq .L87
  2528. 812 .loc 1 577 9 is_stmt 0 discriminator 2 view .LVU244
  2529. 813 0214 3D48 ldr r0, .L176+8
  2530. 814 0216 40F24121 movw r1, #577
  2531. 815 021a FFF7FEFF bl assert_failed
  2532. 816 .LVL48:
  2533. 817 .L87:
  2534. 578:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_PLL_MUL(RCC_OscInitStruct->PLL.PLLMUL));
  2535. 818 .loc 1 578 9 is_stmt 1 view .LVU245
  2536. 819 021e 636A ldr r3, [r4, #36]
  2537. 820 0220 33F44022 bics r2, r3, #786432
  2538. 821 0224 23F48021 bic r1, r3, #262144
  2539. 822 0228 10D0 beq .L88
  2540. 823 .loc 1 578 9 is_stmt 0 discriminator 4 view .LVU246
  2541. 824 022a B2F5801F cmp r2, #1048576
  2542. 825 022e 0DD0 beq .L88
  2543. 826 .loc 1 578 9 discriminator 8 view .LVU247
  2544. 827 0230 B2F5001F cmp r2, #2097152
  2545. 828 0234 0AD0 beq .L88
  2546. 829 .loc 1 578 9 discriminator 12 view .LVU248
  2547. 830 0236 B1F5401F cmp r1, #3145728
  2548. 831 023a 07D0 beq .L88
  2549. 832 .loc 1 578 9 discriminator 14 view .LVU249
  2550. 833 023c B3F5601F cmp r3, #3670016
  2551. 834 0240 04D0 beq .L88
  2552. 835 .loc 1 578 9 discriminator 15 view .LVU250
  2553. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 45
  2554. 836 0242 3248 ldr r0, .L176+8
  2555. 837 0244 40F24221 movw r1, #578
  2556. 838 0248 FFF7FEFF bl assert_failed
  2557. 839 .LVL49:
  2558. 840 .L88:
  2559. 579:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_PREDIV)
  2560. 580:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_PREDIV(RCC_OscInitStruct->PLL.PREDIV));
  2561. 581:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #endif
  2562. 582:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2563. 583:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Disable the main PLL. */
  2564. 584:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_PLL_DISABLE();
  2565. 841 .loc 1 584 9 is_stmt 1 view .LVU251
  2566. 842 .LBB230:
  2567. 843 .LBI230:
  2568. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2569. 844 .loc 2 981 31 view .LVU252
  2570. 845 .LBB231:
  2571. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2572. 846 .loc 2 983 3 view .LVU253
  2573. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2574. 847 .loc 2 988 4 view .LVU254
  2575. 848 024c 4FF08073 mov r3, #16777216
  2576. 849 .syntax unified
  2577. 850 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2578. 851 0250 93FAA3F3 rbit r3, r3
  2579. 852 @ 0 "" 2
  2580. 853 .LVL50:
  2581. 854 .loc 2 1001 3 view .LVU255
  2582. 855 .loc 2 1001 3 is_stmt 0 view .LVU256
  2583. 856 .thumb
  2584. 857 .syntax unified
  2585. 858 .LBE231:
  2586. 859 .LBE230:
  2587. 860 .loc 1 584 9 view .LVU257
  2588. 861 0254 B3FA83F3 clz r3, r3
  2589. 862 0258 03F18453 add r3, r3, #276824064
  2590. 863 025c 03F58413 add r3, r3, #1081344
  2591. 864 0260 9B00 lsls r3, r3, #2
  2592. 865 0262 0022 movs r2, #0
  2593. 866 0264 1A60 str r2, [r3]
  2594. 585:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2595. 586:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get Start Tick */
  2596. 587:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  2597. 867 .loc 1 587 9 is_stmt 1 view .LVU258
  2598. 868 .loc 1 587 21 is_stmt 0 view .LVU259
  2599. 869 0266 FFF7FEFF bl HAL_GetTick
  2600. 870 .LVL51:
  2601. 588:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2602. 589:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Wait till PLL is disabled */
  2603. 590:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET)
  2604. 871 .loc 1 590 15 view .LVU260
  2605. 872 026a 264E ldr r6, .L176
  2606. 587:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2607. 873 .loc 1 587 21 view .LVU261
  2608. 874 026c 0546 mov r5, r0
  2609. 875 .LVL52:
  2610. 876 .loc 1 590 9 is_stmt 1 view .LVU262
  2611. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 46
  2612. 877 .LBB232:
  2613. 878 .LBB233:
  2614. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2615. 879 .loc 2 988 4 is_stmt 0 view .LVU263
  2616. 880 026e 4FF00078 mov r8, #33554432
  2617. 881 .LBE233:
  2618. 882 .LBE232:
  2619. 883 .loc 1 590 15 view .LVU264
  2620. 884 0272 0127 movs r7, #1
  2621. 885 .loc 1 590 14 view .LVU265
  2622. 886 0274 05E0 b .L89
  2623. 887 .LVL53:
  2624. 888 .L90:
  2625. 591:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2626. 592:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE)
  2627. 889 .loc 1 592 15 view .LVU266
  2628. 890 0276 FFF7FEFF bl HAL_GetTick
  2629. 891 .LVL54:
  2630. 892 .loc 1 592 29 view .LVU267
  2631. 893 027a 401B subs r0, r0, r5
  2632. 894 .loc 1 592 13 view .LVU268
  2633. 895 027c 0228 cmp r0, #2
  2634. 896 027e 00F21381 bhi .L37
  2635. 897 .L89:
  2636. 590:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2637. 898 .loc 1 590 14 is_stmt 1 view .LVU269
  2638. 899 .LVL55:
  2639. 900 .LBB235:
  2640. 901 .LBI232:
  2641. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2642. 902 .loc 2 981 31 view .LVU270
  2643. 903 .LBB234:
  2644. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2645. 904 .loc 2 983 3 view .LVU271
  2646. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2647. 905 .loc 2 988 4 view .LVU272
  2648. 906 .syntax unified
  2649. 907 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2650. 908 0282 98FAA8F3 rbit r3, r8
  2651. 909 @ 0 "" 2
  2652. 910 .LVL56:
  2653. 911 .loc 2 1001 3 view .LVU273
  2654. 912 .loc 2 1001 3 is_stmt 0 view .LVU274
  2655. 913 .thumb
  2656. 914 .syntax unified
  2657. 915 .LBE234:
  2658. 916 .LBE235:
  2659. 590:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2660. 917 .loc 1 590 15 view .LVU275
  2661. 918 0286 3268 ldr r2, [r6]
  2662. 919 .LVL57:
  2663. 920 .LBB236:
  2664. 921 .LBI236:
  2665. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2666. 922 .loc 2 981 31 is_stmt 1 view .LVU276
  2667. 923 .LBB237:
  2668. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2669. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 47
  2670. 924 .loc 2 983 3 view .LVU277
  2671. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2672. 925 .loc 2 988 4 view .LVU278
  2673. 926 .syntax unified
  2674. 927 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2675. 928 0288 98FAA8F3 rbit r3, r8
  2676. 929 @ 0 "" 2
  2677. 930 .thumb
  2678. 931 .syntax unified
  2679. 932 .LBE237:
  2680. 933 .LBE236:
  2681. 934 .loc 1 592 11 view .LVU279
  2682. 935 .LVL58:
  2683. 936 .LBB239:
  2684. 937 .LBB238:
  2685. 938 .loc 2 1001 3 view .LVU280
  2686. 939 .loc 2 1001 3 is_stmt 0 view .LVU281
  2687. 940 .LBE238:
  2688. 941 .LBE239:
  2689. 590:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2690. 942 .loc 1 590 15 view .LVU282
  2691. 943 028c B3FA83F3 clz r3, r3
  2692. 944 0290 03F01F03 and r3, r3, #31
  2693. 945 0294 07FA03F3 lsl r3, r7, r3
  2694. 590:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2695. 946 .loc 1 590 14 view .LVU283
  2696. 947 0298 1342 tst r3, r2
  2697. 948 029a ECD1 bne .L90
  2698. 593:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2699. 594:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  2700. 595:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2701. 596:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2702. 597:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2703. 598:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_PREDIV)
  2704. 599:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Configure the main PLL clock source, predivider and multiplication factor. */
  2705. 600:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_PLL_CONFIG(RCC_OscInitStruct->PLL.PLLSource,
  2706. 601:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PREDIV,
  2707. 602:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLMUL);
  2708. 603:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #else
  2709. 604:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Configure the main PLL clock source and multiplication factor. */
  2710. 605:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_PLL_CONFIG(RCC_OscInitStruct->PLL.PLLSource,
  2711. 949 .loc 1 605 7 is_stmt 1 view .LVU284
  2712. 950 029c D4E90813 ldrd r1, r3, [r4, #32]
  2713. 951 02a0 7268 ldr r2, [r6, #4]
  2714. 952 02a2 0B43 orrs r3, r3, r1
  2715. 953 02a4 22F47412 bic r2, r2, #3997696
  2716. 954 02a8 1343 orrs r3, r3, r2
  2717. 955 02aa 7360 str r3, [r6, #4]
  2718. 606:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLMUL);
  2719. 607:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #endif /* RCC_CFGR_PLLSRC_HSI_PREDIV */
  2720. 608:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Enable the main PLL. */
  2721. 609:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_PLL_ENABLE();
  2722. 956 .loc 1 609 9 view .LVU285
  2723. 957 .LVL59:
  2724. 958 .LBB240:
  2725. 959 .LBI240:
  2726. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2727. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 48
  2728. 960 .loc 2 981 31 view .LVU286
  2729. 961 .LBB241:
  2730. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2731. 962 .loc 2 983 3 view .LVU287
  2732. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2733. 963 .loc 2 988 4 view .LVU288
  2734. 964 02ac 4FF08073 mov r3, #16777216
  2735. 965 .syntax unified
  2736. 966 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2737. 967 02b0 93FAA3F3 rbit r3, r3
  2738. 968 @ 0 "" 2
  2739. 969 .LVL60:
  2740. 970 .loc 2 1001 3 view .LVU289
  2741. 971 .loc 2 1001 3 is_stmt 0 view .LVU290
  2742. 972 .thumb
  2743. 973 .syntax unified
  2744. 974 .LBE241:
  2745. 975 .LBE240:
  2746. 976 .loc 1 609 9 view .LVU291
  2747. 977 02b4 B3FA83F3 clz r3, r3
  2748. 978 02b8 03F18453 add r3, r3, #276824064
  2749. 979 02bc 03F58413 add r3, r3, #1081344
  2750. 980 02c0 9B00 lsls r3, r3, #2
  2751. 610:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2752. 611:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get Start Tick */
  2753. 612:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  2754. 613:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2755. 614:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Wait till PLL is ready */
  2756. 615:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET)
  2757. 981 .loc 1 615 15 view .LVU292
  2758. 982 02c2 104D ldr r5, .L176
  2759. 983 .LVL61:
  2760. 609:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2761. 984 .loc 1 609 9 view .LVU293
  2762. 985 02c4 1F60 str r7, [r3]
  2763. 612:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2764. 986 .loc 1 612 9 is_stmt 1 view .LVU294
  2765. 612:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2766. 987 .loc 1 612 21 is_stmt 0 view .LVU295
  2767. 988 02c6 FFF7FEFF bl HAL_GetTick
  2768. 989 .LVL62:
  2769. 990 .LBB242:
  2770. 991 .LBB243:
  2771. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2772. 992 .loc 2 988 4 view .LVU296
  2773. 993 02ca 4FF00077 mov r7, #33554432
  2774. 994 .LBE243:
  2775. 995 .LBE242:
  2776. 612:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2777. 996 .loc 1 612 21 view .LVU297
  2778. 997 02ce 0446 mov r4, r0
  2779. 998 .LVL63:
  2780. 999 .loc 1 615 9 is_stmt 1 view .LVU298
  2781. 1000 .loc 1 615 15 is_stmt 0 view .LVU299
  2782. 1001 02d0 0126 movs r6, #1
  2783. 1002 .loc 1 615 14 view .LVU300
  2784. 1003 02d2 05E0 b .L91
  2785. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 49
  2786. 1004 .LVL64:
  2787. 1005 .L92:
  2788. 616:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2789. 617:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE)
  2790. 1006 .loc 1 617 15 view .LVU301
  2791. 1007 02d4 FFF7FEFF bl HAL_GetTick
  2792. 1008 .LVL65:
  2793. 1009 .loc 1 617 29 view .LVU302
  2794. 1010 02d8 001B subs r0, r0, r4
  2795. 1011 .loc 1 617 13 view .LVU303
  2796. 1012 02da 0228 cmp r0, #2
  2797. 1013 02dc 00F2E480 bhi .L37
  2798. 1014 .L91:
  2799. 615:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2800. 1015 .loc 1 615 14 is_stmt 1 view .LVU304
  2801. 1016 .LVL66:
  2802. 1017 .LBB245:
  2803. 1018 .LBI242:
  2804. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2805. 1019 .loc 2 981 31 view .LVU305
  2806. 1020 .LBB244:
  2807. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2808. 1021 .loc 2 983 3 view .LVU306
  2809. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2810. 1022 .loc 2 988 4 view .LVU307
  2811. 1023 .syntax unified
  2812. 1024 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2813. 1025 02e0 97FAA7F3 rbit r3, r7
  2814. 1026 @ 0 "" 2
  2815. 1027 .LVL67:
  2816. 1028 .loc 2 1001 3 view .LVU308
  2817. 1029 .loc 2 1001 3 is_stmt 0 view .LVU309
  2818. 1030 .thumb
  2819. 1031 .syntax unified
  2820. 1032 .LBE244:
  2821. 1033 .LBE245:
  2822. 615:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2823. 1034 .loc 1 615 15 view .LVU310
  2824. 1035 02e4 2A68 ldr r2, [r5]
  2825. 1036 .LVL68:
  2826. 1037 .LBB246:
  2827. 1038 .LBI246:
  2828. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2829. 1039 .loc 2 981 31 is_stmt 1 view .LVU311
  2830. 1040 .LBB247:
  2831. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2832. 1041 .loc 2 983 3 view .LVU312
  2833. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2834. 1042 .loc 2 988 4 view .LVU313
  2835. 1043 .syntax unified
  2836. 1044 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2837. 1045 02e6 97FAA7F3 rbit r3, r7
  2838. 1046 @ 0 "" 2
  2839. 1047 .thumb
  2840. 1048 .syntax unified
  2841. 1049 .LBE247:
  2842. 1050 .LBE246:
  2843. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 50
  2844. 1051 .loc 1 617 11 view .LVU314
  2845. 1052 .LVL69:
  2846. 1053 .LBB249:
  2847. 1054 .LBB248:
  2848. 1055 .loc 2 1001 3 view .LVU315
  2849. 1056 .loc 2 1001 3 is_stmt 0 view .LVU316
  2850. 1057 .LBE248:
  2851. 1058 .LBE249:
  2852. 615:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2853. 1059 .loc 1 615 15 view .LVU317
  2854. 1060 02ea B3FA83F3 clz r3, r3
  2855. 1061 02ee 03F01F03 and r3, r3, #31
  2856. 1062 02f2 06FA03F3 lsl r3, r6, r3
  2857. 615:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2858. 1063 .loc 1 615 14 view .LVU318
  2859. 1064 02f6 1342 tst r3, r2
  2860. 1065 02f8 ECD0 beq .L92
  2861. 1066 .LVL70:
  2862. 1067 .L93:
  2863. 618:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2864. 619:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  2865. 620:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2866. 621:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2867. 622:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2868. 623:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  2869. 624:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2870. 625:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Disable the main PLL. */
  2871. 626:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_PLL_DISABLE();
  2872. 627:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2873. 628:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get Start Tick */
  2874. 629:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  2875. 630:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2876. 631:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Wait till PLL is disabled */
  2877. 632:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET)
  2878. 633:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2879. 634:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE)
  2880. 635:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2881. 636:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  2882. 637:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2883. 638:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2884. 639:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2885. 640:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2886. 641:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  2887. 642:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2888. 643:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check if there is a request to disable the PLL used as System clock source */
  2889. 644:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_OFF)
  2890. 645:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2891. 646:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_ERROR;
  2892. 647:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2893. 648:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  2894. 649:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2895. 650:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Do not return HAL_ERROR if request repeats the current configuration */
  2896. 651:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** pll_config = RCC->CFGR;
  2897. 652:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_PREDIV)
  2898. 653:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** pll_config2 = RCC->CFGR2;
  2899. 654:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((READ_BIT(pll_config, RCC_CFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) ||
  2900. 655:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMUL) != RCC_OscInitStruct->PLL.PLLMUL) ||
  2901. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 51
  2902. 656:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (READ_BIT(pll_config2, RCC_CFGR2_PREDIV) != RCC_OscInitStruct->PLL.PREDIV))
  2903. 657:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #else
  2904. 658:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((READ_BIT(pll_config, RCC_CFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) ||
  2905. 659:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMUL) != RCC_OscInitStruct->PLL.PLLMUL))
  2906. 660:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #endif
  2907. 661:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2908. 662:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_ERROR;
  2909. 663:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2910. 664:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2911. 665:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2912. 666:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2913. 667:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2914. 668:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_OK;
  2915. 1068 .loc 1 668 10 view .LVU319
  2916. 1069 02fa 0020 movs r0, #0
  2917. 1070 .L151:
  2918. 669:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  2919. 1071 .loc 1 669 1 view .LVU320
  2920. 1072 02fc 03B0 add sp, sp, #12
  2921. 1073 .LCFI3:
  2922. 1074 .cfi_remember_state
  2923. 1075 .cfi_def_cfa_offset 28
  2924. 1076 @ sp needed
  2925. 1077 02fe BDE8F083 pop {r4, r5, r6, r7, r8, r9, pc}
  2926. 1078 .L177:
  2927. 1079 0302 00BF .align 2
  2928. 1080 .L176:
  2929. 1081 0304 00100240 .word 1073876992
  2930. 1082 0308 20819010 .word 277905696
  2931. 1083 030c 00000000 .word .LC0
  2932. 1084 0310 00700040 .word 1073770496
  2933. 1085 .LVL71:
  2934. 1086 .L167:
  2935. 1087 .LCFI4:
  2936. 1088 .cfi_restore_state
  2937. 396:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2938. 1089 .loc 1 396 13 view .LVU321
  2939. 1090 0314 5A68 ldr r2, [r3, #4]
  2940. 1091 0316 02F00C02 and r2, r2, #12
  2941. 396:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2942. 1092 .loc 1 396 8 view .LVU322
  2943. 1093 031a 082A cmp r2, #8
  2944. 1094 031c 00F07681 beq .L175
  2945. 1095 .L43:
  2946. 413:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2947. 1096 .loc 1 413 7 is_stmt 1 view .LVU323
  2948. 413:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2949. 1097 .loc 1 413 9 is_stmt 0 view .LVU324
  2950. 1098 0320 2269 ldr r2, [r4, #16]
  2951. 1099 0322 002A cmp r2, #0
  2952. 1100 0324 00F02181 beq .L45
  2953. 416:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2954. 1101 .loc 1 416 9 is_stmt 1 view .LVU325
  2955. 1102 .LVL72:
  2956. 1103 .LBB250:
  2957. 1104 .LBI250:
  2958. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2959. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 52
  2960. 1105 .loc 2 981 31 view .LVU326
  2961. 1106 .LBB251:
  2962. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2963. 1107 .loc 2 983 3 view .LVU327
  2964. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2965. 1108 .loc 2 988 4 view .LVU328
  2966. 1109 0328 0125 movs r5, #1
  2967. 1110 .syntax unified
  2968. 1111 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2969. 1112 032a 95FAA5F3 rbit r3, r5
  2970. 1113 @ 0 "" 2
  2971. 1114 .LVL73:
  2972. 1115 .loc 2 1001 3 view .LVU329
  2973. 1116 .loc 2 1001 3 is_stmt 0 view .LVU330
  2974. 1117 .thumb
  2975. 1118 .syntax unified
  2976. 1119 .LBE251:
  2977. 1120 .LBE250:
  2978. 416:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2979. 1121 .loc 1 416 9 view .LVU331
  2980. 1122 032e B3FA83F3 clz r3, r3
  2981. 1123 0332 03F18453 add r3, r3, #276824064
  2982. 1124 0336 03F58413 add r3, r3, #1081344
  2983. 1125 033a 9B00 lsls r3, r3, #2
  2984. 422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  2985. 1126 .loc 1 422 15 view .LVU332
  2986. 1127 033c B64F ldr r7, .L178
  2987. 416:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2988. 1128 .loc 1 416 9 view .LVU333
  2989. 1129 033e 1D60 str r5, [r3]
  2990. 419:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2991. 1130 .loc 1 419 9 is_stmt 1 view .LVU334
  2992. 419:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  2993. 1131 .loc 1 419 21 is_stmt 0 view .LVU335
  2994. 1132 0340 FFF7FEFF bl HAL_GetTick
  2995. 1133 .LVL74:
  2996. 1134 .LBB252:
  2997. 1135 .LBB253:
  2998. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2999. 1136 .loc 2 988 4 view .LVU336
  3000. 1137 0344 4FF00208 mov r8, #2
  3001. 1138 .LBE253:
  3002. 1139 .LBE252:
  3003. 419:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3004. 1140 .loc 1 419 21 view .LVU337
  3005. 1141 0348 0646 mov r6, r0
  3006. 1142 .LVL75:
  3007. 422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3008. 1143 .loc 1 422 9 is_stmt 1 view .LVU338
  3009. 422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3010. 1144 .loc 1 422 14 is_stmt 0 view .LVU339
  3011. 1145 034a 05E0 b .L46
  3012. 1146 .LVL76:
  3013. 1147 .L47:
  3014. 424:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3015. 1148 .loc 1 424 15 view .LVU340
  3016. 1149 034c FFF7FEFF bl HAL_GetTick
  3017. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 53
  3018. 1150 .LVL77:
  3019. 424:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3020. 1151 .loc 1 424 29 view .LVU341
  3021. 1152 0350 801B subs r0, r0, r6
  3022. 424:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3023. 1153 .loc 1 424 13 view .LVU342
  3024. 1154 0352 0228 cmp r0, #2
  3025. 1155 0354 00F2A880 bhi .L37
  3026. 1156 .L46:
  3027. 422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3028. 1157 .loc 1 422 14 is_stmt 1 view .LVU343
  3029. 1158 .LVL78:
  3030. 1159 .LBB255:
  3031. 1160 .LBI252:
  3032. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3033. 1161 .loc 2 981 31 view .LVU344
  3034. 1162 .LBB254:
  3035. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3036. 1163 .loc 2 983 3 view .LVU345
  3037. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3038. 1164 .loc 2 988 4 view .LVU346
  3039. 1165 .syntax unified
  3040. 1166 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3041. 1167 0358 98FAA8F3 rbit r3, r8
  3042. 1168 @ 0 "" 2
  3043. 1169 .LVL79:
  3044. 1170 .loc 2 1001 3 view .LVU347
  3045. 1171 .loc 2 1001 3 is_stmt 0 view .LVU348
  3046. 1172 .thumb
  3047. 1173 .syntax unified
  3048. 1174 .LBE254:
  3049. 1175 .LBE255:
  3050. 422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3051. 1176 .loc 1 422 15 view .LVU349
  3052. 1177 035c 3A68 ldr r2, [r7]
  3053. 1178 .LVL80:
  3054. 1179 .LBB256:
  3055. 1180 .LBI256:
  3056. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3057. 1181 .loc 2 981 31 is_stmt 1 view .LVU350
  3058. 1182 .LBB257:
  3059. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3060. 1183 .loc 2 983 3 view .LVU351
  3061. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3062. 1184 .loc 2 988 4 view .LVU352
  3063. 1185 .syntax unified
  3064. 1186 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3065. 1187 035e 98FAA8F3 rbit r3, r8
  3066. 1188 @ 0 "" 2
  3067. 1189 .thumb
  3068. 1190 .syntax unified
  3069. 1191 .LBE257:
  3070. 1192 .LBE256:
  3071. 424:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3072. 1193 .loc 1 424 11 view .LVU353
  3073. 1194 .LVL81:
  3074. 1195 .LBB259:
  3075. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 54
  3076. 1196 .LBB258:
  3077. 1197 .loc 2 1001 3 view .LVU354
  3078. 1198 .loc 2 1001 3 is_stmt 0 view .LVU355
  3079. 1199 .LBE258:
  3080. 1200 .LBE259:
  3081. 422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3082. 1201 .loc 1 422 15 view .LVU356
  3083. 1202 0362 B3FA83F3 clz r3, r3
  3084. 1203 0366 03F01F03 and r3, r3, #31
  3085. 1204 036a 05FA03F3 lsl r3, r5, r3
  3086. 422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3087. 1205 .loc 1 422 14 view .LVU357
  3088. 1206 036e 1342 tst r3, r2
  3089. 1207 0370 ECD0 beq .L47
  3090. 431:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  3091. 1208 .loc 1 431 9 is_stmt 1 view .LVU358
  3092. 1209 0372 3968 ldr r1, [r7]
  3093. 1210 .LVL82:
  3094. 1211 .LBB260:
  3095. 1212 .LBI260:
  3096. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3097. 1213 .loc 2 981 31 view .LVU359
  3098. 1214 .LBB261:
  3099. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3100. 1215 .loc 2 983 3 view .LVU360
  3101. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3102. 1216 .loc 2 988 4 view .LVU361
  3103. 1217 0374 F822 movs r2, #248
  3104. 1218 .syntax unified
  3105. 1219 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3106. 1220 0376 92FAA2F2 rbit r2, r2
  3107. 1221 @ 0 "" 2
  3108. 1222 .LVL83:
  3109. 1223 .loc 2 1001 3 view .LVU362
  3110. 1224 .loc 2 1001 3 is_stmt 0 view .LVU363
  3111. 1225 .thumb
  3112. 1226 .syntax unified
  3113. 1227 .LBE261:
  3114. 1228 .LBE260:
  3115. 431:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  3116. 1229 .loc 1 431 9 view .LVU364
  3117. 1230 037a 6369 ldr r3, [r4, #20]
  3118. 1231 037c B2FA82F2 clz r2, r2
  3119. 1232 0380 9340 lsls r3, r3, r2
  3120. 1233 0382 21F0F802 bic r2, r1, #248
  3121. 1234 0386 1343 orrs r3, r3, r2
  3122. 1235 0388 3B60 str r3, [r7]
  3123. 453:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3124. 1236 .loc 1 453 25 view .LVU365
  3125. 1237 038a 2368 ldr r3, [r4]
  3126. 1238 038c C3E6 b .L39
  3127. 1239 .LVL84:
  3128. 1240 .L165:
  3129. 391:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_CALIBRATION_VALUE(RCC_OscInitStruct->HSICalibrationValue));
  3130. 1241 .loc 1 391 5 discriminator 1 view .LVU366
  3131. 1242 038e A348 ldr r0, .L178+4
  3132. 1243 0390 40F28711 movw r1, #391
  3133. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 55
  3134. 1244 0394 FFF7FEFF bl assert_failed
  3135. 1245 .LVL85:
  3136. 392:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3137. 1246 .loc 1 392 5 is_stmt 1 discriminator 1 view .LVU367
  3138. 1247 0398 6369 ldr r3, [r4, #20]
  3139. 1248 039a 1F2B cmp r3, #31
  3140. 1249 039c 7FF693AE bls .L41
  3141. 1250 .L166:
  3142. 392:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3143. 1251 .loc 1 392 5 is_stmt 0 discriminator 1 view .LVU368
  3144. 1252 03a0 9E48 ldr r0, .L178+4
  3145. 1253 03a2 4FF4C471 mov r1, #392
  3146. 1254 03a6 FFF7FEFF bl assert_failed
  3147. 1255 .LVL86:
  3148. 1256 03aa 8CE6 b .L41
  3149. 1257 .L169:
  3150. 462:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3151. 1258 .loc 1 462 7 is_stmt 1 view .LVU369
  3152. 1259 .LVL87:
  3153. 1260 .LBB262:
  3154. 1261 .LBI262:
  3155. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3156. 1262 .loc 2 981 31 view .LVU370
  3157. 1263 .LBB263:
  3158. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3159. 1264 .loc 2 983 3 view .LVU371
  3160. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3161. 1265 .loc 2 988 4 view .LVU372
  3162. 1266 03ac 0125 movs r5, #1
  3163. 1267 .syntax unified
  3164. 1268 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3165. 1269 03ae 95FAA5F2 rbit r2, r5
  3166. 1270 @ 0 "" 2
  3167. 1271 .LVL88:
  3168. 1272 .loc 2 1001 3 view .LVU373
  3169. 1273 .loc 2 1001 3 is_stmt 0 view .LVU374
  3170. 1274 .thumb
  3171. 1275 .syntax unified
  3172. 1276 .LBE263:
  3173. 1277 .LBE262:
  3174. 462:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3175. 1278 .loc 1 462 7 view .LVU375
  3176. 1279 03b2 9B4B ldr r3, .L178+8
  3177. 468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3178. 1280 .loc 1 468 13 view .LVU376
  3179. 1281 03b4 984F ldr r7, .L178
  3180. 462:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3181. 1282 .loc 1 462 7 view .LVU377
  3182. 1283 03b6 B2FA82F2 clz r2, r2
  3183. 1284 03ba 1344 add r3, r3, r2
  3184. 1285 03bc 9B00 lsls r3, r3, #2
  3185. 1286 .LBB264:
  3186. 1287 .LBB265:
  3187. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3188. 1288 .loc 2 988 4 view .LVU378
  3189. 1289 03be 4FF00208 mov r8, #2
  3190. 1290 .LBE265:
  3191. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 56
  3192. 1291 .LBE264:
  3193. 462:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3194. 1292 .loc 1 462 7 view .LVU379
  3195. 1293 03c2 1D60 str r5, [r3]
  3196. 465:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3197. 1294 .loc 1 465 7 is_stmt 1 view .LVU380
  3198. 465:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3199. 1295 .loc 1 465 19 is_stmt 0 view .LVU381
  3200. 1296 03c4 FFF7FEFF bl HAL_GetTick
  3201. 1297 .LVL89:
  3202. 1298 03c8 0646 mov r6, r0
  3203. 1299 .LVL90:
  3204. 468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3205. 1300 .loc 1 468 7 is_stmt 1 view .LVU382
  3206. 468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3207. 1301 .loc 1 468 12 is_stmt 0 view .LVU383
  3208. 1302 03ca 04E0 b .L54
  3209. 1303 .LVL91:
  3210. 1304 .L55:
  3211. 470:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3212. 1305 .loc 1 470 13 view .LVU384
  3213. 1306 03cc FFF7FEFF bl HAL_GetTick
  3214. 1307 .LVL92:
  3215. 470:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3216. 1308 .loc 1 470 27 view .LVU385
  3217. 1309 03d0 801B subs r0, r0, r6
  3218. 470:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3219. 1310 .loc 1 470 11 view .LVU386
  3220. 1311 03d2 0228 cmp r0, #2
  3221. 1312 03d4 68D8 bhi .L37
  3222. 1313 .L54:
  3223. 468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3224. 1314 .loc 1 468 12 is_stmt 1 view .LVU387
  3225. 1315 .LVL93:
  3226. 1316 .LBB267:
  3227. 1317 .LBI264:
  3228. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3229. 1318 .loc 2 981 31 view .LVU388
  3230. 1319 .LBB266:
  3231. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3232. 1320 .loc 2 983 3 view .LVU389
  3233. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3234. 1321 .loc 2 988 4 view .LVU390
  3235. 1322 .syntax unified
  3236. 1323 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3237. 1324 03d6 98FAA8F3 rbit r3, r8
  3238. 1325 @ 0 "" 2
  3239. 1326 .LVL94:
  3240. 1327 .loc 2 1001 3 view .LVU391
  3241. 1328 .loc 2 1001 3 is_stmt 0 view .LVU392
  3242. 1329 .thumb
  3243. 1330 .syntax unified
  3244. 1331 .LBE266:
  3245. 1332 .LBE267:
  3246. 1333 .LBB268:
  3247. 1334 .LBI268:
  3248. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3249. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 57
  3250. 1335 .loc 2 981 31 is_stmt 1 view .LVU393
  3251. 1336 .LBB269:
  3252. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3253. 1337 .loc 2 983 3 view .LVU394
  3254. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3255. 1338 .loc 2 988 4 view .LVU395
  3256. 1339 .syntax unified
  3257. 1340 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3258. 1341 03da 98FAA8F3 rbit r3, r8
  3259. 1342 @ 0 "" 2
  3260. 1343 .LVL95:
  3261. 1344 .loc 2 1001 3 view .LVU396
  3262. 1345 .loc 2 1001 3 is_stmt 0 view .LVU397
  3263. 1346 .thumb
  3264. 1347 .syntax unified
  3265. 1348 .LBE269:
  3266. 1349 .LBE268:
  3267. 1350 .LBB270:
  3268. 1351 .LBI270:
  3269. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3270. 1352 .loc 2 981 31 is_stmt 1 view .LVU398
  3271. 1353 .LBB271:
  3272. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3273. 1354 .loc 2 983 3 view .LVU399
  3274. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3275. 1355 .loc 2 988 4 view .LVU400
  3276. 1356 .syntax unified
  3277. 1357 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3278. 1358 03de 98FAA8F3 rbit r3, r8
  3279. 1359 @ 0 "" 2
  3280. 1360 .LVL96:
  3281. 1361 .loc 2 1001 3 view .LVU401
  3282. 1362 .loc 2 1001 3 is_stmt 0 view .LVU402
  3283. 1363 .thumb
  3284. 1364 .syntax unified
  3285. 1365 .LBE271:
  3286. 1366 .LBE270:
  3287. 468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3288. 1367 .loc 1 468 13 view .LVU403
  3289. 1368 03e2 7A6A ldr r2, [r7, #36]
  3290. 1369 .LVL97:
  3291. 1370 .LBB272:
  3292. 1371 .LBI272:
  3293. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3294. 1372 .loc 2 981 31 is_stmt 1 view .LVU404
  3295. 1373 .LBB273:
  3296. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3297. 1374 .loc 2 983 3 view .LVU405
  3298. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3299. 1375 .loc 2 988 4 view .LVU406
  3300. 1376 .syntax unified
  3301. 1377 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3302. 1378 03e4 98FAA8F3 rbit r3, r8
  3303. 1379 @ 0 "" 2
  3304. 1380 .thumb
  3305. 1381 .syntax unified
  3306. 1382 .LBE273:
  3307. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 58
  3308. 1383 .LBE272:
  3309. 470:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3310. 1384 .loc 1 470 9 view .LVU407
  3311. 1385 .LVL98:
  3312. 1386 .LBB275:
  3313. 1387 .LBB274:
  3314. 1388 .loc 2 1001 3 view .LVU408
  3315. 1389 .loc 2 1001 3 is_stmt 0 view .LVU409
  3316. 1390 .LBE274:
  3317. 1391 .LBE275:
  3318. 468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3319. 1392 .loc 1 468 13 view .LVU410
  3320. 1393 03e8 B3FA83F3 clz r3, r3
  3321. 1394 03ec 03F01F03 and r3, r3, #31
  3322. 1395 03f0 05FA03F3 lsl r3, r5, r3
  3323. 468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3324. 1396 .loc 1 468 12 view .LVU411
  3325. 1397 03f4 1342 tst r3, r2
  3326. 1398 03f6 E9D0 beq .L55
  3327. 1399 03f8 BDE6 b .L157
  3328. 1400 .LVL99:
  3329. 1401 .L168:
  3330. 456:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3331. 1402 .loc 1 456 5 discriminator 1 view .LVU412
  3332. 1403 03fa 8848 ldr r0, .L178+4
  3333. 1404 03fc 4FF4E471 mov r1, #456
  3334. 1405 0400 FFF7FEFF bl assert_failed
  3335. 1406 .LVL100:
  3336. 459:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3337. 1407 .loc 1 459 25 discriminator 1 view .LVU413
  3338. 1408 0404 A369 ldr r3, [r4, #24]
  3339. 459:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3340. 1409 .loc 1 459 5 is_stmt 1 discriminator 1 view .LVU414
  3341. 459:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3342. 1410 .loc 1 459 7 is_stmt 0 discriminator 1 view .LVU415
  3343. 1411 0406 002B cmp r3, #0
  3344. 1412 0408 3FF48EAE beq .L53
  3345. 1413 040c CEE7 b .L169
  3346. 1414 .LVL101:
  3347. 1415 .L96:
  3348. 1416 .LBB276:
  3349. 497:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3350. 1417 .loc 1 497 22 view .LVU416
  3351. 1418 040e 4FF00008 mov r8, #0
  3352. 1419 0412 CDE6 b .L61
  3353. 1420 .LVL102:
  3354. 1421 .L174:
  3355. 497:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3356. 1422 .loc 1 497 22 view .LVU417
  3357. 1423 .LBE276:
  3358. 568:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if ((RCC_OscInitStruct->PLL.PLLState) != RCC_PLL_NONE)
  3359. 1424 .loc 1 568 3 discriminator 1 view .LVU418
  3360. 1425 0414 8148 ldr r0, .L178+4
  3361. 1426 0416 4FF40E71 mov r1, #568
  3362. 1427 041a FFF7FEFF bl assert_failed
  3363. 1428 .LVL103:
  3364. 569:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3365. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 59
  3366. 1429 .loc 1 569 30 discriminator 1 view .LVU419
  3367. 1430 041e E069 ldr r0, [r4, #28]
  3368. 569:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3369. 1431 .loc 1 569 3 is_stmt 1 discriminator 1 view .LVU420
  3370. 569:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3371. 1432 .loc 1 569 6 is_stmt 0 discriminator 1 view .LVU421
  3372. 1433 0420 0028 cmp r0, #0
  3373. 1434 0422 7FF4E9AE bne .L84
  3374. 1435 0426 68E7 b .L93
  3375. 1436 .L162:
  3376. 349:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3377. 1437 .loc 1 349 7 is_stmt 1 discriminator 1 view .LVU422
  3378. 1438 0428 7B4A ldr r2, .L178
  3379. 1439 042a 1368 ldr r3, [r2]
  3380. 1440 042c 43F48033 orr r3, r3, #65536
  3381. 1441 0430 1360 str r3, [r2]
  3382. 349:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3383. 1442 .loc 1 349 7 discriminator 1 view .LVU423
  3384. 353:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #endif /* RCC_CFGR_PLLSRC_HSI_DIV2 */
  3385. 1443 .loc 1 353 7 discriminator 1 view .LVU424
  3386. 1444 0432 D36A ldr r3, [r2, #44]
  3387. 1445 0434 A168 ldr r1, [r4, #8]
  3388. 1446 0436 23F00F03 bic r3, r3, #15
  3389. 1447 043a 0B43 orrs r3, r3, r1
  3390. 1448 043c D362 str r3, [r2, #44]
  3391. 357:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3392. 1449 .loc 1 357 7 discriminator 1 view .LVU425
  3393. 1450 .L30:
  3394. 360:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3395. 1451 .loc 1 360 9 view .LVU426
  3396. 360:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3397. 1452 .loc 1 360 21 is_stmt 0 view .LVU427
  3398. 1453 043e FFF7FEFF bl HAL_GetTick
  3399. 1454 .LVL104:
  3400. 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3401. 1455 .loc 1 363 15 view .LVU428
  3402. 1456 0442 754F ldr r7, .L178
  3403. 360:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3404. 1457 .loc 1 360 21 view .LVU429
  3405. 1458 0444 0546 mov r5, r0
  3406. 1459 .LVL105:
  3407. 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3408. 1460 .loc 1 363 9 is_stmt 1 view .LVU430
  3409. 1461 .LBB277:
  3410. 1462 .LBB278:
  3411. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3412. 1463 .loc 2 988 4 is_stmt 0 view .LVU431
  3413. 1464 0446 4FF40038 mov r8, #131072
  3414. 1465 .LBE278:
  3415. 1466 .LBE277:
  3416. 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3417. 1467 .loc 1 363 15 view .LVU432
  3418. 1468 044a 0126 movs r6, #1
  3419. 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3420. 1469 .loc 1 363 14 view .LVU433
  3421. 1470 044c 04E0 b .L35
  3422. 1471 .LVL106:
  3423. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 60
  3424. 1472 .L36:
  3425. 365:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3426. 1473 .loc 1 365 15 view .LVU434
  3427. 1474 044e FFF7FEFF bl HAL_GetTick
  3428. 1475 .LVL107:
  3429. 365:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3430. 1476 .loc 1 365 29 view .LVU435
  3431. 1477 0452 401B subs r0, r0, r5
  3432. 365:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3433. 1478 .loc 1 365 13 view .LVU436
  3434. 1479 0454 6428 cmp r0, #100
  3435. 1480 0456 27D8 bhi .L37
  3436. 1481 .L35:
  3437. 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3438. 1482 .loc 1 363 14 is_stmt 1 view .LVU437
  3439. 1483 .LVL108:
  3440. 1484 .LBB280:
  3441. 1485 .LBI277:
  3442. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3443. 1486 .loc 2 981 31 view .LVU438
  3444. 1487 .LBB279:
  3445. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3446. 1488 .loc 2 983 3 view .LVU439
  3447. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3448. 1489 .loc 2 988 4 view .LVU440
  3449. 1490 .syntax unified
  3450. 1491 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3451. 1492 0458 98FAA8F3 rbit r3, r8
  3452. 1493 @ 0 "" 2
  3453. 1494 .LVL109:
  3454. 1495 .loc 2 1001 3 view .LVU441
  3455. 1496 .loc 2 1001 3 is_stmt 0 view .LVU442
  3456. 1497 .thumb
  3457. 1498 .syntax unified
  3458. 1499 .LBE279:
  3459. 1500 .LBE280:
  3460. 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3461. 1501 .loc 1 363 15 view .LVU443
  3462. 1502 045c 3A68 ldr r2, [r7]
  3463. 1503 .LVL110:
  3464. 1504 .LBB281:
  3465. 1505 .LBI281:
  3466. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3467. 1506 .loc 2 981 31 is_stmt 1 view .LVU444
  3468. 1507 .LBB282:
  3469. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3470. 1508 .loc 2 983 3 view .LVU445
  3471. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3472. 1509 .loc 2 988 4 view .LVU446
  3473. 1510 .syntax unified
  3474. 1511 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3475. 1512 045e 98FAA8F3 rbit r3, r8
  3476. 1513 @ 0 "" 2
  3477. 1514 .thumb
  3478. 1515 .syntax unified
  3479. 1516 .LBE282:
  3480. 1517 .LBE281:
  3481. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 61
  3482. 365:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3483. 1518 .loc 1 365 11 view .LVU447
  3484. 1519 .LVL111:
  3485. 1520 .LBB284:
  3486. 1521 .LBB283:
  3487. 1522 .loc 2 1001 3 view .LVU448
  3488. 1523 .loc 2 1001 3 is_stmt 0 view .LVU449
  3489. 1524 .LBE283:
  3490. 1525 .LBE284:
  3491. 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3492. 1526 .loc 1 363 15 view .LVU450
  3493. 1527 0462 B3FA83F3 clz r3, r3
  3494. 1528 0466 03F01F03 and r3, r3, #31
  3495. 1529 046a 06FA03F3 lsl r3, r6, r3
  3496. 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3497. 1530 .loc 1 363 14 view .LVU451
  3498. 1531 046e 1342 tst r3, r2
  3499. 1532 0470 EDD0 beq .L36
  3500. 1533 0472 1DE6 b .L156
  3501. 1534 .LVL112:
  3502. 1535 .L160:
  3503. 335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3504. 1536 .loc 1 335 5 discriminator 3 view .LVU452
  3505. 1537 0474 6948 ldr r0, .L178+4
  3506. 1538 0476 40F24F11 movw r1, #335
  3507. 1539 047a FFF7FEFF bl assert_failed
  3508. 1540 .LVL113:
  3509. 1541 047e D7E5 b .L23
  3510. 1542 .L98:
  3511. 646:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  3512. 1543 .loc 1 646 16 view .LVU453
  3513. 1544 0480 0120 movs r0, #1
  3514. 1545 .loc 1 669 1 view .LVU454
  3515. 1546 0482 03B0 add sp, sp, #12
  3516. 1547 .LCFI5:
  3517. 1548 .cfi_remember_state
  3518. 1549 .cfi_def_cfa_offset 28
  3519. 1550 @ sp needed
  3520. 1551 0484 BDE8F083 pop {r4, r5, r6, r7, r8, r9, pc}
  3521. 1552 .LVL114:
  3522. 1553 .L62:
  3523. 1554 .LCFI6:
  3524. 1555 .cfi_restore_state
  3525. 1556 .LBB285:
  3526. 513:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3527. 1557 .loc 1 513 7 is_stmt 1 view .LVU455
  3528. 1558 0488 2B68 ldr r3, [r5]
  3529. 1559 048a 43F48073 orr r3, r3, #256
  3530. 1560 048e 2B60 str r3, [r5]
  3531. 516:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3532. 1561 .loc 1 516 7 view .LVU456
  3533. 516:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3534. 1562 .loc 1 516 19 is_stmt 0 view .LVU457
  3535. 1563 0490 FFF7FEFF bl HAL_GetTick
  3536. 1564 .LVL115:
  3537. 1565 0494 0646 mov r6, r0
  3538. 1566 .LVL116:
  3539. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 62
  3540. 518:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3541. 1567 .loc 1 518 7 is_stmt 1 view .LVU458
  3542. 1568 .L65:
  3543. 520:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3544. 1569 .loc 1 520 9 view .LVU459
  3545. 518:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3546. 1570 .loc 1 518 12 view .LVU460
  3547. 518:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3548. 1571 .loc 1 518 13 is_stmt 0 view .LVU461
  3549. 1572 0496 2B68 ldr r3, [r5]
  3550. 518:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3551. 1573 .loc 1 518 12 view .LVU462
  3552. 1574 0498 DB05 lsls r3, r3, #23
  3553. 1575 049a 3FF58EAE bmi .L67
  3554. 520:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3555. 1576 .loc 1 520 13 view .LVU463
  3556. 1577 049e FFF7FEFF bl HAL_GetTick
  3557. 1578 .LVL117:
  3558. 520:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3559. 1579 .loc 1 520 27 view .LVU464
  3560. 1580 04a2 801B subs r0, r0, r6
  3561. 520:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3562. 1581 .loc 1 520 11 view .LVU465
  3563. 1582 04a4 6428 cmp r0, #100
  3564. 1583 04a6 F6D9 bls .L65
  3565. 1584 .LVL118:
  3566. 1585 .L37:
  3567. 520:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3568. 1586 .loc 1 520 11 view .LVU466
  3569. 1587 .LBE285:
  3570. 367:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  3571. 1588 .loc 1 367 20 view .LVU467
  3572. 1589 04a8 0320 movs r0, #3
  3573. 1590 .loc 1 669 1 view .LVU468
  3574. 1591 04aa 03B0 add sp, sp, #12
  3575. 1592 .LCFI7:
  3576. 1593 .cfi_remember_state
  3577. 1594 .cfi_def_cfa_offset 28
  3578. 1595 @ sp needed
  3579. 1596 04ac BDE8F083 pop {r4, r5, r6, r7, r8, r9, pc}
  3580. 1597 .LVL119:
  3581. 1598 .L159:
  3582. 1599 .LCFI8:
  3583. 1600 .cfi_restore_state
  3584. 329:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3585. 1601 .loc 1 329 3 discriminator 2 view .LVU469
  3586. 1602 04b0 5A48 ldr r0, .L178+4
  3587. 1603 .LVL120:
  3588. 329:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3589. 1604 .loc 1 329 3 discriminator 2 view .LVU470
  3590. 1605 04b2 40F24911 movw r1, #329
  3591. 1606 04b6 FFF7FEFF bl assert_failed
  3592. 1607 .LVL121:
  3593. 332:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3594. 1608 .loc 1 332 25 discriminator 2 view .LVU471
  3595. 1609 04ba 2368 ldr r3, [r4]
  3596. 1610 04bc AEE5 b .L21
  3597. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 63
  3598. 1611 .L163:
  3599. 349:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3600. 1612 .loc 1 349 7 is_stmt 1 discriminator 4 view .LVU472
  3601. 1613 04be 564D ldr r5, .L178
  3602. 1614 04c0 2B68 ldr r3, [r5]
  3603. 1615 04c2 23F48033 bic r3, r3, #65536
  3604. 1616 04c6 2B60 str r3, [r5]
  3605. 349:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3606. 1617 .loc 1 349 7 discriminator 4 view .LVU473
  3607. 1618 04c8 2B68 ldr r3, [r5]
  3608. 1619 04ca 23F48023 bic r3, r3, #262144
  3609. 1620 04ce 2B60 str r3, [r5]
  3610. 349:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3611. 1621 .loc 1 349 7 discriminator 4 view .LVU474
  3612. 353:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #endif /* RCC_CFGR_PLLSRC_HSI_DIV2 */
  3613. 1622 .loc 1 353 7 discriminator 4 view .LVU475
  3614. 1623 04d0 EB6A ldr r3, [r5, #44]
  3615. 1624 04d2 A268 ldr r2, [r4, #8]
  3616. 1625 04d4 23F00F03 bic r3, r3, #15
  3617. 1626 04d8 1343 orrs r3, r3, r2
  3618. 1627 04da EB62 str r3, [r5, #44]
  3619. 357:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3620. 1628 .loc 1 357 7 discriminator 4 view .LVU476
  3621. 374:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3622. 1629 .loc 1 374 9 discriminator 4 view .LVU477
  3623. 374:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3624. 1630 .loc 1 374 21 is_stmt 0 discriminator 4 view .LVU478
  3625. 1631 04dc FFF7FEFF bl HAL_GetTick
  3626. 1632 .LVL122:
  3627. 1633 .LBB286:
  3628. 1634 .LBB287:
  3629. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3630. 1635 .loc 2 988 4 discriminator 4 view .LVU479
  3631. 1636 04e0 4FF40038 mov r8, #131072
  3632. 1637 .LBE287:
  3633. 1638 .LBE286:
  3634. 374:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3635. 1639 .loc 1 374 21 discriminator 4 view .LVU480
  3636. 1640 04e4 0646 mov r6, r0
  3637. 1641 .LVL123:
  3638. 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3639. 1642 .loc 1 377 9 is_stmt 1 discriminator 4 view .LVU481
  3640. 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3641. 1643 .loc 1 377 15 is_stmt 0 discriminator 4 view .LVU482
  3642. 1644 04e6 0127 movs r7, #1
  3643. 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3644. 1645 .loc 1 377 14 discriminator 4 view .LVU483
  3645. 1646 04e8 04E0 b .L32
  3646. 1647 .LVL124:
  3647. 1648 .L38:
  3648. 379:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3649. 1649 .loc 1 379 16 view .LVU484
  3650. 1650 04ea FFF7FEFF bl HAL_GetTick
  3651. 1651 .LVL125:
  3652. 379:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3653. 1652 .loc 1 379 30 view .LVU485
  3654. 1653 04ee 801B subs r0, r0, r6
  3655. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 64
  3656. 379:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3657. 1654 .loc 1 379 14 view .LVU486
  3658. 1655 04f0 6428 cmp r0, #100
  3659. 1656 04f2 D9D8 bhi .L37
  3660. 1657 .L32:
  3661. 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3662. 1658 .loc 1 377 14 is_stmt 1 view .LVU487
  3663. 1659 .LVL126:
  3664. 1660 .LBB289:
  3665. 1661 .LBI286:
  3666. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3667. 1662 .loc 2 981 31 view .LVU488
  3668. 1663 .LBB288:
  3669. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3670. 1664 .loc 2 983 3 view .LVU489
  3671. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3672. 1665 .loc 2 988 4 view .LVU490
  3673. 1666 .syntax unified
  3674. 1667 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3675. 1668 04f4 98FAA8F3 rbit r3, r8
  3676. 1669 @ 0 "" 2
  3677. 1670 .LVL127:
  3678. 1671 .loc 2 1001 3 view .LVU491
  3679. 1672 .loc 2 1001 3 is_stmt 0 view .LVU492
  3680. 1673 .thumb
  3681. 1674 .syntax unified
  3682. 1675 .LBE288:
  3683. 1676 .LBE289:
  3684. 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3685. 1677 .loc 1 377 15 view .LVU493
  3686. 1678 04f8 2A68 ldr r2, [r5]
  3687. 1679 .LVL128:
  3688. 1680 .LBB290:
  3689. 1681 .LBI290:
  3690. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3691. 1682 .loc 2 981 31 is_stmt 1 view .LVU494
  3692. 1683 .LBB291:
  3693. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3694. 1684 .loc 2 983 3 view .LVU495
  3695. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3696. 1685 .loc 2 988 4 view .LVU496
  3697. 1686 .syntax unified
  3698. 1687 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3699. 1688 04fa 98FAA8F3 rbit r3, r8
  3700. 1689 @ 0 "" 2
  3701. 1690 .thumb
  3702. 1691 .syntax unified
  3703. 1692 .LBE291:
  3704. 1693 .LBE290:
  3705. 379:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3706. 1694 .loc 1 379 12 view .LVU497
  3707. 1695 .LVL129:
  3708. 1696 .LBB293:
  3709. 1697 .LBB292:
  3710. 1698 .loc 2 1001 3 view .LVU498
  3711. 1699 .loc 2 1001 3 is_stmt 0 view .LVU499
  3712. 1700 .LBE292:
  3713. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 65
  3714. 1701 .LBE293:
  3715. 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3716. 1702 .loc 1 377 15 view .LVU500
  3717. 1703 04fe B3FA83F3 clz r3, r3
  3718. 1704 0502 03F01F03 and r3, r3, #31
  3719. 1705 0506 07FA03F3 lsl r3, r7, r3
  3720. 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3721. 1706 .loc 1 377 14 view .LVU501
  3722. 1707 050a 1342 tst r3, r2
  3723. 1708 050c EDD1 bne .L38
  3724. 1709 050e CFE5 b .L156
  3725. 1710 .LVL130:
  3726. 1711 .L171:
  3727. 1712 .LBB294:
  3728. 528:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the LSE State */
  3729. 1713 .loc 1 528 5 is_stmt 1 discriminator 4 view .LVU502
  3730. 1714 0510 414D ldr r5, .L178
  3731. 1715 0512 2B6A ldr r3, [r5, #32]
  3732. 1716 0514 23F00103 bic r3, r3, #1
  3733. 1717 0518 2B62 str r3, [r5, #32]
  3734. 528:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the LSE State */
  3735. 1718 .loc 1 528 5 discriminator 4 view .LVU503
  3736. 1719 051a 2B6A ldr r3, [r5, #32]
  3737. 1720 051c 23F00403 bic r3, r3, #4
  3738. 1721 0520 2B62 str r3, [r5, #32]
  3739. 528:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the LSE State */
  3740. 1722 .loc 1 528 5 discriminator 4 view .LVU504
  3741. 530:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3742. 1723 .loc 1 530 5 discriminator 4 view .LVU505
  3743. 547:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3744. 1724 .loc 1 547 7 discriminator 4 view .LVU506
  3745. 547:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3746. 1725 .loc 1 547 19 is_stmt 0 discriminator 4 view .LVU507
  3747. 1726 0522 FFF7FEFF bl HAL_GetTick
  3748. 1727 .LVL131:
  3749. 1728 .LBB202:
  3750. 1729 .LBB203:
  3751. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3752. 1730 .loc 2 988 4 discriminator 4 view .LVU508
  3753. 1731 0526 4FF00209 mov r9, #2
  3754. 1732 .LBE203:
  3755. 1733 .LBE202:
  3756. 547:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3757. 1734 .loc 1 547 19 discriminator 4 view .LVU509
  3758. 1735 052a 0646 mov r6, r0
  3759. 1736 .LVL132:
  3760. 550:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3761. 1737 .loc 1 550 7 is_stmt 1 discriminator 4 view .LVU510
  3762. 550:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3763. 1738 .loc 1 550 13 is_stmt 0 discriminator 4 view .LVU511
  3764. 1739 052c 0127 movs r7, #1
  3765. 550:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3766. 1740 .loc 1 550 12 discriminator 4 view .LVU512
  3767. 1741 052e 14E0 b .L70
  3768. 1742 .LVL133:
  3769. 1743 .L79:
  3770. 1744 .LBB205:
  3771. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 66
  3772. 1745 .LBB206:
  3773. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3774. 1746 .loc 2 988 4 view .LVU513
  3775. 1747 .syntax unified
  3776. 1748 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3777. 1749 0530 99FAA9F3 rbit r3, r9
  3778. 1750 @ 0 "" 2
  3779. 1751 .LVL134:
  3780. 1752 .loc 2 1001 3 is_stmt 1 view .LVU514
  3781. 1753 .loc 2 1001 3 is_stmt 0 view .LVU515
  3782. 1754 .thumb
  3783. 1755 .syntax unified
  3784. 1756 .LBE206:
  3785. 1757 .LBE205:
  3786. 550:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3787. 1758 .loc 1 550 13 view .LVU516
  3788. 1759 0534 6A6A ldr r2, [r5, #36]
  3789. 1760 .L80:
  3790. 1761 .LVL135:
  3791. 1762 .LBB208:
  3792. 1763 .LBI208:
  3793. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3794. 1764 .loc 2 981 31 is_stmt 1 discriminator 11 view .LVU517
  3795. 1765 .LBB209:
  3796. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3797. 1766 .loc 2 983 3 discriminator 11 view .LVU518
  3798. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3799. 1767 .loc 2 988 4 discriminator 11 view .LVU519
  3800. 1768 .syntax unified
  3801. 1769 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3802. 1770 0536 99FAA9F3 rbit r3, r9
  3803. 1771 @ 0 "" 2
  3804. 1772 .thumb
  3805. 1773 .syntax unified
  3806. 1774 .LBE209:
  3807. 1775 .LBE208:
  3808. 552:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3809. 1776 .loc 1 552 9 discriminator 11 view .LVU520
  3810. 1777 .LVL136:
  3811. 1778 .LBB211:
  3812. 1779 .LBB210:
  3813. 1780 .loc 2 1001 3 discriminator 11 view .LVU521
  3814. 1781 .loc 2 1001 3 is_stmt 0 discriminator 11 view .LVU522
  3815. 1782 .LBE210:
  3816. 1783 .LBE211:
  3817. 550:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3818. 1784 .loc 1 550 13 discriminator 11 view .LVU523
  3819. 1785 053a B3FA83F3 clz r3, r3
  3820. 1786 053e 03F01F03 and r3, r3, #31
  3821. 1787 0542 07FA03F3 lsl r3, r7, r3
  3822. 550:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3823. 1788 .loc 1 550 12 discriminator 11 view .LVU524
  3824. 1789 0546 1342 tst r3, r2
  3825. 1790 0548 3FF44BAE beq .L82
  3826. 552:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3827. 1791 .loc 1 552 13 view .LVU525
  3828. 1792 054c FFF7FEFF bl HAL_GetTick
  3829. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 67
  3830. 1793 .LVL137:
  3831. 552:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3832. 1794 .loc 1 552 11 view .LVU526
  3833. 1795 0550 41F28833 movw r3, #5000
  3834. 552:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3835. 1796 .loc 1 552 27 view .LVU527
  3836. 1797 0554 801B subs r0, r0, r6
  3837. 552:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3838. 1798 .loc 1 552 11 view .LVU528
  3839. 1799 0556 9842 cmp r0, r3
  3840. 1800 0558 A6D8 bhi .L37
  3841. 1801 .L70:
  3842. 550:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3843. 1802 .loc 1 550 12 is_stmt 1 view .LVU529
  3844. 1803 .LVL138:
  3845. 1804 .LBB212:
  3846. 1805 .LBI202:
  3847. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3848. 1806 .loc 2 981 31 view .LVU530
  3849. 1807 .LBB204:
  3850. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3851. 1808 .loc 2 983 3 view .LVU531
  3852. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3853. 1809 .loc 2 988 4 view .LVU532
  3854. 1810 .syntax unified
  3855. 1811 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3856. 1812 055a 99FAA9F3 rbit r3, r9
  3857. 1813 @ 0 "" 2
  3858. 1814 .LVL139:
  3859. 1815 .loc 2 1001 3 view .LVU533
  3860. 1816 .loc 2 1001 3 is_stmt 0 view .LVU534
  3861. 1817 .thumb
  3862. 1818 .syntax unified
  3863. 1819 .LBE204:
  3864. 1820 .LBE212:
  3865. 1821 .LBB213:
  3866. 1822 .LBI213:
  3867. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3868. 1823 .loc 2 981 31 is_stmt 1 view .LVU535
  3869. 1824 .LBB214:
  3870. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3871. 1825 .loc 2 983 3 view .LVU536
  3872. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3873. 1826 .loc 2 988 4 view .LVU537
  3874. 1827 .syntax unified
  3875. 1828 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3876. 1829 055e 99FAA9F3 rbit r3, r9
  3877. 1830 @ 0 "" 2
  3878. 1831 .LVL140:
  3879. 1832 .loc 2 1001 3 view .LVU538
  3880. 1833 .loc 2 1001 3 is_stmt 0 view .LVU539
  3881. 1834 .thumb
  3882. 1835 .syntax unified
  3883. 1836 .LBE214:
  3884. 1837 .LBE213:
  3885. 1838 .LBB215:
  3886. 1839 .LBI205:
  3887. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 68
  3888. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3889. 1840 .loc 2 981 31 is_stmt 1 view .LVU540
  3890. 1841 .LBB207:
  3891. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3892. 1842 .loc 2 983 3 view .LVU541
  3893. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3894. 1843 .loc 2 988 4 view .LVU542
  3895. 1844 .LBE207:
  3896. 1845 .LBE215:
  3897. 550:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3898. 1846 .loc 1 550 13 is_stmt 0 view .LVU543
  3899. 1847 0562 002B cmp r3, #0
  3900. 1848 0564 E4D0 beq .L79
  3901. 550:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3902. 1849 .loc 1 550 13 discriminator 4 view .LVU544
  3903. 1850 0566 2A6A ldr r2, [r5, #32]
  3904. 1851 0568 E5E7 b .L80
  3905. 1852 .LVL141:
  3906. 1853 .L45:
  3907. 550:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3908. 1854 .loc 1 550 13 discriminator 4 view .LVU545
  3909. 1855 .LBE294:
  3910. 436:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3911. 1856 .loc 1 436 9 is_stmt 1 view .LVU546
  3912. 1857 .LBB295:
  3913. 1858 .LBI295:
  3914. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3915. 1859 .loc 2 981 31 view .LVU547
  3916. 1860 .LBB296:
  3917. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3918. 1861 .loc 2 983 3 view .LVU548
  3919. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3920. 1862 .loc 2 988 4 view .LVU549
  3921. 1863 056a 0126 movs r6, #1
  3922. 1864 .syntax unified
  3923. 1865 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3924. 1866 056c 96FAA6F3 rbit r3, r6
  3925. 1867 @ 0 "" 2
  3926. 1868 .LVL142:
  3927. 1869 .loc 2 1001 3 view .LVU550
  3928. 1870 .loc 2 1001 3 is_stmt 0 view .LVU551
  3929. 1871 .thumb
  3930. 1872 .syntax unified
  3931. 1873 .LBE296:
  3932. 1874 .LBE295:
  3933. 436:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3934. 1875 .loc 1 436 9 view .LVU552
  3935. 1876 0570 B3FA83F3 clz r3, r3
  3936. 1877 0574 03F18453 add r3, r3, #276824064
  3937. 1878 0578 03F58413 add r3, r3, #1081344
  3938. 1879 057c 9B00 lsls r3, r3, #2
  3939. 442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3940. 1880 .loc 1 442 15 view .LVU553
  3941. 1881 057e 264F ldr r7, .L178
  3942. 436:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3943. 1882 .loc 1 436 9 view .LVU554
  3944. 1883 0580 1A60 str r2, [r3]
  3945. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 69
  3946. 439:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3947. 1884 .loc 1 439 9 is_stmt 1 view .LVU555
  3948. 439:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3949. 1885 .loc 1 439 21 is_stmt 0 view .LVU556
  3950. 1886 0582 FFF7FEFF bl HAL_GetTick
  3951. 1887 .LVL143:
  3952. 1888 .LBB297:
  3953. 1889 .LBB298:
  3954. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3955. 1890 .loc 2 988 4 view .LVU557
  3956. 1891 0586 4FF00208 mov r8, #2
  3957. 1892 .LBE298:
  3958. 1893 .LBE297:
  3959. 439:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  3960. 1894 .loc 1 439 21 view .LVU558
  3961. 1895 058a 0546 mov r5, r0
  3962. 1896 .LVL144:
  3963. 442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3964. 1897 .loc 1 442 9 is_stmt 1 view .LVU559
  3965. 442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3966. 1898 .loc 1 442 14 is_stmt 0 view .LVU560
  3967. 1899 058c 04E0 b .L48
  3968. 1900 .LVL145:
  3969. 1901 .L49:
  3970. 444:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3971. 1902 .loc 1 444 15 view .LVU561
  3972. 1903 058e FFF7FEFF bl HAL_GetTick
  3973. 1904 .LVL146:
  3974. 444:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3975. 1905 .loc 1 444 29 view .LVU562
  3976. 1906 0592 401B subs r0, r0, r5
  3977. 444:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3978. 1907 .loc 1 444 13 view .LVU563
  3979. 1908 0594 0228 cmp r0, #2
  3980. 1909 0596 87D8 bhi .L37
  3981. 1910 .L48:
  3982. 442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  3983. 1911 .loc 1 442 14 is_stmt 1 view .LVU564
  3984. 1912 .LVL147:
  3985. 1913 .LBB300:
  3986. 1914 .LBI297:
  3987. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3988. 1915 .loc 2 981 31 view .LVU565
  3989. 1916 .LBB299:
  3990. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3991. 1917 .loc 2 983 3 view .LVU566
  3992. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3993. 1918 .loc 2 988 4 view .LVU567
  3994. 1919 .syntax unified
  3995. 1920 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3996. 1921 0598 98FAA8F3 rbit r3, r8
  3997. 1922 @ 0 "" 2
  3998. 1923 .LVL148:
  3999. 1924 .loc 2 1001 3 view .LVU568
  4000. 1925 .loc 2 1001 3 is_stmt 0 view .LVU569
  4001. 1926 .thumb
  4002. 1927 .syntax unified
  4003. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 70
  4004. 1928 .LBE299:
  4005. 1929 .LBE300:
  4006. 442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4007. 1930 .loc 1 442 15 view .LVU570
  4008. 1931 059c 3A68 ldr r2, [r7]
  4009. 1932 .LVL149:
  4010. 1933 .LBB301:
  4011. 1934 .LBI301:
  4012. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4013. 1935 .loc 2 981 31 is_stmt 1 view .LVU571
  4014. 1936 .LBB302:
  4015. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4016. 1937 .loc 2 983 3 view .LVU572
  4017. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4018. 1938 .loc 2 988 4 view .LVU573
  4019. 1939 .syntax unified
  4020. 1940 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4021. 1941 059e 98FAA8F3 rbit r3, r8
  4022. 1942 @ 0 "" 2
  4023. 1943 .thumb
  4024. 1944 .syntax unified
  4025. 1945 .LBE302:
  4026. 1946 .LBE301:
  4027. 444:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4028. 1947 .loc 1 444 11 view .LVU574
  4029. 1948 .LVL150:
  4030. 1949 .LBB304:
  4031. 1950 .LBB303:
  4032. 1951 .loc 2 1001 3 view .LVU575
  4033. 1952 .loc 2 1001 3 is_stmt 0 view .LVU576
  4034. 1953 .LBE303:
  4035. 1954 .LBE304:
  4036. 442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4037. 1955 .loc 1 442 15 view .LVU577
  4038. 1956 05a2 B3FA83F3 clz r3, r3
  4039. 1957 05a6 03F01F03 and r3, r3, #31
  4040. 1958 05aa 06FA03F3 lsl r3, r6, r3
  4041. 442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4042. 1959 .loc 1 442 14 view .LVU578
  4043. 1960 05ae 1342 tst r3, r2
  4044. 1961 05b0 EDD1 bne .L49
  4045. 453:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4046. 1962 .loc 1 453 25 view .LVU579
  4047. 1963 05b2 2368 ldr r3, [r4]
  4048. 1964 05b4 AFE5 b .L39
  4049. 1965 .LVL151:
  4050. 1966 .L170:
  4051. 1967 .LBB305:
  4052. 528:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the LSE State */
  4053. 1968 .loc 1 528 5 is_stmt 1 discriminator 1 view .LVU580
  4054. 1969 05b6 184A ldr r2, .L178
  4055. 1970 05b8 136A ldr r3, [r2, #32]
  4056. 1971 05ba 43F00103 orr r3, r3, #1
  4057. 1972 05be 1362 str r3, [r2, #32]
  4058. 528:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the LSE State */
  4059. 1973 .loc 1 528 5 discriminator 1 view .LVU581
  4060. 530:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4061. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 71
  4062. 1974 .loc 1 530 5 discriminator 1 view .LVU582
  4063. 1975 .L68:
  4064. 533:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4065. 1976 .loc 1 533 7 view .LVU583
  4066. 533:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4067. 1977 .loc 1 533 19 is_stmt 0 view .LVU584
  4068. 1978 05c0 FFF7FEFF bl HAL_GetTick
  4069. 1979 .LVL152:
  4070. 536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4071. 1980 .loc 1 536 13 view .LVU585
  4072. 1981 05c4 144F ldr r7, .L178
  4073. 533:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4074. 1982 .loc 1 533 19 view .LVU586
  4075. 1983 05c6 0546 mov r5, r0
  4076. 1984 .LVL153:
  4077. 536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4078. 1985 .loc 1 536 7 is_stmt 1 view .LVU587
  4079. 1986 .LBB216:
  4080. 1987 .LBB217:
  4081. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4082. 1988 .loc 2 988 4 is_stmt 0 view .LVU588
  4083. 1989 05c8 4FF00209 mov r9, #2
  4084. 1990 .LBE217:
  4085. 1991 .LBE216:
  4086. 536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4087. 1992 .loc 1 536 13 view .LVU589
  4088. 1993 05cc 0126 movs r6, #1
  4089. 536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4090. 1994 .loc 1 536 12 view .LVU590
  4091. 1995 05ce 15E0 b .L73
  4092. 1996 .LVL154:
  4093. 1997 .L74:
  4094. 1998 .LBB219:
  4095. 1999 .LBB220:
  4096. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4097. 2000 .loc 2 988 4 view .LVU591
  4098. 2001 .syntax unified
  4099. 2002 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4100. 2003 05d0 99FAA9F3 rbit r3, r9
  4101. 2004 @ 0 "" 2
  4102. 2005 .LVL155:
  4103. 2006 .loc 2 1001 3 is_stmt 1 view .LVU592
  4104. 2007 .loc 2 1001 3 is_stmt 0 view .LVU593
  4105. 2008 .thumb
  4106. 2009 .syntax unified
  4107. 2010 .LBE220:
  4108. 2011 .LBE219:
  4109. 536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4110. 2012 .loc 1 536 13 view .LVU594
  4111. 2013 05d4 7A6A ldr r2, [r7, #36]
  4112. 2014 .L75:
  4113. 2015 .LVL156:
  4114. 2016 .LBB222:
  4115. 2017 .LBI222:
  4116. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4117. 2018 .loc 2 981 31 is_stmt 1 discriminator 11 view .LVU595
  4118. 2019 .LBB223:
  4119. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 72
  4120. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4121. 2020 .loc 2 983 3 discriminator 11 view .LVU596
  4122. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4123. 2021 .loc 2 988 4 discriminator 11 view .LVU597
  4124. 2022 .syntax unified
  4125. 2023 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4126. 2024 05d6 99FAA9F3 rbit r3, r9
  4127. 2025 @ 0 "" 2
  4128. 2026 .thumb
  4129. 2027 .syntax unified
  4130. 2028 .LBE223:
  4131. 2029 .LBE222:
  4132. 538:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4133. 2030 .loc 1 538 9 discriminator 11 view .LVU598
  4134. 2031 .LVL157:
  4135. 2032 .LBB225:
  4136. 2033 .LBB224:
  4137. 2034 .loc 2 1001 3 discriminator 11 view .LVU599
  4138. 2035 .loc 2 1001 3 is_stmt 0 discriminator 11 view .LVU600
  4139. 2036 .LBE224:
  4140. 2037 .LBE225:
  4141. 536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4142. 2038 .loc 1 536 13 discriminator 11 view .LVU601
  4143. 2039 05da B3FA83F3 clz r3, r3
  4144. 2040 05de 03F01F03 and r3, r3, #31
  4145. 2041 05e2 06FA03F3 lsl r3, r6, r3
  4146. 536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4147. 2042 .loc 1 536 12 discriminator 11 view .LVU602
  4148. 2043 05e6 1342 tst r3, r2
  4149. 2044 05e8 7FF4FBAD bne .L82
  4150. 538:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4151. 2045 .loc 1 538 13 view .LVU603
  4152. 2046 05ec FFF7FEFF bl HAL_GetTick
  4153. 2047 .LVL158:
  4154. 538:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4155. 2048 .loc 1 538 11 view .LVU604
  4156. 2049 05f0 41F28833 movw r3, #5000
  4157. 538:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4158. 2050 .loc 1 538 27 view .LVU605
  4159. 2051 05f4 401B subs r0, r0, r5
  4160. 538:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4161. 2052 .loc 1 538 11 view .LVU606
  4162. 2053 05f6 9842 cmp r0, r3
  4163. 2054 05f8 3FF656AF bhi .L37
  4164. 2055 .L73:
  4165. 536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4166. 2056 .loc 1 536 12 is_stmt 1 view .LVU607
  4167. 2057 .LVL159:
  4168. 2058 .LBB226:
  4169. 2059 .LBI216:
  4170. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4171. 2060 .loc 2 981 31 view .LVU608
  4172. 2061 .LBB218:
  4173. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4174. 2062 .loc 2 983 3 view .LVU609
  4175. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4176. 2063 .loc 2 988 4 view .LVU610
  4177. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 73
  4178. 2064 .syntax unified
  4179. 2065 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4180. 2066 05fc 99FAA9F3 rbit r3, r9
  4181. 2067 @ 0 "" 2
  4182. 2068 .LVL160:
  4183. 2069 .loc 2 1001 3 view .LVU611
  4184. 2070 .loc 2 1001 3 is_stmt 0 view .LVU612
  4185. 2071 .thumb
  4186. 2072 .syntax unified
  4187. 2073 .LBE218:
  4188. 2074 .LBE226:
  4189. 2075 .LBB227:
  4190. 2076 .LBI227:
  4191. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4192. 2077 .loc 2 981 31 is_stmt 1 view .LVU613
  4193. 2078 .LBB228:
  4194. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4195. 2079 .loc 2 983 3 view .LVU614
  4196. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4197. 2080 .loc 2 988 4 view .LVU615
  4198. 2081 .syntax unified
  4199. 2082 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4200. 2083 0600 99FAA9F3 rbit r3, r9
  4201. 2084 @ 0 "" 2
  4202. 2085 .LVL161:
  4203. 2086 .loc 2 1001 3 view .LVU616
  4204. 2087 .loc 2 1001 3 is_stmt 0 view .LVU617
  4205. 2088 .thumb
  4206. 2089 .syntax unified
  4207. 2090 .LBE228:
  4208. 2091 .LBE227:
  4209. 2092 .LBB229:
  4210. 2093 .LBI219:
  4211. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4212. 2094 .loc 2 981 31 is_stmt 1 view .LVU618
  4213. 2095 .LBB221:
  4214. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4215. 2096 .loc 2 983 3 view .LVU619
  4216. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4217. 2097 .loc 2 988 4 view .LVU620
  4218. 2098 .LBE221:
  4219. 2099 .LBE229:
  4220. 536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4221. 2100 .loc 1 536 13 is_stmt 0 view .LVU621
  4222. 2101 0604 002B cmp r3, #0
  4223. 2102 0606 E3D0 beq .L74
  4224. 536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4225. 2103 .loc 1 536 13 discriminator 4 view .LVU622
  4226. 2104 0608 3A6A ldr r2, [r7, #32]
  4227. 2105 060a E4E7 b .L75
  4228. 2106 .LVL162:
  4229. 2107 .L175:
  4230. 536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4231. 2108 .loc 1 536 13 discriminator 4 view .LVU623
  4232. 2109 .LBE305:
  4233. 396:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4234. 2110 .loc 1 396 82 discriminator 1 view .LVU624
  4235. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 74
  4236. 2111 060c 5B68 ldr r3, [r3, #4]
  4237. 396:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4238. 2112 .loc 1 396 78 discriminator 1 view .LVU625
  4239. 2113 060e DE03 lsls r6, r3, #15
  4240. 2114 0610 3FF586AE bmi .L43
  4241. 2115 0614 5DE5 b .L42
  4242. 2116 .L179:
  4243. 2117 0616 00BF .align 2
  4244. 2118 .L178:
  4245. 2119 0618 00100240 .word 1073876992
  4246. 2120 061c 00000000 .word .LC0
  4247. 2121 0620 20819010 .word 277905696
  4248. 2122 .L85:
  4249. 644:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4250. 2123 .loc 1 644 7 is_stmt 1 view .LVU626
  4251. 644:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4252. 2124 .loc 1 644 9 is_stmt 0 view .LVU627
  4253. 2125 0624 0128 cmp r0, #1
  4254. 2126 0626 3FF469AE beq .L151
  4255. 651:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_PREDIV)
  4256. 2127 .loc 1 651 9 is_stmt 1 view .LVU628
  4257. 651:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_PREDIV)
  4258. 2128 .loc 1 651 20 is_stmt 0 view .LVU629
  4259. 2129 062a 6B68 ldr r3, [r5, #4]
  4260. 2130 .LVL163:
  4261. 658:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMUL) != RCC_OscInitStruct->PLL.PLLMUL))
  4262. 2131 .loc 1 658 9 is_stmt 1 view .LVU630
  4263. 658:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMUL) != RCC_OscInitStruct->PLL.PLLMUL))
  4264. 2132 .loc 1 658 11 is_stmt 0 view .LVU631
  4265. 2133 062c 226A ldr r2, [r4, #32]
  4266. 658:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMUL) != RCC_OscInitStruct->PLL.PLLMUL))
  4267. 2134 .loc 1 658 13 view .LVU632
  4268. 2135 062e 03F48031 and r1, r3, #65536
  4269. 658:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMUL) != RCC_OscInitStruct->PLL.PLLMUL))
  4270. 2136 .loc 1 658 11 view .LVU633
  4271. 2137 0632 9142 cmp r1, r2
  4272. 2138 0634 7FF424AF bne .L98
  4273. 658:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMUL) != RCC_OscInitStruct->PLL.PLLMUL))
  4274. 2139 .loc 1 658 90 discriminator 1 view .LVU634
  4275. 2140 0638 606A ldr r0, [r4, #36]
  4276. 659:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #endif
  4277. 2141 .loc 1 659 13 discriminator 1 view .LVU635
  4278. 2142 063a 03F47013 and r3, r3, #3932160
  4279. 2143 .LVL164:
  4280. 668:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4281. 2144 .loc 1 668 10 discriminator 1 view .LVU636
  4282. 2145 063e 181A subs r0, r3, r0
  4283. 2146 0640 18BF it ne
  4284. 2147 0642 0120 movne r0, #1
  4285. 2148 0644 5AE6 b .L151
  4286. 2149 .LVL165:
  4287. 2150 .L173:
  4288. 2151 .LBB306:
  4289. 562:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4290. 2152 .loc 1 562 7 is_stmt 1 view .LVU637
  4291. 2153 0646 224A ldr r2, .L180
  4292. 2154 0648 D369 ldr r3, [r2, #28]
  4293. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 75
  4294. 2155 064a 23F08053 bic r3, r3, #268435456
  4295. 2156 064e D361 str r3, [r2, #28]
  4296. 2157 0650 CBE5 b .L59
  4297. 2158 .LVL166:
  4298. 2159 .L164:
  4299. 562:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4300. 2160 .loc 1 562 7 is_stmt 0 view .LVU638
  4301. 2161 .LBE306:
  4302. 349:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4303. 2162 .loc 1 349 7 is_stmt 1 discriminator 7 view .LVU639
  4304. 2163 0652 03F18043 add r3, r3, #1073741824
  4305. 2164 0656 A3F53C33 sub r3, r3, #192512
  4306. 2165 065a 1A68 ldr r2, [r3]
  4307. 2166 065c 42F48022 orr r2, r2, #262144
  4308. 2167 0660 1A60 str r2, [r3]
  4309. 349:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4310. 2168 .loc 1 349 7 discriminator 7 view .LVU640
  4311. 2169 0662 1A68 ldr r2, [r3]
  4312. 2170 0664 42F48032 orr r2, r2, #65536
  4313. 2171 0668 1A60 str r2, [r3]
  4314. 2172 066a 01E5 b .L34
  4315. 2173 .LVL167:
  4316. 2174 .L172:
  4317. 2175 .LBB307:
  4318. 528:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the LSE State */
  4319. 2176 .loc 1 528 5 discriminator 7 view .LVU641
  4320. 2177 066c 42F00402 orr r2, r2, #4
  4321. 2178 0670 1A62 str r2, [r3, #32]
  4322. 528:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the LSE State */
  4323. 2179 .loc 1 528 5 discriminator 7 view .LVU642
  4324. 2180 0672 1A6A ldr r2, [r3, #32]
  4325. 2181 0674 42F00102 orr r2, r2, #1
  4326. 2182 0678 1A62 str r2, [r3, #32]
  4327. 2183 067a A1E7 b .L68
  4328. 2184 .LVL168:
  4329. 2185 .L86:
  4330. 528:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the LSE State */
  4331. 2186 .loc 1 528 5 is_stmt 0 discriminator 7 view .LVU643
  4332. 2187 .LBE307:
  4333. 626:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4334. 2188 .loc 1 626 9 is_stmt 1 view .LVU644
  4335. 2189 .LBB308:
  4336. 2190 .LBI308:
  4337. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4338. 2191 .loc 2 981 31 view .LVU645
  4339. 2192 .LBB309:
  4340. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4341. 2193 .loc 2 983 3 view .LVU646
  4342. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4343. 2194 .loc 2 988 4 view .LVU647
  4344. 2195 067c 4FF08073 mov r3, #16777216
  4345. 2196 .syntax unified
  4346. 2197 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4347. 2198 0680 93FAA3F3 rbit r3, r3
  4348. 2199 @ 0 "" 2
  4349. 2200 .LVL169:
  4350. 2201 .loc 2 1001 3 view .LVU648
  4351. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 76
  4352. 2202 .loc 2 1001 3 is_stmt 0 view .LVU649
  4353. 2203 .thumb
  4354. 2204 .syntax unified
  4355. 2205 .LBE309:
  4356. 2206 .LBE308:
  4357. 626:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4358. 2207 .loc 1 626 9 view .LVU650
  4359. 2208 0684 B3FA83F3 clz r3, r3
  4360. 2209 0688 03F18453 add r3, r3, #276824064
  4361. 2210 068c 03F58413 add r3, r3, #1081344
  4362. 2211 0690 9B00 lsls r3, r3, #2
  4363. 2212 0692 0022 movs r2, #0
  4364. 2213 0694 1A60 str r2, [r3]
  4365. 629:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4366. 2214 .loc 1 629 9 is_stmt 1 view .LVU651
  4367. 629:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4368. 2215 .loc 1 629 21 is_stmt 0 view .LVU652
  4369. 2216 0696 FFF7FEFF bl HAL_GetTick
  4370. 2217 .LVL170:
  4371. 2218 .LBB310:
  4372. 2219 .LBB311:
  4373. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4374. 2220 .loc 2 988 4 view .LVU653
  4375. 2221 069a 4FF00077 mov r7, #33554432
  4376. 2222 .LBE311:
  4377. 2223 .LBE310:
  4378. 629:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4379. 2224 .loc 1 629 21 view .LVU654
  4380. 2225 069e 0446 mov r4, r0
  4381. 2226 .LVL171:
  4382. 632:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4383. 2227 .loc 1 632 9 is_stmt 1 view .LVU655
  4384. 632:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4385. 2228 .loc 1 632 15 is_stmt 0 view .LVU656
  4386. 2229 06a0 0126 movs r6, #1
  4387. 632:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4388. 2230 .loc 1 632 14 view .LVU657
  4389. 2231 06a2 05E0 b .L94
  4390. 2232 .LVL172:
  4391. 2233 .L95:
  4392. 634:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4393. 2234 .loc 1 634 15 view .LVU658
  4394. 2235 06a4 FFF7FEFF bl HAL_GetTick
  4395. 2236 .LVL173:
  4396. 634:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4397. 2237 .loc 1 634 29 view .LVU659
  4398. 2238 06a8 001B subs r0, r0, r4
  4399. 634:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4400. 2239 .loc 1 634 13 view .LVU660
  4401. 2240 06aa 0228 cmp r0, #2
  4402. 2241 06ac 3FF6FCAE bhi .L37
  4403. 2242 .L94:
  4404. 632:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4405. 2243 .loc 1 632 14 is_stmt 1 view .LVU661
  4406. 2244 .LVL174:
  4407. 2245 .LBB313:
  4408. 2246 .LBI310:
  4409. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 77
  4410. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4411. 2247 .loc 2 981 31 view .LVU662
  4412. 2248 .LBB312:
  4413. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4414. 2249 .loc 2 983 3 view .LVU663
  4415. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4416. 2250 .loc 2 988 4 view .LVU664
  4417. 2251 .syntax unified
  4418. 2252 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4419. 2253 06b0 97FAA7F3 rbit r3, r7
  4420. 2254 @ 0 "" 2
  4421. 2255 .LVL175:
  4422. 2256 .loc 2 1001 3 view .LVU665
  4423. 2257 .loc 2 1001 3 is_stmt 0 view .LVU666
  4424. 2258 .thumb
  4425. 2259 .syntax unified
  4426. 2260 .LBE312:
  4427. 2261 .LBE313:
  4428. 632:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4429. 2262 .loc 1 632 15 view .LVU667
  4430. 2263 06b4 2A68 ldr r2, [r5]
  4431. 2264 .LVL176:
  4432. 2265 .LBB314:
  4433. 2266 .LBI314:
  4434. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4435. 2267 .loc 2 981 31 is_stmt 1 view .LVU668
  4436. 2268 .LBB315:
  4437. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4438. 2269 .loc 2 983 3 view .LVU669
  4439. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4440. 2270 .loc 2 988 4 view .LVU670
  4441. 2271 .syntax unified
  4442. 2272 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4443. 2273 06b6 97FAA7F3 rbit r3, r7
  4444. 2274 @ 0 "" 2
  4445. 2275 .thumb
  4446. 2276 .syntax unified
  4447. 2277 .LBE315:
  4448. 2278 .LBE314:
  4449. 634:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4450. 2279 .loc 1 634 11 view .LVU671
  4451. 2280 .LVL177:
  4452. 2281 .LBB317:
  4453. 2282 .LBB316:
  4454. 2283 .loc 2 1001 3 view .LVU672
  4455. 2284 .loc 2 1001 3 is_stmt 0 view .LVU673
  4456. 2285 .LBE316:
  4457. 2286 .LBE317:
  4458. 632:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4459. 2287 .loc 1 632 15 view .LVU674
  4460. 2288 06ba B3FA83F3 clz r3, r3
  4461. 2289 06be 03F01F03 and r3, r3, #31
  4462. 2290 06c2 06FA03F3 lsl r3, r6, r3
  4463. 632:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4464. 2291 .loc 1 632 14 view .LVU675
  4465. 2292 06c6 1342 tst r3, r2
  4466. 2293 06c8 ECD1 bne .L95
  4467. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 78
  4468. 2294 06ca 16E6 b .L93
  4469. 2295 .LVL178:
  4470. 2296 .L158:
  4471. 2297 .LCFI9:
  4472. 2298 .cfi_def_cfa_offset 0
  4473. 2299 .cfi_restore 4
  4474. 2300 .cfi_restore 5
  4475. 2301 .cfi_restore 6
  4476. 2302 .cfi_restore 7
  4477. 2303 .cfi_restore 8
  4478. 2304 .cfi_restore 9
  4479. 2305 .cfi_restore 14
  4480. 325:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4481. 2306 .loc 1 325 12 view .LVU676
  4482. 2307 06cc 0120 movs r0, #1
  4483. 2308 .LVL179:
  4484. 2309 .loc 1 669 1 view .LVU677
  4485. 2310 06ce 7047 bx lr
  4486. 2311 .L181:
  4487. 2312 .align 2
  4488. 2313 .L180:
  4489. 2314 06d0 00100240 .word 1073876992
  4490. 2315 .cfi_endproc
  4491. 2316 .LFE131:
  4492. 2318 .section .text.HAL_RCC_MCOConfig,"ax",%progbits
  4493. 2319 .align 1
  4494. 2320 .p2align 2,,3
  4495. 2321 .global HAL_RCC_MCOConfig
  4496. 2322 .syntax unified
  4497. 2323 .thumb
  4498. 2324 .thumb_func
  4499. 2326 HAL_RCC_MCOConfig:
  4500. 2327 .LVL180:
  4501. 2328 .LFB133:
  4502. 670:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4503. 671:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  4504. 672:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief Initializes the CPU, AHB and APB buses clocks according to the specified
  4505. 673:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * parameters in the RCC_ClkInitStruct.
  4506. 674:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @param RCC_ClkInitStruct pointer to an RCC_OscInitTypeDef structure that
  4507. 675:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * contains the configuration information for the RCC peripheral.
  4508. 676:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @param FLatency FLASH Latency
  4509. 677:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * The value of this parameter depend on device used within the same series
  4510. 678:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note The SystemCoreClock CMSIS variable is used to store System Clock Frequency
  4511. 679:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * and updated by @ref HAL_RCC_GetHCLKFreq() function called within this function
  4512. 680:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *
  4513. 681:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note The HSI is used (enabled by hardware) as system clock source after
  4514. 682:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * start-up from Reset, wake-up from STOP and STANDBY mode, or in case
  4515. 683:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * of failure of the HSE used directly or indirectly as system clock
  4516. 684:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * (if the Clock Security System CSS is enabled).
  4517. 685:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *
  4518. 686:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note A switch from one clock source to another occurs only if the target
  4519. 687:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * clock source is ready (clock stable after start-up delay or PLL locked).
  4520. 688:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * If a clock source which is not yet ready is selected, the switch will
  4521. 689:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * occur when the clock source will be ready.
  4522. 690:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * You can use @ref HAL_RCC_GetClockConfig() function to know which clock is
  4523. 691:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * currently used as system clock source.
  4524. 692:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval HAL status
  4525. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 79
  4526. 693:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  4527. 694:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency)
  4528. 695:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4529. 696:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t tickstart = 0U;
  4530. 697:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4531. 698:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check Null pointer */
  4532. 699:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(RCC_ClkInitStruct == NULL)
  4533. 700:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4534. 701:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_ERROR;
  4535. 702:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4536. 703:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4537. 704:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the parameters */
  4538. 705:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_CLOCKTYPE(RCC_ClkInitStruct->ClockType));
  4539. 706:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_FLASH_LATENCY(FLatency));
  4540. 707:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4541. 708:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* To correctly read data from FLASH memory, the number of wait states (LATENCY)
  4542. 709:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** must be correctly programmed according to the frequency of the CPU clock
  4543. 710:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** (HCLK) of the device. */
  4544. 711:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4545. 712:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Increasing the number of wait states because of higher CPU frequency */
  4546. 713:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(FLatency > __HAL_FLASH_GET_LATENCY())
  4547. 714:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4548. 715:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */
  4549. 716:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_FLASH_SET_LATENCY(FLatency);
  4550. 717:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4551. 718:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check that the new number of wait states is taken into account to access the Flash
  4552. 719:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** memory by reading the FLASH_ACR register */
  4553. 720:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(__HAL_FLASH_GET_LATENCY() != FLatency)
  4554. 721:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4555. 722:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_ERROR;
  4556. 723:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4557. 724:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4558. 725:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4559. 726:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /*-------------------------- HCLK Configuration --------------------------*/
  4560. 727:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK)
  4561. 728:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4562. 729:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_HCLK(RCC_ClkInitStruct->AHBCLKDivider));
  4563. 730:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider);
  4564. 731:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4565. 732:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4566. 733:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /*------------------------- SYSCLK Configuration ---------------------------*/
  4567. 734:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK)
  4568. 735:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4569. 736:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource));
  4570. 737:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4571. 738:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* HSE is selected as System Clock Source */
  4572. 739:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE)
  4573. 740:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4574. 741:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the HSE ready flag */
  4575. 742:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET)
  4576. 743:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4577. 744:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_ERROR;
  4578. 745:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4579. 746:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4580. 747:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* PLL is selected as System Clock Source */
  4581. 748:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK)
  4582. 749:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4583. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 80
  4584. 750:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the PLL ready flag */
  4585. 751:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET)
  4586. 752:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4587. 753:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_ERROR;
  4588. 754:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4589. 755:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4590. 756:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* HSI is selected as System Clock Source */
  4591. 757:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  4592. 758:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4593. 759:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the HSI ready flag */
  4594. 760:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET)
  4595. 761:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4596. 762:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_ERROR;
  4597. 763:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4598. 764:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4599. 765:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4600. 766:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_SYSCLK_CONFIG(RCC_ClkInitStruct->SYSCLKSource);
  4601. 767:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4602. 768:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get Start Tick */
  4603. 769:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tickstart = HAL_GetTick();
  4604. 770:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4605. 771:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos))
  4606. 772:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4607. 773:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > CLOCKSWITCH_TIMEOUT_VALUE)
  4608. 774:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4609. 775:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_TIMEOUT;
  4610. 776:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4611. 777:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4612. 778:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4613. 779:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Decreasing the number of wait states because of lower CPU frequency */
  4614. 780:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(FLatency < __HAL_FLASH_GET_LATENCY())
  4615. 781:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4616. 782:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */
  4617. 783:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_FLASH_SET_LATENCY(FLatency);
  4618. 784:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4619. 785:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check that the new number of wait states is taken into account to access the Flash
  4620. 786:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** memory by reading the FLASH_ACR register */
  4621. 787:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(__HAL_FLASH_GET_LATENCY() != FLatency)
  4622. 788:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4623. 789:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_ERROR;
  4624. 790:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4625. 791:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4626. 792:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4627. 793:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /*-------------------------- PCLK1 Configuration ---------------------------*/
  4628. 794:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1)
  4629. 795:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4630. 796:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB1CLKDivider));
  4631. 797:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_ClkInitStruct->APB1CLKDivider);
  4632. 798:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4633. 799:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4634. 800:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /*-------------------------- PCLK2 Configuration ---------------------------*/
  4635. 801:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2)
  4636. 802:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4637. 803:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB2CLKDivider));
  4638. 804:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, ((RCC_ClkInitStruct->APB2CLKDivider) << 3U));
  4639. 805:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4640. 806:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4641. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 81
  4642. 807:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Update the SystemCoreClock global variable */
  4643. 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** SystemCoreClock = HAL_RCC_GetSysClockFreq() >> AHBPrescTable[(RCC->CFGR & RCC_CFGR_HPRE)>> RCC_CF
  4644. 809:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4645. 810:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Configure the source of time base considering new system clocks settings*/
  4646. 811:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** HAL_InitTick (uwTickPrio);
  4647. 812:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4648. 813:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return HAL_OK;
  4649. 814:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4650. 815:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4651. 816:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  4652. 817:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @}
  4653. 818:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  4654. 819:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4655. 820:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /** @defgroup RCC_Exported_Functions_Group2 Peripheral Control functions
  4656. 821:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief RCC clocks control functions
  4657. 822:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *
  4658. 823:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** @verbatim
  4659. 824:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** ===============================================================================
  4660. 825:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** ##### Peripheral Control functions #####
  4661. 826:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** ===============================================================================
  4662. 827:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** [..]
  4663. 828:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** This subsection provides a set of functions allowing to control the RCC Clocks
  4664. 829:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** frequencies.
  4665. 830:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4666. 831:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** @endverbatim
  4667. 832:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @{
  4668. 833:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  4669. 834:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4670. 835:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_MCOPRE)
  4671. 836:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  4672. 837:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief Selects the clock source to output on MCO pin.
  4673. 838:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note MCO pin should be configured in alternate function mode.
  4674. 839:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @param RCC_MCOx specifies the output direction for the clock source.
  4675. 840:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * This parameter can be one of the following values:
  4676. 841:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1 Clock source to output on MCO1 pin(PA8).
  4677. 842:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @param RCC_MCOSource specifies the clock source to output.
  4678. 843:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * This parameter can be one of the following values:
  4679. 844:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_NOCLOCK No clock selected
  4680. 845:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_SYSCLK System Clock selected as MCO clock
  4681. 846:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_HSI HSI selected as MCO clock
  4682. 847:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_HSE HSE selected as MCO clock
  4683. 848:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_LSI LSI selected as MCO clock
  4684. 849:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_LSE LSE selected as MCO clock
  4685. 850:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLLCLK PLLCLK selected as MCO clock
  4686. 851:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLLCLK_DIV2 PLLCLK Divided by 2 selected as MCO clock
  4687. 852:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @param RCC_MCODiv specifies the MCO DIV.
  4688. 853:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * This parameter can be one of the following values:
  4689. 854:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCODIV_1 no division applied to MCO clock
  4690. 855:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCODIV_2 division by 2 applied to MCO clock
  4691. 856:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCODIV_4 division by 4 applied to MCO clock
  4692. 857:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCODIV_8 division by 8 applied to MCO clock
  4693. 858:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCODIV_16 division by 16 applied to MCO clock
  4694. 859:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCODIV_32 division by 32 applied to MCO clock
  4695. 860:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCODIV_64 division by 64 applied to MCO clock
  4696. 861:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCODIV_128 division by 128 applied to MCO clock
  4697. 862:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval None
  4698. 863:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  4699. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 82
  4700. 864:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #else
  4701. 865:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  4702. 866:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief Selects the clock source to output on MCO pin.
  4703. 867:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note MCO pin should be configured in alternate function mode.
  4704. 868:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @param RCC_MCOx specifies the output direction for the clock source.
  4705. 869:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * This parameter can be one of the following values:
  4706. 870:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1 Clock source to output on MCO1 pin(PA8).
  4707. 871:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @param RCC_MCOSource specifies the clock source to output.
  4708. 872:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * This parameter can be one of the following values:
  4709. 873:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_NOCLOCK No clock selected as MCO clock
  4710. 874:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_SYSCLK System clock selected as MCO clock
  4711. 875:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_HSI HSI selected as MCO clock
  4712. 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_HSE HSE selected as MCO clock
  4713. 877:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_LSI LSI selected as MCO clock
  4714. 878:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_LSE LSE selected as MCO clock
  4715. 879:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLLCLK_DIV2 PLLCLK Divided by 2 selected as MCO clock
  4716. 880:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @param RCC_MCODiv specifies the MCO DIV.
  4717. 881:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * This parameter can be one of the following values:
  4718. 882:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @arg @ref RCC_MCODIV_1 no division applied to MCO clock
  4719. 883:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval None
  4720. 884:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  4721. 885:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #endif
  4722. 886:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** void HAL_RCC_MCOConfig(uint32_t RCC_MCOx, uint32_t RCC_MCOSource, uint32_t RCC_MCODiv)
  4723. 887:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4724. 2329 .loc 1 887 1 is_stmt 1 view -0
  4725. 2330 .cfi_startproc
  4726. 2331 @ args = 0, pretend = 0, frame = 24
  4727. 2332 @ frame_needed = 0, uses_anonymous_args = 0
  4728. 888:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** GPIO_InitTypeDef gpio;
  4729. 2333 .loc 1 888 3 view .LVU679
  4730. 889:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4731. 890:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the parameters */
  4732. 891:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_MCO(RCC_MCOx));
  4733. 2334 .loc 1 891 3 view .LVU680
  4734. 887:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** GPIO_InitTypeDef gpio;
  4735. 2335 .loc 1 887 1 is_stmt 0 view .LVU681
  4736. 2336 0000 30B5 push {r4, r5, lr}
  4737. 2337 .LCFI10:
  4738. 2338 .cfi_def_cfa_offset 12
  4739. 2339 .cfi_offset 4, -12
  4740. 2340 .cfi_offset 5, -8
  4741. 2341 .cfi_offset 14, -4
  4742. 2342 0002 0D46 mov r5, r1
  4743. 2343 0004 87B0 sub sp, sp, #28
  4744. 2344 .LCFI11:
  4745. 2345 .cfi_def_cfa_offset 40
  4746. 887:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** GPIO_InitTypeDef gpio;
  4747. 2346 .loc 1 887 1 view .LVU682
  4748. 2347 0006 1446 mov r4, r2
  4749. 2348 .loc 1 891 3 view .LVU683
  4750. 2349 0008 0028 cmp r0, #0
  4751. 2350 000a 36D1 bne .L205
  4752. 892:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_MCODIV(RCC_MCODiv));
  4753. 2351 .loc 1 892 3 is_stmt 1 view .LVU684
  4754. 2352 000c 002C cmp r4, #0
  4755. 2353 000e 3BD1 bne .L206
  4756. 2354 .LVL181:
  4757. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 83
  4758. 2355 .L184:
  4759. 893:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_MCO1SOURCE(RCC_MCOSource));
  4760. 2356 .loc 1 893 3 view .LVU685
  4761. 2357 0010 35F00073 bics r3, r5, #33554432
  4762. 2358 0014 11D0 beq .L185
  4763. 2359 .loc 1 893 3 is_stmt 0 discriminator 2 view .LVU686
  4764. 2360 0016 25F08063 bic r3, r5, #67108864
  4765. 2361 001a B3F1407F cmp r3, #50331648
  4766. 2362 001e 0CD0 beq .L185
  4767. 2363 .loc 1 893 3 discriminator 3 view .LVU687
  4768. 2364 0020 25F08073 bic r3, r5, #16777216
  4769. 2365 0024 B3F1806F cmp r3, #67108864
  4770. 2366 0028 07D0 beq .L185
  4771. 2367 .loc 1 893 3 discriminator 5 view .LVU688
  4772. 2368 002a B5F1C06F cmp r5, #100663296
  4773. 2369 002e 04D0 beq .L185
  4774. 2370 .loc 1 893 3 discriminator 7 view .LVU689
  4775. 2371 0030 1848 ldr r0, .L207
  4776. 2372 0032 40F27D31 movw r1, #893
  4777. 2373 0036 FFF7FEFF bl assert_failed
  4778. 2374 .LVL182:
  4779. 2375 .L185:
  4780. 894:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4781. 895:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Prevent unused argument(s) compilation warning */
  4782. 896:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** UNUSED(RCC_MCOx);
  4783. 2376 .loc 1 896 3 is_stmt 1 view .LVU690
  4784. 897:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4785. 898:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Configure the MCO1 pin in alternate function mode */
  4786. 899:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** gpio.Mode = GPIO_MODE_AF_PP;
  4787. 2377 .loc 1 899 3 view .LVU691
  4788. 900:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** gpio.Speed = GPIO_SPEED_FREQ_HIGH;
  4789. 2378 .loc 1 900 18 is_stmt 0 view .LVU692
  4790. 2379 003a 0322 movs r2, #3
  4791. 2380 .LBB318:
  4792. 901:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** gpio.Pull = GPIO_NOPULL;
  4793. 902:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** gpio.Pin = MCO1_PIN;
  4794. 903:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** gpio.Alternate = GPIO_AF0_MCO;
  4795. 904:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4796. 905:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* MCO1 Clock Enable */
  4797. 906:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MCO1_CLK_ENABLE();
  4798. 2381 .loc 1 906 3 view .LVU693
  4799. 2382 003c 164C ldr r4, .L207+4
  4800. 2383 .LVL183:
  4801. 2384 .loc 1 906 3 view .LVU694
  4802. 2385 .LBE318:
  4803. 900:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** gpio.Speed = GPIO_SPEED_FREQ_HIGH;
  4804. 2386 .loc 1 900 18 view .LVU695
  4805. 2387 003e 0492 str r2, [sp, #16]
  4806. 901:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** gpio.Pull = GPIO_NOPULL;
  4807. 2388 .loc 1 901 18 view .LVU696
  4808. 2389 0040 0023 movs r3, #0
  4809. 902:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** gpio.Alternate = GPIO_AF0_MCO;
  4810. 2390 .loc 1 902 18 view .LVU697
  4811. 2391 0042 4FF48072 mov r2, #256
  4812. 899:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** gpio.Speed = GPIO_SPEED_FREQ_HIGH;
  4813. 2392 .loc 1 899 18 view .LVU698
  4814. 2393 0046 0221 movs r1, #2
  4815. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 84
  4816. 2394 0048 0291 str r1, [sp, #8]
  4817. 900:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** gpio.Pull = GPIO_NOPULL;
  4818. 2395 .loc 1 900 3 is_stmt 1 view .LVU699
  4819. 901:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** gpio.Pin = MCO1_PIN;
  4820. 2396 .loc 1 901 3 view .LVU700
  4821. 901:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** gpio.Pin = MCO1_PIN;
  4822. 2397 .loc 1 901 18 is_stmt 0 view .LVU701
  4823. 2398 004a 0393 str r3, [sp, #12]
  4824. 902:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** gpio.Alternate = GPIO_AF0_MCO;
  4825. 2399 .loc 1 902 3 is_stmt 1 view .LVU702
  4826. 902:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** gpio.Alternate = GPIO_AF0_MCO;
  4827. 2400 .loc 1 902 18 is_stmt 0 view .LVU703
  4828. 2401 004c 0192 str r2, [sp, #4]
  4829. 903:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4830. 2402 .loc 1 903 3 is_stmt 1 view .LVU704
  4831. 903:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4832. 2403 .loc 1 903 18 is_stmt 0 view .LVU705
  4833. 2404 004e 0593 str r3, [sp, #20]
  4834. 2405 .loc 1 906 3 is_stmt 1 view .LVU706
  4835. 2406 .LBB319:
  4836. 2407 .loc 1 906 3 view .LVU707
  4837. 2408 .loc 1 906 3 view .LVU708
  4838. 2409 0050 6369 ldr r3, [r4, #20]
  4839. 2410 0052 43F40033 orr r3, r3, #131072
  4840. 2411 0056 6361 str r3, [r4, #20]
  4841. 2412 .loc 1 906 3 view .LVU709
  4842. 2413 0058 6369 ldr r3, [r4, #20]
  4843. 2414 005a 03F40033 and r3, r3, #131072
  4844. 2415 005e 0093 str r3, [sp]
  4845. 2416 .loc 1 906 3 view .LVU710
  4846. 2417 .LBE319:
  4847. 907:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4848. 908:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** HAL_GPIO_Init(MCO1_GPIO_PORT, &gpio);
  4849. 2418 .loc 1 908 3 is_stmt 0 view .LVU711
  4850. 2419 0060 01A9 add r1, sp, #4
  4851. 2420 0062 4FF09040 mov r0, #1207959552
  4852. 2421 .LBB320:
  4853. 906:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4854. 2422 .loc 1 906 3 view .LVU712
  4855. 2423 0066 009B ldr r3, [sp]
  4856. 2424 .LBE320:
  4857. 906:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4858. 2425 .loc 1 906 3 is_stmt 1 view .LVU713
  4859. 2426 .loc 1 908 3 view .LVU714
  4860. 2427 0068 FFF7FEFF bl HAL_GPIO_Init
  4861. 2428 .LVL184:
  4862. 909:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4863. 910:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Configure the MCO clock source */
  4864. 911:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_MCO1_CONFIG(RCC_MCOSource, RCC_MCODiv);
  4865. 2429 .loc 1 911 3 view .LVU715
  4866. 2430 006c 6368 ldr r3, [r4, #4]
  4867. 2431 006e 23F0E063 bic r3, r3, #117440512
  4868. 2432 0072 2B43 orrs r3, r3, r5
  4869. 2433 0074 6360 str r3, [r4, #4]
  4870. 912:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4871. 2434 .loc 1 912 1 is_stmt 0 view .LVU716
  4872. 2435 0076 07B0 add sp, sp, #28
  4873. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 85
  4874. 2436 .LCFI12:
  4875. 2437 .cfi_remember_state
  4876. 2438 .cfi_def_cfa_offset 12
  4877. 2439 @ sp needed
  4878. 2440 0078 30BD pop {r4, r5, pc}
  4879. 2441 .LVL185:
  4880. 2442 .L205:
  4881. 2443 .LCFI13:
  4882. 2444 .cfi_restore_state
  4883. 891:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_MCODIV(RCC_MCODiv));
  4884. 2445 .loc 1 891 3 discriminator 1 view .LVU717
  4885. 2446 007a 0648 ldr r0, .L207
  4886. 2447 .LVL186:
  4887. 891:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_MCODIV(RCC_MCODiv));
  4888. 2448 .loc 1 891 3 discriminator 1 view .LVU718
  4889. 2449 007c 40F27B31 movw r1, #891
  4890. 2450 .LVL187:
  4891. 891:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_MCODIV(RCC_MCODiv));
  4892. 2451 .loc 1 891 3 discriminator 1 view .LVU719
  4893. 2452 0080 FFF7FEFF bl assert_failed
  4894. 2453 .LVL188:
  4895. 892:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_RCC_MCO1SOURCE(RCC_MCOSource));
  4896. 2454 .loc 1 892 3 is_stmt 1 discriminator 1 view .LVU720
  4897. 2455 0084 002C cmp r4, #0
  4898. 2456 0086 C3D0 beq .L184
  4899. 2457 .L206:
  4900. 2458 0088 0248 ldr r0, .L207
  4901. 2459 008a 4FF45F71 mov r1, #892
  4902. 2460 008e FFF7FEFF bl assert_failed
  4903. 2461 .LVL189:
  4904. 2462 0092 BDE7 b .L184
  4905. 2463 .L208:
  4906. 2464 .align 2
  4907. 2465 .L207:
  4908. 2466 0094 00000000 .word .LC0
  4909. 2467 0098 00100240 .word 1073876992
  4910. 2468 .cfi_endproc
  4911. 2469 .LFE133:
  4912. 2471 .section .text.HAL_RCC_EnableCSS,"ax",%progbits
  4913. 2472 .align 1
  4914. 2473 .p2align 2,,3
  4915. 2474 .global HAL_RCC_EnableCSS
  4916. 2475 .syntax unified
  4917. 2476 .thumb
  4918. 2477 .thumb_func
  4919. 2479 HAL_RCC_EnableCSS:
  4920. 2480 .LFB134:
  4921. 913:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4922. 914:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  4923. 915:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief Enables the Clock Security System.
  4924. 916:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note If a failure is detected on the HSE oscillator clock, this oscillator
  4925. 917:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * is automatically disabled and an interrupt is generated to inform the
  4926. 918:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * software about the failure (Clock Security System Interrupt, CSSI),
  4927. 919:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * allowing the MCU to perform rescue operations. The CSSI is linked to
  4928. 920:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * the Cortex-M4 NMI (Non-Maskable Interrupt) exception vector.
  4929. 921:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval None
  4930. 922:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  4931. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 86
  4932. 923:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** void HAL_RCC_EnableCSS(void)
  4933. 924:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4934. 2481 .loc 1 924 1 view -0
  4935. 2482 .cfi_startproc
  4936. 2483 @ args = 0, pretend = 0, frame = 0
  4937. 2484 @ frame_needed = 0, uses_anonymous_args = 0
  4938. 2485 @ link register save eliminated.
  4939. 925:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *(__IO uint32_t *) RCC_CR_CSSON_BB = (uint32_t)ENABLE;
  4940. 2486 .loc 1 925 3 view .LVU722
  4941. 2487 .LVL190:
  4942. 2488 .LBB321:
  4943. 2489 .LBI321:
  4944. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4945. 2490 .loc 2 981 31 view .LVU723
  4946. 2491 .LBB322:
  4947. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4948. 2492 .loc 2 983 3 view .LVU724
  4949. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4950. 2493 .loc 2 988 4 view .LVU725
  4951. 2494 0000 4FF40023 mov r3, #524288
  4952. 2495 .syntax unified
  4953. 2496 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4954. 2497 0004 93FAA3F3 rbit r3, r3
  4955. 2498 @ 0 "" 2
  4956. 2499 .LVL191:
  4957. 2500 .loc 2 1001 3 view .LVU726
  4958. 2501 .loc 2 1001 3 is_stmt 0 view .LVU727
  4959. 2502 .thumb
  4960. 2503 .syntax unified
  4961. 2504 .LBE322:
  4962. 2505 .LBE321:
  4963. 2506 .loc 1 925 22 view .LVU728
  4964. 2507 0008 B3FA83F3 clz r3, r3
  4965. 2508 000c 03F18453 add r3, r3, #276824064
  4966. 2509 0010 03F58413 add r3, r3, #1081344
  4967. 2510 0014 9B00 lsls r3, r3, #2
  4968. 2511 .loc 1 925 38 view .LVU729
  4969. 2512 0016 0122 movs r2, #1
  4970. 2513 0018 1A60 str r2, [r3]
  4971. 926:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  4972. 2514 .loc 1 926 1 view .LVU730
  4973. 2515 001a 7047 bx lr
  4974. 2516 .cfi_endproc
  4975. 2517 .LFE134:
  4976. 2519 .section .text.HAL_RCC_DisableCSS,"ax",%progbits
  4977. 2520 .align 1
  4978. 2521 .p2align 2,,3
  4979. 2522 .global HAL_RCC_DisableCSS
  4980. 2523 .syntax unified
  4981. 2524 .thumb
  4982. 2525 .thumb_func
  4983. 2527 HAL_RCC_DisableCSS:
  4984. 2528 .LFB135:
  4985. 927:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  4986. 928:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  4987. 929:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief Disables the Clock Security System.
  4988. 930:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval None
  4989. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 87
  4990. 931:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  4991. 932:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** void HAL_RCC_DisableCSS(void)
  4992. 933:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  4993. 2529 .loc 1 933 1 is_stmt 1 view -0
  4994. 2530 .cfi_startproc
  4995. 2531 @ args = 0, pretend = 0, frame = 0
  4996. 2532 @ frame_needed = 0, uses_anonymous_args = 0
  4997. 2533 @ link register save eliminated.
  4998. 934:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *(__IO uint32_t *) RCC_CR_CSSON_BB = (uint32_t)DISABLE;
  4999. 2534 .loc 1 934 3 view .LVU732
  5000. 2535 .LVL192:
  5001. 2536 .LBB323:
  5002. 2537 .LBI323:
  5003. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  5004. 2538 .loc 2 981 31 view .LVU733
  5005. 2539 .LBB324:
  5006. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  5007. 2540 .loc 2 983 3 view .LVU734
  5008. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  5009. 2541 .loc 2 988 4 view .LVU735
  5010. 2542 0000 4FF40023 mov r3, #524288
  5011. 2543 .syntax unified
  5012. 2544 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  5013. 2545 0004 93FAA3F3 rbit r3, r3
  5014. 2546 @ 0 "" 2
  5015. 2547 .LVL193:
  5016. 2548 .loc 2 1001 3 view .LVU736
  5017. 2549 .loc 2 1001 3 is_stmt 0 view .LVU737
  5018. 2550 .thumb
  5019. 2551 .syntax unified
  5020. 2552 .LBE324:
  5021. 2553 .LBE323:
  5022. 2554 .loc 1 934 22 view .LVU738
  5023. 2555 0008 B3FA83F3 clz r3, r3
  5024. 2556 000c 03F18453 add r3, r3, #276824064
  5025. 2557 0010 03F58413 add r3, r3, #1081344
  5026. 2558 0014 9B00 lsls r3, r3, #2
  5027. 2559 .loc 1 934 38 view .LVU739
  5028. 2560 0016 0022 movs r2, #0
  5029. 2561 0018 1A60 str r2, [r3]
  5030. 935:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5031. 2562 .loc 1 935 1 view .LVU740
  5032. 2563 001a 7047 bx lr
  5033. 2564 .cfi_endproc
  5034. 2565 .LFE135:
  5035. 2567 .section .text.HAL_RCC_GetSysClockFreq,"ax",%progbits
  5036. 2568 .align 1
  5037. 2569 .p2align 2,,3
  5038. 2570 .global HAL_RCC_GetSysClockFreq
  5039. 2571 .syntax unified
  5040. 2572 .thumb
  5041. 2573 .thumb_func
  5042. 2575 HAL_RCC_GetSysClockFreq:
  5043. 2576 .LFB136:
  5044. 936:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5045. 937:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  5046. 938:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief Returns the SYSCLK frequency
  5047. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 88
  5048. 939:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note The system frequency computed by this function is not the real
  5049. 940:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * frequency in the chip. It is calculated based on the predefined
  5050. 941:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * constant and the selected clock source:
  5051. 942:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note If SYSCLK source is HSI, function returns values based on HSI_VALUE(*)
  5052. 943:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note If SYSCLK source is HSE, function returns a value based on HSE_VALUE
  5053. 944:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * divided by PREDIV factor(**)
  5054. 945:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note If SYSCLK source is PLL, function returns a value based on HSE_VALUE
  5055. 946:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * divided by PREDIV factor(**) or HSI_VALUE(*) multiplied by the PLL factor.
  5056. 947:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note (*) HSI_VALUE is a constant defined in stm32f3xx_hal_conf.h file (default value
  5057. 948:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * 8 MHz) but the real value may vary depending on the variations
  5058. 949:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * in voltage and temperature.
  5059. 950:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note (**) HSE_VALUE is a constant defined in stm32f3xx_hal_conf.h file (default value
  5060. 951:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * 8 MHz), user has to ensure that HSE_VALUE is same as the real
  5061. 952:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * frequency of the crystal used. Otherwise, this function may
  5062. 953:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * have wrong result.
  5063. 954:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *
  5064. 955:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note The result of this function could be not correct when using fractional
  5065. 956:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * value for HSE crystal.
  5066. 957:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *
  5067. 958:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note This function can be used by the user application to compute the
  5068. 959:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * baud-rate for the communication peripherals or configure other parameters.
  5069. 960:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *
  5070. 961:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note Each time SYSCLK changes, this function must be called to update the
  5071. 962:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * right SYSCLK value. Otherwise, any configuration based on this function will be incorre
  5072. 963:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *
  5073. 964:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval SYSCLK frequency
  5074. 965:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  5075. 966:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t HAL_RCC_GetSysClockFreq(void)
  5076. 967:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5077. 2577 .loc 1 967 1 is_stmt 1 view -0
  5078. 2578 .cfi_startproc
  5079. 2579 @ args = 0, pretend = 0, frame = 0
  5080. 2580 @ frame_needed = 0, uses_anonymous_args = 0
  5081. 2581 @ link register save eliminated.
  5082. 968:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t tmpreg = 0U, prediv = 0U, pllclk = 0U, pllmul = 0U;
  5083. 2582 .loc 1 968 3 view .LVU742
  5084. 2583 .LVL194:
  5085. 969:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t sysclockfreq = 0U;
  5086. 2584 .loc 1 969 3 view .LVU743
  5087. 970:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5088. 971:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** tmpreg = RCC->CFGR;
  5089. 2585 .loc 1 971 3 view .LVU744
  5090. 2586 .loc 1 971 10 is_stmt 0 view .LVU745
  5091. 2587 0000 0E4A ldr r2, .L220
  5092. 2588 0002 5368 ldr r3, [r2, #4]
  5093. 2589 .LVL195:
  5094. 972:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5095. 973:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get SYSCLK source -------------------------------------------------------*/
  5096. 974:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** switch (tmpreg & RCC_CFGR_SWS)
  5097. 2590 .loc 1 974 3 is_stmt 1 view .LVU746
  5098. 2591 .loc 1 974 18 is_stmt 0 view .LVU747
  5099. 2592 0004 03F00C01 and r1, r3, #12
  5100. 2593 .loc 1 974 3 view .LVU748
  5101. 2594 0008 0829 cmp r1, #8
  5102. 2595 000a 01D0 beq .L219
  5103. 975:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5104. 976:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** case RCC_SYSCLKSOURCE_STATUS_HSE: /* HSE used as system clock */
  5105. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 89
  5106. 977:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5107. 978:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** sysclockfreq = HSE_VALUE;
  5108. 2596 .loc 1 978 20 view .LVU749
  5109. 2597 000c 0C48 ldr r0, .L220+4
  5110. 2598 .LVL196:
  5111. 979:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** break;
  5112. 980:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5113. 981:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** case RCC_SYSCLKSOURCE_STATUS_PLLCLK: /* PLL used as system clock */
  5114. 982:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5115. 983:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** pllmul = aPLLMULFactorTable[(uint32_t)(tmpreg & RCC_CFGR_PLLMUL) >> RCC_CFGR_PLLMUL_Pos];
  5116. 984:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV) >> RCC_CFGR2_PREDIV_Pos
  5117. 985:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_DIV2)
  5118. 986:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if ((tmpreg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI)
  5119. 987:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5120. 988:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* HSE used as PLL clock source : PLLCLK = HSE/PREDIV * PLLMUL */
  5121. 989:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** pllclk = (uint32_t)((uint64_t) HSE_VALUE / (uint64_t) (prediv)) * ((uint64_t) pllmul);
  5122. 990:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5123. 991:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  5124. 992:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5125. 993:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* HSI used as PLL clock source : PLLCLK = HSI/2 * PLLMUL */
  5126. 994:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** pllclk = (uint32_t)((uint64_t) (HSI_VALUE >> 1U) * ((uint64_t) pllmul));
  5127. 995:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5128. 996:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #else
  5129. 997:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if ((tmpreg & RCC_CFGR_PLLSRC_HSE_PREDIV) == RCC_CFGR_PLLSRC_HSE_PREDIV)
  5130. 998:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5131. 999:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* HSE used as PLL clock source : PLLCLK = HSE/PREDIV * PLLMUL */
  5132. 1000:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** pllclk = (uint32_t)((uint64_t) HSE_VALUE / (uint64_t) (prediv)) * ((uint64_t) pllmul);
  5133. 1001:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5134. 1002:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  5135. 1003:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5136. 1004:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* HSI used as PLL clock source : PLLCLK = HSI/PREDIV * PLLMUL */
  5137. 1005:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** pllclk = (uint32_t)((uint64_t) HSI_VALUE / (uint64_t) (prediv)) * ((uint64_t) pllmul);
  5138. 1006:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5139. 1007:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #endif /* RCC_CFGR_PLLSRC_HSI_DIV2 */
  5140. 1008:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** sysclockfreq = pllclk;
  5141. 1009:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** break;
  5142. 1010:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5143. 1011:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** case RCC_SYSCLKSOURCE_STATUS_HSI: /* HSI used as system clock source */
  5144. 1012:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** default: /* HSI used as system clock */
  5145. 1013:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5146. 1014:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** sysclockfreq = HSI_VALUE;
  5147. 1015:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** break;
  5148. 1016:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5149. 1017:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5150. 1018:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return sysclockfreq;
  5151. 2599 .loc 1 1018 3 is_stmt 1 view .LVU750
  5152. 1019:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5153. 2600 .loc 1 1019 1 is_stmt 0 view .LVU751
  5154. 2601 000e 7047 bx lr
  5155. 2602 .LVL197:
  5156. 2603 .L219:
  5157. 983:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV) >> RCC_CFGR2_PREDIV_Pos
  5158. 2604 .loc 1 983 7 is_stmt 1 view .LVU752
  5159. 983:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV) >> RCC_CFGR2_PREDIV_Pos
  5160. 2605 .loc 1 983 72 is_stmt 0 view .LVU753
  5161. 2606 0010 C3F38340 ubfx r0, r3, #18, #4
  5162. 967:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t tmpreg = 0U, prediv = 0U, pllclk = 0U, pllmul = 0U;
  5163. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 90
  5164. 2607 .loc 1 967 1 view .LVU754
  5165. 2608 0014 10B4 push {r4}
  5166. 2609 .LCFI14:
  5167. 2610 .cfi_def_cfa_offset 4
  5168. 2611 .cfi_offset 4, -4
  5169. 984:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_DIV2)
  5170. 2612 .loc 1 984 49 view .LVU755
  5171. 2613 0016 D26A ldr r2, [r2, #44]
  5172. 983:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV) >> RCC_CFGR2_PREDIV_Pos
  5173. 2614 .loc 1 983 34 view .LVU756
  5174. 2615 0018 0A4C ldr r4, .L220+8
  5175. 984:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_DIV2)
  5176. 2616 .loc 1 984 34 view .LVU757
  5177. 2617 001a 0B49 ldr r1, .L220+12
  5178. 983:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV) >> RCC_CFGR2_PREDIV_Pos
  5179. 2618 .loc 1 983 14 view .LVU758
  5180. 2619 001c 205C ldrb r0, [r4, r0] @ zero_extendqisi2
  5181. 2620 .LVL198:
  5182. 984:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_DIV2)
  5183. 2621 .loc 1 984 7 is_stmt 1 view .LVU759
  5184. 2622 .loc 1 1019 1 is_stmt 0 view .LVU760
  5185. 2623 001e 5DF8044B ldr r4, [sp], #4
  5186. 2624 .LCFI15:
  5187. 2625 .cfi_restore 4
  5188. 2626 .cfi_def_cfa_offset 0
  5189. 986:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5190. 2627 .loc 1 986 10 view .LVU761
  5191. 2628 0022 DB03 lsls r3, r3, #15
  5192. 2629 .LVL199:
  5193. 989:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5194. 2630 .loc 1 989 18 view .LVU762
  5195. 2631 0024 4CBF ite mi
  5196. 2632 0026 064B ldrmi r3, .L220+4
  5197. 994:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5198. 2633 .loc 1 994 16 view .LVU763
  5199. 2634 0028 084B ldrpl r3, .L220+16
  5200. 984:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_DIV2)
  5201. 2635 .loc 1 984 77 view .LVU764
  5202. 2636 002a 02F00F02 and r2, r2, #15
  5203. 984:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_DIV2)
  5204. 2637 .loc 1 984 34 view .LVU765
  5205. 2638 002e 8A5C ldrb r2, [r1, r2] @ zero_extendqisi2
  5206. 2639 .LVL200:
  5207. 986:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5208. 2640 .loc 1 986 7 is_stmt 1 view .LVU766
  5209. 989:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5210. 2641 .loc 1 989 9 view .LVU767
  5211. 989:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5212. 2642 .loc 1 989 18 is_stmt 0 view .LVU768
  5213. 2643 0030 48BF it mi
  5214. 2644 0032 B3FBF2F3 udivmi r3, r3, r2
  5215. 994:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5216. 2645 .loc 1 994 9 is_stmt 1 view .LVU769
  5217. 994:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5218. 2646 .loc 1 994 16 is_stmt 0 view .LVU770
  5219. 2647 0036 03FB00F0 mul r0, r3, r0
  5220. 2648 .LVL201:
  5221. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 91
  5222. 2649 .loc 1 1019 1 view .LVU771
  5223. 2650 003a 7047 bx lr
  5224. 2651 .L221:
  5225. 2652 .align 2
  5226. 2653 .L220:
  5227. 2654 003c 00100240 .word 1073876992
  5228. 2655 0040 00127A00 .word 8000000
  5229. 2656 0044 00000000 .word .LANCHOR0
  5230. 2657 0048 00000000 .word .LANCHOR1
  5231. 2658 004c 00093D00 .word 4000000
  5232. 2659 .cfi_endproc
  5233. 2660 .LFE136:
  5234. 2662 .section .text.HAL_RCC_ClockConfig,"ax",%progbits
  5235. 2663 .align 1
  5236. 2664 .p2align 2,,3
  5237. 2665 .global HAL_RCC_ClockConfig
  5238. 2666 .syntax unified
  5239. 2667 .thumb
  5240. 2668 .thumb_func
  5241. 2670 HAL_RCC_ClockConfig:
  5242. 2671 .LVL202:
  5243. 2672 .LFB132:
  5244. 695:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t tickstart = 0U;
  5245. 2673 .loc 1 695 1 is_stmt 1 view -0
  5246. 2674 .cfi_startproc
  5247. 2675 @ args = 0, pretend = 0, frame = 0
  5248. 2676 @ frame_needed = 0, uses_anonymous_args = 0
  5249. 696:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5250. 2677 .loc 1 696 3 view .LVU773
  5251. 699:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5252. 2678 .loc 1 699 3 view .LVU774
  5253. 699:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5254. 2679 .loc 1 699 5 is_stmt 0 view .LVU775
  5255. 2680 0000 0028 cmp r0, #0
  5256. 2681 0002 00F0E280 beq .L299
  5257. 705:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_FLASH_LATENCY(FLatency));
  5258. 2682 .loc 1 705 3 is_stmt 1 view .LVU776
  5259. 2683 0006 0368 ldr r3, [r0]
  5260. 695:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t tickstart = 0U;
  5261. 2684 .loc 1 695 1 is_stmt 0 view .LVU777
  5262. 2685 0008 2DE9F041 push {r4, r5, r6, r7, r8, lr}
  5263. 2686 .LCFI16:
  5264. 2687 .cfi_def_cfa_offset 24
  5265. 2688 .cfi_offset 4, -24
  5266. 2689 .cfi_offset 5, -20
  5267. 2690 .cfi_offset 6, -16
  5268. 2691 .cfi_offset 7, -12
  5269. 2692 .cfi_offset 8, -8
  5270. 2693 .cfi_offset 14, -4
  5271. 705:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_FLASH_LATENCY(FLatency));
  5272. 2694 .loc 1 705 3 view .LVU778
  5273. 2695 000c 1E07 lsls r6, r3, #28
  5274. 2696 000e 0D46 mov r5, r1
  5275. 2697 0010 0446 mov r4, r0
  5276. 2698 0012 00F0D480 beq .L300
  5277. 2699 .LVL203:
  5278. 2700 .L225:
  5279. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 92
  5280. 706:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5281. 2701 .loc 1 706 3 is_stmt 1 view .LVU779
  5282. 2702 0016 022D cmp r5, #2
  5283. 2703 0018 00F2CB80 bhi .L301
  5284. 2704 .L226:
  5285. 713:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5286. 2705 .loc 1 713 3 view .LVU780
  5287. 713:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5288. 2706 .loc 1 713 17 is_stmt 0 view .LVU781
  5289. 2707 001c 794A ldr r2, .L304
  5290. 2708 001e 1368 ldr r3, [r2]
  5291. 2709 0020 03F00703 and r3, r3, #7
  5292. 713:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5293. 2710 .loc 1 713 5 view .LVU782
  5294. 2711 0024 AB42 cmp r3, r5
  5295. 2712 0026 0CD2 bcs .L231
  5296. 716:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5297. 2713 .loc 1 716 5 is_stmt 1 view .LVU783
  5298. 2714 0028 1368 ldr r3, [r2]
  5299. 2715 002a 23F00703 bic r3, r3, #7
  5300. 2716 002e 2B43 orrs r3, r3, r5
  5301. 2717 0030 1360 str r3, [r2]
  5302. 720:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5303. 2718 .loc 1 720 5 view .LVU784
  5304. 720:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5305. 2719 .loc 1 720 8 is_stmt 0 view .LVU785
  5306. 2720 0032 1368 ldr r3, [r2]
  5307. 2721 0034 03F00703 and r3, r3, #7
  5308. 720:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5309. 2722 .loc 1 720 7 view .LVU786
  5310. 2723 0038 AB42 cmp r3, r5
  5311. 2724 003a 02D0 beq .L231
  5312. 2725 .LVL204:
  5313. 2726 .L230:
  5314. 701:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5315. 2727 .loc 1 701 12 view .LVU787
  5316. 2728 003c 0120 movs r0, #1
  5317. 2729 .L224:
  5318. 814:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5319. 2730 .loc 1 814 1 view .LVU788
  5320. 2731 003e BDE8F081 pop {r4, r5, r6, r7, r8, pc}
  5321. 2732 .LVL205:
  5322. 2733 .L231:
  5323. 727:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5324. 2734 .loc 1 727 3 is_stmt 1 view .LVU789
  5325. 727:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5326. 2735 .loc 1 727 25 is_stmt 0 view .LVU790
  5327. 2736 0042 2368 ldr r3, [r4]
  5328. 727:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5329. 2737 .loc 1 727 5 view .LVU791
  5330. 2738 0044 9807 lsls r0, r3, #30
  5331. 2739 0046 1ED5 bpl .L229
  5332. 729:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider);
  5333. 2740 .loc 1 729 5 is_stmt 1 view .LVU792
  5334. 2741 0048 A168 ldr r1, [r4, #8]
  5335. 2742 004a 31F08002 bics r2, r1, #128
  5336. 2743 004e 14D0 beq .L232
  5337. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 93
  5338. 729:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider);
  5339. 2744 .loc 1 729 5 is_stmt 0 discriminator 2 view .LVU793
  5340. 2745 0050 21F02002 bic r2, r1, #32
  5341. 2746 0054 902A cmp r2, #144
  5342. 2747 0056 10D0 beq .L232
  5343. 729:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider);
  5344. 2748 .loc 1 729 5 discriminator 3 view .LVU794
  5345. 2749 0058 21F04002 bic r2, r1, #64
  5346. 2750 005c A02A cmp r2, #160
  5347. 2751 005e 0CD0 beq .L232
  5348. 729:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider);
  5349. 2752 .loc 1 729 5 discriminator 5 view .LVU795
  5350. 2753 0060 21F01002 bic r2, r1, #16
  5351. 2754 0064 C02A cmp r2, #192
  5352. 2755 0066 08D0 beq .L232
  5353. 729:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider);
  5354. 2756 .loc 1 729 5 discriminator 8 view .LVU796
  5355. 2757 0068 F029 cmp r1, #240
  5356. 2758 006a 06D0 beq .L232
  5357. 729:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider);
  5358. 2759 .loc 1 729 5 discriminator 9 view .LVU797
  5359. 2760 006c 40F2D921 movw r1, #729
  5360. 2761 0070 6548 ldr r0, .L304+4
  5361. 2762 0072 FFF7FEFF bl assert_failed
  5362. 2763 .LVL206:
  5363. 730:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5364. 2764 .loc 1 730 5 discriminator 9 view .LVU798
  5365. 2765 0076 A168 ldr r1, [r4, #8]
  5366. 734:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5367. 2766 .loc 1 734 25 discriminator 9 view .LVU799
  5368. 2767 0078 2368 ldr r3, [r4]
  5369. 2768 .L232:
  5370. 730:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5371. 2769 .loc 1 730 5 is_stmt 1 view .LVU800
  5372. 2770 007a 6448 ldr r0, .L304+8
  5373. 2771 007c 4268 ldr r2, [r0, #4]
  5374. 2772 007e 22F0F002 bic r2, r2, #240
  5375. 2773 0082 0A43 orrs r2, r2, r1
  5376. 2774 0084 4260 str r2, [r0, #4]
  5377. 2775 .L229:
  5378. 734:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5379. 2776 .loc 1 734 3 view .LVU801
  5380. 734:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5381. 2777 .loc 1 734 5 is_stmt 0 view .LVU802
  5382. 2778 0086 D907 lsls r1, r3, #31
  5383. 2779 0088 33D5 bpl .L242
  5384. 736:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5385. 2780 .loc 1 736 5 is_stmt 1 view .LVU803
  5386. 2781 008a 6368 ldr r3, [r4, #4]
  5387. 2782 008c 022B cmp r3, #2
  5388. 2783 008e 00F2B080 bhi .L302
  5389. 2784 .L236:
  5390. 739:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5391. 2785 .loc 1 739 5 view .LVU804
  5392. 739:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5393. 2786 .loc 1 739 7 is_stmt 0 view .LVU805
  5394. 2787 0092 012B cmp r3, #1
  5395. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 94
  5396. 2788 0094 00F09B80 beq .L303
  5397. 748:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5398. 2789 .loc 1 748 10 is_stmt 1 view .LVU806
  5399. 751:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5400. 2790 .loc 1 751 7 view .LVU807
  5401. 2791 .LVL207:
  5402. 2792 .LBB325:
  5403. 2793 .LBI325:
  5404. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  5405. 2794 .loc 2 981 31 view .LVU808
  5406. 2795 .LBB326:
  5407. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  5408. 2796 .loc 2 983 3 view .LVU809
  5409. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  5410. 2797 .loc 2 988 4 view .LVU810
  5411. 2798 .LBE326:
  5412. 2799 .LBE325:
  5413. 760:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5414. 2800 .loc 1 760 7 view .LVU811
  5415. 2801 .LBB328:
  5416. 2802 .LBI328:
  5417. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  5418. 2803 .loc 2 981 31 view .LVU812
  5419. 2804 .LBB329:
  5420. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  5421. 2805 .loc 2 983 3 view .LVU813
  5422. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  5423. 2806 .loc 2 988 4 view .LVU814
  5424. 2807 .LBE329:
  5425. 2808 .LBE328:
  5426. 748:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5427. 2809 .loc 1 748 12 is_stmt 0 view .LVU815
  5428. 2810 0098 022B cmp r3, #2
  5429. 2811 .LBB331:
  5430. 2812 .LBB327:
  5431. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  5432. 2813 .loc 2 988 4 view .LVU816
  5433. 2814 009a 0CBF ite eq
  5434. 2815 009c 4FF00072 moveq r2, #33554432
  5435. 2816 .LBE327:
  5436. 2817 .LBE331:
  5437. 2818 .LBB332:
  5438. 2819 .LBB330:
  5439. 2820 00a0 0222 movne r2, #2
  5440. 2821 .syntax unified
  5441. 2822 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  5442. 2823 00a2 92FAA2F1 rbit r1, r2
  5443. 2824 @ 0 "" 2
  5444. 2825 .LVL208:
  5445. 2826 .loc 2 1001 3 is_stmt 1 view .LVU817
  5446. 2827 .loc 2 1001 3 is_stmt 0 view .LVU818
  5447. 2828 .thumb
  5448. 2829 .syntax unified
  5449. 2830 .LBE330:
  5450. 2831 .LBE332:
  5451. 760:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5452. 2832 .loc 1 760 10 view .LVU819
  5453. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 95
  5454. 2833 00a6 5949 ldr r1, .L304+8
  5455. 2834 00a8 0868 ldr r0, [r1]
  5456. 2835 .LVL209:
  5457. 2836 .LBB333:
  5458. 2837 .LBI333:
  5459. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  5460. 2838 .loc 2 981 31 is_stmt 1 view .LVU820
  5461. 2839 .LBB334:
  5462. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  5463. 2840 .loc 2 983 3 view .LVU821
  5464. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  5465. 2841 .loc 2 988 4 view .LVU822
  5466. 2842 .syntax unified
  5467. 2843 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  5468. 2844 00aa 92FAA2F2 rbit r2, r2
  5469. 2845 @ 0 "" 2
  5470. 2846 .LVL210:
  5471. 2847 .loc 2 1001 3 view .LVU823
  5472. 2848 .loc 2 1001 3 is_stmt 0 view .LVU824
  5473. 2849 .thumb
  5474. 2850 .syntax unified
  5475. 2851 .LBE334:
  5476. 2852 .LBE333:
  5477. 760:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5478. 2853 .loc 1 760 10 view .LVU825
  5479. 2854 00ae B2FA82F2 clz r2, r2
  5480. 2855 00b2 02F01F02 and r2, r2, #31
  5481. 2856 00b6 0121 movs r1, #1
  5482. 2857 00b8 01FA02F2 lsl r2, r1, r2
  5483. 760:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5484. 2858 .loc 1 760 9 view .LVU826
  5485. 2859 00bc 0242 tst r2, r0
  5486. 2860 00be BDD0 beq .L230
  5487. 2861 .LVL211:
  5488. 2862 .L238:
  5489. 766:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5490. 2863 .loc 1 766 5 is_stmt 1 view .LVU827
  5491. 2864 00c0 524E ldr r6, .L304+8
  5492. 2865 00c2 7268 ldr r2, [r6, #4]
  5493. 2866 00c4 22F00302 bic r2, r2, #3
  5494. 2867 00c8 1343 orrs r3, r3, r2
  5495. 2868 00ca 7360 str r3, [r6, #4]
  5496. 769:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5497. 2869 .loc 1 769 5 view .LVU828
  5498. 769:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5499. 2870 .loc 1 769 17 is_stmt 0 view .LVU829
  5500. 2871 00cc FFF7FEFF bl HAL_GetTick
  5501. 2872 .LVL212:
  5502. 773:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5503. 2873 .loc 1 773 10 view .LVU830
  5504. 2874 00d0 41F28838 movw r8, #5000
  5505. 769:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5506. 2875 .loc 1 769 17 view .LVU831
  5507. 2876 00d4 0746 mov r7, r0
  5508. 2877 .LVL213:
  5509. 771:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5510. 2878 .loc 1 771 5 is_stmt 1 view .LVU832
  5511. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 96
  5512. 771:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5513. 2879 .loc 1 771 11 is_stmt 0 view .LVU833
  5514. 2880 00d6 05E0 b .L240
  5515. 2881 .LVL214:
  5516. 2882 .L241:
  5517. 773:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5518. 2883 .loc 1 773 12 view .LVU834
  5519. 2884 00d8 FFF7FEFF bl HAL_GetTick
  5520. 2885 .LVL215:
  5521. 773:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5522. 2886 .loc 1 773 26 view .LVU835
  5523. 2887 00dc C01B subs r0, r0, r7
  5524. 773:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5525. 2888 .loc 1 773 10 view .LVU836
  5526. 2889 00de 4045 cmp r0, r8
  5527. 2890 00e0 00F28E80 bhi .L248
  5528. 2891 .L240:
  5529. 773:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5530. 2892 .loc 1 773 7 is_stmt 1 view .LVU837
  5531. 771:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5532. 2893 .loc 1 771 11 view .LVU838
  5533. 771:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5534. 2894 .loc 1 771 12 is_stmt 0 view .LVU839
  5535. 2895 00e4 7368 ldr r3, [r6, #4]
  5536. 771:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5537. 2896 .loc 1 771 78 view .LVU840
  5538. 2897 00e6 6268 ldr r2, [r4, #4]
  5539. 771:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5540. 2898 .loc 1 771 12 view .LVU841
  5541. 2899 00e8 03F00C03 and r3, r3, #12
  5542. 771:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5543. 2900 .loc 1 771 11 view .LVU842
  5544. 2901 00ec B3EB820F cmp r3, r2, lsl #2
  5545. 2902 00f0 F2D1 bne .L241
  5546. 2903 .LVL216:
  5547. 2904 .L242:
  5548. 780:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5549. 2905 .loc 1 780 3 is_stmt 1 view .LVU843
  5550. 780:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5551. 2906 .loc 1 780 17 is_stmt 0 view .LVU844
  5552. 2907 00f2 444A ldr r2, .L304
  5553. 2908 00f4 1368 ldr r3, [r2]
  5554. 2909 00f6 03F00703 and r3, r3, #7
  5555. 780:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5556. 2910 .loc 1 780 5 view .LVU845
  5557. 2911 00fa AB42 cmp r3, r5
  5558. 2912 00fc 09D9 bls .L235
  5559. 783:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5560. 2913 .loc 1 783 5 is_stmt 1 view .LVU846
  5561. 2914 00fe 1368 ldr r3, [r2]
  5562. 2915 0100 23F00703 bic r3, r3, #7
  5563. 2916 0104 2B43 orrs r3, r3, r5
  5564. 2917 0106 1360 str r3, [r2]
  5565. 787:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5566. 2918 .loc 1 787 5 view .LVU847
  5567. 787:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5568. 2919 .loc 1 787 8 is_stmt 0 view .LVU848
  5569. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 97
  5570. 2920 0108 1368 ldr r3, [r2]
  5571. 2921 010a 03F00703 and r3, r3, #7
  5572. 787:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5573. 2922 .loc 1 787 7 view .LVU849
  5574. 2923 010e AB42 cmp r3, r5
  5575. 2924 0110 94D1 bne .L230
  5576. 2925 .L235:
  5577. 794:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5578. 2926 .loc 1 794 3 is_stmt 1 view .LVU850
  5579. 794:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5580. 2927 .loc 1 794 25 is_stmt 0 view .LVU851
  5581. 2928 0112 2368 ldr r3, [r4]
  5582. 794:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5583. 2929 .loc 1 794 5 view .LVU852
  5584. 2930 0114 5A07 lsls r2, r3, #29
  5585. 2931 0116 18D5 bpl .L244
  5586. 796:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_ClkInitStruct->APB1CLKDivider);
  5587. 2932 .loc 1 796 5 is_stmt 1 view .LVU853
  5588. 2933 0118 E168 ldr r1, [r4, #12]
  5589. 2934 011a 31F48062 bics r2, r1, #1024
  5590. 2935 011e 0ED0 beq .L245
  5591. 796:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_ClkInitStruct->APB1CLKDivider);
  5592. 2936 .loc 1 796 5 is_stmt 0 discriminator 2 view .LVU854
  5593. 2937 0120 21F40072 bic r2, r1, #512
  5594. 2938 0124 B2F5A06F cmp r2, #1280
  5595. 2939 0128 09D0 beq .L245
  5596. 796:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_ClkInitStruct->APB1CLKDivider);
  5597. 2940 .loc 1 796 5 discriminator 3 view .LVU855
  5598. 2941 012a B1F5C06F cmp r1, #1536
  5599. 2942 012e 06D0 beq .L245
  5600. 796:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_ClkInitStruct->APB1CLKDivider);
  5601. 2943 .loc 1 796 5 discriminator 5 view .LVU856
  5602. 2944 0130 4FF44771 mov r1, #796
  5603. 2945 0134 3448 ldr r0, .L304+4
  5604. 2946 0136 FFF7FEFF bl assert_failed
  5605. 2947 .LVL217:
  5606. 797:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5607. 2948 .loc 1 797 5 discriminator 5 view .LVU857
  5608. 2949 013a E168 ldr r1, [r4, #12]
  5609. 801:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5610. 2950 .loc 1 801 25 discriminator 5 view .LVU858
  5611. 2951 013c 2368 ldr r3, [r4]
  5612. 2952 .L245:
  5613. 797:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5614. 2953 .loc 1 797 5 is_stmt 1 view .LVU859
  5615. 2954 013e 3348 ldr r0, .L304+8
  5616. 2955 0140 4268 ldr r2, [r0, #4]
  5617. 2956 0142 22F4E062 bic r2, r2, #1792
  5618. 2957 0146 0A43 orrs r2, r2, r1
  5619. 2958 0148 4260 str r2, [r0, #4]
  5620. 2959 .L244:
  5621. 801:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5622. 2960 .loc 1 801 3 view .LVU860
  5623. 801:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5624. 2961 .loc 1 801 5 is_stmt 0 view .LVU861
  5625. 2962 014a 1B07 lsls r3, r3, #28
  5626. 2963 014c 18D5 bpl .L246
  5627. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 98
  5628. 803:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, ((RCC_ClkInitStruct->APB2CLKDivider) << 3U));
  5629. 2964 .loc 1 803 5 is_stmt 1 view .LVU862
  5630. 2965 014e 2269 ldr r2, [r4, #16]
  5631. 2966 0150 32F48063 bics r3, r2, #1024
  5632. 2967 0154 0DD0 beq .L247
  5633. 803:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, ((RCC_ClkInitStruct->APB2CLKDivider) << 3U));
  5634. 2968 .loc 1 803 5 is_stmt 0 discriminator 2 view .LVU863
  5635. 2969 0156 22F40073 bic r3, r2, #512
  5636. 2970 015a B3F5A06F cmp r3, #1280
  5637. 2971 015e 08D0 beq .L247
  5638. 803:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, ((RCC_ClkInitStruct->APB2CLKDivider) << 3U));
  5639. 2972 .loc 1 803 5 discriminator 3 view .LVU864
  5640. 2973 0160 B2F5C06F cmp r2, #1536
  5641. 2974 0164 05D0 beq .L247
  5642. 803:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, ((RCC_ClkInitStruct->APB2CLKDivider) << 3U));
  5643. 2975 .loc 1 803 5 discriminator 5 view .LVU865
  5644. 2976 0166 2848 ldr r0, .L304+4
  5645. 2977 0168 40F22331 movw r1, #803
  5646. 2978 016c FFF7FEFF bl assert_failed
  5647. 2979 .LVL218:
  5648. 804:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5649. 2980 .loc 1 804 5 discriminator 5 view .LVU866
  5650. 2981 0170 2269 ldr r2, [r4, #16]
  5651. 2982 .L247:
  5652. 804:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5653. 2983 .loc 1 804 5 is_stmt 1 view .LVU867
  5654. 2984 0172 2649 ldr r1, .L304+8
  5655. 2985 0174 4B68 ldr r3, [r1, #4]
  5656. 2986 0176 23F46053 bic r3, r3, #14336
  5657. 2987 017a 43EAC203 orr r3, r3, r2, lsl #3
  5658. 2988 017e 4B60 str r3, [r1, #4]
  5659. 2989 .L246:
  5660. 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5661. 2990 .loc 1 808 3 view .LVU868
  5662. 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5663. 2991 .loc 1 808 21 is_stmt 0 view .LVU869
  5664. 2992 0180 FFF7FEFF bl HAL_RCC_GetSysClockFreq
  5665. 2993 .LVL219:
  5666. 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5667. 2994 .loc 1 808 68 view .LVU870
  5668. 2995 0184 214B ldr r3, .L304+8
  5669. 2996 .LBB335:
  5670. 2997 .LBB336:
  5671. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  5672. 2998 .loc 2 988 4 view .LVU871
  5673. 2999 0186 F022 movs r2, #240
  5674. 3000 .LBE336:
  5675. 3001 .LBE335:
  5676. 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5677. 3002 .loc 1 808 68 view .LVU872
  5678. 3003 0188 5B68 ldr r3, [r3, #4]
  5679. 3004 .LVL220:
  5680. 3005 .LBB338:
  5681. 3006 .LBI335:
  5682. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  5683. 3007 .loc 2 981 31 is_stmt 1 view .LVU873
  5684. 3008 .LBB337:
  5685. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 99
  5686. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  5687. 3009 .loc 2 983 3 view .LVU874
  5688. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  5689. 3010 .loc 2 988 4 view .LVU875
  5690. 3011 .syntax unified
  5691. 3012 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  5692. 3013 018a 92FAA2F2 rbit r2, r2
  5693. 3014 @ 0 "" 2
  5694. 3015 .LVL221:
  5695. 3016 .loc 2 1001 3 view .LVU876
  5696. 3017 .loc 2 1001 3 is_stmt 0 view .LVU877
  5697. 3018 .thumb
  5698. 3019 .syntax unified
  5699. 3020 .LBE337:
  5700. 3021 .LBE338:
  5701. 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5702. 3022 .loc 1 808 94 view .LVU878
  5703. 3023 018e B2FA82F2 clz r2, r2
  5704. 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5705. 3024 .loc 1 808 75 view .LVU879
  5706. 3025 0192 03F0F003 and r3, r3, #240
  5707. 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5708. 3026 .loc 1 808 91 view .LVU880
  5709. 3027 0196 D340 lsrs r3, r3, r2
  5710. 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5711. 3028 .loc 1 808 63 view .LVU881
  5712. 3029 0198 1D4A ldr r2, .L304+12
  5713. 811:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5714. 3030 .loc 1 811 3 view .LVU882
  5715. 3031 019a 1E49 ldr r1, .L304+16
  5716. 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5717. 3032 .loc 1 808 63 view .LVU883
  5718. 3033 019c D35C ldrb r3, [r2, r3] @ zero_extendqisi2
  5719. 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5720. 3034 .loc 1 808 19 view .LVU884
  5721. 3035 019e 1E4A ldr r2, .L304+20
  5722. 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5723. 3036 .loc 1 808 47 view .LVU885
  5724. 3037 01a0 20FA03F3 lsr r3, r0, r3
  5725. 811:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5726. 3038 .loc 1 811 3 view .LVU886
  5727. 3039 01a4 0868 ldr r0, [r1]
  5728. 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5729. 3040 .loc 1 808 19 view .LVU887
  5730. 3041 01a6 1360 str r3, [r2]
  5731. 811:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5732. 3042 .loc 1 811 3 is_stmt 1 view .LVU888
  5733. 3043 01a8 FFF7FEFF bl HAL_InitTick
  5734. 3044 .LVL222:
  5735. 813:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5736. 3045 .loc 1 813 3 view .LVU889
  5737. 813:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5738. 3046 .loc 1 813 10 is_stmt 0 view .LVU890
  5739. 3047 01ac 0020 movs r0, #0
  5740. 814:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5741. 3048 .loc 1 814 1 view .LVU891
  5742. 3049 01ae BDE8F081 pop {r4, r5, r6, r7, r8, pc}
  5743. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 100
  5744. 3050 .LVL223:
  5745. 3051 .L301:
  5746. 706:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5747. 3052 .loc 1 706 3 discriminator 1 view .LVU892
  5748. 3053 01b2 1548 ldr r0, .L304+4
  5749. 3054 01b4 40F2C221 movw r1, #706
  5750. 3055 01b8 FFF7FEFF bl assert_failed
  5751. 3056 .LVL224:
  5752. 3057 01bc 2EE7 b .L226
  5753. 3058 .LVL225:
  5754. 3059 .L300:
  5755. 705:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_FLASH_LATENCY(FLatency));
  5756. 3060 .loc 1 705 3 discriminator 1 view .LVU893
  5757. 3061 01be 1248 ldr r0, .L304+4
  5758. 3062 .LVL226:
  5759. 705:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_FLASH_LATENCY(FLatency));
  5760. 3063 .loc 1 705 3 discriminator 1 view .LVU894
  5761. 3064 01c0 40F2C121 movw r1, #705
  5762. 3065 .LVL227:
  5763. 705:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(IS_FLASH_LATENCY(FLatency));
  5764. 3066 .loc 1 705 3 discriminator 1 view .LVU895
  5765. 3067 01c4 FFF7FEFF bl assert_failed
  5766. 3068 .LVL228:
  5767. 3069 01c8 25E7 b .L225
  5768. 3070 .LVL229:
  5769. 3071 .L299:
  5770. 3072 .LCFI17:
  5771. 3073 .cfi_def_cfa_offset 0
  5772. 3074 .cfi_restore 4
  5773. 3075 .cfi_restore 5
  5774. 3076 .cfi_restore 6
  5775. 3077 .cfi_restore 7
  5776. 3078 .cfi_restore 8
  5777. 3079 .cfi_restore 14
  5778. 701:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5779. 3080 .loc 1 701 12 view .LVU896
  5780. 3081 01ca 0120 movs r0, #1
  5781. 3082 .LVL230:
  5782. 814:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5783. 3083 .loc 1 814 1 view .LVU897
  5784. 3084 01cc 7047 bx lr
  5785. 3085 .LVL231:
  5786. 3086 .L303:
  5787. 3087 .LCFI18:
  5788. 3088 .cfi_def_cfa_offset 24
  5789. 3089 .cfi_offset 4, -24
  5790. 3090 .cfi_offset 5, -20
  5791. 3091 .cfi_offset 6, -16
  5792. 3092 .cfi_offset 7, -12
  5793. 3093 .cfi_offset 8, -8
  5794. 3094 .cfi_offset 14, -4
  5795. 742:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5796. 3095 .loc 1 742 7 is_stmt 1 view .LVU898
  5797. 3096 .LBB339:
  5798. 3097 .LBI339:
  5799. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  5800. 3098 .loc 2 981 31 view .LVU899
  5801. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 101
  5802. 3099 .LBB340:
  5803. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  5804. 3100 .loc 2 983 3 view .LVU900
  5805. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  5806. 3101 .loc 2 988 4 view .LVU901
  5807. 3102 01ce 4FF40032 mov r2, #131072
  5808. 3103 .syntax unified
  5809. 3104 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  5810. 3105 01d2 92FAA2F1 rbit r1, r2
  5811. 3106 @ 0 "" 2
  5812. 3107 .LVL232:
  5813. 3108 .loc 2 1001 3 view .LVU902
  5814. 3109 .loc 2 1001 3 is_stmt 0 view .LVU903
  5815. 3110 .thumb
  5816. 3111 .syntax unified
  5817. 3112 .LBE340:
  5818. 3113 .LBE339:
  5819. 742:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5820. 3114 .loc 1 742 10 view .LVU904
  5821. 3115 01d6 0D49 ldr r1, .L304+8
  5822. 3116 01d8 0968 ldr r1, [r1]
  5823. 3117 .LVL233:
  5824. 3118 .LBB341:
  5825. 3119 .LBI341:
  5826. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  5827. 3120 .loc 2 981 31 is_stmt 1 view .LVU905
  5828. 3121 .LBB342:
  5829. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  5830. 3122 .loc 2 983 3 view .LVU906
  5831. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  5832. 3123 .loc 2 988 4 view .LVU907
  5833. 3124 .syntax unified
  5834. 3125 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  5835. 3126 01da 92FAA2F2 rbit r2, r2
  5836. 3127 @ 0 "" 2
  5837. 3128 .LVL234:
  5838. 3129 .loc 2 1001 3 view .LVU908
  5839. 3130 .loc 2 1001 3 is_stmt 0 view .LVU909
  5840. 3131 .thumb
  5841. 3132 .syntax unified
  5842. 3133 .LBE342:
  5843. 3134 .LBE341:
  5844. 742:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5845. 3135 .loc 1 742 10 view .LVU910
  5846. 3136 01de B2FA82F2 clz r2, r2
  5847. 3137 01e2 02F01F02 and r2, r2, #31
  5848. 3138 01e6 03FA02F2 lsl r2, r3, r2
  5849. 742:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5850. 3139 .loc 1 742 9 view .LVU911
  5851. 3140 01ea 0A42 tst r2, r1
  5852. 3141 01ec 7FF468AF bne .L238
  5853. 3142 01f0 24E7 b .L230
  5854. 3143 .L302:
  5855. 736:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5856. 3144 .loc 1 736 5 discriminator 1 view .LVU912
  5857. 3145 01f2 0548 ldr r0, .L304+4
  5858. 3146 01f4 4FF43871 mov r1, #736
  5859. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 102
  5860. 3147 01f8 FFF7FEFF bl assert_failed
  5861. 3148 .LVL235:
  5862. 739:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5863. 3149 .loc 1 739 25 discriminator 1 view .LVU913
  5864. 3150 01fc 6368 ldr r3, [r4, #4]
  5865. 3151 01fe 48E7 b .L236
  5866. 3152 .LVL236:
  5867. 3153 .L248:
  5868. 775:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5869. 3154 .loc 1 775 16 view .LVU914
  5870. 3155 0200 0320 movs r0, #3
  5871. 3156 0202 1CE7 b .L224
  5872. 3157 .L305:
  5873. 3158 .align 2
  5874. 3159 .L304:
  5875. 3160 0204 00200240 .word 1073881088
  5876. 3161 0208 00000000 .word .LC0
  5877. 3162 020c 00100240 .word 1073876992
  5878. 3163 0210 00000000 .word AHBPrescTable
  5879. 3164 0214 00000000 .word uwTickPrio
  5880. 3165 0218 00000000 .word SystemCoreClock
  5881. 3166 .cfi_endproc
  5882. 3167 .LFE132:
  5883. 3169 .section .text.HAL_RCC_GetHCLKFreq,"ax",%progbits
  5884. 3170 .align 1
  5885. 3171 .p2align 2,,3
  5886. 3172 .global HAL_RCC_GetHCLKFreq
  5887. 3173 .syntax unified
  5888. 3174 .thumb
  5889. 3175 .thumb_func
  5890. 3177 HAL_RCC_GetHCLKFreq:
  5891. 3178 .LFB137:
  5892. 1020:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5893. 1021:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  5894. 1022:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief Returns the HCLK frequency
  5895. 1023:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note Each time HCLK changes, this function must be called to update the
  5896. 1024:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * right HCLK value. Otherwise, any configuration based on this function will be incorrect
  5897. 1025:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *
  5898. 1026:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note The SystemCoreClock CMSIS variable is used to store System Clock Frequency
  5899. 1027:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * and updated within this function
  5900. 1028:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval HCLK frequency
  5901. 1029:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  5902. 1030:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t HAL_RCC_GetHCLKFreq(void)
  5903. 1031:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5904. 3179 .loc 1 1031 1 is_stmt 1 view -0
  5905. 3180 .cfi_startproc
  5906. 3181 @ args = 0, pretend = 0, frame = 0
  5907. 3182 @ frame_needed = 0, uses_anonymous_args = 0
  5908. 3183 @ link register save eliminated.
  5909. 1032:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return SystemCoreClock;
  5910. 3184 .loc 1 1032 3 view .LVU916
  5911. 3185 .loc 1 1032 10 is_stmt 0 view .LVU917
  5912. 3186 0000 014B ldr r3, .L307
  5913. 1033:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5914. 3187 .loc 1 1033 1 view .LVU918
  5915. 3188 0002 1868 ldr r0, [r3]
  5916. 3189 0004 7047 bx lr
  5917. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 103
  5918. 3190 .L308:
  5919. 3191 0006 00BF .align 2
  5920. 3192 .L307:
  5921. 3193 0008 00000000 .word SystemCoreClock
  5922. 3194 .cfi_endproc
  5923. 3195 .LFE137:
  5924. 3197 .section .text.HAL_RCC_GetPCLK1Freq,"ax",%progbits
  5925. 3198 .align 1
  5926. 3199 .p2align 2,,3
  5927. 3200 .global HAL_RCC_GetPCLK1Freq
  5928. 3201 .syntax unified
  5929. 3202 .thumb
  5930. 3203 .thumb_func
  5931. 3205 HAL_RCC_GetPCLK1Freq:
  5932. 3206 .LFB138:
  5933. 1034:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  5934. 1035:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  5935. 1036:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief Returns the PCLK1 frequency
  5936. 1037:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note Each time PCLK1 changes, this function must be called to update the
  5937. 1038:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * right PCLK1 value. Otherwise, any configuration based on this function will be incorrec
  5938. 1039:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval PCLK1 frequency
  5939. 1040:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  5940. 1041:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t HAL_RCC_GetPCLK1Freq(void)
  5941. 1042:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5942. 3207 .loc 1 1042 1 is_stmt 1 view -0
  5943. 3208 .cfi_startproc
  5944. 3209 @ args = 0, pretend = 0, frame = 0
  5945. 3210 @ frame_needed = 0, uses_anonymous_args = 0
  5946. 3211 @ link register save eliminated.
  5947. 1043:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get HCLK source and Compute PCLK1 frequency ---------------------------*/
  5948. 1044:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return (HAL_RCC_GetHCLKFreq() >> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE1) >> RCC_CFGR_PPRE1_BIT
  5949. 3212 .loc 1 1044 3 view .LVU920
  5950. 3213 .LBB343:
  5951. 3214 .LBI343:
  5952. 1030:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  5953. 3215 .loc 1 1030 10 view .LVU921
  5954. 3216 .LBB344:
  5955. 1032:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  5956. 3217 .loc 1 1032 3 view .LVU922
  5957. 3218 .LBE344:
  5958. 3219 .LBE343:
  5959. 3220 .loc 1 1044 54 is_stmt 0 view .LVU923
  5960. 3221 0000 084B ldr r3, .L310
  5961. 3222 .LBB346:
  5962. 3223 .LBB347:
  5963. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  5964. 3224 .loc 2 988 4 view .LVU924
  5965. 3225 0002 4FF4E062 mov r2, #1792
  5966. 3226 .LBE347:
  5967. 3227 .LBE346:
  5968. 3228 .loc 1 1044 54 view .LVU925
  5969. 3229 0006 5B68 ldr r3, [r3, #4]
  5970. 3230 .LVL237:
  5971. 3231 .LBB349:
  5972. 3232 .LBI346:
  5973. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  5974. 3233 .loc 2 981 31 is_stmt 1 view .LVU926
  5975. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 104
  5976. 3234 .LBB348:
  5977. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  5978. 3235 .loc 2 983 3 view .LVU927
  5979. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  5980. 3236 .loc 2 988 4 view .LVU928
  5981. 3237 .syntax unified
  5982. 3238 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  5983. 3239 0008 92FAA2F2 rbit r2, r2
  5984. 3240 @ 0 "" 2
  5985. 3241 .LVL238:
  5986. 3242 .loc 2 1001 3 view .LVU929
  5987. 3243 .loc 2 1001 3 is_stmt 0 view .LVU930
  5988. 3244 .thumb
  5989. 3245 .syntax unified
  5990. 3246 .LBE348:
  5991. 3247 .LBE349:
  5992. 3248 .loc 1 1044 82 view .LVU931
  5993. 3249 000c B2FA82F2 clz r2, r2
  5994. 3250 .loc 1 1044 61 view .LVU932
  5995. 3251 0010 03F4E063 and r3, r3, #1792
  5996. 3252 .loc 1 1044 49 view .LVU933
  5997. 3253 0014 0449 ldr r1, .L310+4
  5998. 3254 .LBB350:
  5999. 3255 .LBB345:
  6000. 1032:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6001. 3256 .loc 1 1032 10 view .LVU934
  6002. 3257 0016 0548 ldr r0, .L310+8
  6003. 3258 .LBE345:
  6004. 3259 .LBE350:
  6005. 3260 .loc 1 1044 79 view .LVU935
  6006. 3261 0018 D340 lsrs r3, r3, r2
  6007. 3262 .loc 1 1044 33 view .LVU936
  6008. 3263 001a 0068 ldr r0, [r0]
  6009. 3264 .loc 1 1044 49 view .LVU937
  6010. 3265 001c CB5C ldrb r3, [r1, r3] @ zero_extendqisi2
  6011. 1045:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6012. 3266 .loc 1 1045 1 view .LVU938
  6013. 3267 001e D840 lsrs r0, r0, r3
  6014. 3268 0020 7047 bx lr
  6015. 3269 .L311:
  6016. 3270 0022 00BF .align 2
  6017. 3271 .L310:
  6018. 3272 0024 00100240 .word 1073876992
  6019. 3273 0028 00000000 .word APBPrescTable
  6020. 3274 002c 00000000 .word SystemCoreClock
  6021. 3275 .cfi_endproc
  6022. 3276 .LFE138:
  6023. 3278 .section .text.HAL_RCC_GetPCLK2Freq,"ax",%progbits
  6024. 3279 .align 1
  6025. 3280 .p2align 2,,3
  6026. 3281 .global HAL_RCC_GetPCLK2Freq
  6027. 3282 .syntax unified
  6028. 3283 .thumb
  6029. 3284 .thumb_func
  6030. 3286 HAL_RCC_GetPCLK2Freq:
  6031. 3287 .LFB139:
  6032. 1046:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6033. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 105
  6034. 1047:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  6035. 1048:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief Returns the PCLK2 frequency
  6036. 1049:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note Each time PCLK2 changes, this function must be called to update the
  6037. 1050:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * right PCLK2 value. Otherwise, any configuration based on this function will be incorrec
  6038. 1051:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval PCLK2 frequency
  6039. 1052:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  6040. 1053:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** uint32_t HAL_RCC_GetPCLK2Freq(void)
  6041. 1054:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6042. 3288 .loc 1 1054 1 is_stmt 1 view -0
  6043. 3289 .cfi_startproc
  6044. 3290 @ args = 0, pretend = 0, frame = 0
  6045. 3291 @ frame_needed = 0, uses_anonymous_args = 0
  6046. 3292 @ link register save eliminated.
  6047. 1055:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get HCLK source and Compute PCLK2 frequency ---------------------------*/
  6048. 1056:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** return (HAL_RCC_GetHCLKFreq()>> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE2) >> RCC_CFGR_PPRE2_BITN
  6049. 3293 .loc 1 1056 3 view .LVU940
  6050. 3294 .LBB351:
  6051. 3295 .LBI351:
  6052. 1030:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6053. 3296 .loc 1 1030 10 view .LVU941
  6054. 3297 .LBB352:
  6055. 1032:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6056. 3298 .loc 1 1032 3 view .LVU942
  6057. 3299 .LBE352:
  6058. 3300 .LBE351:
  6059. 3301 .loc 1 1056 53 is_stmt 0 view .LVU943
  6060. 3302 0000 084B ldr r3, .L313
  6061. 3303 .LBB354:
  6062. 3304 .LBB355:
  6063. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  6064. 3305 .loc 2 988 4 view .LVU944
  6065. 3306 0002 4FF46052 mov r2, #14336
  6066. 3307 .LBE355:
  6067. 3308 .LBE354:
  6068. 3309 .loc 1 1056 53 view .LVU945
  6069. 3310 0006 5B68 ldr r3, [r3, #4]
  6070. 3311 .LVL239:
  6071. 3312 .LBB357:
  6072. 3313 .LBI354:
  6073. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  6074. 3314 .loc 2 981 31 is_stmt 1 view .LVU946
  6075. 3315 .LBB356:
  6076. 983:Drivers/CMSIS/Include/cmsis_gcc.h ****
  6077. 3316 .loc 2 983 3 view .LVU947
  6078. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  6079. 3317 .loc 2 988 4 view .LVU948
  6080. 3318 .syntax unified
  6081. 3319 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  6082. 3320 0008 92FAA2F2 rbit r2, r2
  6083. 3321 @ 0 "" 2
  6084. 3322 .LVL240:
  6085. 3323 .loc 2 1001 3 view .LVU949
  6086. 3324 .loc 2 1001 3 is_stmt 0 view .LVU950
  6087. 3325 .thumb
  6088. 3326 .syntax unified
  6089. 3327 .LBE356:
  6090. 3328 .LBE357:
  6091. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 106
  6092. 3329 .loc 1 1056 81 view .LVU951
  6093. 3330 000c B2FA82F2 clz r2, r2
  6094. 3331 .loc 1 1056 60 view .LVU952
  6095. 3332 0010 03F46053 and r3, r3, #14336
  6096. 3333 .loc 1 1056 48 view .LVU953
  6097. 3334 0014 0449 ldr r1, .L313+4
  6098. 3335 .LBB358:
  6099. 3336 .LBB353:
  6100. 1032:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6101. 3337 .loc 1 1032 10 view .LVU954
  6102. 3338 0016 0548 ldr r0, .L313+8
  6103. 3339 .LBE353:
  6104. 3340 .LBE358:
  6105. 3341 .loc 1 1056 78 view .LVU955
  6106. 3342 0018 D340 lsrs r3, r3, r2
  6107. 3343 .loc 1 1056 32 view .LVU956
  6108. 3344 001a 0068 ldr r0, [r0]
  6109. 3345 .loc 1 1056 48 view .LVU957
  6110. 3346 001c CB5C ldrb r3, [r1, r3] @ zero_extendqisi2
  6111. 1057:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6112. 3347 .loc 1 1057 1 view .LVU958
  6113. 3348 001e D840 lsrs r0, r0, r3
  6114. 3349 0020 7047 bx lr
  6115. 3350 .L314:
  6116. 3351 0022 00BF .align 2
  6117. 3352 .L313:
  6118. 3353 0024 00100240 .word 1073876992
  6119. 3354 0028 00000000 .word APBPrescTable
  6120. 3355 002c 00000000 .word SystemCoreClock
  6121. 3356 .cfi_endproc
  6122. 3357 .LFE139:
  6123. 3359 .section .text.HAL_RCC_GetOscConfig,"ax",%progbits
  6124. 3360 .align 1
  6125. 3361 .p2align 2,,3
  6126. 3362 .global HAL_RCC_GetOscConfig
  6127. 3363 .syntax unified
  6128. 3364 .thumb
  6129. 3365 .thumb_func
  6130. 3367 HAL_RCC_GetOscConfig:
  6131. 3368 .LVL241:
  6132. 3369 .LFB140:
  6133. 1058:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6134. 1059:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  6135. 1060:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief Configures the RCC_OscInitStruct according to the internal
  6136. 1061:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * RCC configuration registers.
  6137. 1062:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @param RCC_OscInitStruct pointer to an RCC_OscInitTypeDef structure that
  6138. 1063:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * will be configured.
  6139. 1064:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval None
  6140. 1065:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  6141. 1066:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** void HAL_RCC_GetOscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct)
  6142. 1067:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6143. 3370 .loc 1 1067 1 is_stmt 1 view -0
  6144. 3371 .cfi_startproc
  6145. 3372 @ args = 0, pretend = 0, frame = 0
  6146. 3373 @ frame_needed = 0, uses_anonymous_args = 0
  6147. 1068:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the parameters */
  6148. 1069:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(RCC_OscInitStruct != NULL);
  6149. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 107
  6150. 3374 .loc 1 1069 3 view .LVU960
  6151. 1067:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the parameters */
  6152. 3375 .loc 1 1067 1 is_stmt 0 view .LVU961
  6153. 3376 0000 10B5 push {r4, lr}
  6154. 3377 .LCFI19:
  6155. 3378 .cfi_def_cfa_offset 8
  6156. 3379 .cfi_offset 4, -8
  6157. 3380 .cfi_offset 14, -4
  6158. 3381 .loc 1 1069 3 view .LVU962
  6159. 3382 0002 0446 mov r4, r0
  6160. 3383 0004 0028 cmp r0, #0
  6161. 3384 0006 3ED0 beq .L326
  6162. 3385 .LVL242:
  6163. 3386 .L316:
  6164. 1070:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6165. 1071:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Set all possible values for the Oscillator type parameter ---------------*/
  6166. 1072:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->OscillatorType = RCC_OSCILLATORTYPE_HSE | RCC_OSCILLATORTYPE_HSI \
  6167. 3387 .loc 1 1072 3 is_stmt 1 view .LVU963
  6168. 3388 .loc 1 1072 37 is_stmt 0 view .LVU964
  6169. 3389 0008 0F22 movs r2, #15
  6170. 1073:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** | RCC_OSCILLATORTYPE_LSE | RCC_OSCILLATORTYPE_LSI;
  6171. 1074:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6172. 1075:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6173. 1076:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get the HSE configuration -----------------------------------------------*/
  6174. 1077:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((RCC->CR &RCC_CR_HSEBYP) == RCC_CR_HSEBYP)
  6175. 3390 .loc 1 1077 10 view .LVU965
  6176. 3391 000a 224B ldr r3, .L327
  6177. 1072:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** | RCC_OSCILLATORTYPE_LSE | RCC_OSCILLATORTYPE_LSI;
  6178. 3392 .loc 1 1072 37 view .LVU966
  6179. 3393 000c 2260 str r2, [r4]
  6180. 3394 .loc 1 1077 3 is_stmt 1 view .LVU967
  6181. 3395 .loc 1 1077 10 is_stmt 0 view .LVU968
  6182. 3396 000e 1A68 ldr r2, [r3]
  6183. 3397 .loc 1 1077 5 view .LVU969
  6184. 3398 0010 5103 lsls r1, r2, #13
  6185. 3399 0012 29D5 bpl .L317
  6186. 1078:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6187. 1079:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->HSEState = RCC_HSE_BYPASS;
  6188. 3400 .loc 1 1079 5 is_stmt 1 view .LVU970
  6189. 3401 .loc 1 1079 33 is_stmt 0 view .LVU971
  6190. 3402 0014 4FF4A023 mov r3, #327680
  6191. 3403 0018 6360 str r3, [r4, #4]
  6192. 3404 .L318:
  6193. 1080:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6194. 1081:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else if((RCC->CR &RCC_CR_HSEON) == RCC_CR_HSEON)
  6195. 1082:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6196. 1083:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->HSEState = RCC_HSE_ON;
  6197. 1084:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6198. 1085:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  6199. 1086:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6200. 1087:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->HSEState = RCC_HSE_OFF;
  6201. 1088:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6202. 1089:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_DIV2)
  6203. 1090:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->HSEPredivValue = __HAL_RCC_HSE_GET_PREDIV();
  6204. 3405 .loc 1 1090 3 is_stmt 1 view .LVU972
  6205. 3406 .loc 1 1090 39 is_stmt 0 view .LVU973
  6206. 3407 001a 1E4B ldr r3, .L327
  6207. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 108
  6208. 3408 001c DA6A ldr r2, [r3, #44]
  6209. 3409 001e 02F00F02 and r2, r2, #15
  6210. 3410 .loc 1 1090 37 view .LVU974
  6211. 3411 0022 A260 str r2, [r4, #8]
  6212. 1091:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #endif
  6213. 1092:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6214. 1093:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get the HSI configuration -----------------------------------------------*/
  6215. 1094:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((RCC->CR &RCC_CR_HSION) == RCC_CR_HSION)
  6216. 3412 .loc 1 1094 3 is_stmt 1 view .LVU975
  6217. 3413 .loc 1 1094 10 is_stmt 0 view .LVU976
  6218. 3414 0024 1A68 ldr r2, [r3]
  6219. 3415 .loc 1 1094 15 view .LVU977
  6220. 3416 0026 02F00102 and r2, r2, #1
  6221. 3417 002a 2261 str r2, [r4, #16]
  6222. 1095:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6223. 1096:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->HSIState = RCC_HSI_ON;
  6224. 1097:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6225. 1098:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  6226. 1099:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6227. 1100:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->HSIState = RCC_HSI_OFF;
  6228. 1101:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6229. 1102:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6230. 1103:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->HSICalibrationValue = (uint32_t)((RCC->CR & RCC_CR_HSITRIM) >> RCC_CR_HSITRIM_
  6231. 3418 .loc 1 1103 3 is_stmt 1 view .LVU978
  6232. 3419 .loc 1 1103 59 is_stmt 0 view .LVU979
  6233. 3420 002c 1A68 ldr r2, [r3]
  6234. 3421 .loc 1 1103 44 view .LVU980
  6235. 3422 002e C2F3C402 ubfx r2, r2, #3, #5
  6236. 3423 .loc 1 1103 42 view .LVU981
  6237. 3424 0032 6261 str r2, [r4, #20]
  6238. 1104:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6239. 1105:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get the LSE configuration -----------------------------------------------*/
  6240. 1106:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((RCC->BDCR &RCC_BDCR_LSEBYP) == RCC_BDCR_LSEBYP)
  6241. 3425 .loc 1 1106 3 is_stmt 1 view .LVU982
  6242. 3426 .loc 1 1106 10 is_stmt 0 view .LVU983
  6243. 3427 0034 1A6A ldr r2, [r3, #32]
  6244. 3428 .loc 1 1106 5 view .LVU984
  6245. 3429 0036 5207 lsls r2, r2, #29
  6246. 3430 0038 1ED5 bpl .L320
  6247. 1107:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6248. 1108:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->LSEState = RCC_LSE_BYPASS;
  6249. 3431 .loc 1 1108 5 is_stmt 1 view .LVU985
  6250. 3432 .loc 1 1108 33 is_stmt 0 view .LVU986
  6251. 3433 003a 0523 movs r3, #5
  6252. 3434 003c E360 str r3, [r4, #12]
  6253. 3435 .L321:
  6254. 1109:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6255. 1110:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else if((RCC->BDCR &RCC_BDCR_LSEON) == RCC_BDCR_LSEON)
  6256. 1111:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6257. 1112:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->LSEState = RCC_LSE_ON;
  6258. 1113:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6259. 1114:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  6260. 1115:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6261. 1116:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->LSEState = RCC_LSE_OFF;
  6262. 1117:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6263. 1118:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6264. 1119:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get the LSI configuration -----------------------------------------------*/
  6265. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 109
  6266. 1120:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((RCC->CSR &RCC_CSR_LSION) == RCC_CSR_LSION)
  6267. 3436 .loc 1 1120 3 is_stmt 1 view .LVU987
  6268. 3437 .loc 1 1120 10 is_stmt 0 view .LVU988
  6269. 3438 003e 154B ldr r3, .L327
  6270. 3439 0040 5A6A ldr r2, [r3, #36]
  6271. 3440 .loc 1 1120 16 view .LVU989
  6272. 3441 0042 02F00102 and r2, r2, #1
  6273. 3442 0046 A261 str r2, [r4, #24]
  6274. 1121:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6275. 1122:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->LSIState = RCC_LSI_ON;
  6276. 1123:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6277. 1124:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  6278. 1125:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6279. 1126:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->LSIState = RCC_LSI_OFF;
  6280. 1127:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6281. 1128:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6282. 1129:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6283. 1130:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get the PLL configuration -----------------------------------------------*/
  6284. 1131:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if((RCC->CR &RCC_CR_PLLON) == RCC_CR_PLLON)
  6285. 3443 .loc 1 1131 3 is_stmt 1 view .LVU990
  6286. 3444 .loc 1 1131 10 is_stmt 0 view .LVU991
  6287. 3445 0048 1A68 ldr r2, [r3]
  6288. 1132:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6289. 1133:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLState = RCC_PLL_ON;
  6290. 1134:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6291. 1135:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** else
  6292. 1136:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6293. 1137:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLState = RCC_PLL_OFF;
  6294. 3446 .loc 1 1137 37 view .LVU992
  6295. 3447 004a 12F0807F tst r2, #16777216
  6296. 3448 004e 14BF ite ne
  6297. 3449 0050 0222 movne r2, #2
  6298. 3450 0052 0122 moveq r2, #1
  6299. 3451 0054 E261 str r2, [r4, #28]
  6300. 1138:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6301. 1139:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLSource = (uint32_t)(RCC->CFGR & RCC_CFGR_PLLSRC);
  6302. 3452 .loc 1 1139 3 is_stmt 1 view .LVU993
  6303. 3453 .loc 1 1139 52 is_stmt 0 view .LVU994
  6304. 3454 0056 5A68 ldr r2, [r3, #4]
  6305. 3455 .loc 1 1139 38 view .LVU995
  6306. 3456 0058 02F48032 and r2, r2, #65536
  6307. 3457 .loc 1 1139 36 view .LVU996
  6308. 3458 005c 2262 str r2, [r4, #32]
  6309. 1140:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLMUL = (uint32_t)(RCC->CFGR & RCC_CFGR_PLLMUL);
  6310. 3459 .loc 1 1140 3 is_stmt 1 view .LVU997
  6311. 3460 .loc 1 1140 49 is_stmt 0 view .LVU998
  6312. 3461 005e 5B68 ldr r3, [r3, #4]
  6313. 3462 .loc 1 1140 35 view .LVU999
  6314. 3463 0060 03F47013 and r3, r3, #3932160
  6315. 3464 .loc 1 1140 33 view .LVU1000
  6316. 3465 0064 6362 str r3, [r4, #36]
  6317. 1141:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #if defined(RCC_CFGR_PLLSRC_HSI_PREDIV)
  6318. 1142:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PREDIV = (uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV);
  6319. 1143:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** #endif /* RCC_CFGR_PLLSRC_HSI_PREDIV */
  6320. 1144:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6321. 3466 .loc 1 1144 1 view .LVU1001
  6322. 3467 0066 10BD pop {r4, pc}
  6323. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 110
  6324. 3468 .LVL243:
  6325. 3469 .L317:
  6326. 1081:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6327. 3470 .loc 1 1081 8 is_stmt 1 view .LVU1002
  6328. 1081:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6329. 3471 .loc 1 1081 15 is_stmt 0 view .LVU1003
  6330. 3472 0068 1B68 ldr r3, [r3]
  6331. 1081:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6332. 3473 .loc 1 1081 10 view .LVU1004
  6333. 3474 006a 13F48033 ands r3, r3, #65536
  6334. 1083:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6335. 3475 .loc 1 1083 5 is_stmt 1 view .LVU1005
  6336. 1083:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6337. 3476 .loc 1 1083 33 is_stmt 0 view .LVU1006
  6338. 3477 006e 18BF it ne
  6339. 3478 0070 4FF48033 movne r3, #65536
  6340. 1087:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6341. 3479 .loc 1 1087 5 is_stmt 1 view .LVU1007
  6342. 1087:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6343. 3480 .loc 1 1087 33 is_stmt 0 view .LVU1008
  6344. 3481 0074 6360 str r3, [r4, #4]
  6345. 3482 0076 D0E7 b .L318
  6346. 3483 .L320:
  6347. 1110:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6348. 3484 .loc 1 1110 8 is_stmt 1 view .LVU1009
  6349. 1110:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6350. 3485 .loc 1 1110 15 is_stmt 0 view .LVU1010
  6351. 3486 0078 1B6A ldr r3, [r3, #32]
  6352. 1110:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6353. 3487 .loc 1 1110 10 view .LVU1011
  6354. 3488 007a 13F00103 ands r3, r3, #1
  6355. 1112:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6356. 3489 .loc 1 1112 5 is_stmt 1 view .LVU1012
  6357. 1112:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6358. 3490 .loc 1 1112 33 is_stmt 0 view .LVU1013
  6359. 3491 007e 18BF it ne
  6360. 3492 0080 0123 movne r3, #1
  6361. 1116:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6362. 3493 .loc 1 1116 5 is_stmt 1 view .LVU1014
  6363. 1116:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6364. 3494 .loc 1 1116 33 is_stmt 0 view .LVU1015
  6365. 3495 0082 E360 str r3, [r4, #12]
  6366. 3496 0084 DBE7 b .L321
  6367. 3497 .LVL244:
  6368. 3498 .L326:
  6369. 1069:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6370. 3499 .loc 1 1069 3 discriminator 1 view .LVU1016
  6371. 3500 0086 0448 ldr r0, .L327+4
  6372. 3501 .LVL245:
  6373. 1069:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6374. 3502 .loc 1 1069 3 discriminator 1 view .LVU1017
  6375. 3503 0088 40F22D41 movw r1, #1069
  6376. 3504 008c FFF7FEFF bl assert_failed
  6377. 3505 .LVL246:
  6378. 3506 0090 BAE7 b .L316
  6379. 3507 .L328:
  6380. 3508 0092 00BF .align 2
  6381. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 111
  6382. 3509 .L327:
  6383. 3510 0094 00100240 .word 1073876992
  6384. 3511 0098 00000000 .word .LC0
  6385. 3512 .cfi_endproc
  6386. 3513 .LFE140:
  6387. 3515 .section .text.HAL_RCC_GetClockConfig,"ax",%progbits
  6388. 3516 .align 1
  6389. 3517 .p2align 2,,3
  6390. 3518 .global HAL_RCC_GetClockConfig
  6391. 3519 .syntax unified
  6392. 3520 .thumb
  6393. 3521 .thumb_func
  6394. 3523 HAL_RCC_GetClockConfig:
  6395. 3524 .LVL247:
  6396. 3525 .LFB141:
  6397. 1145:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6398. 1146:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  6399. 1147:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief Get the RCC_ClkInitStruct according to the internal
  6400. 1148:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * RCC configuration registers.
  6401. 1149:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @param RCC_ClkInitStruct pointer to an RCC_ClkInitTypeDef structure that
  6402. 1150:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * contains the current clock configuration.
  6403. 1151:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @param pFLatency Pointer on the Flash Latency.
  6404. 1152:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval None
  6405. 1153:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  6406. 1154:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** void HAL_RCC_GetClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatency)
  6407. 1155:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6408. 3526 .loc 1 1155 1 is_stmt 1 view -0
  6409. 3527 .cfi_startproc
  6410. 3528 @ args = 0, pretend = 0, frame = 0
  6411. 3529 @ frame_needed = 0, uses_anonymous_args = 0
  6412. 1156:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the parameters */
  6413. 1157:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(RCC_ClkInitStruct != NULL);
  6414. 3530 .loc 1 1157 3 view .LVU1019
  6415. 1155:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the parameters */
  6416. 3531 .loc 1 1155 1 is_stmt 0 view .LVU1020
  6417. 3532 0000 38B5 push {r3, r4, r5, lr}
  6418. 3533 .LCFI20:
  6419. 3534 .cfi_def_cfa_offset 16
  6420. 3535 .cfi_offset 3, -16
  6421. 3536 .cfi_offset 4, -12
  6422. 3537 .cfi_offset 5, -8
  6423. 3538 .cfi_offset 14, -4
  6424. 1155:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check the parameters */
  6425. 3539 .loc 1 1155 1 view .LVU1021
  6426. 3540 0002 0D46 mov r5, r1
  6427. 3541 .loc 1 1157 3 view .LVU1022
  6428. 3542 0004 0446 mov r4, r0
  6429. 3543 0006 D0B1 cbz r0, .L333
  6430. 1158:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(pFLatency != NULL);
  6431. 3544 .loc 1 1158 3 is_stmt 1 view .LVU1023
  6432. 3545 0008 05B3 cbz r5, .L334
  6433. 3546 .LVL248:
  6434. 3547 .L331:
  6435. 1159:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6436. 1160:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Set all possible values for the Clock type parameter --------------------*/
  6437. 1161:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_ClkInitStruct->ClockType = RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_PCLK1 |
  6438. 3548 .loc 1 1161 3 view .LVU1024
  6439. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 112
  6440. 1162:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6441. 1163:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get the SYSCLK configuration --------------------------------------------*/
  6442. 1164:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_ClkInitStruct->SYSCLKSource = (uint32_t)(RCC->CFGR & RCC_CFGR_SW);
  6443. 3549 .loc 1 1164 51 is_stmt 0 view .LVU1025
  6444. 3550 000a 134B ldr r3, .L335
  6445. 1165:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6446. 1166:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get the HCLK configuration ----------------------------------------------*/
  6447. 1167:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_ClkInitStruct->AHBCLKDivider = (uint32_t)(RCC->CFGR & RCC_CFGR_HPRE);
  6448. 1168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6449. 1169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get the APB1 configuration ----------------------------------------------*/
  6450. 1170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_ClkInitStruct->APB1CLKDivider = (uint32_t)(RCC->CFGR & RCC_CFGR_PPRE1);
  6451. 1171:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6452. 1172:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get the APB2 configuration ----------------------------------------------*/
  6453. 1173:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** RCC_ClkInitStruct->APB2CLKDivider = (uint32_t)((RCC->CFGR & RCC_CFGR_PPRE2) >> 3U);
  6454. 1174:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6455. 1175:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Get the Flash Wait State (Latency) configuration ------------------------*/
  6456. 1176:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** *pFLatency = (uint32_t)(FLASH->ACR & FLASH_ACR_LATENCY);
  6457. 3551 .loc 1 1176 32 view .LVU1026
  6458. 3552 000c 1349 ldr r1, .L335+4
  6459. 1161:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6460. 3553 .loc 1 1161 32 view .LVU1027
  6461. 3554 000e 0F22 movs r2, #15
  6462. 3555 0010 2260 str r2, [r4]
  6463. 1164:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6464. 3556 .loc 1 1164 3 is_stmt 1 view .LVU1028
  6465. 1164:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6466. 3557 .loc 1 1164 51 is_stmt 0 view .LVU1029
  6467. 3558 0012 5A68 ldr r2, [r3, #4]
  6468. 1164:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6469. 3559 .loc 1 1164 37 view .LVU1030
  6470. 3560 0014 02F00302 and r2, r2, #3
  6471. 1164:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6472. 3561 .loc 1 1164 35 view .LVU1031
  6473. 3562 0018 6260 str r2, [r4, #4]
  6474. 1167:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6475. 3563 .loc 1 1167 3 is_stmt 1 view .LVU1032
  6476. 1167:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6477. 3564 .loc 1 1167 52 is_stmt 0 view .LVU1033
  6478. 3565 001a 5A68 ldr r2, [r3, #4]
  6479. 1167:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6480. 3566 .loc 1 1167 38 view .LVU1034
  6481. 3567 001c 02F0F002 and r2, r2, #240
  6482. 1167:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6483. 3568 .loc 1 1167 36 view .LVU1035
  6484. 3569 0020 A260 str r2, [r4, #8]
  6485. 1170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6486. 3570 .loc 1 1170 3 is_stmt 1 view .LVU1036
  6487. 1170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6488. 3571 .loc 1 1170 53 is_stmt 0 view .LVU1037
  6489. 3572 0022 5A68 ldr r2, [r3, #4]
  6490. 1170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6491. 3573 .loc 1 1170 39 view .LVU1038
  6492. 3574 0024 02F4E062 and r2, r2, #1792
  6493. 1170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6494. 3575 .loc 1 1170 37 view .LVU1039
  6495. 3576 0028 E260 str r2, [r4, #12]
  6496. 1173:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6497. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 113
  6498. 3577 .loc 1 1173 3 is_stmt 1 view .LVU1040
  6499. 1173:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6500. 3578 .loc 1 1173 54 is_stmt 0 view .LVU1041
  6501. 3579 002a 5B68 ldr r3, [r3, #4]
  6502. 1173:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6503. 3580 .loc 1 1173 39 view .LVU1042
  6504. 3581 002c DB08 lsrs r3, r3, #3
  6505. 3582 002e 03F4E063 and r3, r3, #1792
  6506. 1173:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6507. 3583 .loc 1 1173 37 view .LVU1043
  6508. 3584 0032 2361 str r3, [r4, #16]
  6509. 3585 .loc 1 1176 3 is_stmt 1 view .LVU1044
  6510. 3586 .loc 1 1176 32 is_stmt 0 view .LVU1045
  6511. 3587 0034 0B68 ldr r3, [r1]
  6512. 3588 .loc 1 1176 16 view .LVU1046
  6513. 3589 0036 03F00703 and r3, r3, #7
  6514. 3590 .loc 1 1176 14 view .LVU1047
  6515. 3591 003a 2B60 str r3, [r5]
  6516. 1177:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6517. 3592 .loc 1 1177 1 view .LVU1048
  6518. 3593 003c 38BD pop {r3, r4, r5, pc}
  6519. 3594 .LVL249:
  6520. 3595 .L333:
  6521. 1157:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(pFLatency != NULL);
  6522. 3596 .loc 1 1157 3 discriminator 1 view .LVU1049
  6523. 3597 003e 0848 ldr r0, .L335+8
  6524. 3598 .LVL250:
  6525. 1157:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(pFLatency != NULL);
  6526. 3599 .loc 1 1157 3 discriminator 1 view .LVU1050
  6527. 3600 0040 40F28541 movw r1, #1157
  6528. 3601 .LVL251:
  6529. 1157:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** assert_param(pFLatency != NULL);
  6530. 3602 .loc 1 1157 3 discriminator 1 view .LVU1051
  6531. 3603 0044 FFF7FEFF bl assert_failed
  6532. 3604 .LVL252:
  6533. 1158:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6534. 3605 .loc 1 1158 3 is_stmt 1 discriminator 1 view .LVU1052
  6535. 3606 0048 002D cmp r5, #0
  6536. 3607 004a DED1 bne .L331
  6537. 3608 .L334:
  6538. 3609 004c 0448 ldr r0, .L335+8
  6539. 3610 004e 40F28641 movw r1, #1158
  6540. 3611 0052 FFF7FEFF bl assert_failed
  6541. 3612 .LVL253:
  6542. 3613 0056 D8E7 b .L331
  6543. 3614 .L336:
  6544. 3615 .align 2
  6545. 3616 .L335:
  6546. 3617 0058 00100240 .word 1073876992
  6547. 3618 005c 00200240 .word 1073881088
  6548. 3619 0060 00000000 .word .LC0
  6549. 3620 .cfi_endproc
  6550. 3621 .LFE141:
  6551. 3623 .section .text.HAL_RCC_CSSCallback,"ax",%progbits
  6552. 3624 .align 1
  6553. 3625 .p2align 2,,3
  6554. 3626 .weak HAL_RCC_CSSCallback
  6555. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 114
  6556. 3627 .syntax unified
  6557. 3628 .thumb
  6558. 3629 .thumb_func
  6559. 3631 HAL_RCC_CSSCallback:
  6560. 3632 .LFB143:
  6561. 1178:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6562. 1179:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  6563. 1180:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief This function handles the RCC CSS interrupt request.
  6564. 1181:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @note This API should be called under the NMI_Handler().
  6565. 1182:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval None
  6566. 1183:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  6567. 1184:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** void HAL_RCC_NMI_IRQHandler(void)
  6568. 1185:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6569. 1186:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check RCC CSSF flag */
  6570. 1187:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** if(__HAL_RCC_GET_IT(RCC_IT_CSS))
  6571. 1188:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6572. 1189:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* RCC Clock Security System interrupt user callback */
  6573. 1190:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** HAL_RCC_CSSCallback();
  6574. 1191:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6575. 1192:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Clear RCC CSS pending bit */
  6576. 1193:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __HAL_RCC_CLEAR_IT(RCC_IT_CSS);
  6577. 1194:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6578. 1195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6579. 1196:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6580. 1197:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /**
  6581. 1198:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @brief RCC Clock Security System interrupt callback
  6582. 1199:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** * @retval none
  6583. 1200:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  6584. 1201:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** __weak void HAL_RCC_CSSCallback(void)
  6585. 1202:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6586. 3633 .loc 1 1202 1 view -0
  6587. 3634 .cfi_startproc
  6588. 3635 @ args = 0, pretend = 0, frame = 0
  6589. 3636 @ frame_needed = 0, uses_anonymous_args = 0
  6590. 3637 @ link register save eliminated.
  6591. 1203:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  6592. 1204:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** the HAL_RCC_CSSCallback could be implemented in the user file
  6593. 1205:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** */
  6594. 1206:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6595. 3638 .loc 1 1206 1 view .LVU1054
  6596. 3639 0000 7047 bx lr
  6597. 3640 .cfi_endproc
  6598. 3641 .LFE143:
  6599. 3643 0002 00BF .section .text.HAL_RCC_NMI_IRQHandler,"ax",%progbits
  6600. 3644 .align 1
  6601. 3645 .p2align 2,,3
  6602. 3646 .global HAL_RCC_NMI_IRQHandler
  6603. 3647 .syntax unified
  6604. 3648 .thumb
  6605. 3649 .thumb_func
  6606. 3651 HAL_RCC_NMI_IRQHandler:
  6607. 3652 .LFB142:
  6608. 1185:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check RCC CSSF flag */
  6609. 3653 .loc 1 1185 1 view -0
  6610. 3654 .cfi_startproc
  6611. 3655 @ args = 0, pretend = 0, frame = 0
  6612. 3656 @ frame_needed = 0, uses_anonymous_args = 0
  6613. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 115
  6614. 1187:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6615. 3657 .loc 1 1187 3 view .LVU1056
  6616. 1185:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** /* Check RCC CSSF flag */
  6617. 3658 .loc 1 1185 1 is_stmt 0 view .LVU1057
  6618. 3659 0000 10B5 push {r4, lr}
  6619. 3660 .LCFI21:
  6620. 3661 .cfi_def_cfa_offset 8
  6621. 3662 .cfi_offset 4, -8
  6622. 3663 .cfi_offset 14, -4
  6623. 1187:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6624. 3664 .loc 1 1187 6 view .LVU1058
  6625. 3665 0002 054C ldr r4, .L345
  6626. 3666 0004 A368 ldr r3, [r4, #8]
  6627. 1187:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** {
  6628. 3667 .loc 1 1187 5 view .LVU1059
  6629. 3668 0006 1B06 lsls r3, r3, #24
  6630. 3669 0008 00D4 bmi .L344
  6631. 1195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6632. 3670 .loc 1 1195 1 view .LVU1060
  6633. 3671 000a 10BD pop {r4, pc}
  6634. 3672 .L344:
  6635. 1190:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6636. 3673 .loc 1 1190 5 is_stmt 1 view .LVU1061
  6637. 3674 000c FFF7FEFF bl HAL_RCC_CSSCallback
  6638. 3675 .LVL254:
  6639. 1193:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c **** }
  6640. 3676 .loc 1 1193 5 view .LVU1062
  6641. 3677 0010 8023 movs r3, #128
  6642. 3678 0012 A372 strb r3, [r4, #10]
  6643. 1195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c ****
  6644. 3679 .loc 1 1195 1 is_stmt 0 view .LVU1063
  6645. 3680 0014 10BD pop {r4, pc}
  6646. 3681 .L346:
  6647. 3682 0016 00BF .align 2
  6648. 3683 .L345:
  6649. 3684 0018 00100240 .word 1073876992
  6650. 3685 .cfi_endproc
  6651. 3686 .LFE142:
  6652. 3688 .section .rodata.aPLLMULFactorTable,"a"
  6653. 3689 .align 2
  6654. 3690 .set .LANCHOR0,. + 0
  6655. 3693 aPLLMULFactorTable:
  6656. 3694 0000 02030405 .ascii "\002\003\004\005\006\007\010\011\012\013\014\015\016"
  6657. 3694 06070809
  6658. 3694 0A0B0C0D
  6659. 3694 0E
  6660. 3695 000d 0F1010 .ascii "\017\020\020"
  6661. 3696 .section .rodata.aPredivFactorTable,"a"
  6662. 3697 .align 2
  6663. 3698 .set .LANCHOR1,. + 0
  6664. 3701 aPredivFactorTable:
  6665. 3702 0000 01020304 .ascii "\001\002\003\004\005\006\007\010\011\012\013\014\015"
  6666. 3702 05060708
  6667. 3702 090A0B0C
  6668. 3702 0D
  6669. 3703 000d 0E0F10 .ascii "\016\017\020"
  6670. 3704 .text
  6671. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 116
  6672. 3705 .Letext0:
  6673. 3706 .file 3 "d:\\arm-gcc\\arm-none-eabi\\include\\machine\\_default_types.h"
  6674. 3707 .file 4 "d:\\arm-gcc\\arm-none-eabi\\include\\sys\\_stdint.h"
  6675. 3708 .file 5 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/system_stm32f3xx.h"
  6676. 3709 .file 6 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f302xc.h"
  6677. 3710 .file 7 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f3xx.h"
  6678. 3711 .file 8 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_def.h"
  6679. 3712 .file 9 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_rcc.h"
  6680. 3713 .file 10 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_gpio.h"
  6681. 3714 .file 11 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal.h"
  6682. 3715 .file 12 "Core/Inc/stm32f3xx_hal_conf.h"
  6683. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 117
  6684. DEFINED SYMBOLS
  6685. *ABS*:00000000 stm32f3xx_hal_rcc.c
  6686. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:20 .text.HAL_RCC_DeInit:00000000 $t
  6687. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:27 .text.HAL_RCC_DeInit:00000000 HAL_RCC_DeInit
  6688. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:245 .text.HAL_RCC_DeInit:000000d0 $d
  6689. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:255 .rodata.HAL_RCC_OscConfig.str1.4:00000000 $d
  6690. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:260 .text.HAL_RCC_OscConfig:00000000 $t
  6691. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:267 .text.HAL_RCC_OscConfig:00000000 HAL_RCC_OscConfig
  6692. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:1081 .text.HAL_RCC_OscConfig:00000304 $d
  6693. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:1090 .text.HAL_RCC_OscConfig:00000314 $t
  6694. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2119 .text.HAL_RCC_OscConfig:00000618 $d
  6695. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2125 .text.HAL_RCC_OscConfig:00000624 $t
  6696. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2314 .text.HAL_RCC_OscConfig:000006d0 $d
  6697. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2319 .text.HAL_RCC_MCOConfig:00000000 $t
  6698. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2326 .text.HAL_RCC_MCOConfig:00000000 HAL_RCC_MCOConfig
  6699. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2466 .text.HAL_RCC_MCOConfig:00000094 $d
  6700. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2472 .text.HAL_RCC_EnableCSS:00000000 $t
  6701. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2479 .text.HAL_RCC_EnableCSS:00000000 HAL_RCC_EnableCSS
  6702. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2520 .text.HAL_RCC_DisableCSS:00000000 $t
  6703. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2527 .text.HAL_RCC_DisableCSS:00000000 HAL_RCC_DisableCSS
  6704. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2568 .text.HAL_RCC_GetSysClockFreq:00000000 $t
  6705. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2575 .text.HAL_RCC_GetSysClockFreq:00000000 HAL_RCC_GetSysClockFreq
  6706. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2654 .text.HAL_RCC_GetSysClockFreq:0000003c $d
  6707. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2663 .text.HAL_RCC_ClockConfig:00000000 $t
  6708. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:2670 .text.HAL_RCC_ClockConfig:00000000 HAL_RCC_ClockConfig
  6709. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3160 .text.HAL_RCC_ClockConfig:00000204 $d
  6710. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3170 .text.HAL_RCC_GetHCLKFreq:00000000 $t
  6711. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3177 .text.HAL_RCC_GetHCLKFreq:00000000 HAL_RCC_GetHCLKFreq
  6712. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3193 .text.HAL_RCC_GetHCLKFreq:00000008 $d
  6713. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3198 .text.HAL_RCC_GetPCLK1Freq:00000000 $t
  6714. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3205 .text.HAL_RCC_GetPCLK1Freq:00000000 HAL_RCC_GetPCLK1Freq
  6715. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3272 .text.HAL_RCC_GetPCLK1Freq:00000024 $d
  6716. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3279 .text.HAL_RCC_GetPCLK2Freq:00000000 $t
  6717. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3286 .text.HAL_RCC_GetPCLK2Freq:00000000 HAL_RCC_GetPCLK2Freq
  6718. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3353 .text.HAL_RCC_GetPCLK2Freq:00000024 $d
  6719. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3360 .text.HAL_RCC_GetOscConfig:00000000 $t
  6720. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3367 .text.HAL_RCC_GetOscConfig:00000000 HAL_RCC_GetOscConfig
  6721. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3510 .text.HAL_RCC_GetOscConfig:00000094 $d
  6722. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3516 .text.HAL_RCC_GetClockConfig:00000000 $t
  6723. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3523 .text.HAL_RCC_GetClockConfig:00000000 HAL_RCC_GetClockConfig
  6724. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3617 .text.HAL_RCC_GetClockConfig:00000058 $d
  6725. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3624 .text.HAL_RCC_CSSCallback:00000000 $t
  6726. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3631 .text.HAL_RCC_CSSCallback:00000000 HAL_RCC_CSSCallback
  6727. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3644 .text.HAL_RCC_NMI_IRQHandler:00000000 $t
  6728. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3651 .text.HAL_RCC_NMI_IRQHandler:00000000 HAL_RCC_NMI_IRQHandler
  6729. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3684 .text.HAL_RCC_NMI_IRQHandler:00000018 $d
  6730. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3689 .rodata.aPLLMULFactorTable:00000000 $d
  6731. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3693 .rodata.aPLLMULFactorTable:00000000 aPLLMULFactorTable
  6732. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3697 .rodata.aPredivFactorTable:00000000 $d
  6733. C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s:3701 .rodata.aPredivFactorTable:00000000 aPredivFactorTable
  6734. UNDEFINED SYMBOLS
  6735. HAL_GetTick
  6736. HAL_InitTick
  6737. uwTickPrio
  6738. SystemCoreClock
  6739. assert_failed
  6740. ARM GAS C:\Users\zl835\AppData\Local\Temp\cc9EITeh.s page 118
  6741. HAL_GPIO_Init
  6742. AHBPrescTable
  6743. APBPrescTable