stm32f1xx_ll_rcc.lst 346 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509
  1. ARM GAS /tmp/cc2ZcXc2.s page 1
  2. 1 .cpu cortex-m3
  3. 2 .arch armv7-m
  4. 3 .fpu softvfp
  5. 4 .eabi_attribute 20, 1
  6. 5 .eabi_attribute 21, 1
  7. 6 .eabi_attribute 23, 3
  8. 7 .eabi_attribute 24, 1
  9. 8 .eabi_attribute 25, 1
  10. 9 .eabi_attribute 26, 1
  11. 10 .eabi_attribute 30, 1
  12. 11 .eabi_attribute 34, 1
  13. 12 .eabi_attribute 18, 4
  14. 13 .file "stm32f1xx_ll_rcc.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.LL_RCC_DeInit,"ax",%progbits
  19. 18 .align 1
  20. 19 .global LL_RCC_DeInit
  21. 20 .syntax unified
  22. 21 .thumb
  23. 22 .thumb_func
  24. 24 LL_RCC_DeInit:
  25. 25 .LFB147:
  26. 26 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c"
  27. 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  28. 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** ******************************************************************************
  29. 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @file stm32f1xx_ll_rcc.c
  30. 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @author MCD Application Team
  31. 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @brief RCC LL module driver.
  32. 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** ******************************************************************************
  33. 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @attention
  34. 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** *
  35. 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * Copyright (c) 2016 STMicroelectronics.
  36. 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * All rights reserved.
  37. 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** *
  38. 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * This software is licensed under terms that can be found in the LICENSE file in
  39. 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * the root directory of this software component.
  40. 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  41. 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** ******************************************************************************
  42. 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  43. 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  44. 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #if defined(USE_FULL_LL_DRIVER)
  45. 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  46. 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Includes ------------------------------------------------------------------*/
  47. 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #include "stm32f1xx_ll_rcc.h"
  48. 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #ifdef USE_FULL_ASSERT
  49. 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #include "stm32_assert.h"
  50. 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #else
  51. 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #define assert_param(expr) ((void)0U)
  52. 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #endif /* USE_FULL_ASSERT */
  53. 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /** @addtogroup STM32F1xx_LL_Driver
  54. 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @{
  55. 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  56. 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  57. 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #if defined(RCC)
  58. 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  59. ARM GAS /tmp/cc2ZcXc2.s page 2
  60. 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /** @defgroup RCC_LL RCC
  61. 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @{
  62. 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  63. 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  64. 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Private types -------------------------------------------------------------*/
  65. 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Private variables ---------------------------------------------------------*/
  66. 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Private constants ---------------------------------------------------------*/
  67. 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Private macros ------------------------------------------------------------*/
  68. 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /** @addtogroup RCC_LL_Private_Macros
  69. 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @{
  70. 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  71. 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #if defined(RCC_PLLI2S_SUPPORT)
  72. 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #define IS_LL_RCC_I2S_CLKSOURCE(__VALUE__) (((__VALUE__) == LL_RCC_I2S2_CLKSOURCE) \
  73. 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** || ((__VALUE__) == LL_RCC_I2S3_CLKSOURCE))
  74. 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #endif /* RCC_PLLI2S_SUPPORT */
  75. 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  76. 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #if defined(USB) || defined(USB_OTG_FS)
  77. 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #define IS_LL_RCC_USB_CLKSOURCE(__VALUE__) (((__VALUE__) == LL_RCC_USB_CLKSOURCE))
  78. 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #endif /* USB */
  79. 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  80. 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #define IS_LL_RCC_ADC_CLKSOURCE(__VALUE__) (((__VALUE__) == LL_RCC_ADC_CLKSOURCE))
  81. 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  82. 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @}
  83. 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  84. 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  85. 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Private function prototypes -----------------------------------------------*/
  86. 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /** @defgroup RCC_LL_Private_Functions RCC Private functions
  87. 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @{
  88. 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  89. 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t RCC_GetSystemClockFreq(void);
  90. 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t RCC_GetHCLKClockFreq(uint32_t SYSCLK_Frequency);
  91. 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t RCC_GetPCLK1ClockFreq(uint32_t HCLK_Frequency);
  92. 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t RCC_GetPCLK2ClockFreq(uint32_t HCLK_Frequency);
  93. 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t RCC_PLL_GetFreqDomain_SYS(void);
  94. 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #if defined(RCC_PLLI2S_SUPPORT)
  95. 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t RCC_PLLI2S_GetFreqDomain_I2S(void);
  96. 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #endif /* RCC_PLLI2S_SUPPORT */
  97. 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #if defined(RCC_PLL2_SUPPORT)
  98. 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t RCC_PLL2_GetFreqClockFreq(void);
  99. 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #endif /* RCC_PLL2_SUPPORT */
  100. 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  101. 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @}
  102. 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  103. 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  104. 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Exported functions --------------------------------------------------------*/
  105. 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /** @addtogroup RCC_LL_Exported_Functions
  106. 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @{
  107. 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  108. 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  109. 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /** @addtogroup RCC_LL_EF_Init
  110. 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @{
  111. 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  112. 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  113. 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  114. 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @brief Reset the RCC clock configuration to the default reset state.
  115. 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @note The default reset state of the clock configuration is given below:
  116. 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * - HSI ON and used as system clock source
  117. ARM GAS /tmp/cc2ZcXc2.s page 3
  118. 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * - HSE PLL, PLL2 & PLL3 are OFF
  119. 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * - AHB, APB1 and APB2 prescaler set to 1.
  120. 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * - CSS, MCO OFF
  121. 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * - All interrupts disabled
  122. 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @note This function doesn't modify the configuration of the
  123. 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * - Peripheral clocks
  124. 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * - LSI, LSE and RTC clocks
  125. 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @retval An ErrorStatus enumeration value:
  126. 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * - SUCCESS: RCC registers are de-initialized
  127. 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * - ERROR: not applicable
  128. 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  129. 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** ErrorStatus LL_RCC_DeInit(void)
  130. 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  131. 27 .loc 1 102 1 view -0
  132. 28 .cfi_startproc
  133. 29 @ args = 0, pretend = 0, frame = 0
  134. 30 @ frame_needed = 0, uses_anonymous_args = 0
  135. 31 @ link register save eliminated.
  136. 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Set HSION bit */
  137. 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** LL_RCC_HSI_Enable();
  138. 32 .loc 1 104 3 view .LVU1
  139. 33 .LBB42:
  140. 34 .LBI42:
  141. 35 .file 2 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h"
  142. 1:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  143. 2:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** ******************************************************************************
  144. 3:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @file stm32f1xx_ll_rcc.h
  145. 4:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @author MCD Application Team
  146. 5:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Header file of RCC LL module.
  147. 6:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** ******************************************************************************
  148. 7:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @attention
  149. 8:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** *
  150. 9:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * Copyright (c) 2016 STMicroelectronics.
  151. 10:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * All rights reserved.
  152. 11:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** *
  153. 12:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * This software is licensed under terms that can be found in the LICENSE file in
  154. 13:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * the root directory of this software component.
  155. 14:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * If no LICENSE file comes with this software, it is provided AS-IS.
  156. 15:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** ******************************************************************************
  157. 16:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  158. 17:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  159. 18:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /* Define to prevent recursive inclusion -------------------------------------*/
  160. 19:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #ifndef __STM32F1xx_LL_RCC_H
  161. 20:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define __STM32F1xx_LL_RCC_H
  162. 21:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  163. 22:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #ifdef __cplusplus
  164. 23:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** extern "C" {
  165. 24:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif
  166. 25:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  167. 26:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /* Includes ------------------------------------------------------------------*/
  168. 27:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #include "stm32f1xx.h"
  169. 28:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  170. 29:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @addtogroup STM32F1xx_LL_Driver
  171. 30:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  172. 31:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  173. 32:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  174. 33:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC)
  175. ARM GAS /tmp/cc2ZcXc2.s page 4
  176. 34:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  177. 35:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL RCC
  178. 36:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  179. 37:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  180. 38:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  181. 39:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /* Private types -------------------------------------------------------------*/
  182. 40:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /* Private variables ---------------------------------------------------------*/
  183. 41:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /* Private constants ---------------------------------------------------------*/
  184. 42:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /* Private macros ------------------------------------------------------------*/
  185. 43:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(USE_FULL_LL_DRIVER)
  186. 44:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_Private_Macros RCC Private Macros
  187. 45:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  188. 46:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  189. 47:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  190. 48:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  191. 49:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  192. 50:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*USE_FULL_LL_DRIVER*/
  193. 51:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /* Exported types ------------------------------------------------------------*/
  194. 52:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(USE_FULL_LL_DRIVER)
  195. 53:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_Exported_Types RCC Exported Types
  196. 54:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  197. 55:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  198. 56:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  199. 57:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup LL_ES_CLOCK_FREQ Clocks Frequency Structure
  200. 58:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  201. 59:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  202. 60:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  203. 61:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  204. 62:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief RCC Clocks Frequency Structure
  205. 63:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  206. 64:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** typedef struct
  207. 65:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  208. 66:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** uint32_t SYSCLK_Frequency; /*!< SYSCLK clock frequency */
  209. 67:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** uint32_t HCLK_Frequency; /*!< HCLK clock frequency */
  210. 68:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** uint32_t PCLK1_Frequency; /*!< PCLK1 clock frequency */
  211. 69:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** uint32_t PCLK2_Frequency; /*!< PCLK2 clock frequency */
  212. 70:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** } LL_RCC_ClocksTypeDef;
  213. 71:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  214. 72:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  215. 73:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  216. 74:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  217. 75:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  218. 76:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  219. 77:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  220. 78:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  221. 79:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* USE_FULL_LL_DRIVER */
  222. 80:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  223. 81:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /* Exported constants --------------------------------------------------------*/
  224. 82:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_Exported_Constants RCC Exported Constants
  225. 83:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  226. 84:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  227. 85:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  228. 86:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_OSC_VALUES Oscillator Values adaptation
  229. 87:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Defines used to adapt values of different oscillators
  230. 88:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @note These values could be modified in the user environment according to
  231. 89:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * HW set-up.
  232. 90:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  233. ARM GAS /tmp/cc2ZcXc2.s page 5
  234. 91:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  235. 92:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if !defined (HSE_VALUE)
  236. 93:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define HSE_VALUE 8000000U /*!< Value of the HSE oscillator in Hz */
  237. 94:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* HSE_VALUE */
  238. 95:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  239. 96:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if !defined (HSI_VALUE)
  240. 97:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define HSI_VALUE 8000000U /*!< Value of the HSI oscillator in Hz */
  241. 98:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* HSI_VALUE */
  242. 99:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  243. 100:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if !defined (LSE_VALUE)
  244. 101:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LSE_VALUE 32768U /*!< Value of the LSE oscillator in Hz */
  245. 102:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* LSE_VALUE */
  246. 103:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  247. 104:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if !defined (LSI_VALUE)
  248. 105:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LSI_VALUE 40000U /*!< Value of the LSI oscillator in Hz */
  249. 106:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* LSI_VALUE */
  250. 107:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  251. 108:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  252. 109:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  253. 110:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  254. 111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_CLEAR_FLAG Clear Flags Defines
  255. 112:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Flags defines which can be used with LL_RCC_WriteReg function
  256. 113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  257. 114:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  258. 115:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_LSIRDYC RCC_CIR_LSIRDYC /*!< LSI Ready Interrupt Clear */
  259. 116:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_LSERDYC RCC_CIR_LSERDYC /*!< LSE Ready Interrupt Clear */
  260. 117:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_HSIRDYC RCC_CIR_HSIRDYC /*!< HSI Ready Interrupt Clear */
  261. 118:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_HSERDYC RCC_CIR_HSERDYC /*!< HSE Ready Interrupt Clear */
  262. 119:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_PLLRDYC RCC_CIR_PLLRDYC /*!< PLL Ready Interrupt Clear */
  263. 120:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_PLL3RDYC RCC_CIR_PLL3RDYC /*!< PLL3(PLLI2S) Ready Interrupt Cle
  264. 121:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_PLL2RDYC RCC_CIR_PLL2RDYC /*!< PLL2 Ready Interrupt Clear */
  265. 122:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_CSSC RCC_CIR_CSSC /*!< Clock Security System Interrupt
  266. 123:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  267. 124:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  268. 125:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  269. 126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  270. 127:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_GET_FLAG Get Flags Defines
  271. 128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Flags defines which can be used with LL_RCC_ReadReg function
  272. 129:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  273. 130:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  274. 131:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_LSIRDYF RCC_CIR_LSIRDYF /*!< LSI Ready Interrupt flag */
  275. 132:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_LSERDYF RCC_CIR_LSERDYF /*!< LSE Ready Interrupt flag */
  276. 133:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_HSIRDYF RCC_CIR_HSIRDYF /*!< HSI Ready Interrupt flag */
  277. 134:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_HSERDYF RCC_CIR_HSERDYF /*!< HSE Ready Interrupt flag */
  278. 135:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_PLLRDYF RCC_CIR_PLLRDYF /*!< PLL Ready Interrupt flag */
  279. 136:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_PLL3RDYF RCC_CIR_PLL3RDYF /*!< PLL3(PLLI2S) Ready Interrupt fla
  280. 137:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_PLL2RDYF RCC_CIR_PLL2RDYF /*!< PLL2 Ready Interrupt flag */
  281. 138:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_CSSF RCC_CIR_CSSF /*!< Clock Security System Interrupt
  282. 139:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CSR_PINRSTF RCC_CSR_PINRSTF /*!< PIN reset flag */
  283. 140:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CSR_PORRSTF RCC_CSR_PORRSTF /*!< POR/PDR reset flag */
  284. 141:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CSR_SFTRSTF RCC_CSR_SFTRSTF /*!< Software Reset flag */
  285. 142:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CSR_IWDGRSTF RCC_CSR_IWDGRSTF /*!< Independent Watchdog reset flag
  286. 143:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CSR_WWDGRSTF RCC_CSR_WWDGRSTF /*!< Window watchdog reset flag */
  287. 144:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CSR_LPWRRSTF RCC_CSR_LPWRRSTF /*!< Low-Power reset flag */
  288. 145:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  289. 146:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  290. 147:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  291. ARM GAS /tmp/cc2ZcXc2.s page 6
  292. 148:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  293. 149:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_IT IT Defines
  294. 150:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief IT defines which can be used with LL_RCC_ReadReg and LL_RCC_WriteReg functions
  295. 151:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  296. 152:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  297. 153:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_LSIRDYIE RCC_CIR_LSIRDYIE /*!< LSI Ready Interrupt Enable */
  298. 154:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_LSERDYIE RCC_CIR_LSERDYIE /*!< LSE Ready Interrupt Enable */
  299. 155:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_HSIRDYIE RCC_CIR_HSIRDYIE /*!< HSI Ready Interrupt Enable */
  300. 156:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_HSERDYIE RCC_CIR_HSERDYIE /*!< HSE Ready Interrupt Enable */
  301. 157:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_PLLRDYIE RCC_CIR_PLLRDYIE /*!< PLL Ready Interrupt Enable */
  302. 158:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_PLL3RDYIE RCC_CIR_PLL3RDYIE /*!< PLL3(PLLI2S) Ready Interrupt E
  303. 159:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_CIR_PLL2RDYIE RCC_CIR_PLL2RDYIE /*!< PLL2 Ready Interrupt Enable */
  304. 160:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  305. 161:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  306. 162:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  307. 163:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  308. 164:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_PREDIV2)
  309. 165:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_HSE_PREDIV2_DIV HSE PREDIV2 Division factor
  310. 166:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  311. 167:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  312. 168:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_1 RCC_CFGR2_PREDIV2_DIV1 /*!< PREDIV2 input clock not di
  313. 169:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_2 RCC_CFGR2_PREDIV2_DIV2 /*!< PREDIV2 input clock divide
  314. 170:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_3 RCC_CFGR2_PREDIV2_DIV3 /*!< PREDIV2 input clock divide
  315. 171:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_4 RCC_CFGR2_PREDIV2_DIV4 /*!< PREDIV2 input clock divide
  316. 172:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_5 RCC_CFGR2_PREDIV2_DIV5 /*!< PREDIV2 input clock divide
  317. 173:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_6 RCC_CFGR2_PREDIV2_DIV6 /*!< PREDIV2 input clock divide
  318. 174:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_7 RCC_CFGR2_PREDIV2_DIV7 /*!< PREDIV2 input clock divide
  319. 175:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_8 RCC_CFGR2_PREDIV2_DIV8 /*!< PREDIV2 input clock divide
  320. 176:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_9 RCC_CFGR2_PREDIV2_DIV9 /*!< PREDIV2 input clock divide
  321. 177:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_10 RCC_CFGR2_PREDIV2_DIV10 /*!< PREDIV2 input clock divide
  322. 178:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_11 RCC_CFGR2_PREDIV2_DIV11 /*!< PREDIV2 input clock divide
  323. 179:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_12 RCC_CFGR2_PREDIV2_DIV12 /*!< PREDIV2 input clock divide
  324. 180:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_13 RCC_CFGR2_PREDIV2_DIV13 /*!< PREDIV2 input clock divide
  325. 181:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_14 RCC_CFGR2_PREDIV2_DIV14 /*!< PREDIV2 input clock divide
  326. 182:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_15 RCC_CFGR2_PREDIV2_DIV15 /*!< PREDIV2 input clock divide
  327. 183:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_HSE_PREDIV2_DIV_16 RCC_CFGR2_PREDIV2_DIV16 /*!< PREDIV2 input clock divide
  328. 184:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  329. 185:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  330. 186:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  331. 187:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  332. 188:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_CFGR2_PREDIV2 */
  333. 189:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  334. 190:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_SYS_CLKSOURCE System clock switch
  335. 191:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  336. 192:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  337. 193:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYS_CLKSOURCE_HSI RCC_CFGR_SW_HSI /*!< HSI selection as system clock */
  338. 194:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYS_CLKSOURCE_HSE RCC_CFGR_SW_HSE /*!< HSE selection as system clock */
  339. 195:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYS_CLKSOURCE_PLL RCC_CFGR_SW_PLL /*!< PLL selection as system clock */
  340. 196:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  341. 197:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  342. 198:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  343. 199:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  344. 200:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_SYS_CLKSOURCE_STATUS System clock switch status
  345. 201:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  346. 202:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  347. 203:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYS_CLKSOURCE_STATUS_HSI RCC_CFGR_SWS_HSI /*!< HSI used as system clock */
  348. 204:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYS_CLKSOURCE_STATUS_HSE RCC_CFGR_SWS_HSE /*!< HSE used as system clock */
  349. ARM GAS /tmp/cc2ZcXc2.s page 7
  350. 205:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYS_CLKSOURCE_STATUS_PLL RCC_CFGR_SWS_PLL /*!< PLL used as system clock */
  351. 206:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  352. 207:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  353. 208:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  354. 209:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  355. 210:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_SYSCLK_DIV AHB prescaler
  356. 211:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  357. 212:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  358. 213:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_1 RCC_CFGR_HPRE_DIV1 /*!< SYSCLK not divided */
  359. 214:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_2 RCC_CFGR_HPRE_DIV2 /*!< SYSCLK divided by 2 */
  360. 215:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_4 RCC_CFGR_HPRE_DIV4 /*!< SYSCLK divided by 4 */
  361. 216:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_8 RCC_CFGR_HPRE_DIV8 /*!< SYSCLK divided by 8 */
  362. 217:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_16 RCC_CFGR_HPRE_DIV16 /*!< SYSCLK divided by 16 */
  363. 218:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_64 RCC_CFGR_HPRE_DIV64 /*!< SYSCLK divided by 64 */
  364. 219:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_128 RCC_CFGR_HPRE_DIV128 /*!< SYSCLK divided by 128 */
  365. 220:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_256 RCC_CFGR_HPRE_DIV256 /*!< SYSCLK divided by 256 */
  366. 221:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_512 RCC_CFGR_HPRE_DIV512 /*!< SYSCLK divided by 512 */
  367. 222:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  368. 223:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  369. 224:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  370. 225:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  371. 226:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_APB1_DIV APB low-speed prescaler (APB1)
  372. 227:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  373. 228:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  374. 229:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_APB1_DIV_1 RCC_CFGR_PPRE1_DIV1 /*!< HCLK not divided */
  375. 230:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_APB1_DIV_2 RCC_CFGR_PPRE1_DIV2 /*!< HCLK divided by 2 */
  376. 231:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_APB1_DIV_4 RCC_CFGR_PPRE1_DIV4 /*!< HCLK divided by 4 */
  377. 232:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_APB1_DIV_8 RCC_CFGR_PPRE1_DIV8 /*!< HCLK divided by 8 */
  378. 233:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_APB1_DIV_16 RCC_CFGR_PPRE1_DIV16 /*!< HCLK divided by 16 */
  379. 234:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  380. 235:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  381. 236:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  382. 237:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  383. 238:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_APB2_DIV APB high-speed prescaler (APB2)
  384. 239:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  385. 240:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  386. 241:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_APB2_DIV_1 RCC_CFGR_PPRE2_DIV1 /*!< HCLK not divided */
  387. 242:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_APB2_DIV_2 RCC_CFGR_PPRE2_DIV2 /*!< HCLK divided by 2 */
  388. 243:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_APB2_DIV_4 RCC_CFGR_PPRE2_DIV4 /*!< HCLK divided by 4 */
  389. 244:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_APB2_DIV_8 RCC_CFGR_PPRE2_DIV8 /*!< HCLK divided by 8 */
  390. 245:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_APB2_DIV_16 RCC_CFGR_PPRE2_DIV16 /*!< HCLK divided by 16 */
  391. 246:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  392. 247:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  393. 248:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  394. 249:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  395. 250:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_MCO1SOURCE MCO1 SOURCE selection
  396. 251:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  397. 252:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  398. 253:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_NOCLOCK RCC_CFGR_MCO_NOCLOCK /*!< MCO output disabled, no c
  399. 254:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_SYSCLK RCC_CFGR_MCO_SYSCLK /*!< SYSCLK selection as MCO s
  400. 255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_HSI RCC_CFGR_MCO_HSI /*!< HSI selection as MCO sour
  401. 256:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_HSE RCC_CFGR_MCO_HSE /*!< HSE selection as MCO sour
  402. 257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_PLLCLK_DIV_2 RCC_CFGR_MCO_PLLCLK_DIV2 /*!< PLL clock divided by 2*/
  403. 258:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR_MCO_PLL2CLK)
  404. 259:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_PLL2CLK RCC_CFGR_MCO_PLL2CLK /*!< PLL2 clock selected as MC
  405. 260:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_CFGR_MCO_PLL2CLK */
  406. 261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR_MCO_PLL3CLK_DIV2)
  407. ARM GAS /tmp/cc2ZcXc2.s page 8
  408. 262:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_PLLI2SCLK_DIV2 RCC_CFGR_MCO_PLL3CLK_DIV2 /*!< PLLI2S clock divided by 2
  409. 263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_CFGR_MCO_PLL3CLK_DIV2 */
  410. 264:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR_MCO_EXT_HSE)
  411. 265:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_EXT_HSE RCC_CFGR_MCO_EXT_HSE /*!< XT1 external 3-25 MHz osc
  412. 266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_CFGR_MCO_EXT_HSE */
  413. 267:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR_MCO_PLL3CLK)
  414. 268:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_PLLI2SCLK RCC_CFGR_MCO_PLL3CLK /*!< PLLI2S clock selected as
  415. 269:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_CFGR_MCO_PLL3CLK */
  416. 270:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  417. 271:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  418. 272:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  419. 273:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  420. 274:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(USE_FULL_LL_DRIVER)
  421. 275:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_PERIPH_FREQUENCY Peripheral clock frequency
  422. 276:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  423. 277:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  424. 278:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PERIPH_FREQUENCY_NO 0x00000000U /*!< No clock enabled for the periphera
  425. 279:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PERIPH_FREQUENCY_NA 0xFFFFFFFFU /*!< Frequency cannot be provided as ex
  426. 280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  427. 281:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  428. 282:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  429. 283:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* USE_FULL_LL_DRIVER */
  430. 284:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  431. 285:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_I2S2SRC)
  432. 286:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_I2S2CLKSOURCE Peripheral I2S clock source selection
  433. 287:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  434. 288:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  435. 289:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_I2S2_CLKSOURCE_SYSCLK RCC_CFGR2_I2S2SRC
  436. 290:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_I2S2_CLKSOURCE_PLLI2S_VCO (uint32_t)(RCC_CFGR2_I2S2SRC | (RCC_CFGR2_I2S2SRC >> 16
  437. 291:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_I2S3_CLKSOURCE_SYSCLK RCC_CFGR2_I2S3SRC
  438. 292:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_I2S3_CLKSOURCE_PLLI2S_VCO (uint32_t)(RCC_CFGR2_I2S3SRC | (RCC_CFGR2_I2S3SRC >> 16
  439. 293:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  440. 294:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  441. 295:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  442. 296:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_CFGR2_I2S2SRC */
  443. 297:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  444. 298:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(USB_OTG_FS) || defined(USB)
  445. 299:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_USB_CLKSOURCE Peripheral USB clock source selection
  446. 300:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  447. 301:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  448. 302:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR_USBPRE)
  449. 303:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_USB_CLKSOURCE_PLL RCC_CFGR_USBPRE /*!< PLL clock is not divided *
  450. 304:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_USB_CLKSOURCE_PLL_DIV_1_5 0x00000000U /*!< PLL clock is divided by 1.
  451. 305:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR_USBPRE*/
  452. 306:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR_OTGFSPRE)
  453. 307:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_USB_CLKSOURCE_PLL_DIV_2 RCC_CFGR_OTGFSPRE /*!< PLL clock is divided by 2
  454. 308:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_USB_CLKSOURCE_PLL_DIV_3 0x00000000U /*!< PLL clock is divided by 3
  455. 309:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR_OTGFSPRE*/
  456. 310:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  457. 311:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  458. 312:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  459. 313:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* USB_OTG_FS || USB */
  460. 314:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  461. 315:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_ADC_CLKSOURCE_PCLK2 Peripheral ADC clock source selection
  462. 316:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  463. 317:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  464. 318:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_ADC_CLKSRC_PCLK2_DIV_2 RCC_CFGR_ADCPRE_DIV2 /*ADC prescaler PCLK2 divided by 2*/
  465. ARM GAS /tmp/cc2ZcXc2.s page 9
  466. 319:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_ADC_CLKSRC_PCLK2_DIV_4 RCC_CFGR_ADCPRE_DIV4 /*ADC prescaler PCLK2 divided by 4*/
  467. 320:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_ADC_CLKSRC_PCLK2_DIV_6 RCC_CFGR_ADCPRE_DIV6 /*ADC prescaler PCLK2 divided by 6*/
  468. 321:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_ADC_CLKSRC_PCLK2_DIV_8 RCC_CFGR_ADCPRE_DIV8 /*ADC prescaler PCLK2 divided by 8*/
  469. 322:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  470. 323:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  471. 324:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  472. 325:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  473. 326:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_I2S2SRC)
  474. 327:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_I2S2 Peripheral I2S get clock source
  475. 328:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  476. 329:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  477. 330:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_I2S2_CLKSOURCE RCC_CFGR2_I2S2SRC /*!< I2S2 Clock source selection
  478. 331:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_I2S3_CLKSOURCE RCC_CFGR2_I2S3SRC /*!< I2S3 Clock source selection
  479. 332:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  480. 333:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  481. 334:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  482. 335:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  483. 336:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_CFGR2_I2S2SRC */
  484. 337:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  485. 338:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(USB_OTG_FS) || defined(USB)
  486. 339:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_USB Peripheral USB get clock source
  487. 340:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  488. 341:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  489. 342:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_USB_CLKSOURCE 0x00400000U /*!< USB Clock source selection */
  490. 343:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  491. 344:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  492. 345:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  493. 346:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  494. 347:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* USB_OTG_FS || USB */
  495. 348:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  496. 349:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_ADC Peripheral ADC get clock source
  497. 350:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  498. 351:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  499. 352:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_ADC_CLKSOURCE RCC_CFGR_ADCPRE /*!< ADC Clock source selection */
  500. 353:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  501. 354:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  502. 355:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  503. 356:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  504. 357:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_RTC_CLKSOURCE RTC clock source selection
  505. 358:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  506. 359:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  507. 360:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_RTC_CLKSOURCE_NONE 0x00000000U /*!< No clock used as RTC clock
  508. 361:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_RTC_CLKSOURCE_LSE RCC_BDCR_RTCSEL_0 /*!< LSE oscillator clock used a
  509. 362:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_RTC_CLKSOURCE_LSI RCC_BDCR_RTCSEL_1 /*!< LSI oscillator clock used a
  510. 363:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_RTC_CLKSOURCE_HSE_DIV128 RCC_BDCR_RTCSEL /*!< HSE oscillator clock divide
  511. 364:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  512. 365:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  513. 366:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  514. 367:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  515. 368:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_PLL_MUL PLL Multiplicator factor
  516. 369:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  517. 370:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  518. 371:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR_PLLMULL2)
  519. 372:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_2 RCC_CFGR_PLLMULL2 /*!< PLL input clock*2 */
  520. 373:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR_PLLMULL2*/
  521. 374:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR_PLLMULL3)
  522. 375:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_3 RCC_CFGR_PLLMULL3 /*!< PLL input clock*3 */
  523. ARM GAS /tmp/cc2ZcXc2.s page 10
  524. 376:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR_PLLMULL3*/
  525. 377:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_4 RCC_CFGR_PLLMULL4 /*!< PLL input clock*4 */
  526. 378:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_5 RCC_CFGR_PLLMULL5 /*!< PLL input clock*5 */
  527. 379:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_6 RCC_CFGR_PLLMULL6 /*!< PLL input clock*6 */
  528. 380:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_7 RCC_CFGR_PLLMULL7 /*!< PLL input clock*7 */
  529. 381:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_8 RCC_CFGR_PLLMULL8 /*!< PLL input clock*8 */
  530. 382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_9 RCC_CFGR_PLLMULL9 /*!< PLL input clock*9 */
  531. 383:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR_PLLMULL6_5)
  532. 384:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_6_5 RCC_CFGR_PLLMULL6_5 /*!< PLL input clock*6 */
  533. 385:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #else
  534. 386:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_10 RCC_CFGR_PLLMULL10 /*!< PLL input clock*10 */
  535. 387:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_11 RCC_CFGR_PLLMULL11 /*!< PLL input clock*11 */
  536. 388:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_12 RCC_CFGR_PLLMULL12 /*!< PLL input clock*12 */
  537. 389:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_13 RCC_CFGR_PLLMULL13 /*!< PLL input clock*13 */
  538. 390:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_14 RCC_CFGR_PLLMULL14 /*!< PLL input clock*14 */
  539. 391:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_15 RCC_CFGR_PLLMULL15 /*!< PLL input clock*15 */
  540. 392:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_16 RCC_CFGR_PLLMULL16 /*!< PLL input clock*16 */
  541. 393:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR_PLLMULL6_5*/
  542. 394:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  543. 395:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  544. 396:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  545. 397:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  546. 398:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_PLLSOURCE PLL SOURCE
  547. 399:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  548. 400:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  549. 401:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSI_DIV_2 0x00000000U /*!< HSI
  550. 402:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE RCC_CFGR_PLLSRC /*!< HSE/
  551. 403:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_PREDIV1SRC)
  552. 404:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1SRC << 4U) /*!< PLL2
  553. 405:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1SRC*/
  554. 406:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  555. 407:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_PREDIV1)
  556. 408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_1 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV1) /*!< HSE/1
  557. 409:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_2 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV2) /*!< HSE/2
  558. 410:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_3 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV3) /*!< HSE/3
  559. 411:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_4 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV4) /*!< HSE/4
  560. 412:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_5 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV5) /*!< HSE/5
  561. 413:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_6 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV6) /*!< HSE/6
  562. 414:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_7 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV7) /*!< HSE/7
  563. 415:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_8 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV8) /*!< HSE/8
  564. 416:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_9 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV9) /*!< HSE/9
  565. 417:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_10 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV10) /*!< HSE/1
  566. 418:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_11 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV11) /*!< HSE/1
  567. 419:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_12 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV12) /*!< HSE/1
  568. 420:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_13 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV13) /*!< HSE/1
  569. 421:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_14 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV14) /*!< HSE/1
  570. 422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_15 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV15) /*!< HSE/1
  571. 423:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_16 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV16) /*!< HSE/1
  572. 424:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_PREDIV1SRC)
  573. 425:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_1 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV1 | RCC_CFGR2_PR
  574. 426:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_2 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV2 | RCC_CFGR2_PR
  575. 427:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_3 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV3 | RCC_CFGR2_PR
  576. 428:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_4 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV4 | RCC_CFGR2_PR
  577. 429:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_5 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV5 | RCC_CFGR2_PR
  578. 430:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_6 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV6 | RCC_CFGR2_PR
  579. 431:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_7 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV7 | RCC_CFGR2_PR
  580. 432:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_8 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV8 | RCC_CFGR2_PR
  581. ARM GAS /tmp/cc2ZcXc2.s page 11
  582. 433:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_9 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV9 | RCC_CFGR2_PR
  583. 434:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_10 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV10 | RCC_CFGR2_P
  584. 435:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_11 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV11 | RCC_CFGR2_P
  585. 436:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_12 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV12 | RCC_CFGR2_P
  586. 437:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_13 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV13 | RCC_CFGR2_P
  587. 438:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_14 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV14 | RCC_CFGR2_P
  588. 439:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_15 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV15 | RCC_CFGR2_P
  589. 440:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_PLL2_DIV_16 (RCC_CFGR_PLLSRC | RCC_CFGR2_PREDIV1_DIV16 | RCC_CFGR2_P
  590. 441:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1SRC*/
  591. 442:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #else
  592. 443:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_1 (RCC_CFGR_PLLSRC | 0x00000000U) /*!< HSE/1
  593. 444:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE_DIV_2 (RCC_CFGR_PLLSRC | RCC_CFGR_PLLXTPRE) /*!< HSE/2
  594. 445:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1*/
  595. 446:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  596. 447:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  597. 448:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  598. 449:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  599. 450:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_PREDIV_DIV PREDIV Division factor
  600. 451:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  601. 452:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  602. 453:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_PREDIV1)
  603. 454:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_1 RCC_CFGR2_PREDIV1_DIV1 /*!< PREDIV1 input clock not di
  604. 455:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_2 RCC_CFGR2_PREDIV1_DIV2 /*!< PREDIV1 input clock divide
  605. 456:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_3 RCC_CFGR2_PREDIV1_DIV3 /*!< PREDIV1 input clock divide
  606. 457:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_4 RCC_CFGR2_PREDIV1_DIV4 /*!< PREDIV1 input clock divide
  607. 458:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_5 RCC_CFGR2_PREDIV1_DIV5 /*!< PREDIV1 input clock divide
  608. 459:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_6 RCC_CFGR2_PREDIV1_DIV6 /*!< PREDIV1 input clock divide
  609. 460:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_7 RCC_CFGR2_PREDIV1_DIV7 /*!< PREDIV1 input clock divide
  610. 461:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_8 RCC_CFGR2_PREDIV1_DIV8 /*!< PREDIV1 input clock divide
  611. 462:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_9 RCC_CFGR2_PREDIV1_DIV9 /*!< PREDIV1 input clock divide
  612. 463:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_10 RCC_CFGR2_PREDIV1_DIV10 /*!< PREDIV1 input clock divide
  613. 464:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_11 RCC_CFGR2_PREDIV1_DIV11 /*!< PREDIV1 input clock divide
  614. 465:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_12 RCC_CFGR2_PREDIV1_DIV12 /*!< PREDIV1 input clock divide
  615. 466:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_13 RCC_CFGR2_PREDIV1_DIV13 /*!< PREDIV1 input clock divide
  616. 467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_14 RCC_CFGR2_PREDIV1_DIV14 /*!< PREDIV1 input clock divide
  617. 468:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_15 RCC_CFGR2_PREDIV1_DIV15 /*!< PREDIV1 input clock divide
  618. 469:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_16 RCC_CFGR2_PREDIV1_DIV16 /*!< PREDIV1 input clock divide
  619. 470:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #else
  620. 471:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_1 0x00000000U /*!< HSE divider clock clock no
  621. 472:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PREDIV_DIV_2 RCC_CFGR_PLLXTPRE /*!< HSE divider clock divided
  622. 473:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1*/
  623. 474:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  624. 475:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  625. 476:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  626. 477:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  627. 478:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_PLLI2S_SUPPORT)
  628. 479:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_PLLI2S_MUL PLLI2S MUL
  629. 480:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  630. 481:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  631. 482:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLI2S_MUL_8 RCC_CFGR2_PLL3MUL8 /*!< PLLI2S input clock * 8 */
  632. 483:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLI2S_MUL_9 RCC_CFGR2_PLL3MUL9 /*!< PLLI2S input clock * 9 */
  633. 484:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLI2S_MUL_10 RCC_CFGR2_PLL3MUL10 /*!< PLLI2S input clock * 10 */
  634. 485:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLI2S_MUL_11 RCC_CFGR2_PLL3MUL11 /*!< PLLI2S input clock * 11 */
  635. 486:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLI2S_MUL_12 RCC_CFGR2_PLL3MUL12 /*!< PLLI2S input clock * 12 */
  636. 487:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLI2S_MUL_13 RCC_CFGR2_PLL3MUL13 /*!< PLLI2S input clock * 13 */
  637. 488:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLI2S_MUL_14 RCC_CFGR2_PLL3MUL14 /*!< PLLI2S input clock * 14 */
  638. 489:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLI2S_MUL_16 RCC_CFGR2_PLL3MUL16 /*!< PLLI2S input clock * 16 */
  639. ARM GAS /tmp/cc2ZcXc2.s page 12
  640. 490:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLLI2S_MUL_20 RCC_CFGR2_PLL3MUL20 /*!< PLLI2S input clock * 20 */
  641. 491:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  642. 492:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  643. 493:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  644. 494:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  645. 495:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_PLLI2S_SUPPORT */
  646. 496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  647. 497:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_PLL2_SUPPORT)
  648. 498:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_PLL2_MUL PLL2 MUL
  649. 499:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  650. 500:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  651. 501:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL2_MUL_8 RCC_CFGR2_PLL2MUL8 /*!< PLL2 input clock * 8 */
  652. 502:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL2_MUL_9 RCC_CFGR2_PLL2MUL9 /*!< PLL2 input clock * 9 */
  653. 503:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL2_MUL_10 RCC_CFGR2_PLL2MUL10 /*!< PLL2 input clock * 10 */
  654. 504:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL2_MUL_11 RCC_CFGR2_PLL2MUL11 /*!< PLL2 input clock * 11 */
  655. 505:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL2_MUL_12 RCC_CFGR2_PLL2MUL12 /*!< PLL2 input clock * 12 */
  656. 506:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL2_MUL_13 RCC_CFGR2_PLL2MUL13 /*!< PLL2 input clock * 13 */
  657. 507:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL2_MUL_14 RCC_CFGR2_PLL2MUL14 /*!< PLL2 input clock * 14 */
  658. 508:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL2_MUL_16 RCC_CFGR2_PLL2MUL16 /*!< PLL2 input clock * 16 */
  659. 509:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_PLL2_MUL_20 RCC_CFGR2_PLL2MUL20 /*!< PLL2 input clock * 20 */
  660. 510:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  661. 511:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  662. 512:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  663. 513:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  664. 514:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_PLL2_SUPPORT */
  665. 515:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  666. 516:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  667. 517:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  668. 518:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  669. 519:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  670. 520:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /* Exported macro ------------------------------------------------------------*/
  671. 521:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_Exported_Macros RCC Exported Macros
  672. 522:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  673. 523:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  674. 524:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  675. 525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EM_WRITE_READ Common Write and read registers Macros
  676. 526:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  677. 527:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  678. 528:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  679. 529:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  680. 530:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Write a value in RCC register
  681. 531:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __REG__ Register to be written
  682. 532:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __VALUE__ Value to be written in the register
  683. 533:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  684. 534:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  685. 535:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_WriteReg(__REG__, __VALUE__) WRITE_REG(RCC->__REG__, (__VALUE__))
  686. 536:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  687. 537:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  688. 538:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Read a value in RCC register
  689. 539:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __REG__ Register to be read
  690. 540:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Register value
  691. 541:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  692. 542:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define LL_RCC_ReadReg(__REG__) READ_REG(RCC->__REG__)
  693. 543:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  694. 544:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  695. 545:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  696. 546:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  697. ARM GAS /tmp/cc2ZcXc2.s page 13
  698. 547:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EM_CALC_FREQ Calculate frequencies
  699. 548:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  700. 549:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  701. 550:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  702. 551:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR_PLLMULL6_5)
  703. 552:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  704. 553:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Helper macro to calculate the PLLCLK frequency
  705. 554:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @note ex: @ref __LL_RCC_CALC_PLLCLK_FREQ (HSE_VALUE / (@ref LL_RCC_PLL_GetPrediv () + 1), @ref
  706. 555:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __INPUTFREQ__ PLL Input frequency (based on HSE div Prediv1 / HSI div 2 / PLL2 div Pred
  707. 556:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __PLLMUL__: This parameter can be one of the following values:
  708. 557:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_4
  709. 558:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_5
  710. 559:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_6
  711. 560:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_7
  712. 561:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_8
  713. 562:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_9
  714. 563:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_6_5
  715. 564:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval PLL clock frequency (in Hz)
  716. 565:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  717. 566:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define __LL_RCC_CALC_PLLCLK_FREQ(__INPUTFREQ__, __PLLMUL__) \
  718. 567:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** (((__PLLMUL__) != RCC_CFGR_PLLMULL6_5) ? \
  719. 568:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** ((__INPUTFREQ__) * ((((__PLLMUL__) & RCC_CFGR_PLLMULL) >> RCC_CFGR_PLLMULL_Pos) + 2U)
  720. 569:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** (((__INPUTFREQ__) * 13U) / 2U))
  721. 570:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  722. 571:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #else
  723. 572:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  724. 573:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Helper macro to calculate the PLLCLK frequency
  725. 574:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @note ex: @ref __LL_RCC_CALC_PLLCLK_FREQ (HSE_VALUE / (@ref LL_RCC_PLL_GetPrediv () + 1), @ref
  726. 575:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __INPUTFREQ__ PLL Input frequency (based on HSE div Prediv1 or div 2 / HSI div 2)
  727. 576:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __PLLMUL__: This parameter can be one of the following values:
  728. 577:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_2
  729. 578:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_3
  730. 579:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_4
  731. 580:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_5
  732. 581:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_6
  733. 582:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_7
  734. 583:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_8
  735. 584:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_9
  736. 585:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_10
  737. 586:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_11
  738. 587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_12
  739. 588:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_13
  740. 589:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_14
  741. 590:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_15
  742. 591:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_16
  743. 592:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval PLL clock frequency (in Hz)
  744. 593:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  745. 594:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define __LL_RCC_CALC_PLLCLK_FREQ(__INPUTFREQ__, __PLLMUL__) ((__INPUTFREQ__) * (((__PLLMUL__) >> R
  746. 595:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_CFGR_PLLMULL6_5 */
  747. 596:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  748. 597:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_PLLI2S_SUPPORT)
  749. 598:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  750. 599:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Helper macro to calculate the PLLI2S frequency
  751. 600:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @note ex: @ref __LL_RCC_CALC_PLLI2SCLK_FREQ (HSE_VALUE, @ref LL_RCC_PLLI2S_GetMultiplicator (),
  752. 601:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __INPUTFREQ__ PLLI2S Input frequency (based on HSE value)
  753. 602:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __PLLI2SMUL__: This parameter can be one of the following values:
  754. 603:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_8
  755. ARM GAS /tmp/cc2ZcXc2.s page 14
  756. 604:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_9
  757. 605:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_10
  758. 606:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_11
  759. 607:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_12
  760. 608:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_13
  761. 609:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_14
  762. 610:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_16
  763. 611:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_20
  764. 612:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __PLLI2SDIV__: This parameter can be one of the following values:
  765. 613:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_1
  766. 614:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_2
  767. 615:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_3
  768. 616:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_4
  769. 617:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_5
  770. 618:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_6
  771. 619:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_7
  772. 620:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_8
  773. 621:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_9
  774. 622:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_10
  775. 623:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_11
  776. 624:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_12
  777. 625:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_13
  778. 626:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_14
  779. 627:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_15
  780. 628:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_16
  781. 629:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval PLLI2S clock frequency (in Hz)
  782. 630:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  783. 631:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define __LL_RCC_CALC_PLLI2SCLK_FREQ(__INPUTFREQ__, __PLLI2SMUL__, __PLLI2SDIV__) (((__INPUTFREQ__)
  784. 632:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_PLLI2S_SUPPORT */
  785. 633:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  786. 634:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_PLL2_SUPPORT)
  787. 635:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  788. 636:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Helper macro to calculate the PLL2 frequency
  789. 637:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @note ex: @ref __LL_RCC_CALC_PLL2CLK_FREQ (HSE_VALUE, @ref LL_RCC_PLL2_GetMultiplicator (), @re
  790. 638:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __INPUTFREQ__ PLL2 Input frequency (based on HSE value)
  791. 639:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __PLL2MUL__: This parameter can be one of the following values:
  792. 640:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_8
  793. 641:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_9
  794. 642:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_10
  795. 643:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_11
  796. 644:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_12
  797. 645:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_13
  798. 646:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_14
  799. 647:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_16
  800. 648:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_20
  801. 649:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __PLL2DIV__: This parameter can be one of the following values:
  802. 650:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_1
  803. 651:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_2
  804. 652:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_3
  805. 653:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_4
  806. 654:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_5
  807. 655:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_6
  808. 656:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_7
  809. 657:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_8
  810. 658:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_9
  811. 659:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_10
  812. 660:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_11
  813. ARM GAS /tmp/cc2ZcXc2.s page 15
  814. 661:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_12
  815. 662:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_13
  816. 663:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_14
  817. 664:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_15
  818. 665:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_16
  819. 666:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval PLL2 clock frequency (in Hz)
  820. 667:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  821. 668:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define __LL_RCC_CALC_PLL2CLK_FREQ(__INPUTFREQ__, __PLL2MUL__, __PLL2DIV__) (((__INPUTFREQ__) * (((
  822. 669:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_PLL2_SUPPORT */
  823. 670:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  824. 671:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  825. 672:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Helper macro to calculate the HCLK frequency
  826. 673:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @note: __AHBPRESCALER__ be retrieved by @ref LL_RCC_GetAHBPrescaler
  827. 674:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * ex: __LL_RCC_CALC_HCLK_FREQ(LL_RCC_GetAHBPrescaler())
  828. 675:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __SYSCLKFREQ__ SYSCLK frequency (based on HSE/HSI/PLLCLK)
  829. 676:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __AHBPRESCALER__: This parameter can be one of the following values:
  830. 677:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_1
  831. 678:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_2
  832. 679:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_4
  833. 680:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_8
  834. 681:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_16
  835. 682:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_64
  836. 683:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_128
  837. 684:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_256
  838. 685:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_512
  839. 686:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval HCLK clock frequency (in Hz)
  840. 687:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  841. 688:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define __LL_RCC_CALC_HCLK_FREQ(__SYSCLKFREQ__, __AHBPRESCALER__) ((__SYSCLKFREQ__) >> AHBPrescTabl
  842. 689:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  843. 690:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  844. 691:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Helper macro to calculate the PCLK1 frequency (ABP1)
  845. 692:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @note: __APB1PRESCALER__ be retrieved by @ref LL_RCC_GetAPB1Prescaler
  846. 693:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * ex: __LL_RCC_CALC_PCLK1_FREQ(LL_RCC_GetAPB1Prescaler())
  847. 694:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __HCLKFREQ__ HCLK frequency
  848. 695:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __APB1PRESCALER__: This parameter can be one of the following values:
  849. 696:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_1
  850. 697:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_2
  851. 698:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_4
  852. 699:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_8
  853. 700:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_16
  854. 701:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval PCLK1 clock frequency (in Hz)
  855. 702:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  856. 703:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define __LL_RCC_CALC_PCLK1_FREQ(__HCLKFREQ__, __APB1PRESCALER__) ((__HCLKFREQ__) >> APBPrescTable[
  857. 704:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  858. 705:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  859. 706:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Helper macro to calculate the PCLK2 frequency (ABP2)
  860. 707:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @note: __APB2PRESCALER__ be retrieved by @ref LL_RCC_GetAPB2Prescaler
  861. 708:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * ex: __LL_RCC_CALC_PCLK2_FREQ(LL_RCC_GetAPB2Prescaler())
  862. 709:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __HCLKFREQ__ HCLK frequency
  863. 710:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param __APB2PRESCALER__: This parameter can be one of the following values:
  864. 711:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_1
  865. 712:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_2
  866. 713:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_4
  867. 714:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_8
  868. 715:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_16
  869. 716:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval PCLK2 clock frequency (in Hz)
  870. 717:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  871. ARM GAS /tmp/cc2ZcXc2.s page 16
  872. 718:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #define __LL_RCC_CALC_PCLK2_FREQ(__HCLKFREQ__, __APB2PRESCALER__) ((__HCLKFREQ__) >> APBPrescTable[
  873. 719:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  874. 720:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  875. 721:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  876. 722:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  877. 723:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  878. 724:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  879. 725:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  880. 726:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  881. 727:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  882. 728:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /* Exported functions --------------------------------------------------------*/
  883. 729:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_Exported_Functions RCC Exported Functions
  884. 730:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  885. 731:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  886. 732:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  887. 733:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_HSE HSE
  888. 734:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  889. 735:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  890. 736:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  891. 737:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  892. 738:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Enable the Clock Security System.
  893. 739:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR CSSON LL_RCC_HSE_EnableCSS
  894. 740:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  895. 741:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  896. 742:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSE_EnableCSS(void)
  897. 743:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  898. 744:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_CSSON);
  899. 745:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  900. 746:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  901. 747:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  902. 748:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Enable HSE external oscillator (HSE Bypass)
  903. 749:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR HSEBYP LL_RCC_HSE_EnableBypass
  904. 750:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  905. 751:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  906. 752:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSE_EnableBypass(void)
  907. 753:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  908. 754:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_HSEBYP);
  909. 755:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  910. 756:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  911. 757:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  912. 758:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Disable HSE external oscillator (HSE Bypass)
  913. 759:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR HSEBYP LL_RCC_HSE_DisableBypass
  914. 760:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  915. 761:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  916. 762:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSE_DisableBypass(void)
  917. 763:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  918. 764:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** CLEAR_BIT(RCC->CR, RCC_CR_HSEBYP);
  919. 765:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  920. 766:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  921. 767:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  922. 768:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Enable HSE crystal oscillator (HSE ON)
  923. 769:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR HSEON LL_RCC_HSE_Enable
  924. 770:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  925. 771:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  926. 772:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSE_Enable(void)
  927. 773:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  928. 774:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_HSEON);
  929. ARM GAS /tmp/cc2ZcXc2.s page 17
  930. 775:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  931. 776:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  932. 777:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  933. 778:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Disable HSE crystal oscillator (HSE ON)
  934. 779:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR HSEON LL_RCC_HSE_Disable
  935. 780:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  936. 781:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  937. 782:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSE_Disable(void)
  938. 783:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  939. 784:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** CLEAR_BIT(RCC->CR, RCC_CR_HSEON);
  940. 785:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  941. 786:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  942. 787:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  943. 788:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if HSE oscillator Ready
  944. 789:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR HSERDY LL_RCC_HSE_IsReady
  945. 790:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  946. 791:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  947. 792:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_HSE_IsReady(void)
  948. 793:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  949. 794:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CR, RCC_CR_HSERDY) == (RCC_CR_HSERDY));
  950. 795:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  951. 796:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  952. 797:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_PREDIV2)
  953. 798:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  954. 799:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get PREDIV2 division factor
  955. 800:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR2 PREDIV2 LL_RCC_HSE_GetPrediv2
  956. 801:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
  957. 802:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_1
  958. 803:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_2
  959. 804:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_3
  960. 805:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_4
  961. 806:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_5
  962. 807:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_6
  963. 808:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_7
  964. 809:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_8
  965. 810:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_9
  966. 811:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_10
  967. 812:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_11
  968. 813:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_12
  969. 814:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_13
  970. 815:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_14
  971. 816:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_15
  972. 817:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_16
  973. 818:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  974. 819:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_HSE_GetPrediv2(void)
  975. 820:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  976. 821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR2, RCC_CFGR2_PREDIV2));
  977. 822:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  978. 823:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_CFGR2_PREDIV2 */
  979. 824:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  980. 825:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  981. 826:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  982. 827:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  983. 828:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  984. 829:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_HSI HSI
  985. 830:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  986. 831:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  987. ARM GAS /tmp/cc2ZcXc2.s page 18
  988. 832:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  989. 833:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  990. 834:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Enable HSI oscillator
  991. 835:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR HSION LL_RCC_HSI_Enable
  992. 836:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  993. 837:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  994. 838:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI_Enable(void)
  995. 36 .loc 2 838 22 view .LVU2
  996. 37 .LBB43:
  997. 839:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  998. 840:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_HSION);
  999. 38 .loc 2 840 3 view .LVU3
  1000. 39 0000 184A ldr r2, .L5
  1001. 40 0002 1368 ldr r3, [r2]
  1002. 41 0004 43F00103 orr r3, r3, #1
  1003. 42 0008 1360 str r3, [r2]
  1004. 43 .L2:
  1005. 44 .LBE43:
  1006. 45 .LBE42:
  1007. 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  1008. 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Wait for HSI READY bit */
  1009. 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** while (LL_RCC_HSI_IsReady() != 1U)
  1010. 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {}
  1011. 46 .loc 1 108 4 discriminator 1 view .LVU4
  1012. 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {}
  1013. 47 .loc 1 107 9 discriminator 1 view .LVU5
  1014. 48 .LBB44:
  1015. 49 .LBI44:
  1016. 841:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1017. 842:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1018. 843:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1019. 844:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Disable HSI oscillator
  1020. 845:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR HSION LL_RCC_HSI_Disable
  1021. 846:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1022. 847:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1023. 848:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI_Disable(void)
  1024. 849:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1025. 850:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** CLEAR_BIT(RCC->CR, RCC_CR_HSION);
  1026. 851:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1027. 852:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1028. 853:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1029. 854:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if HSI clock is ready
  1030. 855:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR HSIRDY LL_RCC_HSI_IsReady
  1031. 856:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  1032. 857:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1033. 858:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_HSI_IsReady(void)
  1034. 50 .loc 2 858 26 discriminator 1 view .LVU6
  1035. 51 .LBB45:
  1036. 859:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1037. 860:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CR, RCC_CR_HSIRDY) == (RCC_CR_HSIRDY));
  1038. 52 .loc 2 860 3 discriminator 1 view .LVU7
  1039. 53 .loc 2 860 11 is_stmt 0 discriminator 1 view .LVU8
  1040. 54 000a 164B ldr r3, .L5
  1041. 55 000c 1B68 ldr r3, [r3]
  1042. 56 .LBE45:
  1043. 57 .LBE44:
  1044. 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {}
  1045. ARM GAS /tmp/cc2ZcXc2.s page 19
  1046. 58 .loc 1 107 9 discriminator 1 view .LVU9
  1047. 59 000e 13F0020F tst r3, #2
  1048. 60 0012 FAD0 beq .L2
  1049. 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  1050. 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Configure HSI as system clock source */
  1051. 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** LL_RCC_SetSysClkSource(LL_RCC_SYS_CLKSOURCE_HSI);
  1052. 61 .loc 1 111 3 is_stmt 1 view .LVU10
  1053. 62 .LVL0:
  1054. 63 .LBB46:
  1055. 64 .LBI46:
  1056. 861:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1057. 862:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1058. 863:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1059. 864:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get HSI Calibration value
  1060. 865:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @note When HSITRIM is written, HSICAL is updated with the sum of
  1061. 866:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * HSITRIM and the factory trim value
  1062. 867:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR HSICAL LL_RCC_HSI_GetCalibration
  1063. 868:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Between Min_Data = 0x00 and Max_Data = 0xFF
  1064. 869:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1065. 870:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_HSI_GetCalibration(void)
  1066. 871:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1067. 872:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CR, RCC_CR_HSICAL) >> RCC_CR_HSICAL_Pos);
  1068. 873:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1069. 874:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1070. 875:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1071. 876:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Set HSI Calibration trimming
  1072. 877:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @note user-programmable trimming value that is added to the HSICAL
  1073. 878:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @note Default value is 16, which, when added to the HSICAL value,
  1074. 879:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * should trim the HSI to 16 MHz +/- 1 %
  1075. 880:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR HSITRIM LL_RCC_HSI_SetCalibTrimming
  1076. 881:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param Value between Min_Data = 0x00 and Max_Data = 0x1F
  1077. 882:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1078. 883:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1079. 884:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI_SetCalibTrimming(uint32_t Value)
  1080. 885:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1081. 886:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CR, RCC_CR_HSITRIM, Value << RCC_CR_HSITRIM_Pos);
  1082. 887:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1083. 888:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1084. 889:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1085. 890:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get HSI Calibration trimming
  1086. 891:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR HSITRIM LL_RCC_HSI_GetCalibTrimming
  1087. 892:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Between Min_Data = 0x00 and Max_Data = 0x1F
  1088. 893:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1089. 894:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_HSI_GetCalibTrimming(void)
  1090. 895:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1091. 896:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CR, RCC_CR_HSITRIM) >> RCC_CR_HSITRIM_Pos);
  1092. 897:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1093. 898:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1094. 899:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1095. 900:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  1096. 901:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1097. 902:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1098. 903:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_LSE LSE
  1099. 904:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  1100. 905:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1101. 906:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1102. 907:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1103. ARM GAS /tmp/cc2ZcXc2.s page 20
  1104. 908:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Enable Low Speed External (LSE) crystal.
  1105. 909:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll BDCR LSEON LL_RCC_LSE_Enable
  1106. 910:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1107. 911:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1108. 912:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSE_Enable(void)
  1109. 913:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1110. 914:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->BDCR, RCC_BDCR_LSEON);
  1111. 915:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1112. 916:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1113. 917:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1114. 918:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Disable Low Speed External (LSE) crystal.
  1115. 919:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll BDCR LSEON LL_RCC_LSE_Disable
  1116. 920:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1117. 921:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1118. 922:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSE_Disable(void)
  1119. 923:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1120. 924:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** CLEAR_BIT(RCC->BDCR, RCC_BDCR_LSEON);
  1121. 925:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1122. 926:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1123. 927:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1124. 928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Enable external clock source (LSE bypass).
  1125. 929:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll BDCR LSEBYP LL_RCC_LSE_EnableBypass
  1126. 930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1127. 931:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1128. 932:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSE_EnableBypass(void)
  1129. 933:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1130. 934:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->BDCR, RCC_BDCR_LSEBYP);
  1131. 935:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1132. 936:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1133. 937:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1134. 938:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Disable external clock source (LSE bypass).
  1135. 939:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll BDCR LSEBYP LL_RCC_LSE_DisableBypass
  1136. 940:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1137. 941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1138. 942:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSE_DisableBypass(void)
  1139. 943:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1140. 944:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** CLEAR_BIT(RCC->BDCR, RCC_BDCR_LSEBYP);
  1141. 945:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1142. 946:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1143. 947:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1144. 948:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if LSE oscillator Ready
  1145. 949:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll BDCR LSERDY LL_RCC_LSE_IsReady
  1146. 950:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  1147. 951:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1148. 952:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_LSE_IsReady(void)
  1149. 953:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1150. 954:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->BDCR, RCC_BDCR_LSERDY) == (RCC_BDCR_LSERDY));
  1151. 955:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1152. 956:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1153. 957:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1154. 958:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  1155. 959:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1156. 960:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1157. 961:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_LSI LSI
  1158. 962:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  1159. 963:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1160. 964:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1161. ARM GAS /tmp/cc2ZcXc2.s page 21
  1162. 965:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1163. 966:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Enable LSI Oscillator
  1164. 967:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CSR LSION LL_RCC_LSI_Enable
  1165. 968:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1166. 969:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1167. 970:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSI_Enable(void)
  1168. 971:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1169. 972:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CSR, RCC_CSR_LSION);
  1170. 973:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1171. 974:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1172. 975:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1173. 976:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Disable LSI Oscillator
  1174. 977:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CSR LSION LL_RCC_LSI_Disable
  1175. 978:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1176. 979:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1177. 980:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSI_Disable(void)
  1178. 981:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1179. 982:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** CLEAR_BIT(RCC->CSR, RCC_CSR_LSION);
  1180. 983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1181. 984:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1182. 985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1183. 986:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if LSI is Ready
  1184. 987:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CSR LSIRDY LL_RCC_LSI_IsReady
  1185. 988:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  1186. 989:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1187. 990:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_LSI_IsReady(void)
  1188. 991:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1189. 992:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CSR, RCC_CSR_LSIRDY) == (RCC_CSR_LSIRDY));
  1190. 993:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1191. 994:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1192. 995:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1193. 996:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  1194. 997:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1195. 998:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1196. 999:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_System System
  1197. 1000:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  1198. 1001:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1199. 1002:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1200. 1003:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1201. 1004:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Configure the system clock source
  1202. 1005:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR SW LL_RCC_SetSysClkSource
  1203. 1006:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param Source This parameter can be one of the following values:
  1204. 1007:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYS_CLKSOURCE_HSI
  1205. 1008:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYS_CLKSOURCE_HSE
  1206. 1009:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYS_CLKSOURCE_PLL
  1207. 1010:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1208. 1011:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1209. 1012:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source)
  1210. 65 .loc 2 1012 22 view .LVU11
  1211. 66 .LBB47:
  1212. 1013:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1213. 1014:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, Source);
  1214. 67 .loc 2 1014 3 view .LVU12
  1215. 68 0014 134A ldr r2, .L5
  1216. 69 0016 5368 ldr r3, [r2, #4]
  1217. 70 0018 23F00303 bic r3, r3, #3
  1218. 71 001c 5360 str r3, [r2, #4]
  1219. ARM GAS /tmp/cc2ZcXc2.s page 22
  1220. 72 .LVL1:
  1221. 73 .L3:
  1222. 74 .loc 2 1014 3 is_stmt 0 view .LVU13
  1223. 75 .LBE47:
  1224. 76 .LBE46:
  1225. 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  1226. 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Wait till clock switch is ready */
  1227. 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** while (LL_RCC_GetSysClkSource() != LL_RCC_SYS_CLKSOURCE_STATUS_HSI)
  1228. 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {}
  1229. 77 .loc 1 115 4 is_stmt 1 discriminator 1 view .LVU14
  1230. 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {}
  1231. 78 .loc 1 114 9 discriminator 1 view .LVU15
  1232. 79 .LBB48:
  1233. 80 .LBI48:
  1234. 1015:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1235. 1016:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1236. 1017:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1237. 1018:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get the system clock source
  1238. 1019:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR SWS LL_RCC_GetSysClkSource
  1239. 1020:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
  1240. 1021:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYS_CLKSOURCE_STATUS_HSI
  1241. 1022:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYS_CLKSOURCE_STATUS_HSE
  1242. 1023:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYS_CLKSOURCE_STATUS_PLL
  1243. 1024:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1244. 1025:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetSysClkSource(void)
  1245. 81 .loc 2 1025 26 discriminator 1 view .LVU16
  1246. 82 .LBB49:
  1247. 1026:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1248. 1027:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_SWS));
  1249. 83 .loc 2 1027 3 discriminator 1 view .LVU17
  1250. 84 .loc 2 1027 21 is_stmt 0 discriminator 1 view .LVU18
  1251. 85 001e 114B ldr r3, .L5
  1252. 86 0020 5B68 ldr r3, [r3, #4]
  1253. 87 .LBE49:
  1254. 88 .LBE48:
  1255. 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {}
  1256. 89 .loc 1 114 9 discriminator 1 view .LVU19
  1257. 90 0022 13F00C0F tst r3, #12
  1258. 91 0026 FAD1 bne .L3
  1259. 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  1260. 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Reset PLLON bit */
  1261. 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_PLLON);
  1262. 92 .loc 1 118 3 is_stmt 1 view .LVU20
  1263. 93 0028 0E4A ldr r2, .L5
  1264. 94 002a 1368 ldr r3, [r2]
  1265. 95 002c 23F08073 bic r3, r3, #16777216
  1266. 96 0030 1360 str r3, [r2]
  1267. 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  1268. 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Wait for PLL READY bit to be reset */
  1269. 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** while (LL_RCC_PLL_IsReady() != 0U)
  1270. 97 .loc 1 121 3 view .LVU21
  1271. 98 .L4:
  1272. 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {}
  1273. 99 .loc 1 122 4 discriminator 1 view .LVU22
  1274. 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {}
  1275. 100 .loc 1 121 9 discriminator 1 view .LVU23
  1276. 101 .LBB50:
  1277. ARM GAS /tmp/cc2ZcXc2.s page 23
  1278. 102 .LBI50:
  1279. 1028:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1280. 1029:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1281. 1030:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1282. 1031:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Set AHB prescaler
  1283. 1032:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR HPRE LL_RCC_SetAHBPrescaler
  1284. 1033:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param Prescaler This parameter can be one of the following values:
  1285. 1034:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_1
  1286. 1035:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_2
  1287. 1036:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_4
  1288. 1037:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_8
  1289. 1038:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_16
  1290. 1039:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_64
  1291. 1040:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_128
  1292. 1041:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_256
  1293. 1042:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_512
  1294. 1043:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1295. 1044:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1296. 1045:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetAHBPrescaler(uint32_t Prescaler)
  1297. 1046:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1298. 1047:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, Prescaler);
  1299. 1048:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1300. 1049:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1301. 1050:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1302. 1051:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Set APB1 prescaler
  1303. 1052:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR PPRE1 LL_RCC_SetAPB1Prescaler
  1304. 1053:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param Prescaler This parameter can be one of the following values:
  1305. 1054:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_1
  1306. 1055:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_2
  1307. 1056:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_4
  1308. 1057:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_8
  1309. 1058:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_16
  1310. 1059:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1311. 1060:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1312. 1061:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetAPB1Prescaler(uint32_t Prescaler)
  1313. 1062:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1314. 1063:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, Prescaler);
  1315. 1064:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1316. 1065:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1317. 1066:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1318. 1067:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Set APB2 prescaler
  1319. 1068:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR PPRE2 LL_RCC_SetAPB2Prescaler
  1320. 1069:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param Prescaler This parameter can be one of the following values:
  1321. 1070:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_1
  1322. 1071:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_2
  1323. 1072:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_4
  1324. 1073:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_8
  1325. 1074:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_16
  1326. 1075:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1327. 1076:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1328. 1077:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetAPB2Prescaler(uint32_t Prescaler)
  1329. 1078:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1330. 1079:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, Prescaler);
  1331. 1080:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1332. 1081:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1333. 1082:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1334. 1083:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get AHB prescaler
  1335. ARM GAS /tmp/cc2ZcXc2.s page 24
  1336. 1084:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR HPRE LL_RCC_GetAHBPrescaler
  1337. 1085:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
  1338. 1086:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_1
  1339. 1087:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_2
  1340. 1088:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_4
  1341. 1089:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_8
  1342. 1090:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_16
  1343. 1091:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_64
  1344. 1092:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_128
  1345. 1093:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_256
  1346. 1094:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_512
  1347. 1095:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1348. 1096:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetAHBPrescaler(void)
  1349. 1097:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1350. 1098:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_HPRE));
  1351. 1099:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1352. 1100:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1353. 1101:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1354. 1102:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get APB1 prescaler
  1355. 1103:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR PPRE1 LL_RCC_GetAPB1Prescaler
  1356. 1104:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
  1357. 1105:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_1
  1358. 1106:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_2
  1359. 1107:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_4
  1360. 1108:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_8
  1361. 1109:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_16
  1362. 1110:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1363. 1111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetAPB1Prescaler(void)
  1364. 1112:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1365. 1113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_PPRE1));
  1366. 1114:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1367. 1115:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1368. 1116:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1369. 1117:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get APB2 prescaler
  1370. 1118:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR PPRE2 LL_RCC_GetAPB2Prescaler
  1371. 1119:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
  1372. 1120:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_1
  1373. 1121:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_2
  1374. 1122:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_4
  1375. 1123:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_8
  1376. 1124:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_16
  1377. 1125:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1378. 1126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetAPB2Prescaler(void)
  1379. 1127:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1380. 1128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_PPRE2));
  1381. 1129:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1382. 1130:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1383. 1131:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1384. 1132:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  1385. 1133:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1386. 1134:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1387. 1135:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_MCO MCO
  1388. 1136:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  1389. 1137:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1390. 1138:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1391. 1139:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1392. 1140:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Configure MCOx
  1393. ARM GAS /tmp/cc2ZcXc2.s page 25
  1394. 1141:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR MCO LL_RCC_ConfigMCO
  1395. 1142:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param MCOxSource This parameter can be one of the following values:
  1396. 1143:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_NOCLOCK
  1397. 1144:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_SYSCLK
  1398. 1145:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_HSI
  1399. 1146:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_HSE
  1400. 1147:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_PLLCLK_DIV_2
  1401. 1148:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_PLL2CLK (*)
  1402. 1149:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_PLLI2SCLK_DIV2 (*)
  1403. 1150:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_EXT_HSE (*)
  1404. 1151:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_PLLI2SCLK (*)
  1405. 1152:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** *
  1406. 1153:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * (*) value not defined in all devices
  1407. 1154:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1408. 1155:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1409. 1156:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ConfigMCO(uint32_t MCOxSource)
  1410. 1157:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1411. 1158:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_MCOSEL, MCOxSource);
  1412. 1159:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1413. 1160:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1414. 1161:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1415. 1162:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  1416. 1163:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1417. 1164:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1418. 1165:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_Peripheral_Clock_Source Peripheral Clock Source
  1419. 1166:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  1420. 1167:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1421. 1168:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1422. 1169:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_I2S2SRC)
  1423. 1170:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1424. 1171:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Configure I2Sx clock source
  1425. 1172:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR2 I2S2SRC LL_RCC_SetI2SClockSource\n
  1426. 1173:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * CFGR2 I2S3SRC LL_RCC_SetI2SClockSource
  1427. 1174:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param I2SxSource This parameter can be one of the following values:
  1428. 1175:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_I2S2_CLKSOURCE_SYSCLK
  1429. 1176:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_I2S2_CLKSOURCE_PLLI2S_VCO
  1430. 1177:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_I2S3_CLKSOURCE_SYSCLK
  1431. 1178:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_I2S3_CLKSOURCE_PLLI2S_VCO
  1432. 1179:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1433. 1180:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1434. 1181:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetI2SClockSource(uint32_t I2SxSource)
  1435. 1182:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1436. 1183:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR2, (I2SxSource & 0xFFFF0000U), (I2SxSource << 16U));
  1437. 1184:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1438. 1185:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_CFGR2_I2S2SRC */
  1439. 1186:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1440. 1187:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(USB_OTG_FS) || defined(USB)
  1441. 1188:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1442. 1189:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Configure USB clock source
  1443. 1190:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR OTGFSPRE LL_RCC_SetUSBClockSource\n
  1444. 1191:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * CFGR USBPRE LL_RCC_SetUSBClockSource
  1445. 1192:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param USBxSource This parameter can be one of the following values:
  1446. 1193:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_USB_CLKSOURCE_PLL (*)
  1447. 1194:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_USB_CLKSOURCE_PLL_DIV_1_5 (*)
  1448. 1195:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_USB_CLKSOURCE_PLL_DIV_2 (*)
  1449. 1196:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_USB_CLKSOURCE_PLL_DIV_3 (*)
  1450. 1197:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** *
  1451. ARM GAS /tmp/cc2ZcXc2.s page 26
  1452. 1198:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * (*) value not defined in all devices
  1453. 1199:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1454. 1200:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1455. 1201:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetUSBClockSource(uint32_t USBxSource)
  1456. 1202:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1457. 1203:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR_USBPRE)
  1458. 1204:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_USBPRE, USBxSource);
  1459. 1205:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #else /*RCC_CFGR_OTGFSPRE*/
  1460. 1206:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_OTGFSPRE, USBxSource);
  1461. 1207:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR_USBPRE*/
  1462. 1208:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1463. 1209:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* USB_OTG_FS || USB */
  1464. 1210:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1465. 1211:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1466. 1212:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Configure ADC clock source
  1467. 1213:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR ADCPRE LL_RCC_SetADCClockSource
  1468. 1214:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param ADCxSource This parameter can be one of the following values:
  1469. 1215:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_ADC_CLKSRC_PCLK2_DIV_2
  1470. 1216:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_ADC_CLKSRC_PCLK2_DIV_4
  1471. 1217:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_ADC_CLKSRC_PCLK2_DIV_6
  1472. 1218:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_ADC_CLKSRC_PCLK2_DIV_8
  1473. 1219:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1474. 1220:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1475. 1221:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetADCClockSource(uint32_t ADCxSource)
  1476. 1222:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1477. 1223:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_ADCPRE, ADCxSource);
  1478. 1224:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1479. 1225:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1480. 1226:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_I2S2SRC)
  1481. 1227:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1482. 1228:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get I2Sx clock source
  1483. 1229:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR2 I2S2SRC LL_RCC_GetI2SClockSource\n
  1484. 1230:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * CFGR2 I2S3SRC LL_RCC_GetI2SClockSource
  1485. 1231:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param I2Sx This parameter can be one of the following values:
  1486. 1232:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_I2S2_CLKSOURCE
  1487. 1233:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_I2S3_CLKSOURCE
  1488. 1234:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
  1489. 1235:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_I2S2_CLKSOURCE_SYSCLK
  1490. 1236:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_I2S2_CLKSOURCE_PLLI2S_VCO
  1491. 1237:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_I2S3_CLKSOURCE_SYSCLK
  1492. 1238:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_I2S3_CLKSOURCE_PLLI2S_VCO
  1493. 1239:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1494. 1240:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetI2SClockSource(uint32_t I2Sx)
  1495. 1241:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1496. 1242:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR2, I2Sx) >> 16U | I2Sx);
  1497. 1243:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1498. 1244:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_CFGR2_I2S2SRC */
  1499. 1245:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1500. 1246:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(USB_OTG_FS) || defined(USB)
  1501. 1247:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1502. 1248:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get USBx clock source
  1503. 1249:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR OTGFSPRE LL_RCC_GetUSBClockSource\n
  1504. 1250:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * CFGR USBPRE LL_RCC_GetUSBClockSource
  1505. 1251:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param USBx This parameter can be one of the following values:
  1506. 1252:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_USB_CLKSOURCE
  1507. 1253:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
  1508. 1254:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_USB_CLKSOURCE_PLL (*)
  1509. ARM GAS /tmp/cc2ZcXc2.s page 27
  1510. 1255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_USB_CLKSOURCE_PLL_DIV_1_5 (*)
  1511. 1256:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_USB_CLKSOURCE_PLL_DIV_2 (*)
  1512. 1257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_USB_CLKSOURCE_PLL_DIV_3 (*)
  1513. 1258:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** *
  1514. 1259:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * (*) value not defined in all devices
  1515. 1260:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1516. 1261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetUSBClockSource(uint32_t USBx)
  1517. 1262:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1518. 1263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, USBx));
  1519. 1264:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1520. 1265:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* USB_OTG_FS || USB */
  1521. 1266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1522. 1267:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1523. 1268:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get ADCx clock source
  1524. 1269:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR ADCPRE LL_RCC_GetADCClockSource
  1525. 1270:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param ADCx This parameter can be one of the following values:
  1526. 1271:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_ADC_CLKSOURCE
  1527. 1272:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
  1528. 1273:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_ADC_CLKSRC_PCLK2_DIV_2
  1529. 1274:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_ADC_CLKSRC_PCLK2_DIV_4
  1530. 1275:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_ADC_CLKSRC_PCLK2_DIV_6
  1531. 1276:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_ADC_CLKSRC_PCLK2_DIV_8
  1532. 1277:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1533. 1278:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetADCClockSource(uint32_t ADCx)
  1534. 1279:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1535. 1280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, ADCx));
  1536. 1281:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1537. 1282:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1538. 1283:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1539. 1284:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  1540. 1285:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1541. 1286:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1542. 1287:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_RTC RTC
  1543. 1288:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  1544. 1289:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1545. 1290:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1546. 1291:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1547. 1292:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Set RTC Clock Source
  1548. 1293:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @note Once the RTC clock source has been selected, it cannot be changed any more unless
  1549. 1294:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * the Backup domain is reset. The BDRST bit can be used to reset them.
  1550. 1295:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll BDCR RTCSEL LL_RCC_SetRTCClockSource
  1551. 1296:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param Source This parameter can be one of the following values:
  1552. 1297:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_NONE
  1553. 1298:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_LSE
  1554. 1299:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_LSI
  1555. 1300:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_HSE_DIV128
  1556. 1301:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1557. 1302:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1558. 1303:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetRTCClockSource(uint32_t Source)
  1559. 1304:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1560. 1305:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->BDCR, RCC_BDCR_RTCSEL, Source);
  1561. 1306:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1562. 1307:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1563. 1308:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1564. 1309:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get RTC Clock Source
  1565. 1310:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll BDCR RTCSEL LL_RCC_GetRTCClockSource
  1566. 1311:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
  1567. ARM GAS /tmp/cc2ZcXc2.s page 28
  1568. 1312:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_NONE
  1569. 1313:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_LSE
  1570. 1314:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_LSI
  1571. 1315:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_HSE_DIV128
  1572. 1316:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1573. 1317:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetRTCClockSource(void)
  1574. 1318:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1575. 1319:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->BDCR, RCC_BDCR_RTCSEL));
  1576. 1320:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1577. 1321:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1578. 1322:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1579. 1323:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Enable RTC
  1580. 1324:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll BDCR RTCEN LL_RCC_EnableRTC
  1581. 1325:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1582. 1326:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1583. 1327:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_EnableRTC(void)
  1584. 1328:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1585. 1329:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->BDCR, RCC_BDCR_RTCEN);
  1586. 1330:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1587. 1331:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1588. 1332:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1589. 1333:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Disable RTC
  1590. 1334:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll BDCR RTCEN LL_RCC_DisableRTC
  1591. 1335:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1592. 1336:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1593. 1337:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_DisableRTC(void)
  1594. 1338:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1595. 1339:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** CLEAR_BIT(RCC->BDCR, RCC_BDCR_RTCEN);
  1596. 1340:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1597. 1341:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1598. 1342:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1599. 1343:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if RTC has been enabled or not
  1600. 1344:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll BDCR RTCEN LL_RCC_IsEnabledRTC
  1601. 1345:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  1602. 1346:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1603. 1347:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsEnabledRTC(void)
  1604. 1348:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1605. 1349:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->BDCR, RCC_BDCR_RTCEN) == (RCC_BDCR_RTCEN));
  1606. 1350:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1607. 1351:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1608. 1352:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1609. 1353:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Force the Backup domain reset
  1610. 1354:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll BDCR BDRST LL_RCC_ForceBackupDomainReset
  1611. 1355:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1612. 1356:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1613. 1357:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ForceBackupDomainReset(void)
  1614. 1358:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1615. 1359:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->BDCR, RCC_BDCR_BDRST);
  1616. 1360:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1617. 1361:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1618. 1362:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1619. 1363:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Release the Backup domain reset
  1620. 1364:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll BDCR BDRST LL_RCC_ReleaseBackupDomainReset
  1621. 1365:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1622. 1366:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1623. 1367:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ReleaseBackupDomainReset(void)
  1624. 1368:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1625. ARM GAS /tmp/cc2ZcXc2.s page 29
  1626. 1369:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** CLEAR_BIT(RCC->BDCR, RCC_BDCR_BDRST);
  1627. 1370:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1628. 1371:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1629. 1372:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1630. 1373:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  1631. 1374:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1632. 1375:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1633. 1376:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_PLL PLL
  1634. 1377:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  1635. 1378:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1636. 1379:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1637. 1380:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1638. 1381:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Enable PLL
  1639. 1382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR PLLON LL_RCC_PLL_Enable
  1640. 1383:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1641. 1384:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1642. 1385:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_PLL_Enable(void)
  1643. 1386:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1644. 1387:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_PLLON);
  1645. 1388:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1646. 1389:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1647. 1390:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1648. 1391:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Disable PLL
  1649. 1392:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @note Cannot be disabled if the PLL clock is used as the system clock
  1650. 1393:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR PLLON LL_RCC_PLL_Disable
  1651. 1394:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1652. 1395:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1653. 1396:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_PLL_Disable(void)
  1654. 1397:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1655. 1398:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** CLEAR_BIT(RCC->CR, RCC_CR_PLLON);
  1656. 1399:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1657. 1400:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1658. 1401:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1659. 1402:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if PLL Ready
  1660. 1403:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR PLLRDY LL_RCC_PLL_IsReady
  1661. 1404:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  1662. 1405:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1663. 1406:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_PLL_IsReady(void)
  1664. 103 .loc 2 1406 26 discriminator 1 view .LVU24
  1665. 104 .LBB51:
  1666. 1407:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1667. 1408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CR, RCC_CR_PLLRDY) == (RCC_CR_PLLRDY));
  1668. 105 .loc 2 1408 3 discriminator 1 view .LVU25
  1669. 106 .loc 2 1408 11 is_stmt 0 discriminator 1 view .LVU26
  1670. 107 0032 0C4B ldr r3, .L5
  1671. 108 0034 1B68 ldr r3, [r3]
  1672. 109 .LBE51:
  1673. 110 .LBE50:
  1674. 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {}
  1675. 111 .loc 1 121 9 discriminator 1 view .LVU27
  1676. 112 0036 13F0007F tst r3, #33554432
  1677. 113 003a FAD1 bne .L4
  1678. 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  1679. 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Reset CFGR register */
  1680. 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** LL_RCC_WriteReg(CFGR, 0x00000000U);
  1681. 114 .loc 1 125 3 is_stmt 1 view .LVU28
  1682. 115 003c 094B ldr r3, .L5
  1683. ARM GAS /tmp/cc2ZcXc2.s page 30
  1684. 116 003e 0020 movs r0, #0
  1685. 117 0040 5860 str r0, [r3, #4]
  1686. 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  1687. 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Reset HSEON, HSEBYP & CSSON bits */
  1688. 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** CLEAR_BIT(RCC->CR, (RCC_CR_CSSON | RCC_CR_HSEON | RCC_CR_HSEBYP));
  1689. 118 .loc 1 128 3 view .LVU29
  1690. 119 0042 1A68 ldr r2, [r3]
  1691. 120 0044 22F45022 bic r2, r2, #851968
  1692. 121 0048 1A60 str r2, [r3]
  1693. 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  1694. 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #if defined(RCC_CR_PLL2ON)
  1695. 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Reset PLL2ON bit */
  1696. 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_PLL2ON);
  1697. 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #endif /* RCC_CR_PLL2ON */
  1698. 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  1699. 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #if defined(RCC_CR_PLL3ON)
  1700. 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Reset PLL3ON bit */
  1701. 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_PLL3ON);
  1702. 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #endif /* RCC_CR_PLL3ON */
  1703. 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  1704. 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Set HSITRIM bits to the reset value */
  1705. 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** LL_RCC_HSI_SetCalibTrimming(0x10U);
  1706. 122 .loc 1 141 3 view .LVU30
  1707. 123 .LVL2:
  1708. 124 .LBB52:
  1709. 125 .LBI52:
  1710. 884:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1711. 126 .loc 2 884 22 view .LVU31
  1712. 127 .LBB53:
  1713. 886:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1714. 128 .loc 2 886 3 view .LVU32
  1715. 129 004a 1A68 ldr r2, [r3]
  1716. 130 004c 22F0F802 bic r2, r2, #248
  1717. 131 0050 42F08002 orr r2, r2, #128
  1718. 132 0054 1A60 str r2, [r3]
  1719. 133 .LVL3:
  1720. 886:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1721. 134 .loc 2 886 3 is_stmt 0 view .LVU33
  1722. 135 .LBE53:
  1723. 136 .LBE52:
  1724. 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  1725. 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #if defined(RCC_CFGR2_PREDIV1)
  1726. 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Reset CFGR2 register */
  1727. 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** LL_RCC_WriteReg(CFGR2, 0x00000000U);
  1728. 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #endif /* RCC_CFGR2_PREDIV1 */
  1729. 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  1730. 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Disable all interrupts */
  1731. 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** LL_RCC_WriteReg(CIR, 0x00000000U);
  1732. 137 .loc 1 149 3 is_stmt 1 view .LVU34
  1733. 138 0056 9860 str r0, [r3, #8]
  1734. 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  1735. 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Clear reset flags */
  1736. 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** LL_RCC_ClearResetFlags();
  1737. 139 .loc 1 152 3 view .LVU35
  1738. 140 .LBB54:
  1739. 141 .LBI54:
  1740. 1409:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1741. ARM GAS /tmp/cc2ZcXc2.s page 31
  1742. 1410:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1743. 1411:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1744. 1412:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Configure PLL used for SYSCLK Domain
  1745. 1413:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR PLLSRC LL_RCC_PLL_ConfigDomain_SYS\n
  1746. 1414:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * CFGR PLLXTPRE LL_RCC_PLL_ConfigDomain_SYS\n
  1747. 1415:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * CFGR PLLMULL LL_RCC_PLL_ConfigDomain_SYS\n
  1748. 1416:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * CFGR2 PREDIV1 LL_RCC_PLL_ConfigDomain_SYS\n
  1749. 1417:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * CFGR2 PREDIV1SRC LL_RCC_PLL_ConfigDomain_SYS
  1750. 1418:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param Source This parameter can be one of the following values:
  1751. 1419:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSI_DIV_2
  1752. 1420:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_1
  1753. 1421:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_2 (*)
  1754. 1422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_3 (*)
  1755. 1423:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_4 (*)
  1756. 1424:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_5 (*)
  1757. 1425:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_6 (*)
  1758. 1426:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_7 (*)
  1759. 1427:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_8 (*)
  1760. 1428:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_9 (*)
  1761. 1429:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_10 (*)
  1762. 1430:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_11 (*)
  1763. 1431:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_12 (*)
  1764. 1432:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_13 (*)
  1765. 1433:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_14 (*)
  1766. 1434:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_15 (*)
  1767. 1435:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE_DIV_16 (*)
  1768. 1436:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_1 (*)
  1769. 1437:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_2 (*)
  1770. 1438:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_3 (*)
  1771. 1439:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_4 (*)
  1772. 1440:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_5 (*)
  1773. 1441:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_6 (*)
  1774. 1442:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_7 (*)
  1775. 1443:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_8 (*)
  1776. 1444:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_9 (*)
  1777. 1445:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_10 (*)
  1778. 1446:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_11 (*)
  1779. 1447:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_12 (*)
  1780. 1448:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_13 (*)
  1781. 1449:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_14 (*)
  1782. 1450:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_15 (*)
  1783. 1451:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2_DIV_16 (*)
  1784. 1452:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** *
  1785. 1453:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * (*) value not defined in all devices
  1786. 1454:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param PLLMul This parameter can be one of the following values:
  1787. 1455:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_2 (*)
  1788. 1456:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_3 (*)
  1789. 1457:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_4
  1790. 1458:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_5
  1791. 1459:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_6
  1792. 1460:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_7
  1793. 1461:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_8
  1794. 1462:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_9
  1795. 1463:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_6_5 (*)
  1796. 1464:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_10 (*)
  1797. 1465:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_11 (*)
  1798. 1466:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_12 (*)
  1799. ARM GAS /tmp/cc2ZcXc2.s page 32
  1800. 1467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_13 (*)
  1801. 1468:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_14 (*)
  1802. 1469:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_15 (*)
  1803. 1470:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_16 (*)
  1804. 1471:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** *
  1805. 1472:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * (*) value not defined in all devices
  1806. 1473:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1807. 1474:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1808. 1475:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_PLL_ConfigDomain_SYS(uint32_t Source, uint32_t PLLMul)
  1809. 1476:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1810. 1477:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PLLSRC | RCC_CFGR_PLLXTPRE | RCC_CFGR_PLLMULL,
  1811. 1478:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** (Source & (RCC_CFGR_PLLSRC | RCC_CFGR_PLLXTPRE)) | PLLMul);
  1812. 1479:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_PREDIV1)
  1813. 1480:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_PREDIV1SRC)
  1814. 1481:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR2, (RCC_CFGR2_PREDIV1 | RCC_CFGR2_PREDIV1SRC),
  1815. 1482:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** (Source & RCC_CFGR2_PREDIV1) | ((Source & (RCC_CFGR2_PREDIV1SRC << 4U)) >> 4U));
  1816. 1483:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #else
  1817. 1484:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR2, RCC_CFGR2_PREDIV1, (Source & RCC_CFGR2_PREDIV1));
  1818. 1485:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1SRC*/
  1819. 1486:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1*/
  1820. 1487:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1821. 1488:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1822. 1489:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1823. 1490:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Configure PLL clock source
  1824. 1491:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR PLLSRC LL_RCC_PLL_SetMainSource\n
  1825. 1492:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * CFGR2 PREDIV1SRC LL_RCC_PLL_SetMainSource
  1826. 1493:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param PLLSource This parameter can be one of the following values:
  1827. 1494:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSI_DIV_2
  1828. 1495:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE
  1829. 1496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2 (*)
  1830. 1497:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1831. 1498:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1832. 1499:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_PLL_SetMainSource(uint32_t PLLSource)
  1833. 1500:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1834. 1501:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_PREDIV1SRC)
  1835. 1502:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR2, RCC_CFGR2_PREDIV1SRC, ((PLLSource & (RCC_CFGR2_PREDIV1SRC << 4U)) >> 4U));
  1836. 1503:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_CFGR2_PREDIV1SRC */
  1837. 1504:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PLLSRC, PLLSource);
  1838. 1505:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1839. 1506:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1840. 1507:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1841. 1508:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get the oscillator used as PLL clock source.
  1842. 1509:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR PLLSRC LL_RCC_PLL_GetMainSource\n
  1843. 1510:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * CFGR2 PREDIV1SRC LL_RCC_PLL_GetMainSource
  1844. 1511:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
  1845. 1512:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSI_DIV_2
  1846. 1513:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE
  1847. 1514:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_PLL2 (*)
  1848. 1515:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** *
  1849. 1516:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * (*) value not defined in all devices
  1850. 1517:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1851. 1518:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_PLL_GetMainSource(void)
  1852. 1519:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1853. 1520:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_PREDIV1SRC)
  1854. 1521:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** uint32_t pllsrc = READ_BIT(RCC->CFGR, RCC_CFGR_PLLSRC);
  1855. 1522:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** uint32_t predivsrc = (uint32_t)(READ_BIT(RCC->CFGR2, RCC_CFGR2_PREDIV1SRC) << 4U);
  1856. 1523:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(pllsrc | predivsrc);
  1857. ARM GAS /tmp/cc2ZcXc2.s page 33
  1858. 1524:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #else
  1859. 1525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_PLLSRC));
  1860. 1526:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1SRC*/
  1861. 1527:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1862. 1528:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1863. 1529:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1864. 1530:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get PLL multiplication Factor
  1865. 1531:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR PLLMULL LL_RCC_PLL_GetMultiplicator
  1866. 1532:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
  1867. 1533:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_2 (*)
  1868. 1534:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_3 (*)
  1869. 1535:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_4
  1870. 1536:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_5
  1871. 1537:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_6
  1872. 1538:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_7
  1873. 1539:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_8
  1874. 1540:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_9
  1875. 1541:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_6_5 (*)
  1876. 1542:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_10 (*)
  1877. 1543:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_11 (*)
  1878. 1544:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_12 (*)
  1879. 1545:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_13 (*)
  1880. 1546:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_14 (*)
  1881. 1547:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_15 (*)
  1882. 1548:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_16 (*)
  1883. 1549:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** *
  1884. 1550:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * (*) value not defined in all devices
  1885. 1551:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1886. 1552:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_PLL_GetMultiplicator(void)
  1887. 1553:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1888. 1554:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_PLLMULL));
  1889. 1555:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1890. 1556:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1891. 1557:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1892. 1558:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get PREDIV1 division factor for the main PLL
  1893. 1559:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @note They can be written only when the PLL is disabled
  1894. 1560:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR2 PREDIV1 LL_RCC_PLL_GetPrediv\n
  1895. 1561:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * CFGR2 PLLXTPRE LL_RCC_PLL_GetPrediv
  1896. 1562:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
  1897. 1563:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_1
  1898. 1564:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_2
  1899. 1565:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_3 (*)
  1900. 1566:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_4 (*)
  1901. 1567:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_5 (*)
  1902. 1568:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_6 (*)
  1903. 1569:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_7 (*)
  1904. 1570:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_8 (*)
  1905. 1571:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_9 (*)
  1906. 1572:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_10 (*)
  1907. 1573:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_11 (*)
  1908. 1574:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_12 (*)
  1909. 1575:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_13 (*)
  1910. 1576:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_14 (*)
  1911. 1577:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_15 (*)
  1912. 1578:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PREDIV_DIV_16 (*)
  1913. 1579:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** *
  1914. 1580:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * (*) value not defined in all devices
  1915. ARM GAS /tmp/cc2ZcXc2.s page 34
  1916. 1581:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1917. 1582:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_PLL_GetPrediv(void)
  1918. 1583:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1919. 1584:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_CFGR2_PREDIV1)
  1920. 1585:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR2, RCC_CFGR2_PREDIV1));
  1921. 1586:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #else
  1922. 1587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_PLLXTPRE) >> RCC_CFGR_PLLXTPRE_Pos);
  1923. 1588:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1*/
  1924. 1589:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1925. 1590:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1926. 1591:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1927. 1592:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  1928. 1593:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1929. 1594:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1930. 1595:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_PLLI2S_SUPPORT)
  1931. 1596:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_PLLI2S PLLI2S
  1932. 1597:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  1933. 1598:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1934. 1599:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1935. 1600:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1936. 1601:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Enable PLLI2S
  1937. 1602:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR PLL3ON LL_RCC_PLLI2S_Enable
  1938. 1603:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1939. 1604:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1940. 1605:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_PLLI2S_Enable(void)
  1941. 1606:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1942. 1607:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_PLL3ON);
  1943. 1608:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1944. 1609:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1945. 1610:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1946. 1611:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Disable PLLI2S
  1947. 1612:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR PLL3ON LL_RCC_PLLI2S_Disable
  1948. 1613:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1949. 1614:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1950. 1615:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_PLLI2S_Disable(void)
  1951. 1616:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1952. 1617:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** CLEAR_BIT(RCC->CR, RCC_CR_PLL3ON);
  1953. 1618:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1954. 1619:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1955. 1620:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1956. 1621:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if PLLI2S Ready
  1957. 1622:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR PLL3RDY LL_RCC_PLLI2S_IsReady
  1958. 1623:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  1959. 1624:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1960. 1625:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_PLLI2S_IsReady(void)
  1961. 1626:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  1962. 1627:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CR, RCC_CR_PLL3RDY) == (RCC_CR_PLL3RDY));
  1963. 1628:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  1964. 1629:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  1965. 1630:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  1966. 1631:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Configure PLLI2S used for I2S Domain
  1967. 1632:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR2 PREDIV2 LL_RCC_PLL_ConfigDomain_PLLI2S\n
  1968. 1633:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * CFGR2 PLL3MUL LL_RCC_PLL_ConfigDomain_PLLI2S
  1969. 1634:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param Divider This parameter can be one of the following values:
  1970. 1635:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_1
  1971. 1636:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_2
  1972. 1637:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_3
  1973. ARM GAS /tmp/cc2ZcXc2.s page 35
  1974. 1638:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_4
  1975. 1639:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_5
  1976. 1640:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_6
  1977. 1641:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_7
  1978. 1642:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_8
  1979. 1643:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_9
  1980. 1644:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_10
  1981. 1645:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_11
  1982. 1646:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_12
  1983. 1647:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_13
  1984. 1648:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_14
  1985. 1649:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_15
  1986. 1650:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_16
  1987. 1651:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param Multiplicator This parameter can be one of the following values:
  1988. 1652:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_8
  1989. 1653:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_9
  1990. 1654:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_10
  1991. 1655:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_11
  1992. 1656:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_12
  1993. 1657:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_13
  1994. 1658:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_14
  1995. 1659:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_16
  1996. 1660:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_20
  1997. 1661:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  1998. 1662:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  1999. 1663:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_PLL_ConfigDomain_PLLI2S(uint32_t Divider, uint32_t Multiplicator)
  2000. 1664:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2001. 1665:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR2, RCC_CFGR2_PREDIV2 | RCC_CFGR2_PLL3MUL, Divider | Multiplicator);
  2002. 1666:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2003. 1667:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2004. 1668:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2005. 1669:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get PLLI2S Multiplication Factor
  2006. 1670:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR2 PLL3MUL LL_RCC_PLLI2S_GetMultiplicator
  2007. 1671:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
  2008. 1672:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_8
  2009. 1673:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_9
  2010. 1674:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_10
  2011. 1675:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_11
  2012. 1676:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_12
  2013. 1677:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_13
  2014. 1678:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_14
  2015. 1679:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_16
  2016. 1680:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLI2S_MUL_20
  2017. 1681:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2018. 1682:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_PLLI2S_GetMultiplicator(void)
  2019. 1683:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2020. 1684:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR2, RCC_CFGR2_PLL3MUL));
  2021. 1685:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2022. 1686:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2023. 1687:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2024. 1688:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  2025. 1689:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2026. 1690:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_PLLI2S_SUPPORT */
  2027. 1691:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2028. 1692:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_PLL2_SUPPORT)
  2029. 1693:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_PLL2 PLL2
  2030. 1694:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  2031. ARM GAS /tmp/cc2ZcXc2.s page 36
  2032. 1695:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2033. 1696:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2034. 1697:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2035. 1698:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Enable PLL2
  2036. 1699:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR PLL2ON LL_RCC_PLL2_Enable
  2037. 1700:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  2038. 1701:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2039. 1702:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_PLL2_Enable(void)
  2040. 1703:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2041. 1704:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_PLL2ON);
  2042. 1705:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2043. 1706:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2044. 1707:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2045. 1708:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Disable PLL2
  2046. 1709:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR PLL2ON LL_RCC_PLL2_Disable
  2047. 1710:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  2048. 1711:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2049. 1712:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_PLL2_Disable(void)
  2050. 1713:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2051. 1714:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** CLEAR_BIT(RCC->CR, RCC_CR_PLL2ON);
  2052. 1715:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2053. 1716:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2054. 1717:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2055. 1718:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if PLL2 Ready
  2056. 1719:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CR PLL2RDY LL_RCC_PLL2_IsReady
  2057. 1720:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2058. 1721:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2059. 1722:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_PLL2_IsReady(void)
  2060. 1723:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2061. 1724:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CR, RCC_CR_PLL2RDY) == (RCC_CR_PLL2RDY));
  2062. 1725:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2063. 1726:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2064. 1727:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2065. 1728:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Configure PLL2 used for PLL2 Domain
  2066. 1729:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR2 PREDIV2 LL_RCC_PLL_ConfigDomain_PLL2\n
  2067. 1730:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * CFGR2 PLL2MUL LL_RCC_PLL_ConfigDomain_PLL2
  2068. 1731:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param Divider This parameter can be one of the following values:
  2069. 1732:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_1
  2070. 1733:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_2
  2071. 1734:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_3
  2072. 1735:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_4
  2073. 1736:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_5
  2074. 1737:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_6
  2075. 1738:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_7
  2076. 1739:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_8
  2077. 1740:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_9
  2078. 1741:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_10
  2079. 1742:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_11
  2080. 1743:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_12
  2081. 1744:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_13
  2082. 1745:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_14
  2083. 1746:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_15
  2084. 1747:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_HSE_PREDIV2_DIV_16
  2085. 1748:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @param Multiplicator This parameter can be one of the following values:
  2086. 1749:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_8
  2087. 1750:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_9
  2088. 1751:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_10
  2089. ARM GAS /tmp/cc2ZcXc2.s page 37
  2090. 1752:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_11
  2091. 1753:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_12
  2092. 1754:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_13
  2093. 1755:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_14
  2094. 1756:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_16
  2095. 1757:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_20
  2096. 1758:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  2097. 1759:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2098. 1760:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_PLL_ConfigDomain_PLL2(uint32_t Divider, uint32_t Multiplicator)
  2099. 1761:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2100. 1762:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR2, RCC_CFGR2_PREDIV2 | RCC_CFGR2_PLL2MUL, Divider | Multiplicator);
  2101. 1763:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2102. 1764:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2103. 1765:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2104. 1766:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Get PLL2 Multiplication Factor
  2105. 1767:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CFGR2 PLL2MUL LL_RCC_PLL2_GetMultiplicator
  2106. 1768:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
  2107. 1769:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_8
  2108. 1770:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_9
  2109. 1771:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_10
  2110. 1772:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_11
  2111. 1773:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_12
  2112. 1774:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_13
  2113. 1775:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_14
  2114. 1776:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_16
  2115. 1777:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL2_MUL_20
  2116. 1778:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2117. 1779:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_PLL2_GetMultiplicator(void)
  2118. 1780:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2119. 1781:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR2, RCC_CFGR2_PLL2MUL));
  2120. 1782:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2121. 1783:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2122. 1784:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2123. 1785:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @}
  2124. 1786:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2125. 1787:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_PLL2_SUPPORT */
  2126. 1788:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2127. 1789:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_FLAG_Management FLAG Management
  2128. 1790:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @{
  2129. 1791:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2130. 1792:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2131. 1793:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2132. 1794:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Clear LSI ready interrupt flag
  2133. 1795:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR LSIRDYC LL_RCC_ClearFlag_LSIRDY
  2134. 1796:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  2135. 1797:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2136. 1798:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ClearFlag_LSIRDY(void)
  2137. 1799:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2138. 1800:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CIR, RCC_CIR_LSIRDYC);
  2139. 1801:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2140. 1802:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2141. 1803:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2142. 1804:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Clear LSE ready interrupt flag
  2143. 1805:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR LSERDYC LL_RCC_ClearFlag_LSERDY
  2144. 1806:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  2145. 1807:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2146. 1808:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ClearFlag_LSERDY(void)
  2147. ARM GAS /tmp/cc2ZcXc2.s page 38
  2148. 1809:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2149. 1810:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CIR, RCC_CIR_LSERDYC);
  2150. 1811:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2151. 1812:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2152. 1813:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2153. 1814:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Clear HSI ready interrupt flag
  2154. 1815:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR HSIRDYC LL_RCC_ClearFlag_HSIRDY
  2155. 1816:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  2156. 1817:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2157. 1818:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ClearFlag_HSIRDY(void)
  2158. 1819:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2159. 1820:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CIR, RCC_CIR_HSIRDYC);
  2160. 1821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2161. 1822:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2162. 1823:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2163. 1824:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Clear HSE ready interrupt flag
  2164. 1825:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR HSERDYC LL_RCC_ClearFlag_HSERDY
  2165. 1826:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  2166. 1827:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2167. 1828:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ClearFlag_HSERDY(void)
  2168. 1829:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2169. 1830:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CIR, RCC_CIR_HSERDYC);
  2170. 1831:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2171. 1832:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2172. 1833:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2173. 1834:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Clear PLL ready interrupt flag
  2174. 1835:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR PLLRDYC LL_RCC_ClearFlag_PLLRDY
  2175. 1836:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  2176. 1837:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2177. 1838:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ClearFlag_PLLRDY(void)
  2178. 1839:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2179. 1840:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CIR, RCC_CIR_PLLRDYC);
  2180. 1841:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2181. 1842:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2182. 1843:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_PLLI2S_SUPPORT)
  2183. 1844:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2184. 1845:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Clear PLLI2S ready interrupt flag
  2185. 1846:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR PLL3RDYC LL_RCC_ClearFlag_PLLI2SRDY
  2186. 1847:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  2187. 1848:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2188. 1849:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ClearFlag_PLLI2SRDY(void)
  2189. 1850:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2190. 1851:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CIR, RCC_CIR_PLL3RDYC);
  2191. 1852:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2192. 1853:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_PLLI2S_SUPPORT */
  2193. 1854:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2194. 1855:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_PLL2_SUPPORT)
  2195. 1856:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2196. 1857:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Clear PLL2 ready interrupt flag
  2197. 1858:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR PLL2RDYC LL_RCC_ClearFlag_PLL2RDY
  2198. 1859:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  2199. 1860:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2200. 1861:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ClearFlag_PLL2RDY(void)
  2201. 1862:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2202. 1863:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CIR, RCC_CIR_PLL2RDYC);
  2203. 1864:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2204. 1865:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_PLL2_SUPPORT */
  2205. ARM GAS /tmp/cc2ZcXc2.s page 39
  2206. 1866:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2207. 1867:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2208. 1868:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Clear Clock security system interrupt flag
  2209. 1869:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR CSSC LL_RCC_ClearFlag_HSECSS
  2210. 1870:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  2211. 1871:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2212. 1872:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ClearFlag_HSECSS(void)
  2213. 1873:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2214. 1874:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CIR, RCC_CIR_CSSC);
  2215. 1875:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2216. 1876:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2217. 1877:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2218. 1878:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if LSI ready interrupt occurred or not
  2219. 1879:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR LSIRDYF LL_RCC_IsActiveFlag_LSIRDY
  2220. 1880:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2221. 1881:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2222. 1882:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_LSIRDY(void)
  2223. 1883:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2224. 1884:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CIR, RCC_CIR_LSIRDYF) == (RCC_CIR_LSIRDYF));
  2225. 1885:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2226. 1886:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2227. 1887:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2228. 1888:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if LSE ready interrupt occurred or not
  2229. 1889:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR LSERDYF LL_RCC_IsActiveFlag_LSERDY
  2230. 1890:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2231. 1891:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2232. 1892:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_LSERDY(void)
  2233. 1893:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2234. 1894:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CIR, RCC_CIR_LSERDYF) == (RCC_CIR_LSERDYF));
  2235. 1895:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2236. 1896:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2237. 1897:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2238. 1898:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if HSI ready interrupt occurred or not
  2239. 1899:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR HSIRDYF LL_RCC_IsActiveFlag_HSIRDY
  2240. 1900:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2241. 1901:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2242. 1902:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_HSIRDY(void)
  2243. 1903:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2244. 1904:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CIR, RCC_CIR_HSIRDYF) == (RCC_CIR_HSIRDYF));
  2245. 1905:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2246. 1906:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2247. 1907:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2248. 1908:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if HSE ready interrupt occurred or not
  2249. 1909:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR HSERDYF LL_RCC_IsActiveFlag_HSERDY
  2250. 1910:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2251. 1911:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2252. 1912:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_HSERDY(void)
  2253. 1913:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2254. 1914:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CIR, RCC_CIR_HSERDYF) == (RCC_CIR_HSERDYF));
  2255. 1915:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2256. 1916:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2257. 1917:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2258. 1918:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if PLL ready interrupt occurred or not
  2259. 1919:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR PLLRDYF LL_RCC_IsActiveFlag_PLLRDY
  2260. 1920:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2261. 1921:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2262. 1922:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_PLLRDY(void)
  2263. ARM GAS /tmp/cc2ZcXc2.s page 40
  2264. 1923:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2265. 1924:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CIR, RCC_CIR_PLLRDYF) == (RCC_CIR_PLLRDYF));
  2266. 1925:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2267. 1926:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2268. 1927:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_PLLI2S_SUPPORT)
  2269. 1928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2270. 1929:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if PLLI2S ready interrupt occurred or not
  2271. 1930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR PLL3RDYF LL_RCC_IsActiveFlag_PLLI2SRDY
  2272. 1931:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2273. 1932:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2274. 1933:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_PLLI2SRDY(void)
  2275. 1934:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2276. 1935:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CIR, RCC_CIR_PLL3RDYF) == (RCC_CIR_PLL3RDYF));
  2277. 1936:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2278. 1937:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_PLLI2S_SUPPORT */
  2279. 1938:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2280. 1939:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #if defined(RCC_PLL2_SUPPORT)
  2281. 1940:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2282. 1941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if PLL2 ready interrupt occurred or not
  2283. 1942:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR PLL2RDYF LL_RCC_IsActiveFlag_PLL2RDY
  2284. 1943:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2285. 1944:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2286. 1945:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_PLL2RDY(void)
  2287. 1946:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2288. 1947:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CIR, RCC_CIR_PLL2RDYF) == (RCC_CIR_PLL2RDYF));
  2289. 1948:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2290. 1949:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /* RCC_PLL2_SUPPORT */
  2291. 1950:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2292. 1951:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2293. 1952:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if Clock security system interrupt occurred or not
  2294. 1953:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CIR CSSF LL_RCC_IsActiveFlag_HSECSS
  2295. 1954:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2296. 1955:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2297. 1956:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_HSECSS(void)
  2298. 1957:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2299. 1958:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CIR, RCC_CIR_CSSF) == (RCC_CIR_CSSF));
  2300. 1959:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2301. 1960:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2302. 1961:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2303. 1962:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if RCC flag Independent Watchdog reset is set or not.
  2304. 1963:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CSR IWDGRSTF LL_RCC_IsActiveFlag_IWDGRST
  2305. 1964:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2306. 1965:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2307. 1966:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_IWDGRST(void)
  2308. 1967:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2309. 1968:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CSR, RCC_CSR_IWDGRSTF) == (RCC_CSR_IWDGRSTF));
  2310. 1969:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2311. 1970:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2312. 1971:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2313. 1972:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if RCC flag Low Power reset is set or not.
  2314. 1973:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CSR LPWRRSTF LL_RCC_IsActiveFlag_LPWRRST
  2315. 1974:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2316. 1975:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2317. 1976:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_LPWRRST(void)
  2318. 1977:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2319. 1978:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CSR, RCC_CSR_LPWRRSTF) == (RCC_CSR_LPWRRSTF));
  2320. 1979:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2321. ARM GAS /tmp/cc2ZcXc2.s page 41
  2322. 1980:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2323. 1981:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2324. 1982:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if RCC flag Pin reset is set or not.
  2325. 1983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CSR PINRSTF LL_RCC_IsActiveFlag_PINRST
  2326. 1984:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2327. 1985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2328. 1986:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_PINRST(void)
  2329. 1987:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2330. 1988:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CSR, RCC_CSR_PINRSTF) == (RCC_CSR_PINRSTF));
  2331. 1989:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2332. 1990:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2333. 1991:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2334. 1992:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if RCC flag POR/PDR reset is set or not.
  2335. 1993:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CSR PORRSTF LL_RCC_IsActiveFlag_PORRST
  2336. 1994:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2337. 1995:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2338. 1996:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_PORRST(void)
  2339. 1997:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2340. 1998:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CSR, RCC_CSR_PORRSTF) == (RCC_CSR_PORRSTF));
  2341. 1999:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2342. 2000:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2343. 2001:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2344. 2002:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if RCC flag Software reset is set or not.
  2345. 2003:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CSR SFTRSTF LL_RCC_IsActiveFlag_SFTRST
  2346. 2004:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2347. 2005:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2348. 2006:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_SFTRST(void)
  2349. 2007:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2350. 2008:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CSR, RCC_CSR_SFTRSTF) == (RCC_CSR_SFTRSTF));
  2351. 2009:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2352. 2010:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2353. 2011:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2354. 2012:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Check if RCC flag Window Watchdog reset is set or not.
  2355. 2013:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CSR WWDGRSTF LL_RCC_IsActiveFlag_WWDGRST
  2356. 2014:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval State of bit (1 or 0).
  2357. 2015:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2358. 2016:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsActiveFlag_WWDGRST(void)
  2359. 2017:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2360. 2018:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** return (READ_BIT(RCC->CSR, RCC_CSR_WWDGRSTF) == (RCC_CSR_WWDGRSTF));
  2361. 2019:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2362. 2020:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h ****
  2363. 2021:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** /**
  2364. 2022:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @brief Set RMVF bit to clear the reset flags.
  2365. 2023:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @rmtoll CSR RMVF LL_RCC_ClearResetFlags
  2366. 2024:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** * @retval None
  2367. 2025:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** */
  2368. 2026:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ClearResetFlags(void)
  2369. 142 .loc 2 2026 22 view .LVU36
  2370. 143 .LBB55:
  2371. 2027:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2372. 2028:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** SET_BIT(RCC->CSR, RCC_CSR_RMVF);
  2373. 144 .loc 2 2028 3 view .LVU37
  2374. 145 0058 5A6A ldr r2, [r3, #36]
  2375. 146 005a 42F08072 orr r2, r2, #16777216
  2376. 147 005e 5A62 str r2, [r3, #36]
  2377. 148 .LBE55:
  2378. 149 .LBE54:
  2379. ARM GAS /tmp/cc2ZcXc2.s page 42
  2380. 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2381. 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** return SUCCESS;
  2382. 150 .loc 1 154 3 view .LVU38
  2383. 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2384. 151 .loc 1 155 1 is_stmt 0 view .LVU39
  2385. 152 0060 7047 bx lr
  2386. 153 .L6:
  2387. 154 0062 00BF .align 2
  2388. 155 .L5:
  2389. 156 0064 00100240 .word 1073876992
  2390. 157 .cfi_endproc
  2391. 158 .LFE147:
  2392. 160 .section .text.RCC_GetHCLKClockFreq,"ax",%progbits
  2393. 161 .align 1
  2394. 162 .global RCC_GetHCLKClockFreq
  2395. 163 .syntax unified
  2396. 164 .thumb
  2397. 165 .thumb_func
  2398. 167 RCC_GetHCLKClockFreq:
  2399. 168 .LVL4:
  2400. 169 .LFB152:
  2401. 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2402. 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  2403. 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @}
  2404. 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  2405. 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2406. 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /** @addtogroup RCC_LL_EF_Get_Freq
  2407. 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @brief Return the frequencies of different on chip clocks; System, AHB, APB1 and APB2 buses c
  2408. 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * and different peripheral clocks available on the device.
  2409. 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @note If SYSCLK source is HSI, function returns values based on HSI_VALUE(**)
  2410. 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @note If SYSCLK source is HSE, function returns values based on HSE_VALUE(***)
  2411. 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @note If SYSCLK source is PLL, function returns values based on
  2412. 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * HSI_VALUE(**) or HSE_VALUE(***) multiplied/divided by the PLL factors.
  2413. 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @note (**) HSI_VALUE is a defined constant but the real value may vary
  2414. 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * depending on the variations in voltage and temperature.
  2415. 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @note (***) HSE_VALUE is a defined constant, user has to ensure that
  2416. 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * HSE_VALUE is same as the real frequency of the crystal used.
  2417. 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * Otherwise, this function may have wrong result.
  2418. 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @note The result of this function could be incorrect when using fractional
  2419. 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * value for HSE crystal.
  2420. 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @note This function can be used by the user application to compute the
  2421. 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * baud-rate for the communication peripherals or configure other parameters.
  2422. 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @{
  2423. 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  2424. 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2425. 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  2426. 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @brief Return the frequencies of different on chip clocks; System, AHB, APB1 and APB2 buses c
  2427. 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @note Each time SYSCLK, HCLK, PCLK1 and/or PCLK2 clock changes, this function
  2428. 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * must be called to update structure fields. Otherwise, any
  2429. 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * configuration based on this function will be incorrect.
  2430. 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @param RCC_Clocks pointer to a @ref LL_RCC_ClocksTypeDef structure which will hold the clocks
  2431. 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @retval None
  2432. 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  2433. 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** void LL_RCC_GetSystemClocksFreq(LL_RCC_ClocksTypeDef *RCC_Clocks)
  2434. 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2435. 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Get SYSCLK frequency */
  2436. 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** RCC_Clocks->SYSCLK_Frequency = RCC_GetSystemClockFreq();
  2437. ARM GAS /tmp/cc2ZcXc2.s page 43
  2438. 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2439. 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* HCLK clock frequency */
  2440. 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** RCC_Clocks->HCLK_Frequency = RCC_GetHCLKClockFreq(RCC_Clocks->SYSCLK_Frequency);
  2441. 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2442. 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* PCLK1 clock frequency */
  2443. 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** RCC_Clocks->PCLK1_Frequency = RCC_GetPCLK1ClockFreq(RCC_Clocks->HCLK_Frequency);
  2444. 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2445. 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* PCLK2 clock frequency */
  2446. 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** RCC_Clocks->PCLK2_Frequency = RCC_GetPCLK2ClockFreq(RCC_Clocks->HCLK_Frequency);
  2447. 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2448. 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2449. 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #if defined(RCC_CFGR2_I2S2SRC)
  2450. 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  2451. 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @brief Return I2Sx clock frequency
  2452. 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @param I2SxSource This parameter can be one of the following values:
  2453. 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @arg @ref LL_RCC_I2S2_CLKSOURCE
  2454. 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @arg @ref LL_RCC_I2S3_CLKSOURCE
  2455. 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @retval I2S clock frequency (in Hz)
  2456. 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  2457. 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t LL_RCC_GetI2SClockFreq(uint32_t I2SxSource)
  2458. 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2459. 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t i2s_frequency = LL_RCC_PERIPH_FREQUENCY_NO;
  2460. 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2461. 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Check parameter */
  2462. 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** assert_param(IS_LL_RCC_I2S_CLKSOURCE(I2SxSource));
  2463. 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2464. 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* I2S1CLK clock frequency */
  2465. 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** switch (LL_RCC_GetI2SClockSource(I2SxSource))
  2466. 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2467. 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** case LL_RCC_I2S2_CLKSOURCE_SYSCLK: /*!< System clock selected as I2S clock source */
  2468. 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** case LL_RCC_I2S3_CLKSOURCE_SYSCLK:
  2469. 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** i2s_frequency = RCC_GetSystemClockFreq();
  2470. 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2471. 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2472. 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** case LL_RCC_I2S2_CLKSOURCE_PLLI2S_VCO: /*!< PLLI2S oscillator clock selected as I2S clock so
  2473. 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** case LL_RCC_I2S3_CLKSOURCE_PLLI2S_VCO:
  2474. 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** default:
  2475. 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** i2s_frequency = RCC_PLLI2S_GetFreqDomain_I2S() * 2U;
  2476. 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2477. 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2478. 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2479. 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** return i2s_frequency;
  2480. 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2481. 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #endif /* RCC_CFGR2_I2S2SRC */
  2482. 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2483. 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #if defined(USB) || defined(USB_OTG_FS)
  2484. 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  2485. 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @brief Return USBx clock frequency
  2486. 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @param USBxSource This parameter can be one of the following values:
  2487. 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @arg @ref LL_RCC_USB_CLKSOURCE
  2488. 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @retval USB clock frequency (in Hz)
  2489. 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @arg @ref LL_RCC_PERIPH_FREQUENCY_NO indicates that oscillator (HSI), HSE or PLL is not
  2490. 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  2491. 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t LL_RCC_GetUSBClockFreq(uint32_t USBxSource)
  2492. 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2493. 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t usb_frequency = LL_RCC_PERIPH_FREQUENCY_NO;
  2494. 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2495. ARM GAS /tmp/cc2ZcXc2.s page 44
  2496. 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Check parameter */
  2497. 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** assert_param(IS_LL_RCC_USB_CLKSOURCE(USBxSource));
  2498. 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2499. 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* USBCLK clock frequency */
  2500. 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** switch (LL_RCC_GetUSBClockSource(USBxSource))
  2501. 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2502. 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #if defined(RCC_CFGR_USBPRE)
  2503. 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** case LL_RCC_USB_CLKSOURCE_PLL: /* PLL clock used as USB clock source */
  2504. 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** if (LL_RCC_PLL_IsReady())
  2505. 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2506. 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** usb_frequency = RCC_PLL_GetFreqDomain_SYS();
  2507. 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2508. 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2509. 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2510. 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** case LL_RCC_USB_CLKSOURCE_PLL_DIV_1_5: /* PLL clock divided by 1.5 used as USB clock sou
  2511. 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** default:
  2512. 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** if (LL_RCC_PLL_IsReady())
  2513. 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2514. 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** usb_frequency = (RCC_PLL_GetFreqDomain_SYS() * 3U) / 2U;
  2515. 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2516. 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2517. 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #endif /* RCC_CFGR_USBPRE */
  2518. 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #if defined(RCC_CFGR_OTGFSPRE)
  2519. 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* USBCLK = PLLVCO/2
  2520. 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** = (2 x PLLCLK) / 2
  2521. 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** = PLLCLK */
  2522. 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** case LL_RCC_USB_CLKSOURCE_PLL_DIV_2: /* PLL clock used as USB clock source */
  2523. 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** if (LL_RCC_PLL_IsReady())
  2524. 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2525. 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** usb_frequency = RCC_PLL_GetFreqDomain_SYS();
  2526. 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2527. 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2528. 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2529. 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* USBCLK = PLLVCO/3
  2530. 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** = (2 x PLLCLK) / 3 */
  2531. 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** case LL_RCC_USB_CLKSOURCE_PLL_DIV_3: /* PLL clock divided by 3 used as USB clock source
  2532. 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** default:
  2533. 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** if (LL_RCC_PLL_IsReady())
  2534. 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2535. 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** usb_frequency = (RCC_PLL_GetFreqDomain_SYS() * 2U) / 3U;
  2536. 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2537. 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2538. 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #endif /* RCC_CFGR_OTGFSPRE */
  2539. 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2540. 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2541. 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** return usb_frequency;
  2542. 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2543. 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #endif /* USB */
  2544. 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2545. 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  2546. 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @brief Return ADCx clock frequency
  2547. 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @param ADCxSource This parameter can be one of the following values:
  2548. 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @arg @ref LL_RCC_ADC_CLKSOURCE
  2549. 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @retval ADC clock frequency (in Hz)
  2550. 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  2551. 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t LL_RCC_GetADCClockFreq(uint32_t ADCxSource)
  2552. 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2553. ARM GAS /tmp/cc2ZcXc2.s page 45
  2554. 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t adc_prescaler = 0U;
  2555. 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t adc_frequency = 0U;
  2556. 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2557. 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Check parameter */
  2558. 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** assert_param(IS_LL_RCC_ADC_CLKSOURCE(ADCxSource));
  2559. 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2560. 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Get ADC prescaler */
  2561. 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** adc_prescaler = LL_RCC_GetADCClockSource(ADCxSource);
  2562. 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2563. 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* ADC frequency = PCLK2 frequency / ADC prescaler (2, 4, 6 or 8) */
  2564. 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** adc_frequency = RCC_GetPCLK2ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq()))
  2565. 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** / (((adc_prescaler >> POSITION_VAL(ADCxSource)) + 1U) * 2U);
  2566. 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2567. 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** return adc_frequency;
  2568. 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2569. 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2570. 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  2571. 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @}
  2572. 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  2573. 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2574. 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  2575. 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @}
  2576. 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  2577. 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2578. 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /** @addtogroup RCC_LL_Private_Functions
  2579. 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @{
  2580. 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  2581. 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2582. 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  2583. 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @brief Return SYSTEM clock frequency
  2584. 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @retval SYSTEM clock frequency (in Hz)
  2585. 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  2586. 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t RCC_GetSystemClockFreq(void)
  2587. 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2588. 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t frequency = 0U;
  2589. 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2590. 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Get SYSCLK source -------------------------------------------------------*/
  2591. 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** switch (LL_RCC_GetSysClkSource())
  2592. 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2593. 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** case LL_RCC_SYS_CLKSOURCE_STATUS_HSI: /* HSI used as system clock source */
  2594. 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** frequency = HSI_VALUE;
  2595. 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2596. 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2597. 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** case LL_RCC_SYS_CLKSOURCE_STATUS_HSE: /* HSE used as system clock source */
  2598. 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** frequency = HSE_VALUE;
  2599. 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2600. 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2601. 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** case LL_RCC_SYS_CLKSOURCE_STATUS_PLL: /* PLL used as system clock source */
  2602. 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** frequency = RCC_PLL_GetFreqDomain_SYS();
  2603. 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2604. 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2605. 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** default:
  2606. 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** frequency = HSI_VALUE;
  2607. 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2608. 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2609. 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2610. 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** return frequency;
  2611. ARM GAS /tmp/cc2ZcXc2.s page 46
  2612. 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2613. 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2614. 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  2615. 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @brief Return HCLK clock frequency
  2616. 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @param SYSCLK_Frequency SYSCLK clock frequency
  2617. 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @retval HCLK clock frequency (in Hz)
  2618. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  2619. 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t RCC_GetHCLKClockFreq(uint32_t SYSCLK_Frequency)
  2620. 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2621. 170 .loc 1 371 1 is_stmt 1 view -0
  2622. 171 .cfi_startproc
  2623. 172 @ args = 0, pretend = 0, frame = 0
  2624. 173 @ frame_needed = 0, uses_anonymous_args = 0
  2625. 174 @ link register save eliminated.
  2626. 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* HCLK clock frequency */
  2627. 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** return __LL_RCC_CALC_HCLK_FREQ(SYSCLK_Frequency, LL_RCC_GetAHBPrescaler());
  2628. 175 .loc 1 373 3 view .LVU41
  2629. 176 .LBB56:
  2630. 177 .LBI56:
  2631. 1096:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2632. 178 .loc 2 1096 26 view .LVU42
  2633. 179 .LBB57:
  2634. 1098:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2635. 180 .loc 2 1098 3 view .LVU43
  2636. 1098:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2637. 181 .loc 2 1098 21 is_stmt 0 view .LVU44
  2638. 182 0000 034B ldr r3, .L8
  2639. 183 0002 5B68 ldr r3, [r3, #4]
  2640. 184 .LBE57:
  2641. 185 .LBE56:
  2642. 186 .loc 1 373 10 view .LVU45
  2643. 187 0004 C3F30313 ubfx r3, r3, #4, #4
  2644. 188 0008 024A ldr r2, .L8+4
  2645. 189 000a D35C ldrb r3, [r2, r3] @ zero_extendqisi2
  2646. 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2647. 190 .loc 1 374 1 view .LVU46
  2648. 191 000c D840 lsrs r0, r0, r3
  2649. 192 .LVL5:
  2650. 193 .loc 1 374 1 view .LVU47
  2651. 194 000e 7047 bx lr
  2652. 195 .L9:
  2653. 196 .align 2
  2654. 197 .L8:
  2655. 198 0010 00100240 .word 1073876992
  2656. 199 0014 00000000 .word AHBPrescTable
  2657. 200 .cfi_endproc
  2658. 201 .LFE152:
  2659. 203 .section .text.RCC_GetPCLK1ClockFreq,"ax",%progbits
  2660. 204 .align 1
  2661. 205 .global RCC_GetPCLK1ClockFreq
  2662. 206 .syntax unified
  2663. 207 .thumb
  2664. 208 .thumb_func
  2665. 210 RCC_GetPCLK1ClockFreq:
  2666. 211 .LVL6:
  2667. 212 .LFB153:
  2668. 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2669. ARM GAS /tmp/cc2ZcXc2.s page 47
  2670. 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  2671. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @brief Return PCLK1 clock frequency
  2672. 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @param HCLK_Frequency HCLK clock frequency
  2673. 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @retval PCLK1 clock frequency (in Hz)
  2674. 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  2675. 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t RCC_GetPCLK1ClockFreq(uint32_t HCLK_Frequency)
  2676. 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2677. 213 .loc 1 382 1 is_stmt 1 view -0
  2678. 214 .cfi_startproc
  2679. 215 @ args = 0, pretend = 0, frame = 0
  2680. 216 @ frame_needed = 0, uses_anonymous_args = 0
  2681. 217 @ link register save eliminated.
  2682. 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* PCLK1 clock frequency */
  2683. 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** return __LL_RCC_CALC_PCLK1_FREQ(HCLK_Frequency, LL_RCC_GetAPB1Prescaler());
  2684. 218 .loc 1 384 3 view .LVU49
  2685. 219 .LBB58:
  2686. 220 .LBI58:
  2687. 1111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2688. 221 .loc 2 1111 26 view .LVU50
  2689. 222 .LBB59:
  2690. 1113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2691. 223 .loc 2 1113 3 view .LVU51
  2692. 1113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2693. 224 .loc 2 1113 21 is_stmt 0 view .LVU52
  2694. 225 0000 034B ldr r3, .L11
  2695. 226 0002 5B68 ldr r3, [r3, #4]
  2696. 227 .LBE59:
  2697. 228 .LBE58:
  2698. 229 .loc 1 384 10 view .LVU53
  2699. 230 0004 C3F30223 ubfx r3, r3, #8, #3
  2700. 231 0008 024A ldr r2, .L11+4
  2701. 232 000a D35C ldrb r3, [r2, r3] @ zero_extendqisi2
  2702. 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2703. 233 .loc 1 385 1 view .LVU54
  2704. 234 000c D840 lsrs r0, r0, r3
  2705. 235 .LVL7:
  2706. 236 .loc 1 385 1 view .LVU55
  2707. 237 000e 7047 bx lr
  2708. 238 .L12:
  2709. 239 .align 2
  2710. 240 .L11:
  2711. 241 0010 00100240 .word 1073876992
  2712. 242 0014 00000000 .word APBPrescTable
  2713. 243 .cfi_endproc
  2714. 244 .LFE153:
  2715. 246 .section .text.RCC_GetPCLK2ClockFreq,"ax",%progbits
  2716. 247 .align 1
  2717. 248 .global RCC_GetPCLK2ClockFreq
  2718. 249 .syntax unified
  2719. 250 .thumb
  2720. 251 .thumb_func
  2721. 253 RCC_GetPCLK2ClockFreq:
  2722. 254 .LVL8:
  2723. 255 .LFB154:
  2724. 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2725. 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  2726. 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @brief Return PCLK2 clock frequency
  2727. ARM GAS /tmp/cc2ZcXc2.s page 48
  2728. 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @param HCLK_Frequency HCLK clock frequency
  2729. 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @retval PCLK2 clock frequency (in Hz)
  2730. 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  2731. 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t RCC_GetPCLK2ClockFreq(uint32_t HCLK_Frequency)
  2732. 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2733. 256 .loc 1 393 1 is_stmt 1 view -0
  2734. 257 .cfi_startproc
  2735. 258 @ args = 0, pretend = 0, frame = 0
  2736. 259 @ frame_needed = 0, uses_anonymous_args = 0
  2737. 260 @ link register save eliminated.
  2738. 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* PCLK2 clock frequency */
  2739. 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** return __LL_RCC_CALC_PCLK2_FREQ(HCLK_Frequency, LL_RCC_GetAPB2Prescaler());
  2740. 261 .loc 1 395 3 view .LVU57
  2741. 262 .LBB60:
  2742. 263 .LBI60:
  2743. 1126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2744. 264 .loc 2 1126 26 view .LVU58
  2745. 265 .LBB61:
  2746. 1128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2747. 266 .loc 2 1128 3 view .LVU59
  2748. 1128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2749. 267 .loc 2 1128 21 is_stmt 0 view .LVU60
  2750. 268 0000 034B ldr r3, .L14
  2751. 269 0002 5B68 ldr r3, [r3, #4]
  2752. 270 .LBE61:
  2753. 271 .LBE60:
  2754. 272 .loc 1 395 10 view .LVU61
  2755. 273 0004 C3F3C223 ubfx r3, r3, #11, #3
  2756. 274 0008 024A ldr r2, .L14+4
  2757. 275 000a D35C ldrb r3, [r2, r3] @ zero_extendqisi2
  2758. 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2759. 276 .loc 1 396 1 view .LVU62
  2760. 277 000c D840 lsrs r0, r0, r3
  2761. 278 .LVL9:
  2762. 279 .loc 1 396 1 view .LVU63
  2763. 280 000e 7047 bx lr
  2764. 281 .L15:
  2765. 282 .align 2
  2766. 283 .L14:
  2767. 284 0010 00100240 .word 1073876992
  2768. 285 0014 00000000 .word APBPrescTable
  2769. 286 .cfi_endproc
  2770. 287 .LFE154:
  2771. 289 .section .text.RCC_PLL_GetFreqDomain_SYS,"ax",%progbits
  2772. 290 .align 1
  2773. 291 .global RCC_PLL_GetFreqDomain_SYS
  2774. 292 .syntax unified
  2775. 293 .thumb
  2776. 294 .thumb_func
  2777. 296 RCC_PLL_GetFreqDomain_SYS:
  2778. 297 .LFB155:
  2779. 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2780. 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /**
  2781. 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @brief Return PLL clock frequency used for system domain
  2782. 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** * @retval PLL clock frequency (in Hz)
  2783. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** */
  2784. 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t RCC_PLL_GetFreqDomain_SYS(void)
  2785. ARM GAS /tmp/cc2ZcXc2.s page 49
  2786. 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2787. 298 .loc 1 403 1 is_stmt 1 view -0
  2788. 299 .cfi_startproc
  2789. 300 @ args = 0, pretend = 0, frame = 0
  2790. 301 @ frame_needed = 0, uses_anonymous_args = 0
  2791. 302 @ link register save eliminated.
  2792. 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t pllinputfreq = 0U, pllsource = 0U;
  2793. 303 .loc 1 404 3 view .LVU65
  2794. 304 .LVL10:
  2795. 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2796. 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* PLL_VCO = (HSE_VALUE, HSI_VALUE or PLL2 / PLL Predivider) * PLL Multiplicator */
  2797. 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2798. 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Get PLL source */
  2799. 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** pllsource = LL_RCC_PLL_GetMainSource();
  2800. 305 .loc 1 409 3 view .LVU66
  2801. 306 .LBB62:
  2802. 307 .LBI62:
  2803. 1518:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2804. 308 .loc 2 1518 26 view .LVU67
  2805. 309 .LBB63:
  2806. 1525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1SRC*/
  2807. 310 .loc 2 1525 3 view .LVU68
  2808. 1525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1SRC*/
  2809. 311 .loc 2 1525 21 is_stmt 0 view .LVU69
  2810. 312 0000 0B4B ldr r3, .L20
  2811. 313 0002 5B68 ldr r3, [r3, #4]
  2812. 1525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1SRC*/
  2813. 314 .loc 2 1525 10 view .LVU70
  2814. 315 0004 03F48033 and r3, r3, #65536
  2815. 316 .LVL11:
  2816. 1525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1SRC*/
  2817. 317 .loc 2 1525 10 view .LVU71
  2818. 318 .LBE63:
  2819. 319 .LBE62:
  2820. 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2821. 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** switch (pllsource)
  2822. 320 .loc 1 411 3 is_stmt 1 view .LVU72
  2823. 321 0008 43B9 cbnz r3, .L19
  2824. 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2825. 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** case LL_RCC_PLLSOURCE_HSI_DIV_2: /* HSI used as PLL clock source */
  2826. 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** pllinputfreq = HSI_VALUE / 2U;
  2827. 322 .loc 1 414 20 is_stmt 0 view .LVU73
  2828. 323 000a 0A48 ldr r0, .L20+4
  2829. 324 .LVL12:
  2830. 325 .L17:
  2831. 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2832. 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2833. 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** case LL_RCC_PLLSOURCE_HSE: /* HSE used as PLL clock source */
  2834. 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** pllinputfreq = HSE_VALUE / (LL_RCC_PLL_GetPrediv() + 1U);
  2835. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2836. 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2837. 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #if defined(RCC_PLL2_SUPPORT)
  2838. 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** case LL_RCC_PLLSOURCE_PLL2: /* PLL2 used as PLL clock source */
  2839. 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** pllinputfreq = RCC_PLL2_GetFreqClockFreq() / (LL_RCC_PLL_GetPrediv() + 1U);
  2840. 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2841. 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #endif /* RCC_PLL2_SUPPORT */
  2842. 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2843. ARM GAS /tmp/cc2ZcXc2.s page 50
  2844. 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** default:
  2845. 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** pllinputfreq = HSI_VALUE / 2U;
  2846. 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2847. 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2848. 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetMultiplicator());
  2849. 326 .loc 1 431 3 is_stmt 1 view .LVU74
  2850. 327 .LBB64:
  2851. 328 .LBI64:
  2852. 1552:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2853. 329 .loc 2 1552 26 view .LVU75
  2854. 330 .LBB65:
  2855. 1554:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2856. 331 .loc 2 1554 3 view .LVU76
  2857. 1554:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2858. 332 .loc 2 1554 21 is_stmt 0 view .LVU77
  2859. 333 000c 084B ldr r3, .L20
  2860. 334 000e 5B68 ldr r3, [r3, #4]
  2861. 335 .LBE65:
  2862. 336 .LBE64:
  2863. 337 .loc 1 431 10 view .LVU78
  2864. 338 0010 C3F38343 ubfx r3, r3, #18, #4
  2865. 339 0014 0233 adds r3, r3, #2
  2866. 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  2867. 340 .loc 1 432 1 view .LVU79
  2868. 341 0016 03FB00F0 mul r0, r3, r0
  2869. 342 .LVL13:
  2870. 343 .loc 1 432 1 view .LVU80
  2871. 344 001a 7047 bx lr
  2872. 345 .LVL14:
  2873. 346 .L19:
  2874. 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2875. 347 .loc 1 418 7 is_stmt 1 view .LVU81
  2876. 348 .LBB66:
  2877. 349 .LBI66:
  2878. 1582:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2879. 350 .loc 2 1582 26 view .LVU82
  2880. 351 .LBB67:
  2881. 1587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1*/
  2882. 352 .loc 2 1587 3 view .LVU83
  2883. 1587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1*/
  2884. 353 .loc 2 1587 21 is_stmt 0 view .LVU84
  2885. 354 001c 044B ldr r3, .L20
  2886. 355 .LVL15:
  2887. 1587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1*/
  2888. 356 .loc 2 1587 21 view .LVU85
  2889. 357 001e 5868 ldr r0, [r3, #4]
  2890. 1587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** #endif /*RCC_CFGR2_PREDIV1*/
  2891. 358 .loc 2 1587 10 view .LVU86
  2892. 359 0020 C0F34040 ubfx r0, r0, #17, #1
  2893. 360 .LBE67:
  2894. 361 .LBE66:
  2895. 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2896. 362 .loc 1 418 58 view .LVU87
  2897. 363 0024 431C adds r3, r0, #1
  2898. 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  2899. 364 .loc 1 418 20 view .LVU88
  2900. 365 0026 0448 ldr r0, .L20+8
  2901. ARM GAS /tmp/cc2ZcXc2.s page 51
  2902. 366 0028 B0FBF3F0 udiv r0, r0, r3
  2903. 367 .LVL16:
  2904. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2905. 368 .loc 1 419 7 is_stmt 1 view .LVU89
  2906. 369 002c EEE7 b .L17
  2907. 370 .L21:
  2908. 371 002e 00BF .align 2
  2909. 372 .L20:
  2910. 373 0030 00100240 .word 1073876992
  2911. 374 0034 00093D00 .word 4000000
  2912. 375 0038 00127A00 .word 8000000
  2913. 376 .cfi_endproc
  2914. 377 .LFE155:
  2915. 379 .section .text.LL_RCC_GetUSBClockFreq,"ax",%progbits
  2916. 380 .align 1
  2917. 381 .global LL_RCC_GetUSBClockFreq
  2918. 382 .syntax unified
  2919. 383 .thumb
  2920. 384 .thumb_func
  2921. 386 LL_RCC_GetUSBClockFreq:
  2922. 387 .LVL17:
  2923. 388 .LFB149:
  2924. 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t usb_frequency = LL_RCC_PERIPH_FREQUENCY_NO;
  2925. 389 .loc 1 246 1 view -0
  2926. 390 .cfi_startproc
  2927. 391 @ args = 0, pretend = 0, frame = 0
  2928. 392 @ frame_needed = 0, uses_anonymous_args = 0
  2929. 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t usb_frequency = LL_RCC_PERIPH_FREQUENCY_NO;
  2930. 393 .loc 1 246 1 is_stmt 0 view .LVU91
  2931. 394 0000 08B5 push {r3, lr}
  2932. 395 .LCFI0:
  2933. 396 .cfi_def_cfa_offset 8
  2934. 397 .cfi_offset 3, -8
  2935. 398 .cfi_offset 14, -4
  2936. 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2937. 399 .loc 1 247 3 is_stmt 1 view .LVU92
  2938. 400 .LVL18:
  2939. 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  2940. 401 .loc 1 250 3 view .LVU93
  2941. 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2942. 402 .loc 1 253 3 view .LVU94
  2943. 403 .LBB68:
  2944. 404 .LBI68:
  2945. 1261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2946. 405 .loc 2 1261 26 view .LVU95
  2947. 406 .LBB69:
  2948. 1263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2949. 407 .loc 2 1263 3 view .LVU96
  2950. 1263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2951. 408 .loc 2 1263 21 is_stmt 0 view .LVU97
  2952. 409 0002 0D4B ldr r3, .L28
  2953. 410 0004 5B68 ldr r3, [r3, #4]
  2954. 1263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2955. 411 .loc 2 1263 10 view .LVU98
  2956. 412 0006 1840 ands r0, r0, r3
  2957. 413 .LVL19:
  2958. 1263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2959. ARM GAS /tmp/cc2ZcXc2.s page 52
  2960. 414 .loc 2 1263 10 view .LVU99
  2961. 415 .LBE69:
  2962. 416 .LBE68:
  2963. 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2964. 417 .loc 1 253 3 view .LVU100
  2965. 418 0008 B0F5800F cmp r0, #4194304
  2966. 419 000c 05D0 beq .L26
  2967. 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2968. 420 .loc 1 265 7 is_stmt 1 view .LVU101
  2969. 421 .LBB70:
  2970. 422 .LBI70:
  2971. 1406:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2972. 423 .loc 2 1406 26 view .LVU102
  2973. 424 .LBB71:
  2974. 1408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2975. 425 .loc 2 1408 3 view .LVU103
  2976. 1408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  2977. 426 .loc 2 1408 11 is_stmt 0 view .LVU104
  2978. 427 000e 0A4B ldr r3, .L28
  2979. 428 0010 1868 ldr r0, [r3]
  2980. 429 .LBE71:
  2981. 430 .LBE70:
  2982. 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2983. 431 .loc 1 265 10 view .LVU105
  2984. 432 0012 10F00070 ands r0, r0, #33554432
  2985. 433 0016 08D1 bne .L27
  2986. 434 .LVL20:
  2987. 435 .L22:
  2988. 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** #endif /* USB */
  2989. 436 .loc 1 295 1 view .LVU106
  2990. 437 0018 08BD pop {r3, pc}
  2991. 438 .LVL21:
  2992. 439 .L26:
  2993. 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  2994. 440 .loc 1 257 7 is_stmt 1 view .LVU107
  2995. 441 .LBB72:
  2996. 442 .LBI72:
  2997. 1406:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  2998. 443 .loc 2 1406 26 view .LVU108
  2999. 444 .LBB73:
  3000. 1408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  3001. 445 .loc 2 1408 3 view .LVU109
  3002. 1408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  3003. 446 .loc 2 1408 11 is_stmt 0 view .LVU110
  3004. 447 001a 074B ldr r3, .L28
  3005. 448 001c 1868 ldr r0, [r3]
  3006. 449 .LBE73:
  3007. 450 .LBE72:
  3008. 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  3009. 451 .loc 1 257 10 view .LVU111
  3010. 452 001e 10F00070 ands r0, r0, #33554432
  3011. 453 0022 F9D0 beq .L22
  3012. 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  3013. 454 .loc 1 259 9 is_stmt 1 view .LVU112
  3014. 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  3015. 455 .loc 1 259 25 is_stmt 0 view .LVU113
  3016. 456 0024 FFF7FEFF bl RCC_PLL_GetFreqDomain_SYS
  3017. ARM GAS /tmp/cc2ZcXc2.s page 53
  3018. 457 .LVL22:
  3019. 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  3020. 458 .loc 1 259 25 view .LVU114
  3021. 459 0028 F6E7 b .L22
  3022. 460 .LVL23:
  3023. 461 .L27:
  3024. 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  3025. 462 .loc 1 267 9 is_stmt 1 view .LVU115
  3026. 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  3027. 463 .loc 1 267 26 is_stmt 0 view .LVU116
  3028. 464 002a FFF7FEFF bl RCC_PLL_GetFreqDomain_SYS
  3029. 465 .LVL24:
  3030. 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  3031. 466 .loc 1 267 54 view .LVU117
  3032. 467 002e 00EB4000 add r0, r0, r0, lsl #1
  3033. 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  3034. 468 .loc 1 267 23 view .LVU118
  3035. 469 0032 4008 lsrs r0, r0, #1
  3036. 470 .LVL25:
  3037. 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  3038. 471 .loc 1 294 3 is_stmt 1 view .LVU119
  3039. 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  3040. 472 .loc 1 294 10 is_stmt 0 view .LVU120
  3041. 473 0034 F0E7 b .L22
  3042. 474 .L29:
  3043. 475 0036 00BF .align 2
  3044. 476 .L28:
  3045. 477 0038 00100240 .word 1073876992
  3046. 478 .cfi_endproc
  3047. 479 .LFE149:
  3048. 481 .section .text.RCC_GetSystemClockFreq,"ax",%progbits
  3049. 482 .align 1
  3050. 483 .global RCC_GetSystemClockFreq
  3051. 484 .syntax unified
  3052. 485 .thumb
  3053. 486 .thumb_func
  3054. 488 RCC_GetSystemClockFreq:
  3055. 489 .LFB151:
  3056. 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t frequency = 0U;
  3057. 490 .loc 1 339 1 is_stmt 1 view -0
  3058. 491 .cfi_startproc
  3059. 492 @ args = 0, pretend = 0, frame = 0
  3060. 493 @ frame_needed = 0, uses_anonymous_args = 0
  3061. 494 0000 08B5 push {r3, lr}
  3062. 495 .LCFI1:
  3063. 496 .cfi_def_cfa_offset 8
  3064. 497 .cfi_offset 3, -8
  3065. 498 .cfi_offset 14, -4
  3066. 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3067. 499 .loc 1 340 3 view .LVU122
  3068. 500 .LVL26:
  3069. 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  3070. 501 .loc 1 343 3 view .LVU123
  3071. 502 .LBB74:
  3072. 503 .LBI74:
  3073. 1025:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  3074. 504 .loc 2 1025 26 view .LVU124
  3075. ARM GAS /tmp/cc2ZcXc2.s page 54
  3076. 505 .LBB75:
  3077. 1027:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  3078. 506 .loc 2 1027 3 view .LVU125
  3079. 1027:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  3080. 507 .loc 2 1027 21 is_stmt 0 view .LVU126
  3081. 508 0002 054B ldr r3, .L35
  3082. 509 0004 5B68 ldr r3, [r3, #4]
  3083. 1027:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  3084. 510 .loc 2 1027 10 view .LVU127
  3085. 511 0006 03F00C03 and r3, r3, #12
  3086. 512 .LBE75:
  3087. 513 .LBE74:
  3088. 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** {
  3089. 514 .loc 1 343 3 view .LVU128
  3090. 515 000a 082B cmp r3, #8
  3091. 516 000c 01D0 beq .L34
  3092. 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  3093. 517 .loc 1 346 17 view .LVU129
  3094. 518 000e 0348 ldr r0, .L35+4
  3095. 519 .LVL27:
  3096. 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  3097. 520 .loc 1 362 3 is_stmt 1 view .LVU130
  3098. 521 .L30:
  3099. 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3100. 522 .loc 1 363 1 is_stmt 0 view .LVU131
  3101. 523 0010 08BD pop {r3, pc}
  3102. 524 .LVL28:
  3103. 525 .L34:
  3104. 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  3105. 526 .loc 1 354 7 is_stmt 1 view .LVU132
  3106. 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** break;
  3107. 527 .loc 1 354 19 is_stmt 0 view .LVU133
  3108. 528 0012 FFF7FEFF bl RCC_PLL_GetFreqDomain_SYS
  3109. 529 .LVL29:
  3110. 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3111. 530 .loc 1 355 7 is_stmt 1 view .LVU134
  3112. 531 0016 FBE7 b .L30
  3113. 532 .L36:
  3114. 533 .align 2
  3115. 534 .L35:
  3116. 535 0018 00100240 .word 1073876992
  3117. 536 001c 00127A00 .word 8000000
  3118. 537 .cfi_endproc
  3119. 538 .LFE151:
  3120. 540 .section .text.LL_RCC_GetSystemClocksFreq,"ax",%progbits
  3121. 541 .align 1
  3122. 542 .global LL_RCC_GetSystemClocksFreq
  3123. 543 .syntax unified
  3124. 544 .thumb
  3125. 545 .thumb_func
  3126. 547 LL_RCC_GetSystemClocksFreq:
  3127. 548 .LVL30:
  3128. 549 .LFB148:
  3129. 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Get SYSCLK frequency */
  3130. 550 .loc 1 189 1 view -0
  3131. 551 .cfi_startproc
  3132. 552 @ args = 0, pretend = 0, frame = 0
  3133. ARM GAS /tmp/cc2ZcXc2.s page 55
  3134. 553 @ frame_needed = 0, uses_anonymous_args = 0
  3135. 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** /* Get SYSCLK frequency */
  3136. 554 .loc 1 189 1 is_stmt 0 view .LVU136
  3137. 555 0000 10B5 push {r4, lr}
  3138. 556 .LCFI2:
  3139. 557 .cfi_def_cfa_offset 8
  3140. 558 .cfi_offset 4, -8
  3141. 559 .cfi_offset 14, -4
  3142. 560 0002 0446 mov r4, r0
  3143. 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3144. 561 .loc 1 191 3 is_stmt 1 view .LVU137
  3145. 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3146. 562 .loc 1 191 34 is_stmt 0 view .LVU138
  3147. 563 0004 FFF7FEFF bl RCC_GetSystemClockFreq
  3148. 564 .LVL31:
  3149. 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3150. 565 .loc 1 191 32 view .LVU139
  3151. 566 0008 2060 str r0, [r4]
  3152. 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3153. 567 .loc 1 194 3 is_stmt 1 view .LVU140
  3154. 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3155. 568 .loc 1 194 34 is_stmt 0 view .LVU141
  3156. 569 000a FFF7FEFF bl RCC_GetHCLKClockFreq
  3157. 570 .LVL32:
  3158. 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3159. 571 .loc 1 194 32 view .LVU142
  3160. 572 000e 6060 str r0, [r4, #4]
  3161. 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3162. 573 .loc 1 197 3 is_stmt 1 view .LVU143
  3163. 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3164. 574 .loc 1 197 34 is_stmt 0 view .LVU144
  3165. 575 0010 FFF7FEFF bl RCC_GetPCLK1ClockFreq
  3166. 576 .LVL33:
  3167. 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3168. 577 .loc 1 197 32 view .LVU145
  3169. 578 0014 A060 str r0, [r4, #8]
  3170. 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  3171. 579 .loc 1 200 3 is_stmt 1 view .LVU146
  3172. 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  3173. 580 .loc 1 200 34 is_stmt 0 view .LVU147
  3174. 581 0016 6068 ldr r0, [r4, #4]
  3175. 582 0018 FFF7FEFF bl RCC_GetPCLK2ClockFreq
  3176. 583 .LVL34:
  3177. 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  3178. 584 .loc 1 200 32 view .LVU148
  3179. 585 001c E060 str r0, [r4, #12]
  3180. 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3181. 586 .loc 1 201 1 view .LVU149
  3182. 587 001e 10BD pop {r4, pc}
  3183. 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3184. 588 .loc 1 201 1 view .LVU150
  3185. 589 .cfi_endproc
  3186. 590 .LFE148:
  3187. 592 .section .text.LL_RCC_GetADCClockFreq,"ax",%progbits
  3188. 593 .align 1
  3189. 594 .global LL_RCC_GetADCClockFreq
  3190. 595 .syntax unified
  3191. ARM GAS /tmp/cc2ZcXc2.s page 56
  3192. 596 .thumb
  3193. 597 .thumb_func
  3194. 599 LL_RCC_GetADCClockFreq:
  3195. 600 .LVL35:
  3196. 601 .LFB150:
  3197. 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t adc_prescaler = 0U;
  3198. 602 .loc 1 305 1 is_stmt 1 view -0
  3199. 603 .cfi_startproc
  3200. 604 @ args = 0, pretend = 0, frame = 0
  3201. 605 @ frame_needed = 0, uses_anonymous_args = 0
  3202. 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t adc_prescaler = 0U;
  3203. 606 .loc 1 305 1 is_stmt 0 view .LVU152
  3204. 607 0000 38B5 push {r3, r4, r5, lr}
  3205. 608 .LCFI3:
  3206. 609 .cfi_def_cfa_offset 16
  3207. 610 .cfi_offset 3, -16
  3208. 611 .cfi_offset 4, -12
  3209. 612 .cfi_offset 5, -8
  3210. 613 .cfi_offset 14, -4
  3211. 614 0002 0546 mov r5, r0
  3212. 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** uint32_t adc_frequency = 0U;
  3213. 615 .loc 1 306 3 is_stmt 1 view .LVU153
  3214. 616 .LVL36:
  3215. 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3216. 617 .loc 1 307 3 view .LVU154
  3217. 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3218. 618 .loc 1 310 3 view .LVU155
  3219. 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  3220. 619 .loc 1 313 3 view .LVU156
  3221. 620 .LBB76:
  3222. 621 .LBI76:
  3223. 1278:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** {
  3224. 622 .loc 2 1278 26 view .LVU157
  3225. 623 .LBB77:
  3226. 1280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  3227. 624 .loc 2 1280 3 view .LVU158
  3228. 1280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  3229. 625 .loc 2 1280 21 is_stmt 0 view .LVU159
  3230. 626 0004 094B ldr r3, .L41
  3231. 627 0006 5C68 ldr r4, [r3, #4]
  3232. 1280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  3233. 628 .loc 2 1280 10 view .LVU160
  3234. 629 0008 0440 ands r4, r4, r0
  3235. 630 .LVL37:
  3236. 1280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h **** }
  3237. 631 .loc 2 1280 10 view .LVU161
  3238. 632 .LBE77:
  3239. 633 .LBE76:
  3240. 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** / (((adc_prescaler >> POSITION_VAL(ADCxSource)) + 1U) * 2U);
  3241. 634 .loc 1 316 3 is_stmt 1 view .LVU162
  3242. 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** / (((adc_prescaler >> POSITION_VAL(ADCxSource)) + 1U) * 2U);
  3243. 635 .loc 1 316 19 is_stmt 0 view .LVU163
  3244. 636 000a FFF7FEFF bl RCC_GetSystemClockFreq
  3245. 637 .LVL38:
  3246. 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** / (((adc_prescaler >> POSITION_VAL(ADCxSource)) + 1U) * 2U);
  3247. 638 .loc 1 316 19 view .LVU164
  3248. 639 000e FFF7FEFF bl RCC_GetHCLKClockFreq
  3249. ARM GAS /tmp/cc2ZcXc2.s page 57
  3250. 640 .LVL39:
  3251. 641 0012 FFF7FEFF bl RCC_GetPCLK2ClockFreq
  3252. 642 .LVL40:
  3253. 643 .LBB78:
  3254. 644 .LBI78:
  3255. 645 .file 3 "Drivers/CMSIS/Include/cmsis_gcc.h"
  3256. 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
  3257. 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
  3258. 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
  3259. 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.0.4
  3260. 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 09. April 2018
  3261. 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
  3262. 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
  3263. 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
  3264. 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  3265. 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
  3266. 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  3267. 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
  3268. 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
  3269. 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
  3270. 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  3271. 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
  3272. 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  3273. 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
  3274. 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  3275. 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  3276. 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
  3277. 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
  3278. 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3279. 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3280. 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
  3281. 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
  3282. 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3283. 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
  3284. 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3285. 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
  3286. 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
  3287. 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
  3288. 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3289. 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
  3290. 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
  3291. 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
  3292. 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3293. 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3294. 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
  3295. 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
  3296. 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
  3297. 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3298. 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
  3299. 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
  3300. 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3301. 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
  3302. 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
  3303. 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3304. 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
  3305. 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
  3306. 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3307. ARM GAS /tmp/cc2ZcXc2.s page 58
  3308. 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
  3309. 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
  3310. 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3311. 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
  3312. 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
  3313. 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3314. 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
  3315. 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
  3316. 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3317. 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
  3318. 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
  3319. 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3320. 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
  3321. 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
  3322. 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3323. 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
  3324. 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
  3325. 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3326. 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
  3327. 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3328. 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  3329. 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  3330. 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
  3331. 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  3332. 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
  3333. 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3334. 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
  3335. 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3336. 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  3337. 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  3338. 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
  3339. 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  3340. 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
  3341. 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3342. 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
  3343. 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3344. 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  3345. 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  3346. 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
  3347. 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  3348. 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
  3349. 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3350. 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
  3351. 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3352. 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  3353. 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  3354. 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
  3355. 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  3356. 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
  3357. 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3358. 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
  3359. 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  3360. 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  3361. 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  3362. 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
  3363. 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  3364. 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
  3365. ARM GAS /tmp/cc2ZcXc2.s page 59
  3366. 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3367. 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
  3368. 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
  3369. 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3370. 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
  3371. 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
  3372. 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3373. 116:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3374. 117:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3375. 118:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
  3376. 119:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
  3377. 120:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
  3378. 121:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  3379. 122:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3380. 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3381. 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3382. 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
  3383. 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
  3384. 127:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  3385. 128:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3386. 129:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
  3387. 130:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3388. 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
  3389. 132:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3390. 133:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3391. 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3392. 135:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3393. 136:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
  3394. 137:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
  3395. 138:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  3396. 139:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3397. 140:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
  3398. 141:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3399. 142:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
  3400. 143:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3401. 144:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3402. 145:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3403. 146:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3404. 147:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
  3405. 148:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
  3406. 149:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
  3407. 150:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3408. 151:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
  3409. 152:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3410. 153:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3411. 154:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3412. 155:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
  3413. 156:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3414. 157:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3415. 158:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3416. 159:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3417. 160:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3418. 161:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3419. 162:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
  3420. 163:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
  3421. 164:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
  3422. 165:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3423. ARM GAS /tmp/cc2ZcXc2.s page 60
  3424. 166:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
  3425. 167:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3426. 168:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3427. 169:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3428. 170:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
  3429. 171:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3430. 172:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3431. 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3432. 174:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3433. 175:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3434. 176:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3435. 177:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
  3436. 178:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
  3437. 179:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  3438. 180:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3439. 181:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
  3440. 182:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3441. 183:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
  3442. 184:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3443. 185:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3444. 186:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3445. 187:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3446. 188:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3447. 189:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
  3448. 190:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
  3449. 191:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  3450. 192:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3451. 193:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
  3452. 194:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3453. 195:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
  3454. 196:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3455. 197:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3456. 198:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3457. 199:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3458. 200:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3459. 201:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
  3460. 202:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
  3461. 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
  3462. 204:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3463. 205:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
  3464. 206:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3465. 207:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3466. 208:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3467. 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
  3468. 210:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3469. 211:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3470. 212:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3471. 213:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3472. 214:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3473. 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
  3474. 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
  3475. 217:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
  3476. 218:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3477. 219:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
  3478. 220:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3479. 221:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3480. 222:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3481. ARM GAS /tmp/cc2ZcXc2.s page 61
  3482. 223:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
  3483. 224:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3484. 225:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3485. 226:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3486. 227:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3487. 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3488. 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
  3489. 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
  3490. 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
  3491. 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3492. 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
  3493. 234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3494. 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3495. 236:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3496. 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
  3497. 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3498. 239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3499. 240:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3500. 241:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3501. 242:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3502. 243:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
  3503. 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
  3504. 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  3505. 246:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3506. 247:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
  3507. 248:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3508. 249:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3509. 250:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3510. 251:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
  3511. 252:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3512. 253:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3513. 254:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3514. 255:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3515. 256:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3516. 257:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3517. 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
  3518. 259:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
  3519. 260:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  3520. 261:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3521. 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
  3522. 263:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3523. 264:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3524. 265:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3525. 266:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
  3526. 267:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3527. 268:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3528. 269:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3529. 270:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3530. 271:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3531. 272:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3532. 273:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
  3533. 274:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
  3534. 275:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  3535. 276:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3536. 277:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
  3537. 278:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3538. 279:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
  3539. ARM GAS /tmp/cc2ZcXc2.s page 62
  3540. 280:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3541. 281:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3542. 282:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3543. 283:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3544. 284:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3545. 285:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  3546. 286:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
  3547. 287:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  3548. 288:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3549. 289:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
  3550. 290:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3551. 291:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
  3552. 292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3553. 293:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3554. 294:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3555. 295:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3556. 296:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3557. 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
  3558. 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
  3559. 299:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  3560. 300:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3561. 301:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
  3562. 302:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3563. 303:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3564. 304:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3565. 305:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
  3566. 306:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3567. 307:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3568. 308:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3569. 309:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3570. 310:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3571. 311:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3572. 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
  3573. 313:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
  3574. 314:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  3575. 315:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3576. 316:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
  3577. 317:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3578. 318:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3579. 319:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3580. 320:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
  3581. 321:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3582. 322:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3583. 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3584. 324:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3585. 325:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3586. 326:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3587. 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
  3588. 328:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
  3589. 329:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  3590. 330:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3591. 331:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
  3592. 332:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3593. 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
  3594. 334:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3595. 335:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3596. 336:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3597. ARM GAS /tmp/cc2ZcXc2.s page 63
  3598. 337:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3599. 338:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3600. 339:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
  3601. 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
  3602. 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  3603. 342:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3604. 343:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
  3605. 344:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3606. 345:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
  3607. 346:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3608. 347:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3609. 348:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3610. 349:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3611. 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3612. 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3613. 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
  3614. 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
  3615. 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
  3616. 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3617. 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
  3618. 357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3619. 358:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3620. 359:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3621. 360:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
  3622. 361:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3623. 362:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3624. 363:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3625. 364:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3626. 365:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3627. 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
  3628. 367:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
  3629. 368:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
  3630. 369:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3631. 370:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
  3632. 371:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3633. 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
  3634. 373:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3635. 374:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3636. 375:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3637. 376:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3638. 377:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3639. 378:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
  3640. 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
  3641. 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  3642. 381:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3643. 382:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
  3644. 383:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3645. 384:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3646. 385:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3647. 386:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
  3648. 387:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3649. 388:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3650. 389:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3651. 390:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3652. 391:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3653. 392:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3654. 393:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
  3655. ARM GAS /tmp/cc2ZcXc2.s page 64
  3656. 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
  3657. 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  3658. 396:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3659. 397:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
  3660. 398:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3661. 399:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3662. 400:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3663. 401:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
  3664. 402:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3665. 403:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3666. 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3667. 405:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3668. 406:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3669. 407:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3670. 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
  3671. 409:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
  3672. 410:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  3673. 411:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3674. 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
  3675. 413:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3676. 414:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
  3677. 415:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3678. 416:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3679. 417:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3680. 418:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3681. 419:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3682. 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask (non-secure)
  3683. 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Priority Mask Register when in secure state.
  3684. 422:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  3685. 423:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3686. 424:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PRIMASK_NS(uint32_t priMask)
  3687. 425:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3688. 426:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask_ns, %0" : : "r" (priMask) : "memory");
  3689. 427:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3690. 428:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3691. 429:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3692. 430:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3693. 431:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  3694. 432:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  3695. 433:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
  3696. 434:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3697. 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable FIQ
  3698. 436:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables FIQ interrupts by clearing the F-bit in the CPSR.
  3699. 437:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  3700. 438:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3701. 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_fault_irq(void)
  3702. 440:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3703. 441:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie f" : : : "memory");
  3704. 442:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3705. 443:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3706. 444:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3707. 445:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3708. 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable FIQ
  3709. 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables FIQ interrupts by setting the F-bit in the CPSR.
  3710. 448:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  3711. 449:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3712. 450:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_fault_irq(void)
  3713. ARM GAS /tmp/cc2ZcXc2.s page 65
  3714. 451:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3715. 452:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid f" : : : "memory");
  3716. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3717. 454:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3718. 455:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3719. 456:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3720. 457:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority
  3721. 458:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Base Priority register.
  3722. 459:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
  3723. 460:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3724. 461:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_BASEPRI(void)
  3725. 462:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3726. 463:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3727. 464:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3728. 465:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri" : "=r" (result) );
  3729. 466:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3730. 467:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3731. 468:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3732. 469:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3733. 470:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3734. 471:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3735. 472:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority (non-secure)
  3736. 473:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Base Priority register when in secure state.
  3737. 474:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
  3738. 475:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3739. 476:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_BASEPRI_NS(void)
  3740. 477:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3741. 478:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3742. 479:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3743. 480:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri_ns" : "=r" (result) );
  3744. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3745. 482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3746. 483:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3747. 484:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3748. 485:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3749. 486:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3750. 487:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority
  3751. 488:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register.
  3752. 489:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  3753. 490:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3754. 491:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI(uint32_t basePri)
  3755. 492:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3756. 493:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri, %0" : : "r" (basePri) : "memory");
  3757. 494:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3758. 495:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3759. 496:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3760. 497:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3761. 498:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3762. 499:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority (non-secure)
  3763. 500:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Base Priority register when in secure state.
  3764. 501:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  3765. 502:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3766. 503:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_BASEPRI_NS(uint32_t basePri)
  3767. 504:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3768. 505:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_ns, %0" : : "r" (basePri) : "memory");
  3769. 506:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3770. 507:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3771. ARM GAS /tmp/cc2ZcXc2.s page 66
  3772. 508:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3773. 509:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3774. 510:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3775. 511:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority with condition
  3776. 512:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register only if BASEPRI masking is disable
  3777. 513:Drivers/CMSIS/Include/cmsis_gcc.h **** or the new value increases the BASEPRI priority level.
  3778. 514:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  3779. 515:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3780. 516:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI_MAX(uint32_t basePri)
  3781. 517:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3782. 518:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_max, %0" : : "r" (basePri) : "memory");
  3783. 519:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3784. 520:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3785. 521:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3786. 522:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3787. 523:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask
  3788. 524:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Fault Mask register.
  3789. 525:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
  3790. 526:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3791. 527:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FAULTMASK(void)
  3792. 528:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3793. 529:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3794. 530:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3795. 531:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask" : "=r" (result) );
  3796. 532:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3797. 533:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3798. 534:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3799. 535:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3800. 536:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3801. 537:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3802. 538:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask (non-secure)
  3803. 539:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Fault Mask register when in secure state.
  3804. 540:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
  3805. 541:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3806. 542:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_FAULTMASK_NS(void)
  3807. 543:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3808. 544:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3809. 545:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3810. 546:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask_ns" : "=r" (result) );
  3811. 547:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3812. 548:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3813. 549:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3814. 550:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3815. 551:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3816. 552:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3817. 553:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask
  3818. 554:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Fault Mask register.
  3819. 555:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
  3820. 556:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3821. 557:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FAULTMASK(uint32_t faultMask)
  3822. 558:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3823. 559:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory");
  3824. 560:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3825. 561:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3826. 562:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3827. 563:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3828. 564:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3829. ARM GAS /tmp/cc2ZcXc2.s page 67
  3830. 565:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask (non-secure)
  3831. 566:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Fault Mask register when in secure state.
  3832. 567:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
  3833. 568:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3834. 569:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_FAULTMASK_NS(uint32_t faultMask)
  3835. 570:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3836. 571:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask_ns, %0" : : "r" (faultMask) : "memory");
  3837. 572:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3838. 573:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3839. 574:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3840. 575:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  3841. 576:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  3842. 577:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) */
  3843. 578:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3844. 579:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3845. 580:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
  3846. 581:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) )
  3847. 582:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3848. 583:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3849. 584:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit
  3850. 585:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3851. 586:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
  3852. 587:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  3853. 588:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3854. 589:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer Limit (PSPLIM).
  3855. 590:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
  3856. 591:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3857. 592:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSPLIM(void)
  3858. 593:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3859. 594:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  3860. 595:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  3861. 596:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  3862. 597:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  3863. 598:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3864. 599:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3865. 600:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim" : "=r" (result) );
  3866. 601:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  3867. 602:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3868. 603:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3869. 604:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3870. 605:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3))
  3871. 606:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3872. 607:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit (non-secure)
  3873. 608:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3874. 609:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
  3875. 610:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3876. 611:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in
  3877. 612:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
  3878. 613:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3879. 614:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSPLIM_NS(void)
  3880. 615:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3881. 616:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  3882. 617:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  3883. 618:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  3884. 619:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3885. 620:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3886. 621:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim_ns" : "=r" (result) );
  3887. ARM GAS /tmp/cc2ZcXc2.s page 68
  3888. 622:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  3889. 623:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3890. 624:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3891. 625:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3892. 626:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3893. 627:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3894. 628:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3895. 629:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer Limit
  3896. 630:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3897. 631:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
  3898. 632:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  3899. 633:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3900. 634:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer Limit (PSPLIM).
  3901. 635:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
  3902. 636:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3903. 637:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSPLIM(uint32_t ProcStackPtrLimit)
  3904. 638:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3905. 639:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  3906. 640:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  3907. 641:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  3908. 642:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
  3909. 643:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3910. 644:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim, %0" : : "r" (ProcStackPtrLimit));
  3911. 645:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3912. 646:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3913. 647:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3914. 648:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3915. 649:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3916. 650:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3917. 651:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  3918. 652:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3919. 653:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
  3920. 654:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3921. 655:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in s
  3922. 656:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
  3923. 657:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3924. 658:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSPLIM_NS(uint32_t ProcStackPtrLimit)
  3925. 659:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3926. 660:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  3927. 661:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  3928. 662:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
  3929. 663:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3930. 664:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim_ns, %0\n" : : "r" (ProcStackPtrLimit));
  3931. 665:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3932. 666:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3933. 667:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3934. 668:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3935. 669:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3936. 670:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3937. 671:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit
  3938. 672:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3939. 673:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
  3940. 674:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  3941. 675:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3942. 676:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer Limit (MSPLIM).
  3943. 677:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
  3944. 678:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3945. ARM GAS /tmp/cc2ZcXc2.s page 69
  3946. 679:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSPLIM(void)
  3947. 680:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3948. 681:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  3949. 682:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  3950. 683:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3951. 684:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  3952. 685:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3953. 686:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3954. 687:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim" : "=r" (result) );
  3955. 688:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  3956. 689:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3957. 690:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3958. 691:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3959. 692:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3960. 693:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3961. 694:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3962. 695:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit (non-secure)
  3963. 696:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3964. 697:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
  3965. 698:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3966. 699:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in sec
  3967. 700:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
  3968. 701:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3969. 702:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSPLIM_NS(void)
  3970. 703:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3971. 704:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  3972. 705:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3973. 706:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  3974. 707:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3975. 708:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3976. 709:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim_ns" : "=r" (result) );
  3977. 710:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  3978. 711:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3979. 712:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3980. 713:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3981. 714:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3982. 715:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3983. 716:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3984. 717:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit
  3985. 718:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3986. 719:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
  3987. 720:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  3988. 721:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3989. 722:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer Limit (MSPLIM).
  3990. 723:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer Limit value to set
  3991. 724:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3992. 725:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSPLIM(uint32_t MainStackPtrLimit)
  3993. 726:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3994. 727:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  3995. 728:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  3996. 729:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3997. 730:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
  3998. 731:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3999. 732:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim, %0" : : "r" (MainStackPtrLimit));
  4000. 733:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4001. 734:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4002. 735:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4003. ARM GAS /tmp/cc2ZcXc2.s page 70
  4004. 736:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4005. 737:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  4006. 738:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4007. 739:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit (non-secure)
  4008. 740:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  4009. 741:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
  4010. 742:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4011. 743:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secu
  4012. 744:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer value to set
  4013. 745:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4014. 746:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSPLIM_NS(uint32_t MainStackPtrLimit)
  4015. 747:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4016. 748:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  4017. 749:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  4018. 750:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
  4019. 751:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4020. 752:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim_ns, %0" : : "r" (MainStackPtrLimit));
  4021. 753:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4022. 754:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4023. 755:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4024. 756:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4025. 757:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
  4026. 758:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) */
  4027. 759:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4028. 760:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4029. 761:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4030. 762:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get FPSCR
  4031. 763:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Floating Point Status/Control register.
  4032. 764:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Floating Point Status/Control register value
  4033. 765:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4034. 766:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FPSCR(void)
  4035. 767:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4036. 768:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
  4037. 769:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
  4038. 770:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_get_fpscr)
  4039. 771:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
  4040. 772:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
  4041. 773:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
  4042. 774:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_arm_get_fpscr();
  4043. 775:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4044. 776:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4045. 777:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4046. 778:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMRS %0, fpscr" : "=r" (result) );
  4047. 779:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  4048. 780:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4049. 781:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4050. 782:Drivers/CMSIS/Include/cmsis_gcc.h **** return(0U);
  4051. 783:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4052. 784:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4053. 785:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4054. 786:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4055. 787:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4056. 788:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set FPSCR
  4057. 789:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Floating Point Status/Control register.
  4058. 790:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] fpscr Floating Point Status/Control value to set
  4059. 791:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4060. 792:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FPSCR(uint32_t fpscr)
  4061. ARM GAS /tmp/cc2ZcXc2.s page 71
  4062. 793:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4063. 794:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
  4064. 795:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
  4065. 796:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_set_fpscr)
  4066. 797:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
  4067. 798:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
  4068. 799:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
  4069. 800:Drivers/CMSIS/Include/cmsis_gcc.h **** __builtin_arm_set_fpscr(fpscr);
  4070. 801:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4071. 802:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc", "memory");
  4072. 803:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4073. 804:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4074. 805:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)fpscr;
  4075. 806:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4076. 807:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4077. 808:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4078. 809:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4079. 810:Drivers/CMSIS/Include/cmsis_gcc.h **** /*@} end of CMSIS_Core_RegAccFunctions */
  4080. 811:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4081. 812:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4082. 813:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################## Core Instruction Access ######################### */
  4083. 814:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
  4084. 815:Drivers/CMSIS/Include/cmsis_gcc.h **** Access to dedicated instructions
  4085. 816:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  4086. 817:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4087. 818:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4088. 819:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Define macros for porting to both thumb1 and thumb2.
  4089. 820:Drivers/CMSIS/Include/cmsis_gcc.h **** * For thumb1, use low register (r0-r7), specified by constraint "l"
  4090. 821:Drivers/CMSIS/Include/cmsis_gcc.h **** * Otherwise, use general registers, specified by constraint "r" */
  4091. 822:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined (__thumb__) && !defined (__thumb2__)
  4092. 823:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=l" (r)
  4093. 824:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+l" (r)
  4094. 825:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "l" (r)
  4095. 826:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4096. 827:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=r" (r)
  4097. 828:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+r" (r)
  4098. 829:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "r" (r)
  4099. 830:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4100. 831:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4101. 832:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4102. 833:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief No Operation
  4103. 834:Drivers/CMSIS/Include/cmsis_gcc.h **** \details No Operation does nothing. This instruction can be used for code alignment purposes.
  4104. 835:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4105. 836:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NOP() __ASM volatile ("nop")
  4106. 837:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4107. 838:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4108. 839:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Interrupt
  4109. 840:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Interrupt is a hint instruction that suspends execution until one of a number o
  4110. 841:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4111. 842:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFI() __ASM volatile ("wfi")
  4112. 843:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4113. 844:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4114. 845:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4115. 846:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Event
  4116. 847:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Event is a hint instruction that permits the processor to enter
  4117. 848:Drivers/CMSIS/Include/cmsis_gcc.h **** a low-power state until one of a number of events occurs.
  4118. 849:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4119. ARM GAS /tmp/cc2ZcXc2.s page 72
  4120. 850:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFE() __ASM volatile ("wfe")
  4121. 851:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4122. 852:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4123. 853:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4124. 854:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Send Event
  4125. 855:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Send Event is a hint instruction. It causes an event to be signaled to the CPU.
  4126. 856:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4127. 857:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __SEV() __ASM volatile ("sev")
  4128. 858:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4129. 859:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4130. 860:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4131. 861:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Instruction Synchronization Barrier
  4132. 862:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Instruction Synchronization Barrier flushes the pipeline in the processor,
  4133. 863:Drivers/CMSIS/Include/cmsis_gcc.h **** so that all instructions following the ISB are fetched from cache or memory,
  4134. 864:Drivers/CMSIS/Include/cmsis_gcc.h **** after the instruction has been completed.
  4135. 865:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4136. 866:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __ISB(void)
  4137. 867:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4138. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("isb 0xF":::"memory");
  4139. 869:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4140. 870:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4141. 871:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4142. 872:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4143. 873:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Synchronization Barrier
  4144. 874:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Acts as a special kind of Data Memory Barrier.
  4145. 875:Drivers/CMSIS/Include/cmsis_gcc.h **** It completes when all explicit memory accesses before this instruction complete.
  4146. 876:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4147. 877:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DSB(void)
  4148. 878:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4149. 879:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dsb 0xF":::"memory");
  4150. 880:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4151. 881:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4152. 882:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4153. 883:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4154. 884:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Memory Barrier
  4155. 885:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Ensures the apparent order of the explicit memory operations before
  4156. 886:Drivers/CMSIS/Include/cmsis_gcc.h **** and after the instruction, without ensuring their completion.
  4157. 887:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4158. 888:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DMB(void)
  4159. 889:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4160. 890:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dmb 0xF":::"memory");
  4161. 891:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4162. 892:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4163. 893:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4164. 894:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4165. 895:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (32 bit)
  4166. 896:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order in unsigned integer value. For example, 0x12345678 becomes 0x785
  4167. 897:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
  4168. 898:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
  4169. 899:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4170. 900:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __REV(uint32_t value)
  4171. 901:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4172. 902:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
  4173. 903:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_bswap32(value);
  4174. 904:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4175. 905:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4176. 906:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4177. ARM GAS /tmp/cc2ZcXc2.s page 73
  4178. 907:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rev %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
  4179. 908:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  4180. 909:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4181. 910:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4182. 911:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4183. 912:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4184. 913:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4185. 914:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (16 bit)
  4186. 915:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order within each halfword of a word. For example, 0x12345678 becomes
  4187. 916:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
  4188. 917:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
  4189. 918:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4190. 919:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __REV16(uint32_t value)
  4191. 920:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4192. 921:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4193. 922:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4194. 923:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rev16 %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
  4195. 924:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  4196. 925:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4197. 926:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4198. 927:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4199. 928:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4200. 929:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (16 bit)
  4201. 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
  4202. 931:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
  4203. 932:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
  4204. 933:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4205. 934:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE int16_t __REVSH(int16_t value)
  4206. 935:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4207. 936:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
  4208. 937:Drivers/CMSIS/Include/cmsis_gcc.h **** return (int16_t)__builtin_bswap16(value);
  4209. 938:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4210. 939:Drivers/CMSIS/Include/cmsis_gcc.h **** int16_t result;
  4211. 940:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4212. 941:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("revsh %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
  4213. 942:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  4214. 943:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4215. 944:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4216. 945:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4217. 946:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4218. 947:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4219. 948:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Rotate Right in unsigned value (32 bit)
  4220. 949:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Rotate Right (immediate) provides the value of the contents of a register rotated by a v
  4221. 950:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] op1 Value to rotate
  4222. 951:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] op2 Number of Bits to rotate
  4223. 952:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Rotated value
  4224. 953:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4225. 954:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
  4226. 955:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4227. 956:Drivers/CMSIS/Include/cmsis_gcc.h **** op2 %= 32U;
  4228. 957:Drivers/CMSIS/Include/cmsis_gcc.h **** if (op2 == 0U)
  4229. 958:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4230. 959:Drivers/CMSIS/Include/cmsis_gcc.h **** return op1;
  4231. 960:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4232. 961:Drivers/CMSIS/Include/cmsis_gcc.h **** return (op1 >> op2) | (op1 << (32U - op2));
  4233. 962:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4234. 963:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4235. ARM GAS /tmp/cc2ZcXc2.s page 74
  4236. 964:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4237. 965:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4238. 966:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Breakpoint
  4239. 967:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Causes the processor to enter Debug state.
  4240. 968:Drivers/CMSIS/Include/cmsis_gcc.h **** Debug tools can use this to investigate system state when the instruction at a particula
  4241. 969:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value is ignored by the processor.
  4242. 970:Drivers/CMSIS/Include/cmsis_gcc.h **** If required, a debugger can use it to store additional information about the break
  4243. 971:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4244. 972:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __BKPT(value) __ASM volatile ("bkpt "#value)
  4245. 973:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4246. 974:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4247. 975:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4248. 976:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse bit order of value
  4249. 977:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the bit order of the given value.
  4250. 978:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
  4251. 979:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
  4252. 980:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4253. 981:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __RBIT(uint32_t value)
  4254. 646 .loc 3 981 31 is_stmt 1 view .LVU165
  4255. 647 .LBB79:
  4256. 982:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4257. 983:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  4258. 648 .loc 3 983 3 view .LVU166
  4259. 984:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4260. 985:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  4261. 986:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  4262. 987:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
  4263. 988:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rbit %0, %1" : "=r" (result) : "r" (value) );
  4264. 649 .loc 3 988 4 view .LVU167
  4265. 650 .syntax unified
  4266. 651 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4267. 652 0016 95FAA5F5 rbit r5, r5
  4268. 653 @ 0 "" 2
  4269. 654 .LVL41:
  4270. 989:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  4271. 990:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t s = (4U /*sizeof(v)*/ * 8U) - 1U; /* extra shift needed at end */
  4272. 991:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4273. 992:Drivers/CMSIS/Include/cmsis_gcc.h **** result = value; /* r will be reversed bits of v; first get LSB of v */
  4274. 993:Drivers/CMSIS/Include/cmsis_gcc.h **** for (value >>= 1U; value != 0U; value >>= 1U)
  4275. 994:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4276. 995:Drivers/CMSIS/Include/cmsis_gcc.h **** result <<= 1U;
  4277. 996:Drivers/CMSIS/Include/cmsis_gcc.h **** result |= value & 1U;
  4278. 997:Drivers/CMSIS/Include/cmsis_gcc.h **** s--;
  4279. 998:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4280. 999:Drivers/CMSIS/Include/cmsis_gcc.h **** result <<= s; /* shift when v's highest bits are zero */
  4281. 1000:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  4282. 1001:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  4283. 655 .loc 3 1001 3 view .LVU168
  4284. 656 .loc 3 1001 3 is_stmt 0 view .LVU169
  4285. 657 .thumb
  4286. 658 .syntax unified
  4287. 659 .LBE79:
  4288. 660 .LBE78:
  4289. 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  4290. 661 .loc 1 317 38 view .LVU170
  4291. 662 001a B5FA85F5 clz r5, r5
  4292. 663 001e EC40 lsrs r4, r4, r5
  4293. ARM GAS /tmp/cc2ZcXc2.s page 75
  4294. 664 .LVL42:
  4295. 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  4296. 665 .loc 1 317 67 view .LVU171
  4297. 666 0020 0134 adds r4, r4, #1
  4298. 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  4299. 667 .loc 1 317 73 view .LVU172
  4300. 668 0022 6400 lsls r4, r4, #1
  4301. 669 .LVL43:
  4302. 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c **** }
  4303. 670 .loc 1 319 3 is_stmt 1 view .LVU173
  4304. 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  4305. 671 .loc 1 320 1 is_stmt 0 view .LVU174
  4306. 672 0024 B0FBF4F0 udiv r0, r0, r4
  4307. 673 .LVL44:
  4308. 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c ****
  4309. 674 .loc 1 320 1 view .LVU175
  4310. 675 0028 38BD pop {r3, r4, r5, pc}
  4311. 676 .L42:
  4312. 677 002a 00BF .align 2
  4313. 678 .L41:
  4314. 679 002c 00100240 .word 1073876992
  4315. 680 .cfi_endproc
  4316. 681 .LFE150:
  4317. 683 .text
  4318. 684 .Letext0:
  4319. 685 .file 4 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
  4320. 686 .file 5 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
  4321. 687 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
  4322. 688 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
  4323. 689 .file 8 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
  4324. ARM GAS /tmp/cc2ZcXc2.s page 76
  4325. DEFINED SYMBOLS
  4326. *ABS*:0000000000000000 stm32f1xx_ll_rcc.c
  4327. /tmp/cc2ZcXc2.s:18 .text.LL_RCC_DeInit:0000000000000000 $t
  4328. /tmp/cc2ZcXc2.s:24 .text.LL_RCC_DeInit:0000000000000000 LL_RCC_DeInit
  4329. /tmp/cc2ZcXc2.s:156 .text.LL_RCC_DeInit:0000000000000064 $d
  4330. /tmp/cc2ZcXc2.s:161 .text.RCC_GetHCLKClockFreq:0000000000000000 $t
  4331. /tmp/cc2ZcXc2.s:167 .text.RCC_GetHCLKClockFreq:0000000000000000 RCC_GetHCLKClockFreq
  4332. /tmp/cc2ZcXc2.s:198 .text.RCC_GetHCLKClockFreq:0000000000000010 $d
  4333. /tmp/cc2ZcXc2.s:204 .text.RCC_GetPCLK1ClockFreq:0000000000000000 $t
  4334. /tmp/cc2ZcXc2.s:210 .text.RCC_GetPCLK1ClockFreq:0000000000000000 RCC_GetPCLK1ClockFreq
  4335. /tmp/cc2ZcXc2.s:241 .text.RCC_GetPCLK1ClockFreq:0000000000000010 $d
  4336. /tmp/cc2ZcXc2.s:247 .text.RCC_GetPCLK2ClockFreq:0000000000000000 $t
  4337. /tmp/cc2ZcXc2.s:253 .text.RCC_GetPCLK2ClockFreq:0000000000000000 RCC_GetPCLK2ClockFreq
  4338. /tmp/cc2ZcXc2.s:284 .text.RCC_GetPCLK2ClockFreq:0000000000000010 $d
  4339. /tmp/cc2ZcXc2.s:290 .text.RCC_PLL_GetFreqDomain_SYS:0000000000000000 $t
  4340. /tmp/cc2ZcXc2.s:296 .text.RCC_PLL_GetFreqDomain_SYS:0000000000000000 RCC_PLL_GetFreqDomain_SYS
  4341. /tmp/cc2ZcXc2.s:373 .text.RCC_PLL_GetFreqDomain_SYS:0000000000000030 $d
  4342. /tmp/cc2ZcXc2.s:380 .text.LL_RCC_GetUSBClockFreq:0000000000000000 $t
  4343. /tmp/cc2ZcXc2.s:386 .text.LL_RCC_GetUSBClockFreq:0000000000000000 LL_RCC_GetUSBClockFreq
  4344. /tmp/cc2ZcXc2.s:477 .text.LL_RCC_GetUSBClockFreq:0000000000000038 $d
  4345. /tmp/cc2ZcXc2.s:482 .text.RCC_GetSystemClockFreq:0000000000000000 $t
  4346. /tmp/cc2ZcXc2.s:488 .text.RCC_GetSystemClockFreq:0000000000000000 RCC_GetSystemClockFreq
  4347. /tmp/cc2ZcXc2.s:535 .text.RCC_GetSystemClockFreq:0000000000000018 $d
  4348. /tmp/cc2ZcXc2.s:541 .text.LL_RCC_GetSystemClocksFreq:0000000000000000 $t
  4349. /tmp/cc2ZcXc2.s:547 .text.LL_RCC_GetSystemClocksFreq:0000000000000000 LL_RCC_GetSystemClocksFreq
  4350. /tmp/cc2ZcXc2.s:593 .text.LL_RCC_GetADCClockFreq:0000000000000000 $t
  4351. /tmp/cc2ZcXc2.s:599 .text.LL_RCC_GetADCClockFreq:0000000000000000 LL_RCC_GetADCClockFreq
  4352. /tmp/cc2ZcXc2.s:679 .text.LL_RCC_GetADCClockFreq:000000000000002c $d
  4353. UNDEFINED SYMBOLS
  4354. AHBPrescTable
  4355. APBPrescTable