stm32f4xx_hal_cortex.lst 364 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064
  1. ARM GAS /tmp/ccPRqU3T.s page 1
  2. 1 .cpu cortex-m4
  3. 2 .arch armv7e-m
  4. 3 .fpu fpv4-sp-d16
  5. 4 .eabi_attribute 27, 1
  6. 5 .eabi_attribute 28, 1
  7. 6 .eabi_attribute 20, 1
  8. 7 .eabi_attribute 21, 1
  9. 8 .eabi_attribute 23, 3
  10. 9 .eabi_attribute 24, 1
  11. 10 .eabi_attribute 25, 1
  12. 11 .eabi_attribute 26, 1
  13. 12 .eabi_attribute 30, 1
  14. 13 .eabi_attribute 34, 1
  15. 14 .eabi_attribute 18, 4
  16. 15 .file "stm32f4xx_hal_cortex.c"
  17. 16 .text
  18. 17 .Ltext0:
  19. 18 .cfi_sections .debug_frame
  20. 19 .section .text.HAL_NVIC_SetPriorityGrouping,"ax",%progbits
  21. 20 .align 1
  22. 21 .global HAL_NVIC_SetPriorityGrouping
  23. 22 .syntax unified
  24. 23 .thumb
  25. 24 .thumb_func
  26. 26 HAL_NVIC_SetPriorityGrouping:
  27. 27 .LVL0:
  28. 28 .LFB130:
  29. 29 .file 1 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c"
  30. 1:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  31. 2:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ******************************************************************************
  32. 3:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @file stm32f4xx_hal_cortex.c
  33. 4:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @author MCD Application Team
  34. 5:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief CORTEX HAL module driver.
  35. 6:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This file provides firmware functions to manage the following
  36. 7:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * functionalities of the CORTEX:
  37. 8:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * + Initialization and de-initialization functions
  38. 9:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * + Peripheral Control functions
  39. 10:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *
  40. 11:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** @verbatim
  41. 12:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ==============================================================================
  42. 13:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ##### How to use this driver #####
  43. 14:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ==============================================================================
  44. 15:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  45. 16:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** [..]
  46. 17:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *** How to configure Interrupts using CORTEX HAL driver ***
  47. 18:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ===========================================================
  48. 19:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** [..]
  49. 20:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** This section provides functions allowing to configure the NVIC interrupts (IRQ).
  50. 21:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** The Cortex-M4 exceptions are managed by CMSIS functions.
  51. 22:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  52. 23:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (#) Configure the NVIC Priority Grouping using HAL_NVIC_SetPriorityGrouping()
  53. 24:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** function according to the following table.
  54. 25:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (#) Configure the priority of the selected IRQ Channels using HAL_NVIC_SetPriority().
  55. 26:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (#) Enable the selected IRQ Channels using HAL_NVIC_EnableIRQ().
  56. 27:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (#) please refer to programming manual for details in how to configure priority.
  57. 28:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  58. 29:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** -@- When the NVIC_PRIORITYGROUP_0 is selected, IRQ preemption is no more possible.
  59. ARM GAS /tmp/ccPRqU3T.s page 2
  60. 30:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** The pending IRQ priority will be managed only by the sub priority.
  61. 31:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  62. 32:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** -@- IRQ priority order (sorted by highest to lowest priority):
  63. 33:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (+@) Lowest preemption priority
  64. 34:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (+@) Lowest sub priority
  65. 35:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (+@) Lowest hardware priority (IRQ number)
  66. 36:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  67. 37:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** [..]
  68. 38:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *** How to configure Systick using CORTEX HAL driver ***
  69. 39:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ========================================================
  70. 40:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** [..]
  71. 41:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** Setup SysTick Timer for time base.
  72. 42:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  73. 43:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (+) The HAL_SYSTICK_Config() function calls the SysTick_Config() function which
  74. 44:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** is a CMSIS function that:
  75. 45:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Configures the SysTick Reload register with value passed as function parameter.
  76. 46:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Configures the SysTick IRQ priority to the lowest value 0x0F.
  77. 47:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Resets the SysTick Counter register.
  78. 48:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Configures the SysTick Counter clock source to be Core Clock Source (HCLK).
  79. 49:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Enables the SysTick Interrupt.
  80. 50:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Starts the SysTick Counter.
  81. 51:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  82. 52:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (+) You can change the SysTick Clock source to be HCLK_Div8 by calling the macro
  83. 53:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** __HAL_CORTEX_SYSTICKCLK_CONFIG(SYSTICK_CLKSOURCE_HCLK_DIV8) just after the
  84. 54:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** HAL_SYSTICK_Config() function call. The __HAL_CORTEX_SYSTICKCLK_CONFIG() macro is defined
  85. 55:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** inside the stm32f4xx_hal_cortex.h file.
  86. 56:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  87. 57:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (+) You can change the SysTick IRQ priority by calling the
  88. 58:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** HAL_NVIC_SetPriority(SysTick_IRQn,...) function just after the HAL_SYSTICK_Config() function
  89. 59:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** call. The HAL_NVIC_SetPriority() call the NVIC_SetPriority() function which is a CMSIS funct
  90. 60:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  91. 61:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (+) To adjust the SysTick time base, use the following formula:
  92. 62:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  93. 63:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** Reload Value = SysTick Counter Clock (Hz) x Desired Time base (s)
  94. 64:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Reload Value is the parameter to be passed for HAL_SYSTICK_Config() function
  95. 65:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Reload Value should not exceed 0xFFFFFF
  96. 66:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  97. 67:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** @endverbatim
  98. 68:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ******************************************************************************
  99. 69:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @attention
  100. 70:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *
  101. 71:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
  102. 72:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * All rights reserved.</center></h2>
  103. 73:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *
  104. 74:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This software component is licensed by ST under BSD 3-Clause license,
  105. 75:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * the "License"; You may not use this file except in compliance with the
  106. 76:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * License. You may obtain a copy of the License at:
  107. 77:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * opensource.org/licenses/BSD-3-Clause
  108. 78:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *
  109. 79:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ******************************************************************************
  110. 80:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  111. 81:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  112. 82:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Includes ------------------------------------------------------------------*/
  113. 83:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** #include "stm32f4xx_hal.h"
  114. 84:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  115. 85:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /** @addtogroup STM32F4xx_HAL_Driver
  116. 86:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @{
  117. ARM GAS /tmp/ccPRqU3T.s page 3
  118. 87:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  119. 88:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  120. 89:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /** @defgroup CORTEX CORTEX
  121. 90:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief CORTEX HAL module driver
  122. 91:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @{
  123. 92:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  124. 93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  125. 94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** #ifdef HAL_CORTEX_MODULE_ENABLED
  126. 95:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  127. 96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Private types -------------------------------------------------------------*/
  128. 97:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Private variables ---------------------------------------------------------*/
  129. 98:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Private constants ---------------------------------------------------------*/
  130. 99:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Private macros ------------------------------------------------------------*/
  131. 100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Private functions ---------------------------------------------------------*/
  132. 101:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Exported functions --------------------------------------------------------*/
  133. 102:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  134. 103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions CORTEX Exported Functions
  135. 104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @{
  136. 105:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  137. 106:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  138. 107:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  139. 108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions_Group1 Initialization and de-initialization functions
  140. 109:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Initialization and Configuration functions
  141. 110:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *
  142. 111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** @verbatim
  143. 112:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ==============================================================================
  144. 113:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ##### Initialization and de-initialization functions #####
  145. 114:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ==============================================================================
  146. 115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** [..]
  147. 116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** This section provides the CORTEX HAL driver functions allowing to configure Interrupts
  148. 117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** Systick functionalities
  149. 118:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  150. 119:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** @endverbatim
  151. 120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @{
  152. 121:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  153. 122:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  154. 123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  155. 124:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  156. 125:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Sets the priority grouping field (preemption priority and subpriority)
  157. 126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * using the required unlock sequence.
  158. 127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param PriorityGroup The priority grouping bits length.
  159. 128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be one of the following values:
  160. 129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_0: 0 bits for preemption priority
  161. 130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 4 bits for subpriority
  162. 131:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_1: 1 bits for preemption priority
  163. 132:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 3 bits for subpriority
  164. 133:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_2: 2 bits for preemption priority
  165. 134:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 2 bits for subpriority
  166. 135:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_3: 3 bits for preemption priority
  167. 136:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 1 bits for subpriority
  168. 137:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_4: 4 bits for preemption priority
  169. 138:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 0 bits for subpriority
  170. 139:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @note When the NVIC_PriorityGroup_0 is selected, IRQ preemption is no more possible.
  171. 140:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * The pending IRQ priority will be managed only by the subpriority.
  172. 141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  173. 142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  174. 143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
  175. ARM GAS /tmp/ccPRqU3T.s page 4
  176. 144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  177. 30 .loc 1 144 1 view -0
  178. 31 .cfi_startproc
  179. 32 @ args = 0, pretend = 0, frame = 0
  180. 33 @ frame_needed = 0, uses_anonymous_args = 0
  181. 34 @ link register save eliminated.
  182. 145:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  183. 146:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup));
  184. 35 .loc 1 146 3 view .LVU1
  185. 147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  186. 148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Set the PRIGROUP[10:8] bits according to the PriorityGroup parameter value */
  187. 149:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_SetPriorityGrouping(PriorityGroup);
  188. 36 .loc 1 149 3 view .LVU2
  189. 37 .LBB38:
  190. 38 .LBI38:
  191. 39 .file 2 "Drivers/CMSIS/Include/core_cm4.h"
  192. 1:Drivers/CMSIS/Include/core_cm4.h **** /**************************************************************************//**
  193. 2:Drivers/CMSIS/Include/core_cm4.h **** * @file core_cm4.h
  194. 3:Drivers/CMSIS/Include/core_cm4.h **** * @brief CMSIS Cortex-M4 Core Peripheral Access Layer Header File
  195. 4:Drivers/CMSIS/Include/core_cm4.h **** * @version V5.0.8
  196. 5:Drivers/CMSIS/Include/core_cm4.h **** * @date 04. June 2018
  197. 6:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
  198. 7:Drivers/CMSIS/Include/core_cm4.h **** /*
  199. 8:Drivers/CMSIS/Include/core_cm4.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
  200. 9:Drivers/CMSIS/Include/core_cm4.h **** *
  201. 10:Drivers/CMSIS/Include/core_cm4.h **** * SPDX-License-Identifier: Apache-2.0
  202. 11:Drivers/CMSIS/Include/core_cm4.h **** *
  203. 12:Drivers/CMSIS/Include/core_cm4.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
  204. 13:Drivers/CMSIS/Include/core_cm4.h **** * not use this file except in compliance with the License.
  205. 14:Drivers/CMSIS/Include/core_cm4.h **** * You may obtain a copy of the License at
  206. 15:Drivers/CMSIS/Include/core_cm4.h **** *
  207. 16:Drivers/CMSIS/Include/core_cm4.h **** * www.apache.org/licenses/LICENSE-2.0
  208. 17:Drivers/CMSIS/Include/core_cm4.h **** *
  209. 18:Drivers/CMSIS/Include/core_cm4.h **** * Unless required by applicable law or agreed to in writing, software
  210. 19:Drivers/CMSIS/Include/core_cm4.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  211. 20:Drivers/CMSIS/Include/core_cm4.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  212. 21:Drivers/CMSIS/Include/core_cm4.h **** * See the License for the specific language governing permissions and
  213. 22:Drivers/CMSIS/Include/core_cm4.h **** * limitations under the License.
  214. 23:Drivers/CMSIS/Include/core_cm4.h **** */
  215. 24:Drivers/CMSIS/Include/core_cm4.h ****
  216. 25:Drivers/CMSIS/Include/core_cm4.h **** #if defined ( __ICCARM__ )
  217. 26:Drivers/CMSIS/Include/core_cm4.h **** #pragma system_include /* treat file as system include file for MISRA check */
  218. 27:Drivers/CMSIS/Include/core_cm4.h **** #elif defined (__clang__)
  219. 28:Drivers/CMSIS/Include/core_cm4.h **** #pragma clang system_header /* treat file as system include file */
  220. 29:Drivers/CMSIS/Include/core_cm4.h **** #endif
  221. 30:Drivers/CMSIS/Include/core_cm4.h ****
  222. 31:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CORE_CM4_H_GENERIC
  223. 32:Drivers/CMSIS/Include/core_cm4.h **** #define __CORE_CM4_H_GENERIC
  224. 33:Drivers/CMSIS/Include/core_cm4.h ****
  225. 34:Drivers/CMSIS/Include/core_cm4.h **** #include <stdint.h>
  226. 35:Drivers/CMSIS/Include/core_cm4.h ****
  227. 36:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
  228. 37:Drivers/CMSIS/Include/core_cm4.h **** extern "C" {
  229. 38:Drivers/CMSIS/Include/core_cm4.h **** #endif
  230. 39:Drivers/CMSIS/Include/core_cm4.h ****
  231. 40:Drivers/CMSIS/Include/core_cm4.h **** /**
  232. 41:Drivers/CMSIS/Include/core_cm4.h **** \page CMSIS_MISRA_Exceptions MISRA-C:2004 Compliance Exceptions
  233. ARM GAS /tmp/ccPRqU3T.s page 5
  234. 42:Drivers/CMSIS/Include/core_cm4.h **** CMSIS violates the following MISRA-C:2004 rules:
  235. 43:Drivers/CMSIS/Include/core_cm4.h ****
  236. 44:Drivers/CMSIS/Include/core_cm4.h **** \li Required Rule 8.5, object/function definition in header file.<br>
  237. 45:Drivers/CMSIS/Include/core_cm4.h **** Function definitions in header files are used to allow 'inlining'.
  238. 46:Drivers/CMSIS/Include/core_cm4.h ****
  239. 47:Drivers/CMSIS/Include/core_cm4.h **** \li Required Rule 18.4, declaration of union type or object of union type: '{...}'.<br>
  240. 48:Drivers/CMSIS/Include/core_cm4.h **** Unions are used for effective representation of core registers.
  241. 49:Drivers/CMSIS/Include/core_cm4.h ****
  242. 50:Drivers/CMSIS/Include/core_cm4.h **** \li Advisory Rule 19.7, Function-like macro defined.<br>
  243. 51:Drivers/CMSIS/Include/core_cm4.h **** Function-like macros are used to allow more efficient code.
  244. 52:Drivers/CMSIS/Include/core_cm4.h **** */
  245. 53:Drivers/CMSIS/Include/core_cm4.h ****
  246. 54:Drivers/CMSIS/Include/core_cm4.h ****
  247. 55:Drivers/CMSIS/Include/core_cm4.h **** /*******************************************************************************
  248. 56:Drivers/CMSIS/Include/core_cm4.h **** * CMSIS definitions
  249. 57:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
  250. 58:Drivers/CMSIS/Include/core_cm4.h **** /**
  251. 59:Drivers/CMSIS/Include/core_cm4.h **** \ingroup Cortex_M4
  252. 60:Drivers/CMSIS/Include/core_cm4.h **** @{
  253. 61:Drivers/CMSIS/Include/core_cm4.h **** */
  254. 62:Drivers/CMSIS/Include/core_cm4.h ****
  255. 63:Drivers/CMSIS/Include/core_cm4.h **** #include "cmsis_version.h"
  256. 64:Drivers/CMSIS/Include/core_cm4.h ****
  257. 65:Drivers/CMSIS/Include/core_cm4.h **** /* CMSIS CM4 definitions */
  258. 66:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_CMSIS_VERSION_MAIN (__CM_CMSIS_VERSION_MAIN) /*!< \deprecated [31:16] C
  259. 67:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_CMSIS_VERSION_SUB (__CM_CMSIS_VERSION_SUB) /*!< \deprecated [15:0] C
  260. 68:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_CMSIS_VERSION ((__CM4_CMSIS_VERSION_MAIN << 16U) | \
  261. 69:Drivers/CMSIS/Include/core_cm4.h **** __CM4_CMSIS_VERSION_SUB ) /*!< \deprecated CMSIS HAL
  262. 70:Drivers/CMSIS/Include/core_cm4.h ****
  263. 71:Drivers/CMSIS/Include/core_cm4.h **** #define __CORTEX_M (4U) /*!< Cortex-M Core */
  264. 72:Drivers/CMSIS/Include/core_cm4.h ****
  265. 73:Drivers/CMSIS/Include/core_cm4.h **** /** __FPU_USED indicates whether an FPU is used or not.
  266. 74:Drivers/CMSIS/Include/core_cm4.h **** For this, __FPU_PRESENT has to be checked prior to making use of FPU specific registers and fun
  267. 75:Drivers/CMSIS/Include/core_cm4.h **** */
  268. 76:Drivers/CMSIS/Include/core_cm4.h **** #if defined ( __CC_ARM )
  269. 77:Drivers/CMSIS/Include/core_cm4.h **** #if defined __TARGET_FPU_VFP
  270. 78:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  271. 79:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  272. 80:Drivers/CMSIS/Include/core_cm4.h **** #else
  273. 81:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  274. 82:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  275. 83:Drivers/CMSIS/Include/core_cm4.h **** #endif
  276. 84:Drivers/CMSIS/Include/core_cm4.h **** #else
  277. 85:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  278. 86:Drivers/CMSIS/Include/core_cm4.h **** #endif
  279. 87:Drivers/CMSIS/Include/core_cm4.h ****
  280. 88:Drivers/CMSIS/Include/core_cm4.h **** #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
  281. 89:Drivers/CMSIS/Include/core_cm4.h **** #if defined __ARM_PCS_VFP
  282. 90:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  283. 91:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  284. 92:Drivers/CMSIS/Include/core_cm4.h **** #else
  285. 93:Drivers/CMSIS/Include/core_cm4.h **** #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESEN
  286. 94:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  287. 95:Drivers/CMSIS/Include/core_cm4.h **** #endif
  288. 96:Drivers/CMSIS/Include/core_cm4.h **** #else
  289. 97:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  290. 98:Drivers/CMSIS/Include/core_cm4.h **** #endif
  291. ARM GAS /tmp/ccPRqU3T.s page 6
  292. 99:Drivers/CMSIS/Include/core_cm4.h ****
  293. 100:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __GNUC__ )
  294. 101:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__VFP_FP__) && !defined(__SOFTFP__)
  295. 102:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  296. 103:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  297. 104:Drivers/CMSIS/Include/core_cm4.h **** #else
  298. 105:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  299. 106:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  300. 107:Drivers/CMSIS/Include/core_cm4.h **** #endif
  301. 108:Drivers/CMSIS/Include/core_cm4.h **** #else
  302. 109:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  303. 110:Drivers/CMSIS/Include/core_cm4.h **** #endif
  304. 111:Drivers/CMSIS/Include/core_cm4.h ****
  305. 112:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __ICCARM__ )
  306. 113:Drivers/CMSIS/Include/core_cm4.h **** #if defined __ARMVFP__
  307. 114:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  308. 115:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  309. 116:Drivers/CMSIS/Include/core_cm4.h **** #else
  310. 117:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  311. 118:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  312. 119:Drivers/CMSIS/Include/core_cm4.h **** #endif
  313. 120:Drivers/CMSIS/Include/core_cm4.h **** #else
  314. 121:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  315. 122:Drivers/CMSIS/Include/core_cm4.h **** #endif
  316. 123:Drivers/CMSIS/Include/core_cm4.h ****
  317. 124:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __TI_ARM__ )
  318. 125:Drivers/CMSIS/Include/core_cm4.h **** #if defined __TI_VFP_SUPPORT__
  319. 126:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  320. 127:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  321. 128:Drivers/CMSIS/Include/core_cm4.h **** #else
  322. 129:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  323. 130:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  324. 131:Drivers/CMSIS/Include/core_cm4.h **** #endif
  325. 132:Drivers/CMSIS/Include/core_cm4.h **** #else
  326. 133:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  327. 134:Drivers/CMSIS/Include/core_cm4.h **** #endif
  328. 135:Drivers/CMSIS/Include/core_cm4.h ****
  329. 136:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __TASKING__ )
  330. 137:Drivers/CMSIS/Include/core_cm4.h **** #if defined __FPU_VFP__
  331. 138:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  332. 139:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  333. 140:Drivers/CMSIS/Include/core_cm4.h **** #else
  334. 141:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  335. 142:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  336. 143:Drivers/CMSIS/Include/core_cm4.h **** #endif
  337. 144:Drivers/CMSIS/Include/core_cm4.h **** #else
  338. 145:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  339. 146:Drivers/CMSIS/Include/core_cm4.h **** #endif
  340. 147:Drivers/CMSIS/Include/core_cm4.h ****
  341. 148:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __CSMC__ )
  342. 149:Drivers/CMSIS/Include/core_cm4.h **** #if ( __CSMC__ & 0x400U)
  343. 150:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  344. 151:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  345. 152:Drivers/CMSIS/Include/core_cm4.h **** #else
  346. 153:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  347. 154:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  348. 155:Drivers/CMSIS/Include/core_cm4.h **** #endif
  349. ARM GAS /tmp/ccPRqU3T.s page 7
  350. 156:Drivers/CMSIS/Include/core_cm4.h **** #else
  351. 157:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  352. 158:Drivers/CMSIS/Include/core_cm4.h **** #endif
  353. 159:Drivers/CMSIS/Include/core_cm4.h ****
  354. 160:Drivers/CMSIS/Include/core_cm4.h **** #endif
  355. 161:Drivers/CMSIS/Include/core_cm4.h ****
  356. 162:Drivers/CMSIS/Include/core_cm4.h **** #include "cmsis_compiler.h" /* CMSIS compiler specific defines */
  357. 163:Drivers/CMSIS/Include/core_cm4.h ****
  358. 164:Drivers/CMSIS/Include/core_cm4.h ****
  359. 165:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
  360. 166:Drivers/CMSIS/Include/core_cm4.h **** }
  361. 167:Drivers/CMSIS/Include/core_cm4.h **** #endif
  362. 168:Drivers/CMSIS/Include/core_cm4.h ****
  363. 169:Drivers/CMSIS/Include/core_cm4.h **** #endif /* __CORE_CM4_H_GENERIC */
  364. 170:Drivers/CMSIS/Include/core_cm4.h ****
  365. 171:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CMSIS_GENERIC
  366. 172:Drivers/CMSIS/Include/core_cm4.h ****
  367. 173:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CORE_CM4_H_DEPENDANT
  368. 174:Drivers/CMSIS/Include/core_cm4.h **** #define __CORE_CM4_H_DEPENDANT
  369. 175:Drivers/CMSIS/Include/core_cm4.h ****
  370. 176:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
  371. 177:Drivers/CMSIS/Include/core_cm4.h **** extern "C" {
  372. 178:Drivers/CMSIS/Include/core_cm4.h **** #endif
  373. 179:Drivers/CMSIS/Include/core_cm4.h ****
  374. 180:Drivers/CMSIS/Include/core_cm4.h **** /* check device defines and use defaults */
  375. 181:Drivers/CMSIS/Include/core_cm4.h **** #if defined __CHECK_DEVICE_DEFINES
  376. 182:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CM4_REV
  377. 183:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_REV 0x0000U
  378. 184:Drivers/CMSIS/Include/core_cm4.h **** #warning "__CM4_REV not defined in device header file; using default!"
  379. 185:Drivers/CMSIS/Include/core_cm4.h **** #endif
  380. 186:Drivers/CMSIS/Include/core_cm4.h ****
  381. 187:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __FPU_PRESENT
  382. 188:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_PRESENT 0U
  383. 189:Drivers/CMSIS/Include/core_cm4.h **** #warning "__FPU_PRESENT not defined in device header file; using default!"
  384. 190:Drivers/CMSIS/Include/core_cm4.h **** #endif
  385. 191:Drivers/CMSIS/Include/core_cm4.h ****
  386. 192:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __MPU_PRESENT
  387. 193:Drivers/CMSIS/Include/core_cm4.h **** #define __MPU_PRESENT 0U
  388. 194:Drivers/CMSIS/Include/core_cm4.h **** #warning "__MPU_PRESENT not defined in device header file; using default!"
  389. 195:Drivers/CMSIS/Include/core_cm4.h **** #endif
  390. 196:Drivers/CMSIS/Include/core_cm4.h ****
  391. 197:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __NVIC_PRIO_BITS
  392. 198:Drivers/CMSIS/Include/core_cm4.h **** #define __NVIC_PRIO_BITS 3U
  393. 199:Drivers/CMSIS/Include/core_cm4.h **** #warning "__NVIC_PRIO_BITS not defined in device header file; using default!"
  394. 200:Drivers/CMSIS/Include/core_cm4.h **** #endif
  395. 201:Drivers/CMSIS/Include/core_cm4.h ****
  396. 202:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __Vendor_SysTickConfig
  397. 203:Drivers/CMSIS/Include/core_cm4.h **** #define __Vendor_SysTickConfig 0U
  398. 204:Drivers/CMSIS/Include/core_cm4.h **** #warning "__Vendor_SysTickConfig not defined in device header file; using default!"
  399. 205:Drivers/CMSIS/Include/core_cm4.h **** #endif
  400. 206:Drivers/CMSIS/Include/core_cm4.h **** #endif
  401. 207:Drivers/CMSIS/Include/core_cm4.h ****
  402. 208:Drivers/CMSIS/Include/core_cm4.h **** /* IO definitions (access restrictions to peripheral registers) */
  403. 209:Drivers/CMSIS/Include/core_cm4.h **** /**
  404. 210:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_glob_defs CMSIS Global Defines
  405. 211:Drivers/CMSIS/Include/core_cm4.h ****
  406. 212:Drivers/CMSIS/Include/core_cm4.h **** <strong>IO Type Qualifiers</strong> are used
  407. ARM GAS /tmp/ccPRqU3T.s page 8
  408. 213:Drivers/CMSIS/Include/core_cm4.h **** \li to specify the access to peripheral variables.
  409. 214:Drivers/CMSIS/Include/core_cm4.h **** \li for automatic generation of peripheral register debug information.
  410. 215:Drivers/CMSIS/Include/core_cm4.h **** */
  411. 216:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
  412. 217:Drivers/CMSIS/Include/core_cm4.h **** #define __I volatile /*!< Defines 'read only' permissions */
  413. 218:Drivers/CMSIS/Include/core_cm4.h **** #else
  414. 219:Drivers/CMSIS/Include/core_cm4.h **** #define __I volatile const /*!< Defines 'read only' permissions */
  415. 220:Drivers/CMSIS/Include/core_cm4.h **** #endif
  416. 221:Drivers/CMSIS/Include/core_cm4.h **** #define __O volatile /*!< Defines 'write only' permissions */
  417. 222:Drivers/CMSIS/Include/core_cm4.h **** #define __IO volatile /*!< Defines 'read / write' permissions */
  418. 223:Drivers/CMSIS/Include/core_cm4.h ****
  419. 224:Drivers/CMSIS/Include/core_cm4.h **** /* following defines should be used for structure members */
  420. 225:Drivers/CMSIS/Include/core_cm4.h **** #define __IM volatile const /*! Defines 'read only' structure member permissions */
  421. 226:Drivers/CMSIS/Include/core_cm4.h **** #define __OM volatile /*! Defines 'write only' structure member permissions */
  422. 227:Drivers/CMSIS/Include/core_cm4.h **** #define __IOM volatile /*! Defines 'read / write' structure member permissions */
  423. 228:Drivers/CMSIS/Include/core_cm4.h ****
  424. 229:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group Cortex_M4 */
  425. 230:Drivers/CMSIS/Include/core_cm4.h ****
  426. 231:Drivers/CMSIS/Include/core_cm4.h ****
  427. 232:Drivers/CMSIS/Include/core_cm4.h ****
  428. 233:Drivers/CMSIS/Include/core_cm4.h **** /*******************************************************************************
  429. 234:Drivers/CMSIS/Include/core_cm4.h **** * Register Abstraction
  430. 235:Drivers/CMSIS/Include/core_cm4.h **** Core Register contain:
  431. 236:Drivers/CMSIS/Include/core_cm4.h **** - Core Register
  432. 237:Drivers/CMSIS/Include/core_cm4.h **** - Core NVIC Register
  433. 238:Drivers/CMSIS/Include/core_cm4.h **** - Core SCB Register
  434. 239:Drivers/CMSIS/Include/core_cm4.h **** - Core SysTick Register
  435. 240:Drivers/CMSIS/Include/core_cm4.h **** - Core Debug Register
  436. 241:Drivers/CMSIS/Include/core_cm4.h **** - Core MPU Register
  437. 242:Drivers/CMSIS/Include/core_cm4.h **** - Core FPU Register
  438. 243:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
  439. 244:Drivers/CMSIS/Include/core_cm4.h **** /**
  440. 245:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_core_register Defines and Type Definitions
  441. 246:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions and defines for Cortex-M processor based devices.
  442. 247:Drivers/CMSIS/Include/core_cm4.h **** */
  443. 248:Drivers/CMSIS/Include/core_cm4.h ****
  444. 249:Drivers/CMSIS/Include/core_cm4.h **** /**
  445. 250:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  446. 251:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_CORE Status and Control Registers
  447. 252:Drivers/CMSIS/Include/core_cm4.h **** \brief Core Register type definitions.
  448. 253:Drivers/CMSIS/Include/core_cm4.h **** @{
  449. 254:Drivers/CMSIS/Include/core_cm4.h **** */
  450. 255:Drivers/CMSIS/Include/core_cm4.h ****
  451. 256:Drivers/CMSIS/Include/core_cm4.h **** /**
  452. 257:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Application Program Status Register (APSR).
  453. 258:Drivers/CMSIS/Include/core_cm4.h **** */
  454. 259:Drivers/CMSIS/Include/core_cm4.h **** typedef union
  455. 260:Drivers/CMSIS/Include/core_cm4.h **** {
  456. 261:Drivers/CMSIS/Include/core_cm4.h **** struct
  457. 262:Drivers/CMSIS/Include/core_cm4.h **** {
  458. 263:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:16; /*!< bit: 0..15 Reserved */
  459. 264:Drivers/CMSIS/Include/core_cm4.h **** uint32_t GE:4; /*!< bit: 16..19 Greater than or Equal flags */
  460. 265:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved1:7; /*!< bit: 20..26 Reserved */
  461. 266:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Q:1; /*!< bit: 27 Saturation condition flag */
  462. 267:Drivers/CMSIS/Include/core_cm4.h **** uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
  463. 268:Drivers/CMSIS/Include/core_cm4.h **** uint32_t C:1; /*!< bit: 29 Carry condition code flag */
  464. 269:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
  465. ARM GAS /tmp/ccPRqU3T.s page 9
  466. 270:Drivers/CMSIS/Include/core_cm4.h **** uint32_t N:1; /*!< bit: 31 Negative condition code flag */
  467. 271:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
  468. 272:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
  469. 273:Drivers/CMSIS/Include/core_cm4.h **** } APSR_Type;
  470. 274:Drivers/CMSIS/Include/core_cm4.h ****
  471. 275:Drivers/CMSIS/Include/core_cm4.h **** /* APSR Register Definitions */
  472. 276:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_N_Pos 31U /*!< APSR
  473. 277:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_N_Msk (1UL << APSR_N_Pos) /*!< APSR
  474. 278:Drivers/CMSIS/Include/core_cm4.h ****
  475. 279:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Z_Pos 30U /*!< APSR
  476. 280:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Z_Msk (1UL << APSR_Z_Pos) /*!< APSR
  477. 281:Drivers/CMSIS/Include/core_cm4.h ****
  478. 282:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_C_Pos 29U /*!< APSR
  479. 283:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_C_Msk (1UL << APSR_C_Pos) /*!< APSR
  480. 284:Drivers/CMSIS/Include/core_cm4.h ****
  481. 285:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_V_Pos 28U /*!< APSR
  482. 286:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_V_Msk (1UL << APSR_V_Pos) /*!< APSR
  483. 287:Drivers/CMSIS/Include/core_cm4.h ****
  484. 288:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Q_Pos 27U /*!< APSR
  485. 289:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Q_Msk (1UL << APSR_Q_Pos) /*!< APSR
  486. 290:Drivers/CMSIS/Include/core_cm4.h ****
  487. 291:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_GE_Pos 16U /*!< APSR
  488. 292:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_GE_Msk (0xFUL << APSR_GE_Pos) /*!< APSR
  489. 293:Drivers/CMSIS/Include/core_cm4.h ****
  490. 294:Drivers/CMSIS/Include/core_cm4.h ****
  491. 295:Drivers/CMSIS/Include/core_cm4.h **** /**
  492. 296:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Interrupt Program Status Register (IPSR).
  493. 297:Drivers/CMSIS/Include/core_cm4.h **** */
  494. 298:Drivers/CMSIS/Include/core_cm4.h **** typedef union
  495. 299:Drivers/CMSIS/Include/core_cm4.h **** {
  496. 300:Drivers/CMSIS/Include/core_cm4.h **** struct
  497. 301:Drivers/CMSIS/Include/core_cm4.h **** {
  498. 302:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
  499. 303:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:23; /*!< bit: 9..31 Reserved */
  500. 304:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
  501. 305:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
  502. 306:Drivers/CMSIS/Include/core_cm4.h **** } IPSR_Type;
  503. 307:Drivers/CMSIS/Include/core_cm4.h ****
  504. 308:Drivers/CMSIS/Include/core_cm4.h **** /* IPSR Register Definitions */
  505. 309:Drivers/CMSIS/Include/core_cm4.h **** #define IPSR_ISR_Pos 0U /*!< IPSR
  506. 310:Drivers/CMSIS/Include/core_cm4.h **** #define IPSR_ISR_Msk (0x1FFUL /*<< IPSR_ISR_Pos*/) /*!< IPSR
  507. 311:Drivers/CMSIS/Include/core_cm4.h ****
  508. 312:Drivers/CMSIS/Include/core_cm4.h ****
  509. 313:Drivers/CMSIS/Include/core_cm4.h **** /**
  510. 314:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Special-Purpose Program Status Registers (xPSR).
  511. 315:Drivers/CMSIS/Include/core_cm4.h **** */
  512. 316:Drivers/CMSIS/Include/core_cm4.h **** typedef union
  513. 317:Drivers/CMSIS/Include/core_cm4.h **** {
  514. 318:Drivers/CMSIS/Include/core_cm4.h **** struct
  515. 319:Drivers/CMSIS/Include/core_cm4.h **** {
  516. 320:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
  517. 321:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:1; /*!< bit: 9 Reserved */
  518. 322:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ICI_IT_1:6; /*!< bit: 10..15 ICI/IT part 1 */
  519. 323:Drivers/CMSIS/Include/core_cm4.h **** uint32_t GE:4; /*!< bit: 16..19 Greater than or Equal flags */
  520. 324:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved1:4; /*!< bit: 20..23 Reserved */
  521. 325:Drivers/CMSIS/Include/core_cm4.h **** uint32_t T:1; /*!< bit: 24 Thumb bit */
  522. 326:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ICI_IT_2:2; /*!< bit: 25..26 ICI/IT part 2 */
  523. ARM GAS /tmp/ccPRqU3T.s page 10
  524. 327:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Q:1; /*!< bit: 27 Saturation condition flag */
  525. 328:Drivers/CMSIS/Include/core_cm4.h **** uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
  526. 329:Drivers/CMSIS/Include/core_cm4.h **** uint32_t C:1; /*!< bit: 29 Carry condition code flag */
  527. 330:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
  528. 331:Drivers/CMSIS/Include/core_cm4.h **** uint32_t N:1; /*!< bit: 31 Negative condition code flag */
  529. 332:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
  530. 333:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
  531. 334:Drivers/CMSIS/Include/core_cm4.h **** } xPSR_Type;
  532. 335:Drivers/CMSIS/Include/core_cm4.h ****
  533. 336:Drivers/CMSIS/Include/core_cm4.h **** /* xPSR Register Definitions */
  534. 337:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_N_Pos 31U /*!< xPSR
  535. 338:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_N_Msk (1UL << xPSR_N_Pos) /*!< xPSR
  536. 339:Drivers/CMSIS/Include/core_cm4.h ****
  537. 340:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Z_Pos 30U /*!< xPSR
  538. 341:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Z_Msk (1UL << xPSR_Z_Pos) /*!< xPSR
  539. 342:Drivers/CMSIS/Include/core_cm4.h ****
  540. 343:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_C_Pos 29U /*!< xPSR
  541. 344:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_C_Msk (1UL << xPSR_C_Pos) /*!< xPSR
  542. 345:Drivers/CMSIS/Include/core_cm4.h ****
  543. 346:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_V_Pos 28U /*!< xPSR
  544. 347:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_V_Msk (1UL << xPSR_V_Pos) /*!< xPSR
  545. 348:Drivers/CMSIS/Include/core_cm4.h ****
  546. 349:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Q_Pos 27U /*!< xPSR
  547. 350:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Q_Msk (1UL << xPSR_Q_Pos) /*!< xPSR
  548. 351:Drivers/CMSIS/Include/core_cm4.h ****
  549. 352:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_2_Pos 25U /*!< xPSR
  550. 353:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_2_Msk (3UL << xPSR_ICI_IT_2_Pos) /*!< xPSR
  551. 354:Drivers/CMSIS/Include/core_cm4.h ****
  552. 355:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_T_Pos 24U /*!< xPSR
  553. 356:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_T_Msk (1UL << xPSR_T_Pos) /*!< xPSR
  554. 357:Drivers/CMSIS/Include/core_cm4.h ****
  555. 358:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_GE_Pos 16U /*!< xPSR
  556. 359:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_GE_Msk (0xFUL << xPSR_GE_Pos) /*!< xPSR
  557. 360:Drivers/CMSIS/Include/core_cm4.h ****
  558. 361:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_1_Pos 10U /*!< xPSR
  559. 362:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_1_Msk (0x3FUL << xPSR_ICI_IT_1_Pos) /*!< xPSR
  560. 363:Drivers/CMSIS/Include/core_cm4.h ****
  561. 364:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ISR_Pos 0U /*!< xPSR
  562. 365:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ISR_Msk (0x1FFUL /*<< xPSR_ISR_Pos*/) /*!< xPSR
  563. 366:Drivers/CMSIS/Include/core_cm4.h ****
  564. 367:Drivers/CMSIS/Include/core_cm4.h ****
  565. 368:Drivers/CMSIS/Include/core_cm4.h **** /**
  566. 369:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Control Registers (CONTROL).
  567. 370:Drivers/CMSIS/Include/core_cm4.h **** */
  568. 371:Drivers/CMSIS/Include/core_cm4.h **** typedef union
  569. 372:Drivers/CMSIS/Include/core_cm4.h **** {
  570. 373:Drivers/CMSIS/Include/core_cm4.h **** struct
  571. 374:Drivers/CMSIS/Include/core_cm4.h **** {
  572. 375:Drivers/CMSIS/Include/core_cm4.h **** uint32_t nPRIV:1; /*!< bit: 0 Execution privilege in Thread mode */
  573. 376:Drivers/CMSIS/Include/core_cm4.h **** uint32_t SPSEL:1; /*!< bit: 1 Stack to be used */
  574. 377:Drivers/CMSIS/Include/core_cm4.h **** uint32_t FPCA:1; /*!< bit: 2 FP extension active flag */
  575. 378:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:29; /*!< bit: 3..31 Reserved */
  576. 379:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
  577. 380:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
  578. 381:Drivers/CMSIS/Include/core_cm4.h **** } CONTROL_Type;
  579. 382:Drivers/CMSIS/Include/core_cm4.h ****
  580. 383:Drivers/CMSIS/Include/core_cm4.h **** /* CONTROL Register Definitions */
  581. ARM GAS /tmp/ccPRqU3T.s page 11
  582. 384:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_FPCA_Pos 2U /*!< CONT
  583. 385:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_FPCA_Msk (1UL << CONTROL_FPCA_Pos) /*!< CONT
  584. 386:Drivers/CMSIS/Include/core_cm4.h ****
  585. 387:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_SPSEL_Pos 1U /*!< CONT
  586. 388:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_SPSEL_Msk (1UL << CONTROL_SPSEL_Pos) /*!< CONT
  587. 389:Drivers/CMSIS/Include/core_cm4.h ****
  588. 390:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_nPRIV_Pos 0U /*!< CONT
  589. 391:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_nPRIV_Msk (1UL /*<< CONTROL_nPRIV_Pos*/) /*!< CONT
  590. 392:Drivers/CMSIS/Include/core_cm4.h ****
  591. 393:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_CORE */
  592. 394:Drivers/CMSIS/Include/core_cm4.h ****
  593. 395:Drivers/CMSIS/Include/core_cm4.h ****
  594. 396:Drivers/CMSIS/Include/core_cm4.h **** /**
  595. 397:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  596. 398:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_NVIC Nested Vectored Interrupt Controller (NVIC)
  597. 399:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the NVIC Registers
  598. 400:Drivers/CMSIS/Include/core_cm4.h **** @{
  599. 401:Drivers/CMSIS/Include/core_cm4.h **** */
  600. 402:Drivers/CMSIS/Include/core_cm4.h ****
  601. 403:Drivers/CMSIS/Include/core_cm4.h **** /**
  602. 404:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Nested Vectored Interrupt Controller (NVIC).
  603. 405:Drivers/CMSIS/Include/core_cm4.h **** */
  604. 406:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  605. 407:Drivers/CMSIS/Include/core_cm4.h **** {
  606. 408:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ISER[8U]; /*!< Offset: 0x000 (R/W) Interrupt Set Enable Register */
  607. 409:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[24U];
  608. 410:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ICER[8U]; /*!< Offset: 0x080 (R/W) Interrupt Clear Enable Register
  609. 411:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RSERVED1[24U];
  610. 412:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ISPR[8U]; /*!< Offset: 0x100 (R/W) Interrupt Set Pending Register *
  611. 413:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[24U];
  612. 414:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ICPR[8U]; /*!< Offset: 0x180 (R/W) Interrupt Clear Pending Register
  613. 415:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED3[24U];
  614. 416:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t IABR[8U]; /*!< Offset: 0x200 (R/W) Interrupt Active bit Register */
  615. 417:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED4[56U];
  616. 418:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint8_t IP[240U]; /*!< Offset: 0x300 (R/W) Interrupt Priority Register (8Bi
  617. 419:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED5[644U];
  618. 420:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t STIR; /*!< Offset: 0xE00 ( /W) Software Trigger Interrupt Regis
  619. 421:Drivers/CMSIS/Include/core_cm4.h **** } NVIC_Type;
  620. 422:Drivers/CMSIS/Include/core_cm4.h ****
  621. 423:Drivers/CMSIS/Include/core_cm4.h **** /* Software Triggered Interrupt Register Definitions */
  622. 424:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_STIR_INTID_Pos 0U /*!< STIR: I
  623. 425:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_STIR_INTID_Msk (0x1FFUL /*<< NVIC_STIR_INTID_Pos*/) /*!< STIR: I
  624. 426:Drivers/CMSIS/Include/core_cm4.h ****
  625. 427:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_NVIC */
  626. 428:Drivers/CMSIS/Include/core_cm4.h ****
  627. 429:Drivers/CMSIS/Include/core_cm4.h ****
  628. 430:Drivers/CMSIS/Include/core_cm4.h **** /**
  629. 431:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  630. 432:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_SCB System Control Block (SCB)
  631. 433:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the System Control Block Registers
  632. 434:Drivers/CMSIS/Include/core_cm4.h **** @{
  633. 435:Drivers/CMSIS/Include/core_cm4.h **** */
  634. 436:Drivers/CMSIS/Include/core_cm4.h ****
  635. 437:Drivers/CMSIS/Include/core_cm4.h **** /**
  636. 438:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the System Control Block (SCB).
  637. 439:Drivers/CMSIS/Include/core_cm4.h **** */
  638. 440:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  639. ARM GAS /tmp/ccPRqU3T.s page 12
  640. 441:Drivers/CMSIS/Include/core_cm4.h **** {
  641. 442:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CPUID; /*!< Offset: 0x000 (R/ ) CPUID Base Register */
  642. 443:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ICSR; /*!< Offset: 0x004 (R/W) Interrupt Control and State Regi
  643. 444:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t VTOR; /*!< Offset: 0x008 (R/W) Vector Table Offset Register */
  644. 445:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t AIRCR; /*!< Offset: 0x00C (R/W) Application Interrupt and Reset
  645. 446:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SCR; /*!< Offset: 0x010 (R/W) System Control Register */
  646. 447:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CCR; /*!< Offset: 0x014 (R/W) Configuration Control Register *
  647. 448:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint8_t SHP[12U]; /*!< Offset: 0x018 (R/W) System Handlers Priority Registe
  648. 449:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SHCSR; /*!< Offset: 0x024 (R/W) System Handler Control and State
  649. 450:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CFSR; /*!< Offset: 0x028 (R/W) Configurable Fault Status Regist
  650. 451:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t HFSR; /*!< Offset: 0x02C (R/W) HardFault Status Register */
  651. 452:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DFSR; /*!< Offset: 0x030 (R/W) Debug Fault Status Register */
  652. 453:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MMFAR; /*!< Offset: 0x034 (R/W) MemManage Fault Address Register
  653. 454:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t BFAR; /*!< Offset: 0x038 (R/W) BusFault Address Register */
  654. 455:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t AFSR; /*!< Offset: 0x03C (R/W) Auxiliary Fault Status Register
  655. 456:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PFR[2U]; /*!< Offset: 0x040 (R/ ) Processor Feature Register */
  656. 457:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t DFR; /*!< Offset: 0x048 (R/ ) Debug Feature Register */
  657. 458:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ADR; /*!< Offset: 0x04C (R/ ) Auxiliary Feature Register */
  658. 459:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t MMFR[4U]; /*!< Offset: 0x050 (R/ ) Memory Model Feature Register */
  659. 460:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ISAR[5U]; /*!< Offset: 0x060 (R/ ) Instruction Set Attributes Regis
  660. 461:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[5U];
  661. 462:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CPACR; /*!< Offset: 0x088 (R/W) Coprocessor Access Control Regis
  662. 463:Drivers/CMSIS/Include/core_cm4.h **** } SCB_Type;
  663. 464:Drivers/CMSIS/Include/core_cm4.h ****
  664. 465:Drivers/CMSIS/Include/core_cm4.h **** /* SCB CPUID Register Definitions */
  665. 466:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_IMPLEMENTER_Pos 24U /*!< SCB
  666. 467:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_IMPLEMENTER_Msk (0xFFUL << SCB_CPUID_IMPLEMENTER_Pos) /*!< SCB
  667. 468:Drivers/CMSIS/Include/core_cm4.h ****
  668. 469:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_VARIANT_Pos 20U /*!< SCB
  669. 470:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_VARIANT_Msk (0xFUL << SCB_CPUID_VARIANT_Pos) /*!< SCB
  670. 471:Drivers/CMSIS/Include/core_cm4.h ****
  671. 472:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_ARCHITECTURE_Pos 16U /*!< SCB
  672. 473:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_ARCHITECTURE_Msk (0xFUL << SCB_CPUID_ARCHITECTURE_Pos) /*!< SCB
  673. 474:Drivers/CMSIS/Include/core_cm4.h ****
  674. 475:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_PARTNO_Pos 4U /*!< SCB
  675. 476:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_PARTNO_Msk (0xFFFUL << SCB_CPUID_PARTNO_Pos) /*!< SCB
  676. 477:Drivers/CMSIS/Include/core_cm4.h ****
  677. 478:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_REVISION_Pos 0U /*!< SCB
  678. 479:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_REVISION_Msk (0xFUL /*<< SCB_CPUID_REVISION_Pos*/) /*!< SCB
  679. 480:Drivers/CMSIS/Include/core_cm4.h ****
  680. 481:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Interrupt Control State Register Definitions */
  681. 482:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_NMIPENDSET_Pos 31U /*!< SCB
  682. 483:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_NMIPENDSET_Msk (1UL << SCB_ICSR_NMIPENDSET_Pos) /*!< SCB
  683. 484:Drivers/CMSIS/Include/core_cm4.h ****
  684. 485:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVSET_Pos 28U /*!< SCB
  685. 486:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVSET_Msk (1UL << SCB_ICSR_PENDSVSET_Pos) /*!< SCB
  686. 487:Drivers/CMSIS/Include/core_cm4.h ****
  687. 488:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVCLR_Pos 27U /*!< SCB
  688. 489:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVCLR_Msk (1UL << SCB_ICSR_PENDSVCLR_Pos) /*!< SCB
  689. 490:Drivers/CMSIS/Include/core_cm4.h ****
  690. 491:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTSET_Pos 26U /*!< SCB
  691. 492:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTSET_Msk (1UL << SCB_ICSR_PENDSTSET_Pos) /*!< SCB
  692. 493:Drivers/CMSIS/Include/core_cm4.h ****
  693. 494:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTCLR_Pos 25U /*!< SCB
  694. 495:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTCLR_Msk (1UL << SCB_ICSR_PENDSTCLR_Pos) /*!< SCB
  695. 496:Drivers/CMSIS/Include/core_cm4.h ****
  696. 497:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPREEMPT_Pos 23U /*!< SCB
  697. ARM GAS /tmp/ccPRqU3T.s page 13
  698. 498:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPREEMPT_Msk (1UL << SCB_ICSR_ISRPREEMPT_Pos) /*!< SCB
  699. 499:Drivers/CMSIS/Include/core_cm4.h ****
  700. 500:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPENDING_Pos 22U /*!< SCB
  701. 501:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPENDING_Msk (1UL << SCB_ICSR_ISRPENDING_Pos) /*!< SCB
  702. 502:Drivers/CMSIS/Include/core_cm4.h ****
  703. 503:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTPENDING_Pos 12U /*!< SCB
  704. 504:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTPENDING_Msk (0x1FFUL << SCB_ICSR_VECTPENDING_Pos) /*!< SCB
  705. 505:Drivers/CMSIS/Include/core_cm4.h ****
  706. 506:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_RETTOBASE_Pos 11U /*!< SCB
  707. 507:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_RETTOBASE_Msk (1UL << SCB_ICSR_RETTOBASE_Pos) /*!< SCB
  708. 508:Drivers/CMSIS/Include/core_cm4.h ****
  709. 509:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTACTIVE_Pos 0U /*!< SCB
  710. 510:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTACTIVE_Msk (0x1FFUL /*<< SCB_ICSR_VECTACTIVE_Pos*/) /*!< SCB
  711. 511:Drivers/CMSIS/Include/core_cm4.h ****
  712. 512:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Vector Table Offset Register Definitions */
  713. 513:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_VTOR_TBLOFF_Pos 7U /*!< SCB
  714. 514:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_VTOR_TBLOFF_Msk (0x1FFFFFFUL << SCB_VTOR_TBLOFF_Pos) /*!< SCB
  715. 515:Drivers/CMSIS/Include/core_cm4.h ****
  716. 516:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Application Interrupt and Reset Control Register Definitions */
  717. 517:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEY_Pos 16U /*!< SCB
  718. 518:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEY_Msk (0xFFFFUL << SCB_AIRCR_VECTKEY_Pos) /*!< SCB
  719. 519:Drivers/CMSIS/Include/core_cm4.h ****
  720. 520:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEYSTAT_Pos 16U /*!< SCB
  721. 521:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEYSTAT_Msk (0xFFFFUL << SCB_AIRCR_VECTKEYSTAT_Pos) /*!< SCB
  722. 522:Drivers/CMSIS/Include/core_cm4.h ****
  723. 523:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_ENDIANESS_Pos 15U /*!< SCB
  724. 524:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_ENDIANESS_Msk (1UL << SCB_AIRCR_ENDIANESS_Pos) /*!< SCB
  725. 525:Drivers/CMSIS/Include/core_cm4.h ****
  726. 526:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_PRIGROUP_Pos 8U /*!< SCB
  727. 527:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_PRIGROUP_Msk (7UL << SCB_AIRCR_PRIGROUP_Pos) /*!< SCB
  728. 528:Drivers/CMSIS/Include/core_cm4.h ****
  729. 529:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_SYSRESETREQ_Pos 2U /*!< SCB
  730. 530:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_SYSRESETREQ_Msk (1UL << SCB_AIRCR_SYSRESETREQ_Pos) /*!< SCB
  731. 531:Drivers/CMSIS/Include/core_cm4.h ****
  732. 532:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTCLRACTIVE_Pos 1U /*!< SCB
  733. 533:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTCLRACTIVE_Msk (1UL << SCB_AIRCR_VECTCLRACTIVE_Pos) /*!< SCB
  734. 534:Drivers/CMSIS/Include/core_cm4.h ****
  735. 535:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTRESET_Pos 0U /*!< SCB
  736. 536:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTRESET_Msk (1UL /*<< SCB_AIRCR_VECTRESET_Pos*/) /*!< SCB
  737. 537:Drivers/CMSIS/Include/core_cm4.h ****
  738. 538:Drivers/CMSIS/Include/core_cm4.h **** /* SCB System Control Register Definitions */
  739. 539:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SEVONPEND_Pos 4U /*!< SCB
  740. 540:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SEVONPEND_Msk (1UL << SCB_SCR_SEVONPEND_Pos) /*!< SCB
  741. 541:Drivers/CMSIS/Include/core_cm4.h ****
  742. 542:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPDEEP_Pos 2U /*!< SCB
  743. 543:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPDEEP_Msk (1UL << SCB_SCR_SLEEPDEEP_Pos) /*!< SCB
  744. 544:Drivers/CMSIS/Include/core_cm4.h ****
  745. 545:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPONEXIT_Pos 1U /*!< SCB
  746. 546:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPONEXIT_Msk (1UL << SCB_SCR_SLEEPONEXIT_Pos) /*!< SCB
  747. 547:Drivers/CMSIS/Include/core_cm4.h ****
  748. 548:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Configuration Control Register Definitions */
  749. 549:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_STKALIGN_Pos 9U /*!< SCB
  750. 550:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_STKALIGN_Msk (1UL << SCB_CCR_STKALIGN_Pos) /*!< SCB
  751. 551:Drivers/CMSIS/Include/core_cm4.h ****
  752. 552:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_BFHFNMIGN_Pos 8U /*!< SCB
  753. 553:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_BFHFNMIGN_Msk (1UL << SCB_CCR_BFHFNMIGN_Pos) /*!< SCB
  754. 554:Drivers/CMSIS/Include/core_cm4.h ****
  755. ARM GAS /tmp/ccPRqU3T.s page 14
  756. 555:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_DIV_0_TRP_Pos 4U /*!< SCB
  757. 556:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_DIV_0_TRP_Msk (1UL << SCB_CCR_DIV_0_TRP_Pos) /*!< SCB
  758. 557:Drivers/CMSIS/Include/core_cm4.h ****
  759. 558:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_UNALIGN_TRP_Pos 3U /*!< SCB
  760. 559:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_UNALIGN_TRP_Msk (1UL << SCB_CCR_UNALIGN_TRP_Pos) /*!< SCB
  761. 560:Drivers/CMSIS/Include/core_cm4.h ****
  762. 561:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_USERSETMPEND_Pos 1U /*!< SCB
  763. 562:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_USERSETMPEND_Msk (1UL << SCB_CCR_USERSETMPEND_Pos) /*!< SCB
  764. 563:Drivers/CMSIS/Include/core_cm4.h ****
  765. 564:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_NONBASETHRDENA_Pos 0U /*!< SCB
  766. 565:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_NONBASETHRDENA_Msk (1UL /*<< SCB_CCR_NONBASETHRDENA_Pos*/) /*!< SCB
  767. 566:Drivers/CMSIS/Include/core_cm4.h ****
  768. 567:Drivers/CMSIS/Include/core_cm4.h **** /* SCB System Handler Control and State Register Definitions */
  769. 568:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTENA_Pos 18U /*!< SCB
  770. 569:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTENA_Msk (1UL << SCB_SHCSR_USGFAULTENA_Pos) /*!< SCB
  771. 570:Drivers/CMSIS/Include/core_cm4.h ****
  772. 571:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTENA_Pos 17U /*!< SCB
  773. 572:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTENA_Msk (1UL << SCB_SHCSR_BUSFAULTENA_Pos) /*!< SCB
  774. 573:Drivers/CMSIS/Include/core_cm4.h ****
  775. 574:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTENA_Pos 16U /*!< SCB
  776. 575:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTENA_Msk (1UL << SCB_SHCSR_MEMFAULTENA_Pos) /*!< SCB
  777. 576:Drivers/CMSIS/Include/core_cm4.h ****
  778. 577:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLPENDED_Pos 15U /*!< SCB
  779. 578:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLPENDED_Msk (1UL << SCB_SHCSR_SVCALLPENDED_Pos) /*!< SCB
  780. 579:Drivers/CMSIS/Include/core_cm4.h ****
  781. 580:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTPENDED_Pos 14U /*!< SCB
  782. 581:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTPENDED_Msk (1UL << SCB_SHCSR_BUSFAULTPENDED_Pos) /*!< SCB
  783. 582:Drivers/CMSIS/Include/core_cm4.h ****
  784. 583:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTPENDED_Pos 13U /*!< SCB
  785. 584:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTPENDED_Msk (1UL << SCB_SHCSR_MEMFAULTPENDED_Pos) /*!< SCB
  786. 585:Drivers/CMSIS/Include/core_cm4.h ****
  787. 586:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTPENDED_Pos 12U /*!< SCB
  788. 587:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTPENDED_Msk (1UL << SCB_SHCSR_USGFAULTPENDED_Pos) /*!< SCB
  789. 588:Drivers/CMSIS/Include/core_cm4.h ****
  790. 589:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SYSTICKACT_Pos 11U /*!< SCB
  791. 590:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SYSTICKACT_Msk (1UL << SCB_SHCSR_SYSTICKACT_Pos) /*!< SCB
  792. 591:Drivers/CMSIS/Include/core_cm4.h ****
  793. 592:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_PENDSVACT_Pos 10U /*!< SCB
  794. 593:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_PENDSVACT_Msk (1UL << SCB_SHCSR_PENDSVACT_Pos) /*!< SCB
  795. 594:Drivers/CMSIS/Include/core_cm4.h ****
  796. 595:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MONITORACT_Pos 8U /*!< SCB
  797. 596:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MONITORACT_Msk (1UL << SCB_SHCSR_MONITORACT_Pos) /*!< SCB
  798. 597:Drivers/CMSIS/Include/core_cm4.h ****
  799. 598:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLACT_Pos 7U /*!< SCB
  800. 599:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLACT_Msk (1UL << SCB_SHCSR_SVCALLACT_Pos) /*!< SCB
  801. 600:Drivers/CMSIS/Include/core_cm4.h ****
  802. 601:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTACT_Pos 3U /*!< SCB
  803. 602:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTACT_Msk (1UL << SCB_SHCSR_USGFAULTACT_Pos) /*!< SCB
  804. 603:Drivers/CMSIS/Include/core_cm4.h ****
  805. 604:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTACT_Pos 1U /*!< SCB
  806. 605:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTACT_Msk (1UL << SCB_SHCSR_BUSFAULTACT_Pos) /*!< SCB
  807. 606:Drivers/CMSIS/Include/core_cm4.h ****
  808. 607:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTACT_Pos 0U /*!< SCB
  809. 608:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTACT_Msk (1UL /*<< SCB_SHCSR_MEMFAULTACT_Pos*/) /*!< SCB
  810. 609:Drivers/CMSIS/Include/core_cm4.h ****
  811. 610:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Configurable Fault Status Register Definitions */
  812. 611:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_USGFAULTSR_Pos 16U /*!< SCB
  813. ARM GAS /tmp/ccPRqU3T.s page 15
  814. 612:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_USGFAULTSR_Msk (0xFFFFUL << SCB_CFSR_USGFAULTSR_Pos) /*!< SCB
  815. 613:Drivers/CMSIS/Include/core_cm4.h ****
  816. 614:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BUSFAULTSR_Pos 8U /*!< SCB
  817. 615:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BUSFAULTSR_Msk (0xFFUL << SCB_CFSR_BUSFAULTSR_Pos) /*!< SCB
  818. 616:Drivers/CMSIS/Include/core_cm4.h ****
  819. 617:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MEMFAULTSR_Pos 0U /*!< SCB
  820. 618:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MEMFAULTSR_Msk (0xFFUL /*<< SCB_CFSR_MEMFAULTSR_Pos*/) /*!< SCB
  821. 619:Drivers/CMSIS/Include/core_cm4.h ****
  822. 620:Drivers/CMSIS/Include/core_cm4.h **** /* MemManage Fault Status Register (part of SCB Configurable Fault Status Register) */
  823. 621:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MMARVALID_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 7U) /*!< SCB
  824. 622:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MMARVALID_Msk (1UL << SCB_CFSR_MMARVALID_Pos) /*!< SCB
  825. 623:Drivers/CMSIS/Include/core_cm4.h ****
  826. 624:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MLSPERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 5U) /*!< SCB
  827. 625:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MLSPERR_Msk (1UL << SCB_CFSR_MLSPERR_Pos) /*!< SCB
  828. 626:Drivers/CMSIS/Include/core_cm4.h ****
  829. 627:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MSTKERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 4U) /*!< SCB
  830. 628:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MSTKERR_Msk (1UL << SCB_CFSR_MSTKERR_Pos) /*!< SCB
  831. 629:Drivers/CMSIS/Include/core_cm4.h ****
  832. 630:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MUNSTKERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 3U) /*!< SCB
  833. 631:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MUNSTKERR_Msk (1UL << SCB_CFSR_MUNSTKERR_Pos) /*!< SCB
  834. 632:Drivers/CMSIS/Include/core_cm4.h ****
  835. 633:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DACCVIOL_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 1U) /*!< SCB
  836. 634:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DACCVIOL_Msk (1UL << SCB_CFSR_DACCVIOL_Pos) /*!< SCB
  837. 635:Drivers/CMSIS/Include/core_cm4.h ****
  838. 636:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IACCVIOL_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 0U) /*!< SCB
  839. 637:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IACCVIOL_Msk (1UL /*<< SCB_CFSR_IACCVIOL_Pos*/) /*!< SCB
  840. 638:Drivers/CMSIS/Include/core_cm4.h ****
  841. 639:Drivers/CMSIS/Include/core_cm4.h **** /* BusFault Status Register (part of SCB Configurable Fault Status Register) */
  842. 640:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BFARVALID_Pos (SCB_CFSR_BUSFAULTSR_Pos + 7U) /*!< SCB
  843. 641:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BFARVALID_Msk (1UL << SCB_CFSR_BFARVALID_Pos) /*!< SCB
  844. 642:Drivers/CMSIS/Include/core_cm4.h ****
  845. 643:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_LSPERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 5U) /*!< SCB
  846. 644:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_LSPERR_Msk (1UL << SCB_CFSR_LSPERR_Pos) /*!< SCB
  847. 645:Drivers/CMSIS/Include/core_cm4.h ****
  848. 646:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_STKERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 4U) /*!< SCB
  849. 647:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_STKERR_Msk (1UL << SCB_CFSR_STKERR_Pos) /*!< SCB
  850. 648:Drivers/CMSIS/Include/core_cm4.h ****
  851. 649:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNSTKERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 3U) /*!< SCB
  852. 650:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNSTKERR_Msk (1UL << SCB_CFSR_UNSTKERR_Pos) /*!< SCB
  853. 651:Drivers/CMSIS/Include/core_cm4.h ****
  854. 652:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IMPRECISERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 2U) /*!< SCB
  855. 653:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IMPRECISERR_Msk (1UL << SCB_CFSR_IMPRECISERR_Pos) /*!< SCB
  856. 654:Drivers/CMSIS/Include/core_cm4.h ****
  857. 655:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_PRECISERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 1U) /*!< SCB
  858. 656:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_PRECISERR_Msk (1UL << SCB_CFSR_PRECISERR_Pos) /*!< SCB
  859. 657:Drivers/CMSIS/Include/core_cm4.h ****
  860. 658:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IBUSERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 0U) /*!< SCB
  861. 659:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IBUSERR_Msk (1UL << SCB_CFSR_IBUSERR_Pos) /*!< SCB
  862. 660:Drivers/CMSIS/Include/core_cm4.h ****
  863. 661:Drivers/CMSIS/Include/core_cm4.h **** /* UsageFault Status Register (part of SCB Configurable Fault Status Register) */
  864. 662:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DIVBYZERO_Pos (SCB_CFSR_USGFAULTSR_Pos + 9U) /*!< SCB
  865. 663:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DIVBYZERO_Msk (1UL << SCB_CFSR_DIVBYZERO_Pos) /*!< SCB
  866. 664:Drivers/CMSIS/Include/core_cm4.h ****
  867. 665:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNALIGNED_Pos (SCB_CFSR_USGFAULTSR_Pos + 8U) /*!< SCB
  868. 666:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNALIGNED_Msk (1UL << SCB_CFSR_UNALIGNED_Pos) /*!< SCB
  869. 667:Drivers/CMSIS/Include/core_cm4.h ****
  870. 668:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_NOCP_Pos (SCB_CFSR_USGFAULTSR_Pos + 3U) /*!< SCB
  871. ARM GAS /tmp/ccPRqU3T.s page 16
  872. 669:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_NOCP_Msk (1UL << SCB_CFSR_NOCP_Pos) /*!< SCB
  873. 670:Drivers/CMSIS/Include/core_cm4.h ****
  874. 671:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVPC_Pos (SCB_CFSR_USGFAULTSR_Pos + 2U) /*!< SCB
  875. 672:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVPC_Msk (1UL << SCB_CFSR_INVPC_Pos) /*!< SCB
  876. 673:Drivers/CMSIS/Include/core_cm4.h ****
  877. 674:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVSTATE_Pos (SCB_CFSR_USGFAULTSR_Pos + 1U) /*!< SCB
  878. 675:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVSTATE_Msk (1UL << SCB_CFSR_INVSTATE_Pos) /*!< SCB
  879. 676:Drivers/CMSIS/Include/core_cm4.h ****
  880. 677:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNDEFINSTR_Pos (SCB_CFSR_USGFAULTSR_Pos + 0U) /*!< SCB
  881. 678:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNDEFINSTR_Msk (1UL << SCB_CFSR_UNDEFINSTR_Pos) /*!< SCB
  882. 679:Drivers/CMSIS/Include/core_cm4.h ****
  883. 680:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Hard Fault Status Register Definitions */
  884. 681:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_DEBUGEVT_Pos 31U /*!< SCB
  885. 682:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_DEBUGEVT_Msk (1UL << SCB_HFSR_DEBUGEVT_Pos) /*!< SCB
  886. 683:Drivers/CMSIS/Include/core_cm4.h ****
  887. 684:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_FORCED_Pos 30U /*!< SCB
  888. 685:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_FORCED_Msk (1UL << SCB_HFSR_FORCED_Pos) /*!< SCB
  889. 686:Drivers/CMSIS/Include/core_cm4.h ****
  890. 687:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_VECTTBL_Pos 1U /*!< SCB
  891. 688:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_VECTTBL_Msk (1UL << SCB_HFSR_VECTTBL_Pos) /*!< SCB
  892. 689:Drivers/CMSIS/Include/core_cm4.h ****
  893. 690:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Debug Fault Status Register Definitions */
  894. 691:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_EXTERNAL_Pos 4U /*!< SCB
  895. 692:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_EXTERNAL_Msk (1UL << SCB_DFSR_EXTERNAL_Pos) /*!< SCB
  896. 693:Drivers/CMSIS/Include/core_cm4.h ****
  897. 694:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_VCATCH_Pos 3U /*!< SCB
  898. 695:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_VCATCH_Msk (1UL << SCB_DFSR_VCATCH_Pos) /*!< SCB
  899. 696:Drivers/CMSIS/Include/core_cm4.h ****
  900. 697:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_DWTTRAP_Pos 2U /*!< SCB
  901. 698:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_DWTTRAP_Msk (1UL << SCB_DFSR_DWTTRAP_Pos) /*!< SCB
  902. 699:Drivers/CMSIS/Include/core_cm4.h ****
  903. 700:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_BKPT_Pos 1U /*!< SCB
  904. 701:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_BKPT_Msk (1UL << SCB_DFSR_BKPT_Pos) /*!< SCB
  905. 702:Drivers/CMSIS/Include/core_cm4.h ****
  906. 703:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_HALTED_Pos 0U /*!< SCB
  907. 704:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_HALTED_Msk (1UL /*<< SCB_DFSR_HALTED_Pos*/) /*!< SCB
  908. 705:Drivers/CMSIS/Include/core_cm4.h ****
  909. 706:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_SCB */
  910. 707:Drivers/CMSIS/Include/core_cm4.h ****
  911. 708:Drivers/CMSIS/Include/core_cm4.h ****
  912. 709:Drivers/CMSIS/Include/core_cm4.h **** /**
  913. 710:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  914. 711:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_SCnSCB System Controls not in SCB (SCnSCB)
  915. 712:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the System Control and ID Register not in the SCB
  916. 713:Drivers/CMSIS/Include/core_cm4.h **** @{
  917. 714:Drivers/CMSIS/Include/core_cm4.h **** */
  918. 715:Drivers/CMSIS/Include/core_cm4.h ****
  919. 716:Drivers/CMSIS/Include/core_cm4.h **** /**
  920. 717:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the System Control and ID Register not in the SCB.
  921. 718:Drivers/CMSIS/Include/core_cm4.h **** */
  922. 719:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  923. 720:Drivers/CMSIS/Include/core_cm4.h **** {
  924. 721:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[1U];
  925. 722:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ICTR; /*!< Offset: 0x004 (R/ ) Interrupt Controller Type Regist
  926. 723:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ACTLR; /*!< Offset: 0x008 (R/W) Auxiliary Control Register */
  927. 724:Drivers/CMSIS/Include/core_cm4.h **** } SCnSCB_Type;
  928. 725:Drivers/CMSIS/Include/core_cm4.h ****
  929. ARM GAS /tmp/ccPRqU3T.s page 17
  930. 726:Drivers/CMSIS/Include/core_cm4.h **** /* Interrupt Controller Type Register Definitions */
  931. 727:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ICTR_INTLINESNUM_Pos 0U /*!< ICTR: I
  932. 728:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ICTR_INTLINESNUM_Msk (0xFUL /*<< SCnSCB_ICTR_INTLINESNUM_Pos*/) /*!< ICTR: I
  933. 729:Drivers/CMSIS/Include/core_cm4.h ****
  934. 730:Drivers/CMSIS/Include/core_cm4.h **** /* Auxiliary Control Register Definitions */
  935. 731:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISOOFP_Pos 9U /*!< ACTLR:
  936. 732:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISOOFP_Msk (1UL << SCnSCB_ACTLR_DISOOFP_Pos) /*!< ACTLR:
  937. 733:Drivers/CMSIS/Include/core_cm4.h ****
  938. 734:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFPCA_Pos 8U /*!< ACTLR:
  939. 735:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFPCA_Msk (1UL << SCnSCB_ACTLR_DISFPCA_Pos) /*!< ACTLR:
  940. 736:Drivers/CMSIS/Include/core_cm4.h ****
  941. 737:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFOLD_Pos 2U /*!< ACTLR:
  942. 738:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFOLD_Msk (1UL << SCnSCB_ACTLR_DISFOLD_Pos) /*!< ACTLR:
  943. 739:Drivers/CMSIS/Include/core_cm4.h ****
  944. 740:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISDEFWBUF_Pos 1U /*!< ACTLR:
  945. 741:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISDEFWBUF_Msk (1UL << SCnSCB_ACTLR_DISDEFWBUF_Pos) /*!< ACTLR:
  946. 742:Drivers/CMSIS/Include/core_cm4.h ****
  947. 743:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISMCYCINT_Pos 0U /*!< ACTLR:
  948. 744:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISMCYCINT_Msk (1UL /*<< SCnSCB_ACTLR_DISMCYCINT_Pos*/) /*!< ACTLR:
  949. 745:Drivers/CMSIS/Include/core_cm4.h ****
  950. 746:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_SCnotSCB */
  951. 747:Drivers/CMSIS/Include/core_cm4.h ****
  952. 748:Drivers/CMSIS/Include/core_cm4.h ****
  953. 749:Drivers/CMSIS/Include/core_cm4.h **** /**
  954. 750:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  955. 751:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_SysTick System Tick Timer (SysTick)
  956. 752:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the System Timer Registers.
  957. 753:Drivers/CMSIS/Include/core_cm4.h **** @{
  958. 754:Drivers/CMSIS/Include/core_cm4.h **** */
  959. 755:Drivers/CMSIS/Include/core_cm4.h ****
  960. 756:Drivers/CMSIS/Include/core_cm4.h **** /**
  961. 757:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the System Timer (SysTick).
  962. 758:Drivers/CMSIS/Include/core_cm4.h **** */
  963. 759:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  964. 760:Drivers/CMSIS/Include/core_cm4.h **** {
  965. 761:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Regis
  966. 762:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t LOAD; /*!< Offset: 0x004 (R/W) SysTick Reload Value Register */
  967. 763:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t VAL; /*!< Offset: 0x008 (R/W) SysTick Current Value Register *
  968. 764:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CALIB; /*!< Offset: 0x00C (R/ ) SysTick Calibration Register */
  969. 765:Drivers/CMSIS/Include/core_cm4.h **** } SysTick_Type;
  970. 766:Drivers/CMSIS/Include/core_cm4.h ****
  971. 767:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Control / Status Register Definitions */
  972. 768:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_COUNTFLAG_Pos 16U /*!< SysT
  973. 769:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_COUNTFLAG_Msk (1UL << SysTick_CTRL_COUNTFLAG_Pos) /*!< SysT
  974. 770:Drivers/CMSIS/Include/core_cm4.h ****
  975. 771:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_CLKSOURCE_Pos 2U /*!< SysT
  976. 772:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_CLKSOURCE_Msk (1UL << SysTick_CTRL_CLKSOURCE_Pos) /*!< SysT
  977. 773:Drivers/CMSIS/Include/core_cm4.h ****
  978. 774:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_TICKINT_Pos 1U /*!< SysT
  979. 775:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_TICKINT_Msk (1UL << SysTick_CTRL_TICKINT_Pos) /*!< SysT
  980. 776:Drivers/CMSIS/Include/core_cm4.h ****
  981. 777:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_ENABLE_Pos 0U /*!< SysT
  982. 778:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_ENABLE_Msk (1UL /*<< SysTick_CTRL_ENABLE_Pos*/) /*!< SysT
  983. 779:Drivers/CMSIS/Include/core_cm4.h ****
  984. 780:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Reload Register Definitions */
  985. 781:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_LOAD_RELOAD_Pos 0U /*!< SysT
  986. 782:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_LOAD_RELOAD_Msk (0xFFFFFFUL /*<< SysTick_LOAD_RELOAD_Pos*/) /*!< SysT
  987. ARM GAS /tmp/ccPRqU3T.s page 18
  988. 783:Drivers/CMSIS/Include/core_cm4.h ****
  989. 784:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Current Register Definitions */
  990. 785:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_VAL_CURRENT_Pos 0U /*!< SysT
  991. 786:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_VAL_CURRENT_Msk (0xFFFFFFUL /*<< SysTick_VAL_CURRENT_Pos*/) /*!< SysT
  992. 787:Drivers/CMSIS/Include/core_cm4.h ****
  993. 788:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Calibration Register Definitions */
  994. 789:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_NOREF_Pos 31U /*!< SysT
  995. 790:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_NOREF_Msk (1UL << SysTick_CALIB_NOREF_Pos) /*!< SysT
  996. 791:Drivers/CMSIS/Include/core_cm4.h ****
  997. 792:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_SKEW_Pos 30U /*!< SysT
  998. 793:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_SKEW_Msk (1UL << SysTick_CALIB_SKEW_Pos) /*!< SysT
  999. 794:Drivers/CMSIS/Include/core_cm4.h ****
  1000. 795:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_TENMS_Pos 0U /*!< SysT
  1001. 796:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_TENMS_Msk (0xFFFFFFUL /*<< SysTick_CALIB_TENMS_Pos*/) /*!< SysT
  1002. 797:Drivers/CMSIS/Include/core_cm4.h ****
  1003. 798:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_SysTick */
  1004. 799:Drivers/CMSIS/Include/core_cm4.h ****
  1005. 800:Drivers/CMSIS/Include/core_cm4.h ****
  1006. 801:Drivers/CMSIS/Include/core_cm4.h **** /**
  1007. 802:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1008. 803:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_ITM Instrumentation Trace Macrocell (ITM)
  1009. 804:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Instrumentation Trace Macrocell (ITM)
  1010. 805:Drivers/CMSIS/Include/core_cm4.h **** @{
  1011. 806:Drivers/CMSIS/Include/core_cm4.h **** */
  1012. 807:Drivers/CMSIS/Include/core_cm4.h ****
  1013. 808:Drivers/CMSIS/Include/core_cm4.h **** /**
  1014. 809:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Instrumentation Trace Macrocell Register (ITM).
  1015. 810:Drivers/CMSIS/Include/core_cm4.h **** */
  1016. 811:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1017. 812:Drivers/CMSIS/Include/core_cm4.h **** {
  1018. 813:Drivers/CMSIS/Include/core_cm4.h **** __OM union
  1019. 814:Drivers/CMSIS/Include/core_cm4.h **** {
  1020. 815:Drivers/CMSIS/Include/core_cm4.h **** __OM uint8_t u8; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 8-bit */
  1021. 816:Drivers/CMSIS/Include/core_cm4.h **** __OM uint16_t u16; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 16-bit */
  1022. 817:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t u32; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 32-bit */
  1023. 818:Drivers/CMSIS/Include/core_cm4.h **** } PORT [32U]; /*!< Offset: 0x000 ( /W) ITM Stimulus Port Registers */
  1024. 819:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[864U];
  1025. 820:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t TER; /*!< Offset: 0xE00 (R/W) ITM Trace Enable Register */
  1026. 821:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED1[15U];
  1027. 822:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t TPR; /*!< Offset: 0xE40 (R/W) ITM Trace Privilege Register */
  1028. 823:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[15U];
  1029. 824:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t TCR; /*!< Offset: 0xE80 (R/W) ITM Trace Control Register */
  1030. 825:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED3[29U];
  1031. 826:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t IWR; /*!< Offset: 0xEF8 ( /W) ITM Integration Write Register *
  1032. 827:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t IRR; /*!< Offset: 0xEFC (R/ ) ITM Integration Read Register */
  1033. 828:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t IMCR; /*!< Offset: 0xF00 (R/W) ITM Integration Mode Control Reg
  1034. 829:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED4[43U];
  1035. 830:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t LAR; /*!< Offset: 0xFB0 ( /W) ITM Lock Access Register */
  1036. 831:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t LSR; /*!< Offset: 0xFB4 (R/ ) ITM Lock Status Register */
  1037. 832:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED5[6U];
  1038. 833:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID4; /*!< Offset: 0xFD0 (R/ ) ITM Peripheral Identification Re
  1039. 834:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID5; /*!< Offset: 0xFD4 (R/ ) ITM Peripheral Identification Re
  1040. 835:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID6; /*!< Offset: 0xFD8 (R/ ) ITM Peripheral Identification Re
  1041. 836:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID7; /*!< Offset: 0xFDC (R/ ) ITM Peripheral Identification Re
  1042. 837:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID0; /*!< Offset: 0xFE0 (R/ ) ITM Peripheral Identification Re
  1043. 838:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID1; /*!< Offset: 0xFE4 (R/ ) ITM Peripheral Identification Re
  1044. 839:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID2; /*!< Offset: 0xFE8 (R/ ) ITM Peripheral Identification Re
  1045. ARM GAS /tmp/ccPRqU3T.s page 19
  1046. 840:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID3; /*!< Offset: 0xFEC (R/ ) ITM Peripheral Identification Re
  1047. 841:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID0; /*!< Offset: 0xFF0 (R/ ) ITM Component Identification Re
  1048. 842:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID1; /*!< Offset: 0xFF4 (R/ ) ITM Component Identification Re
  1049. 843:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID2; /*!< Offset: 0xFF8 (R/ ) ITM Component Identification Re
  1050. 844:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID3; /*!< Offset: 0xFFC (R/ ) ITM Component Identification Re
  1051. 845:Drivers/CMSIS/Include/core_cm4.h **** } ITM_Type;
  1052. 846:Drivers/CMSIS/Include/core_cm4.h ****
  1053. 847:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Trace Privilege Register Definitions */
  1054. 848:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TPR_PRIVMASK_Pos 0U /*!< ITM
  1055. 849:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TPR_PRIVMASK_Msk (0xFFFFFFFFUL /*<< ITM_TPR_PRIVMASK_Pos*/) /*!< ITM
  1056. 850:Drivers/CMSIS/Include/core_cm4.h ****
  1057. 851:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Trace Control Register Definitions */
  1058. 852:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_BUSY_Pos 23U /*!< ITM
  1059. 853:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_BUSY_Msk (1UL << ITM_TCR_BUSY_Pos) /*!< ITM
  1060. 854:Drivers/CMSIS/Include/core_cm4.h ****
  1061. 855:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TraceBusID_Pos 16U /*!< ITM
  1062. 856:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TraceBusID_Msk (0x7FUL << ITM_TCR_TraceBusID_Pos) /*!< ITM
  1063. 857:Drivers/CMSIS/Include/core_cm4.h ****
  1064. 858:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_GTSFREQ_Pos 10U /*!< ITM
  1065. 859:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_GTSFREQ_Msk (3UL << ITM_TCR_GTSFREQ_Pos) /*!< ITM
  1066. 860:Drivers/CMSIS/Include/core_cm4.h ****
  1067. 861:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSPrescale_Pos 8U /*!< ITM
  1068. 862:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSPrescale_Msk (3UL << ITM_TCR_TSPrescale_Pos) /*!< ITM
  1069. 863:Drivers/CMSIS/Include/core_cm4.h ****
  1070. 864:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SWOENA_Pos 4U /*!< ITM
  1071. 865:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SWOENA_Msk (1UL << ITM_TCR_SWOENA_Pos) /*!< ITM
  1072. 866:Drivers/CMSIS/Include/core_cm4.h ****
  1073. 867:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_DWTENA_Pos 3U /*!< ITM
  1074. 868:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_DWTENA_Msk (1UL << ITM_TCR_DWTENA_Pos) /*!< ITM
  1075. 869:Drivers/CMSIS/Include/core_cm4.h ****
  1076. 870:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SYNCENA_Pos 2U /*!< ITM
  1077. 871:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SYNCENA_Msk (1UL << ITM_TCR_SYNCENA_Pos) /*!< ITM
  1078. 872:Drivers/CMSIS/Include/core_cm4.h ****
  1079. 873:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSENA_Pos 1U /*!< ITM
  1080. 874:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSENA_Msk (1UL << ITM_TCR_TSENA_Pos) /*!< ITM
  1081. 875:Drivers/CMSIS/Include/core_cm4.h ****
  1082. 876:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_ITMENA_Pos 0U /*!< ITM
  1083. 877:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_ITMENA_Msk (1UL /*<< ITM_TCR_ITMENA_Pos*/) /*!< ITM
  1084. 878:Drivers/CMSIS/Include/core_cm4.h ****
  1085. 879:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Integration Write Register Definitions */
  1086. 880:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IWR_ATVALIDM_Pos 0U /*!< ITM
  1087. 881:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IWR_ATVALIDM_Msk (1UL /*<< ITM_IWR_ATVALIDM_Pos*/) /*!< ITM
  1088. 882:Drivers/CMSIS/Include/core_cm4.h ****
  1089. 883:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Integration Read Register Definitions */
  1090. 884:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IRR_ATREADYM_Pos 0U /*!< ITM
  1091. 885:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IRR_ATREADYM_Msk (1UL /*<< ITM_IRR_ATREADYM_Pos*/) /*!< ITM
  1092. 886:Drivers/CMSIS/Include/core_cm4.h ****
  1093. 887:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Integration Mode Control Register Definitions */
  1094. 888:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IMCR_INTEGRATION_Pos 0U /*!< ITM
  1095. 889:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IMCR_INTEGRATION_Msk (1UL /*<< ITM_IMCR_INTEGRATION_Pos*/) /*!< ITM
  1096. 890:Drivers/CMSIS/Include/core_cm4.h ****
  1097. 891:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Lock Status Register Definitions */
  1098. 892:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_ByteAcc_Pos 2U /*!< ITM
  1099. 893:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_ByteAcc_Msk (1UL << ITM_LSR_ByteAcc_Pos) /*!< ITM
  1100. 894:Drivers/CMSIS/Include/core_cm4.h ****
  1101. 895:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Access_Pos 1U /*!< ITM
  1102. 896:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Access_Msk (1UL << ITM_LSR_Access_Pos) /*!< ITM
  1103. ARM GAS /tmp/ccPRqU3T.s page 20
  1104. 897:Drivers/CMSIS/Include/core_cm4.h ****
  1105. 898:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Present_Pos 0U /*!< ITM
  1106. 899:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Present_Msk (1UL /*<< ITM_LSR_Present_Pos*/) /*!< ITM
  1107. 900:Drivers/CMSIS/Include/core_cm4.h ****
  1108. 901:Drivers/CMSIS/Include/core_cm4.h **** /*@}*/ /* end of group CMSIS_ITM */
  1109. 902:Drivers/CMSIS/Include/core_cm4.h ****
  1110. 903:Drivers/CMSIS/Include/core_cm4.h ****
  1111. 904:Drivers/CMSIS/Include/core_cm4.h **** /**
  1112. 905:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1113. 906:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_DWT Data Watchpoint and Trace (DWT)
  1114. 907:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Data Watchpoint and Trace (DWT)
  1115. 908:Drivers/CMSIS/Include/core_cm4.h **** @{
  1116. 909:Drivers/CMSIS/Include/core_cm4.h **** */
  1117. 910:Drivers/CMSIS/Include/core_cm4.h ****
  1118. 911:Drivers/CMSIS/Include/core_cm4.h **** /**
  1119. 912:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Data Watchpoint and Trace Register (DWT).
  1120. 913:Drivers/CMSIS/Include/core_cm4.h **** */
  1121. 914:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1122. 915:Drivers/CMSIS/Include/core_cm4.h **** {
  1123. 916:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) Control Register */
  1124. 917:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CYCCNT; /*!< Offset: 0x004 (R/W) Cycle Count Register */
  1125. 918:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CPICNT; /*!< Offset: 0x008 (R/W) CPI Count Register */
  1126. 919:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t EXCCNT; /*!< Offset: 0x00C (R/W) Exception Overhead Count Registe
  1127. 920:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SLEEPCNT; /*!< Offset: 0x010 (R/W) Sleep Count Register */
  1128. 921:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t LSUCNT; /*!< Offset: 0x014 (R/W) LSU Count Register */
  1129. 922:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FOLDCNT; /*!< Offset: 0x018 (R/W) Folded-instruction Count Registe
  1130. 923:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PCSR; /*!< Offset: 0x01C (R/ ) Program Counter Sample Register
  1131. 924:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP0; /*!< Offset: 0x020 (R/W) Comparator Register 0 */
  1132. 925:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK0; /*!< Offset: 0x024 (R/W) Mask Register 0 */
  1133. 926:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION0; /*!< Offset: 0x028 (R/W) Function Register 0 */
  1134. 927:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[1U];
  1135. 928:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP1; /*!< Offset: 0x030 (R/W) Comparator Register 1 */
  1136. 929:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK1; /*!< Offset: 0x034 (R/W) Mask Register 1 */
  1137. 930:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION1; /*!< Offset: 0x038 (R/W) Function Register 1 */
  1138. 931:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED1[1U];
  1139. 932:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP2; /*!< Offset: 0x040 (R/W) Comparator Register 2 */
  1140. 933:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK2; /*!< Offset: 0x044 (R/W) Mask Register 2 */
  1141. 934:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION2; /*!< Offset: 0x048 (R/W) Function Register 2 */
  1142. 935:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[1U];
  1143. 936:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP3; /*!< Offset: 0x050 (R/W) Comparator Register 3 */
  1144. 937:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK3; /*!< Offset: 0x054 (R/W) Mask Register 3 */
  1145. 938:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION3; /*!< Offset: 0x058 (R/W) Function Register 3 */
  1146. 939:Drivers/CMSIS/Include/core_cm4.h **** } DWT_Type;
  1147. 940:Drivers/CMSIS/Include/core_cm4.h ****
  1148. 941:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Control Register Definitions */
  1149. 942:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NUMCOMP_Pos 28U /*!< DWT CTR
  1150. 943:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NUMCOMP_Msk (0xFUL << DWT_CTRL_NUMCOMP_Pos) /*!< DWT CTR
  1151. 944:Drivers/CMSIS/Include/core_cm4.h ****
  1152. 945:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOTRCPKT_Pos 27U /*!< DWT CTR
  1153. 946:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOTRCPKT_Msk (0x1UL << DWT_CTRL_NOTRCPKT_Pos) /*!< DWT CTR
  1154. 947:Drivers/CMSIS/Include/core_cm4.h ****
  1155. 948:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOEXTTRIG_Pos 26U /*!< DWT CTR
  1156. 949:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOEXTTRIG_Msk (0x1UL << DWT_CTRL_NOEXTTRIG_Pos) /*!< DWT CTR
  1157. 950:Drivers/CMSIS/Include/core_cm4.h ****
  1158. 951:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOCYCCNT_Pos 25U /*!< DWT CTR
  1159. 952:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOCYCCNT_Msk (0x1UL << DWT_CTRL_NOCYCCNT_Pos) /*!< DWT CTR
  1160. 953:Drivers/CMSIS/Include/core_cm4.h ****
  1161. ARM GAS /tmp/ccPRqU3T.s page 21
  1162. 954:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOPRFCNT_Pos 24U /*!< DWT CTR
  1163. 955:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOPRFCNT_Msk (0x1UL << DWT_CTRL_NOPRFCNT_Pos) /*!< DWT CTR
  1164. 956:Drivers/CMSIS/Include/core_cm4.h ****
  1165. 957:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCEVTENA_Pos 22U /*!< DWT CTR
  1166. 958:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCEVTENA_Msk (0x1UL << DWT_CTRL_CYCEVTENA_Pos) /*!< DWT CTR
  1167. 959:Drivers/CMSIS/Include/core_cm4.h ****
  1168. 960:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_FOLDEVTENA_Pos 21U /*!< DWT CTR
  1169. 961:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_FOLDEVTENA_Msk (0x1UL << DWT_CTRL_FOLDEVTENA_Pos) /*!< DWT CTR
  1170. 962:Drivers/CMSIS/Include/core_cm4.h ****
  1171. 963:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_LSUEVTENA_Pos 20U /*!< DWT CTR
  1172. 964:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_LSUEVTENA_Msk (0x1UL << DWT_CTRL_LSUEVTENA_Pos) /*!< DWT CTR
  1173. 965:Drivers/CMSIS/Include/core_cm4.h ****
  1174. 966:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SLEEPEVTENA_Pos 19U /*!< DWT CTR
  1175. 967:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SLEEPEVTENA_Msk (0x1UL << DWT_CTRL_SLEEPEVTENA_Pos) /*!< DWT CTR
  1176. 968:Drivers/CMSIS/Include/core_cm4.h ****
  1177. 969:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCEVTENA_Pos 18U /*!< DWT CTR
  1178. 970:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCEVTENA_Msk (0x1UL << DWT_CTRL_EXCEVTENA_Pos) /*!< DWT CTR
  1179. 971:Drivers/CMSIS/Include/core_cm4.h ****
  1180. 972:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CPIEVTENA_Pos 17U /*!< DWT CTR
  1181. 973:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CPIEVTENA_Msk (0x1UL << DWT_CTRL_CPIEVTENA_Pos) /*!< DWT CTR
  1182. 974:Drivers/CMSIS/Include/core_cm4.h ****
  1183. 975:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCTRCENA_Pos 16U /*!< DWT CTR
  1184. 976:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCTRCENA_Msk (0x1UL << DWT_CTRL_EXCTRCENA_Pos) /*!< DWT CTR
  1185. 977:Drivers/CMSIS/Include/core_cm4.h ****
  1186. 978:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_PCSAMPLENA_Pos 12U /*!< DWT CTR
  1187. 979:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_PCSAMPLENA_Msk (0x1UL << DWT_CTRL_PCSAMPLENA_Pos) /*!< DWT CTR
  1188. 980:Drivers/CMSIS/Include/core_cm4.h ****
  1189. 981:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SYNCTAP_Pos 10U /*!< DWT CTR
  1190. 982:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SYNCTAP_Msk (0x3UL << DWT_CTRL_SYNCTAP_Pos) /*!< DWT CTR
  1191. 983:Drivers/CMSIS/Include/core_cm4.h ****
  1192. 984:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCTAP_Pos 9U /*!< DWT CTR
  1193. 985:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCTAP_Msk (0x1UL << DWT_CTRL_CYCTAP_Pos) /*!< DWT CTR
  1194. 986:Drivers/CMSIS/Include/core_cm4.h ****
  1195. 987:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTINIT_Pos 5U /*!< DWT CTR
  1196. 988:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTINIT_Msk (0xFUL << DWT_CTRL_POSTINIT_Pos) /*!< DWT CTR
  1197. 989:Drivers/CMSIS/Include/core_cm4.h ****
  1198. 990:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTPRESET_Pos 1U /*!< DWT CTR
  1199. 991:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTPRESET_Msk (0xFUL << DWT_CTRL_POSTPRESET_Pos) /*!< DWT CTR
  1200. 992:Drivers/CMSIS/Include/core_cm4.h ****
  1201. 993:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCCNTENA_Pos 0U /*!< DWT CTR
  1202. 994:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCCNTENA_Msk (0x1UL /*<< DWT_CTRL_CYCCNTENA_Pos*/) /*!< DWT CTR
  1203. 995:Drivers/CMSIS/Include/core_cm4.h ****
  1204. 996:Drivers/CMSIS/Include/core_cm4.h **** /* DWT CPI Count Register Definitions */
  1205. 997:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CPICNT_CPICNT_Pos 0U /*!< DWT CPI
  1206. 998:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CPICNT_CPICNT_Msk (0xFFUL /*<< DWT_CPICNT_CPICNT_Pos*/) /*!< DWT CPI
  1207. 999:Drivers/CMSIS/Include/core_cm4.h ****
  1208. 1000:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Exception Overhead Count Register Definitions */
  1209. 1001:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_EXCCNT_EXCCNT_Pos 0U /*!< DWT EXC
  1210. 1002:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_EXCCNT_EXCCNT_Msk (0xFFUL /*<< DWT_EXCCNT_EXCCNT_Pos*/) /*!< DWT EXC
  1211. 1003:Drivers/CMSIS/Include/core_cm4.h ****
  1212. 1004:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Sleep Count Register Definitions */
  1213. 1005:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_SLEEPCNT_SLEEPCNT_Pos 0U /*!< DWT SLE
  1214. 1006:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_SLEEPCNT_SLEEPCNT_Msk (0xFFUL /*<< DWT_SLEEPCNT_SLEEPCNT_Pos*/) /*!< DWT SLE
  1215. 1007:Drivers/CMSIS/Include/core_cm4.h ****
  1216. 1008:Drivers/CMSIS/Include/core_cm4.h **** /* DWT LSU Count Register Definitions */
  1217. 1009:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_LSUCNT_LSUCNT_Pos 0U /*!< DWT LSU
  1218. 1010:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_LSUCNT_LSUCNT_Msk (0xFFUL /*<< DWT_LSUCNT_LSUCNT_Pos*/) /*!< DWT LSU
  1219. ARM GAS /tmp/ccPRqU3T.s page 22
  1220. 1011:Drivers/CMSIS/Include/core_cm4.h ****
  1221. 1012:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Folded-instruction Count Register Definitions */
  1222. 1013:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FOLDCNT_FOLDCNT_Pos 0U /*!< DWT FOL
  1223. 1014:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FOLDCNT_FOLDCNT_Msk (0xFFUL /*<< DWT_FOLDCNT_FOLDCNT_Pos*/) /*!< DWT FOL
  1224. 1015:Drivers/CMSIS/Include/core_cm4.h ****
  1225. 1016:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Comparator Mask Register Definitions */
  1226. 1017:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_MASK_MASK_Pos 0U /*!< DWT MAS
  1227. 1018:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_MASK_MASK_Msk (0x1FUL /*<< DWT_MASK_MASK_Pos*/) /*!< DWT MAS
  1228. 1019:Drivers/CMSIS/Include/core_cm4.h ****
  1229. 1020:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Comparator Function Register Definitions */
  1230. 1021:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_MATCHED_Pos 24U /*!< DWT FUN
  1231. 1022:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_MATCHED_Msk (0x1UL << DWT_FUNCTION_MATCHED_Pos) /*!< DWT FUN
  1232. 1023:Drivers/CMSIS/Include/core_cm4.h ****
  1233. 1024:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR1_Pos 16U /*!< DWT FUN
  1234. 1025:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR1_Msk (0xFUL << DWT_FUNCTION_DATAVADDR1_Pos) /*!< DWT FUN
  1235. 1026:Drivers/CMSIS/Include/core_cm4.h ****
  1236. 1027:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR0_Pos 12U /*!< DWT FUN
  1237. 1028:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR0_Msk (0xFUL << DWT_FUNCTION_DATAVADDR0_Pos) /*!< DWT FUN
  1238. 1029:Drivers/CMSIS/Include/core_cm4.h ****
  1239. 1030:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVSIZE_Pos 10U /*!< DWT FUN
  1240. 1031:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVSIZE_Msk (0x3UL << DWT_FUNCTION_DATAVSIZE_Pos) /*!< DWT FUN
  1241. 1032:Drivers/CMSIS/Include/core_cm4.h ****
  1242. 1033:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_LNK1ENA_Pos 9U /*!< DWT FUN
  1243. 1034:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_LNK1ENA_Msk (0x1UL << DWT_FUNCTION_LNK1ENA_Pos) /*!< DWT FUN
  1244. 1035:Drivers/CMSIS/Include/core_cm4.h ****
  1245. 1036:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVMATCH_Pos 8U /*!< DWT FUN
  1246. 1037:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVMATCH_Msk (0x1UL << DWT_FUNCTION_DATAVMATCH_Pos) /*!< DWT FUN
  1247. 1038:Drivers/CMSIS/Include/core_cm4.h ****
  1248. 1039:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_CYCMATCH_Pos 7U /*!< DWT FUN
  1249. 1040:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_CYCMATCH_Msk (0x1UL << DWT_FUNCTION_CYCMATCH_Pos) /*!< DWT FUN
  1250. 1041:Drivers/CMSIS/Include/core_cm4.h ****
  1251. 1042:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_EMITRANGE_Pos 5U /*!< DWT FUN
  1252. 1043:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_EMITRANGE_Msk (0x1UL << DWT_FUNCTION_EMITRANGE_Pos) /*!< DWT FUN
  1253. 1044:Drivers/CMSIS/Include/core_cm4.h ****
  1254. 1045:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_FUNCTION_Pos 0U /*!< DWT FUN
  1255. 1046:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_FUNCTION_Msk (0xFUL /*<< DWT_FUNCTION_FUNCTION_Pos*/) /*!< DWT FUN
  1256. 1047:Drivers/CMSIS/Include/core_cm4.h ****
  1257. 1048:Drivers/CMSIS/Include/core_cm4.h **** /*@}*/ /* end of group CMSIS_DWT */
  1258. 1049:Drivers/CMSIS/Include/core_cm4.h ****
  1259. 1050:Drivers/CMSIS/Include/core_cm4.h ****
  1260. 1051:Drivers/CMSIS/Include/core_cm4.h **** /**
  1261. 1052:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1262. 1053:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_TPI Trace Port Interface (TPI)
  1263. 1054:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Trace Port Interface (TPI)
  1264. 1055:Drivers/CMSIS/Include/core_cm4.h **** @{
  1265. 1056:Drivers/CMSIS/Include/core_cm4.h **** */
  1266. 1057:Drivers/CMSIS/Include/core_cm4.h ****
  1267. 1058:Drivers/CMSIS/Include/core_cm4.h **** /**
  1268. 1059:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Trace Port Interface Register (TPI).
  1269. 1060:Drivers/CMSIS/Include/core_cm4.h **** */
  1270. 1061:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1271. 1062:Drivers/CMSIS/Include/core_cm4.h **** {
  1272. 1063:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t SSPSR; /*!< Offset: 0x000 (R/ ) Supported Parallel Port Size Reg
  1273. 1064:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CSPSR; /*!< Offset: 0x004 (R/W) Current Parallel Port Size Regis
  1274. 1065:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[2U];
  1275. 1066:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ACPR; /*!< Offset: 0x010 (R/W) Asynchronous Clock Prescaler Reg
  1276. 1067:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED1[55U];
  1277. ARM GAS /tmp/ccPRqU3T.s page 23
  1278. 1068:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SPPR; /*!< Offset: 0x0F0 (R/W) Selected Pin Protocol Register *
  1279. 1069:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[131U];
  1280. 1070:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FFSR; /*!< Offset: 0x300 (R/ ) Formatter and Flush Status Regis
  1281. 1071:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FFCR; /*!< Offset: 0x304 (R/W) Formatter and Flush Control Regi
  1282. 1072:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FSCR; /*!< Offset: 0x308 (R/ ) Formatter Synchronization Counte
  1283. 1073:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED3[759U];
  1284. 1074:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t TRIGGER; /*!< Offset: 0xEE8 (R/ ) TRIGGER Register */
  1285. 1075:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FIFO0; /*!< Offset: 0xEEC (R/ ) Integration ETM Data */
  1286. 1076:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ITATBCTR2; /*!< Offset: 0xEF0 (R/ ) ITATBCTR2 */
  1287. 1077:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED4[1U];
  1288. 1078:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ITATBCTR0; /*!< Offset: 0xEF8 (R/ ) ITATBCTR0 */
  1289. 1079:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FIFO1; /*!< Offset: 0xEFC (R/ ) Integration ITM Data */
  1290. 1080:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ITCTRL; /*!< Offset: 0xF00 (R/W) Integration Mode Control */
  1291. 1081:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED5[39U];
  1292. 1082:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CLAIMSET; /*!< Offset: 0xFA0 (R/W) Claim tag set */
  1293. 1083:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CLAIMCLR; /*!< Offset: 0xFA4 (R/W) Claim tag clear */
  1294. 1084:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED7[8U];
  1295. 1085:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t DEVID; /*!< Offset: 0xFC8 (R/ ) TPIU_DEVID */
  1296. 1086:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t DEVTYPE; /*!< Offset: 0xFCC (R/ ) TPIU_DEVTYPE */
  1297. 1087:Drivers/CMSIS/Include/core_cm4.h **** } TPI_Type;
  1298. 1088:Drivers/CMSIS/Include/core_cm4.h ****
  1299. 1089:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Asynchronous Clock Prescaler Register Definitions */
  1300. 1090:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ACPR_PRESCALER_Pos 0U /*!< TPI ACP
  1301. 1091:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ACPR_PRESCALER_Msk (0x1FFFUL /*<< TPI_ACPR_PRESCALER_Pos*/) /*!< TPI ACP
  1302. 1092:Drivers/CMSIS/Include/core_cm4.h ****
  1303. 1093:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Selected Pin Protocol Register Definitions */
  1304. 1094:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_SPPR_TXMODE_Pos 0U /*!< TPI SPP
  1305. 1095:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_SPPR_TXMODE_Msk (0x3UL /*<< TPI_SPPR_TXMODE_Pos*/) /*!< TPI SPP
  1306. 1096:Drivers/CMSIS/Include/core_cm4.h ****
  1307. 1097:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Formatter and Flush Status Register Definitions */
  1308. 1098:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtNonStop_Pos 3U /*!< TPI FFS
  1309. 1099:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtNonStop_Msk (0x1UL << TPI_FFSR_FtNonStop_Pos) /*!< TPI FFS
  1310. 1100:Drivers/CMSIS/Include/core_cm4.h ****
  1311. 1101:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_TCPresent_Pos 2U /*!< TPI FFS
  1312. 1102:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_TCPresent_Msk (0x1UL << TPI_FFSR_TCPresent_Pos) /*!< TPI FFS
  1313. 1103:Drivers/CMSIS/Include/core_cm4.h ****
  1314. 1104:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtStopped_Pos 1U /*!< TPI FFS
  1315. 1105:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtStopped_Msk (0x1UL << TPI_FFSR_FtStopped_Pos) /*!< TPI FFS
  1316. 1106:Drivers/CMSIS/Include/core_cm4.h ****
  1317. 1107:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FlInProg_Pos 0U /*!< TPI FFS
  1318. 1108:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FlInProg_Msk (0x1UL /*<< TPI_FFSR_FlInProg_Pos*/) /*!< TPI FFS
  1319. 1109:Drivers/CMSIS/Include/core_cm4.h ****
  1320. 1110:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Formatter and Flush Control Register Definitions */
  1321. 1111:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_TrigIn_Pos 8U /*!< TPI FFC
  1322. 1112:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_TrigIn_Msk (0x1UL << TPI_FFCR_TrigIn_Pos) /*!< TPI FFC
  1323. 1113:Drivers/CMSIS/Include/core_cm4.h ****
  1324. 1114:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_EnFCont_Pos 1U /*!< TPI FFC
  1325. 1115:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_EnFCont_Msk (0x1UL << TPI_FFCR_EnFCont_Pos) /*!< TPI FFC
  1326. 1116:Drivers/CMSIS/Include/core_cm4.h ****
  1327. 1117:Drivers/CMSIS/Include/core_cm4.h **** /* TPI TRIGGER Register Definitions */
  1328. 1118:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_TRIGGER_TRIGGER_Pos 0U /*!< TPI TRI
  1329. 1119:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_TRIGGER_TRIGGER_Msk (0x1UL /*<< TPI_TRIGGER_TRIGGER_Pos*/) /*!< TPI TRI
  1330. 1120:Drivers/CMSIS/Include/core_cm4.h ****
  1331. 1121:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Integration ETM Data Register Definitions (FIFO0) */
  1332. 1122:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_ATVALID_Pos 29U /*!< TPI FIF
  1333. 1123:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_ATVALID_Msk (0x3UL << TPI_FIFO0_ITM_ATVALID_Pos) /*!< TPI FIF
  1334. 1124:Drivers/CMSIS/Include/core_cm4.h ****
  1335. ARM GAS /tmp/ccPRqU3T.s page 24
  1336. 1125:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_bytecount_Pos 27U /*!< TPI FIF
  1337. 1126:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_bytecount_Msk (0x3UL << TPI_FIFO0_ITM_bytecount_Pos) /*!< TPI FIF
  1338. 1127:Drivers/CMSIS/Include/core_cm4.h ****
  1339. 1128:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_ATVALID_Pos 26U /*!< TPI FIF
  1340. 1129:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_ATVALID_Msk (0x3UL << TPI_FIFO0_ETM_ATVALID_Pos) /*!< TPI FIF
  1341. 1130:Drivers/CMSIS/Include/core_cm4.h ****
  1342. 1131:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_bytecount_Pos 24U /*!< TPI FIF
  1343. 1132:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_bytecount_Msk (0x3UL << TPI_FIFO0_ETM_bytecount_Pos) /*!< TPI FIF
  1344. 1133:Drivers/CMSIS/Include/core_cm4.h ****
  1345. 1134:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM2_Pos 16U /*!< TPI FIF
  1346. 1135:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM2_Msk (0xFFUL << TPI_FIFO0_ETM2_Pos) /*!< TPI FIF
  1347. 1136:Drivers/CMSIS/Include/core_cm4.h ****
  1348. 1137:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM1_Pos 8U /*!< TPI FIF
  1349. 1138:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM1_Msk (0xFFUL << TPI_FIFO0_ETM1_Pos) /*!< TPI FIF
  1350. 1139:Drivers/CMSIS/Include/core_cm4.h ****
  1351. 1140:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM0_Pos 0U /*!< TPI FIF
  1352. 1141:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM0_Msk (0xFFUL /*<< TPI_FIFO0_ETM0_Pos*/) /*!< TPI FIF
  1353. 1142:Drivers/CMSIS/Include/core_cm4.h ****
  1354. 1143:Drivers/CMSIS/Include/core_cm4.h **** /* TPI ITATBCTR2 Register Definitions */
  1355. 1144:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY2_Pos 0U /*!< TPI ITA
  1356. 1145:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY2_Msk (0x1UL /*<< TPI_ITATBCTR2_ATREADY2_Pos*/) /*!< TPI ITA
  1357. 1146:Drivers/CMSIS/Include/core_cm4.h ****
  1358. 1147:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY1_Pos 0U /*!< TPI ITA
  1359. 1148:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY1_Msk (0x1UL /*<< TPI_ITATBCTR2_ATREADY1_Pos*/) /*!< TPI ITA
  1360. 1149:Drivers/CMSIS/Include/core_cm4.h ****
  1361. 1150:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Integration ITM Data Register Definitions (FIFO1) */
  1362. 1151:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_ATVALID_Pos 29U /*!< TPI FIF
  1363. 1152:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_ATVALID_Msk (0x3UL << TPI_FIFO1_ITM_ATVALID_Pos) /*!< TPI FIF
  1364. 1153:Drivers/CMSIS/Include/core_cm4.h ****
  1365. 1154:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_bytecount_Pos 27U /*!< TPI FIF
  1366. 1155:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_bytecount_Msk (0x3UL << TPI_FIFO1_ITM_bytecount_Pos) /*!< TPI FIF
  1367. 1156:Drivers/CMSIS/Include/core_cm4.h ****
  1368. 1157:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_ATVALID_Pos 26U /*!< TPI FIF
  1369. 1158:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_ATVALID_Msk (0x3UL << TPI_FIFO1_ETM_ATVALID_Pos) /*!< TPI FIF
  1370. 1159:Drivers/CMSIS/Include/core_cm4.h ****
  1371. 1160:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_bytecount_Pos 24U /*!< TPI FIF
  1372. 1161:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_bytecount_Msk (0x3UL << TPI_FIFO1_ETM_bytecount_Pos) /*!< TPI FIF
  1373. 1162:Drivers/CMSIS/Include/core_cm4.h ****
  1374. 1163:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM2_Pos 16U /*!< TPI FIF
  1375. 1164:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM2_Msk (0xFFUL << TPI_FIFO1_ITM2_Pos) /*!< TPI FIF
  1376. 1165:Drivers/CMSIS/Include/core_cm4.h ****
  1377. 1166:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM1_Pos 8U /*!< TPI FIF
  1378. 1167:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM1_Msk (0xFFUL << TPI_FIFO1_ITM1_Pos) /*!< TPI FIF
  1379. 1168:Drivers/CMSIS/Include/core_cm4.h ****
  1380. 1169:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM0_Pos 0U /*!< TPI FIF
  1381. 1170:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM0_Msk (0xFFUL /*<< TPI_FIFO1_ITM0_Pos*/) /*!< TPI FIF
  1382. 1171:Drivers/CMSIS/Include/core_cm4.h ****
  1383. 1172:Drivers/CMSIS/Include/core_cm4.h **** /* TPI ITATBCTR0 Register Definitions */
  1384. 1173:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY2_Pos 0U /*!< TPI ITA
  1385. 1174:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY2_Msk (0x1UL /*<< TPI_ITATBCTR0_ATREADY2_Pos*/) /*!< TPI ITA
  1386. 1175:Drivers/CMSIS/Include/core_cm4.h ****
  1387. 1176:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY1_Pos 0U /*!< TPI ITA
  1388. 1177:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY1_Msk (0x1UL /*<< TPI_ITATBCTR0_ATREADY1_Pos*/) /*!< TPI ITA
  1389. 1178:Drivers/CMSIS/Include/core_cm4.h ****
  1390. 1179:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Integration Mode Control Register Definitions */
  1391. 1180:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITCTRL_Mode_Pos 0U /*!< TPI ITC
  1392. 1181:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITCTRL_Mode_Msk (0x3UL /*<< TPI_ITCTRL_Mode_Pos*/) /*!< TPI ITC
  1393. ARM GAS /tmp/ccPRqU3T.s page 25
  1394. 1182:Drivers/CMSIS/Include/core_cm4.h ****
  1395. 1183:Drivers/CMSIS/Include/core_cm4.h **** /* TPI DEVID Register Definitions */
  1396. 1184:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NRZVALID_Pos 11U /*!< TPI DEV
  1397. 1185:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NRZVALID_Msk (0x1UL << TPI_DEVID_NRZVALID_Pos) /*!< TPI DEV
  1398. 1186:Drivers/CMSIS/Include/core_cm4.h ****
  1399. 1187:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MANCVALID_Pos 10U /*!< TPI DEV
  1400. 1188:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MANCVALID_Msk (0x1UL << TPI_DEVID_MANCVALID_Pos) /*!< TPI DEV
  1401. 1189:Drivers/CMSIS/Include/core_cm4.h ****
  1402. 1190:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_PTINVALID_Pos 9U /*!< TPI DEV
  1403. 1191:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_PTINVALID_Msk (0x1UL << TPI_DEVID_PTINVALID_Pos) /*!< TPI DEV
  1404. 1192:Drivers/CMSIS/Include/core_cm4.h ****
  1405. 1193:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MinBufSz_Pos 6U /*!< TPI DEV
  1406. 1194:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MinBufSz_Msk (0x7UL << TPI_DEVID_MinBufSz_Pos) /*!< TPI DEV
  1407. 1195:Drivers/CMSIS/Include/core_cm4.h ****
  1408. 1196:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_AsynClkIn_Pos 5U /*!< TPI DEV
  1409. 1197:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_AsynClkIn_Msk (0x1UL << TPI_DEVID_AsynClkIn_Pos) /*!< TPI DEV
  1410. 1198:Drivers/CMSIS/Include/core_cm4.h ****
  1411. 1199:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NrTraceInput_Pos 0U /*!< TPI DEV
  1412. 1200:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NrTraceInput_Msk (0x1FUL /*<< TPI_DEVID_NrTraceInput_Pos*/) /*!< TPI DEV
  1413. 1201:Drivers/CMSIS/Include/core_cm4.h ****
  1414. 1202:Drivers/CMSIS/Include/core_cm4.h **** /* TPI DEVTYPE Register Definitions */
  1415. 1203:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_SubType_Pos 4U /*!< TPI DEV
  1416. 1204:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_SubType_Msk (0xFUL /*<< TPI_DEVTYPE_SubType_Pos*/) /*!< TPI DEV
  1417. 1205:Drivers/CMSIS/Include/core_cm4.h ****
  1418. 1206:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_MajorType_Pos 0U /*!< TPI DEV
  1419. 1207:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_MajorType_Msk (0xFUL << TPI_DEVTYPE_MajorType_Pos) /*!< TPI DEV
  1420. 1208:Drivers/CMSIS/Include/core_cm4.h ****
  1421. 1209:Drivers/CMSIS/Include/core_cm4.h **** /*@}*/ /* end of group CMSIS_TPI */
  1422. 1210:Drivers/CMSIS/Include/core_cm4.h ****
  1423. 1211:Drivers/CMSIS/Include/core_cm4.h ****
  1424. 1212:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
  1425. 1213:Drivers/CMSIS/Include/core_cm4.h **** /**
  1426. 1214:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1427. 1215:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_MPU Memory Protection Unit (MPU)
  1428. 1216:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Memory Protection Unit (MPU)
  1429. 1217:Drivers/CMSIS/Include/core_cm4.h **** @{
  1430. 1218:Drivers/CMSIS/Include/core_cm4.h **** */
  1431. 1219:Drivers/CMSIS/Include/core_cm4.h ****
  1432. 1220:Drivers/CMSIS/Include/core_cm4.h **** /**
  1433. 1221:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Memory Protection Unit (MPU).
  1434. 1222:Drivers/CMSIS/Include/core_cm4.h **** */
  1435. 1223:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1436. 1224:Drivers/CMSIS/Include/core_cm4.h **** {
  1437. 1225:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t TYPE; /*!< Offset: 0x000 (R/ ) MPU Type Register */
  1438. 1226:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CTRL; /*!< Offset: 0x004 (R/W) MPU Control Register */
  1439. 1227:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RNR; /*!< Offset: 0x008 (R/W) MPU Region RNRber Register */
  1440. 1228:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR; /*!< Offset: 0x00C (R/W) MPU Region Base Address Register
  1441. 1229:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR; /*!< Offset: 0x010 (R/W) MPU Region Attribute and Size Re
  1442. 1230:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR_A1; /*!< Offset: 0x014 (R/W) MPU Alias 1 Region Base Address
  1443. 1231:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR_A1; /*!< Offset: 0x018 (R/W) MPU Alias 1 Region Attribute and
  1444. 1232:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR_A2; /*!< Offset: 0x01C (R/W) MPU Alias 2 Region Base Address
  1445. 1233:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR_A2; /*!< Offset: 0x020 (R/W) MPU Alias 2 Region Attribute and
  1446. 1234:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR_A3; /*!< Offset: 0x024 (R/W) MPU Alias 3 Region Base Address
  1447. 1235:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR_A3; /*!< Offset: 0x028 (R/W) MPU Alias 3 Region Attribute and
  1448. 1236:Drivers/CMSIS/Include/core_cm4.h **** } MPU_Type;
  1449. 1237:Drivers/CMSIS/Include/core_cm4.h ****
  1450. 1238:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_RALIASES 4U
  1451. ARM GAS /tmp/ccPRqU3T.s page 26
  1452. 1239:Drivers/CMSIS/Include/core_cm4.h ****
  1453. 1240:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Type Register Definitions */
  1454. 1241:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_IREGION_Pos 16U /*!< MPU
  1455. 1242:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_IREGION_Msk (0xFFUL << MPU_TYPE_IREGION_Pos) /*!< MPU
  1456. 1243:Drivers/CMSIS/Include/core_cm4.h ****
  1457. 1244:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_DREGION_Pos 8U /*!< MPU
  1458. 1245:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_DREGION_Msk (0xFFUL << MPU_TYPE_DREGION_Pos) /*!< MPU
  1459. 1246:Drivers/CMSIS/Include/core_cm4.h ****
  1460. 1247:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_SEPARATE_Pos 0U /*!< MPU
  1461. 1248:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_SEPARATE_Msk (1UL /*<< MPU_TYPE_SEPARATE_Pos*/) /*!< MPU
  1462. 1249:Drivers/CMSIS/Include/core_cm4.h ****
  1463. 1250:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Control Register Definitions */
  1464. 1251:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_PRIVDEFENA_Pos 2U /*!< MPU
  1465. 1252:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_PRIVDEFENA_Msk (1UL << MPU_CTRL_PRIVDEFENA_Pos) /*!< MPU
  1466. 1253:Drivers/CMSIS/Include/core_cm4.h ****
  1467. 1254:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_HFNMIENA_Pos 1U /*!< MPU
  1468. 1255:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_HFNMIENA_Msk (1UL << MPU_CTRL_HFNMIENA_Pos) /*!< MPU
  1469. 1256:Drivers/CMSIS/Include/core_cm4.h ****
  1470. 1257:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_ENABLE_Pos 0U /*!< MPU
  1471. 1258:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_ENABLE_Msk (1UL /*<< MPU_CTRL_ENABLE_Pos*/) /*!< MPU
  1472. 1259:Drivers/CMSIS/Include/core_cm4.h ****
  1473. 1260:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Region Number Register Definitions */
  1474. 1261:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RNR_REGION_Pos 0U /*!< MPU
  1475. 1262:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RNR_REGION_Msk (0xFFUL /*<< MPU_RNR_REGION_Pos*/) /*!< MPU
  1476. 1263:Drivers/CMSIS/Include/core_cm4.h ****
  1477. 1264:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Region Base Address Register Definitions */
  1478. 1265:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_ADDR_Pos 5U /*!< MPU
  1479. 1266:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_ADDR_Msk (0x7FFFFFFUL << MPU_RBAR_ADDR_Pos) /*!< MPU
  1480. 1267:Drivers/CMSIS/Include/core_cm4.h ****
  1481. 1268:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_VALID_Pos 4U /*!< MPU
  1482. 1269:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_VALID_Msk (1UL << MPU_RBAR_VALID_Pos) /*!< MPU
  1483. 1270:Drivers/CMSIS/Include/core_cm4.h ****
  1484. 1271:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_REGION_Pos 0U /*!< MPU
  1485. 1272:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_REGION_Msk (0xFUL /*<< MPU_RBAR_REGION_Pos*/) /*!< MPU
  1486. 1273:Drivers/CMSIS/Include/core_cm4.h ****
  1487. 1274:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Region Attribute and Size Register Definitions */
  1488. 1275:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ATTRS_Pos 16U /*!< MPU
  1489. 1276:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ATTRS_Msk (0xFFFFUL << MPU_RASR_ATTRS_Pos) /*!< MPU
  1490. 1277:Drivers/CMSIS/Include/core_cm4.h ****
  1491. 1278:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_XN_Pos 28U /*!< MPU
  1492. 1279:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_XN_Msk (1UL << MPU_RASR_XN_Pos) /*!< MPU
  1493. 1280:Drivers/CMSIS/Include/core_cm4.h ****
  1494. 1281:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_AP_Pos 24U /*!< MPU
  1495. 1282:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_AP_Msk (0x7UL << MPU_RASR_AP_Pos) /*!< MPU
  1496. 1283:Drivers/CMSIS/Include/core_cm4.h ****
  1497. 1284:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_TEX_Pos 19U /*!< MPU
  1498. 1285:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_TEX_Msk (0x7UL << MPU_RASR_TEX_Pos) /*!< MPU
  1499. 1286:Drivers/CMSIS/Include/core_cm4.h ****
  1500. 1287:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_S_Pos 18U /*!< MPU
  1501. 1288:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_S_Msk (1UL << MPU_RASR_S_Pos) /*!< MPU
  1502. 1289:Drivers/CMSIS/Include/core_cm4.h ****
  1503. 1290:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_C_Pos 17U /*!< MPU
  1504. 1291:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_C_Msk (1UL << MPU_RASR_C_Pos) /*!< MPU
  1505. 1292:Drivers/CMSIS/Include/core_cm4.h ****
  1506. 1293:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_B_Pos 16U /*!< MPU
  1507. 1294:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_B_Msk (1UL << MPU_RASR_B_Pos) /*!< MPU
  1508. 1295:Drivers/CMSIS/Include/core_cm4.h ****
  1509. ARM GAS /tmp/ccPRqU3T.s page 27
  1510. 1296:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SRD_Pos 8U /*!< MPU
  1511. 1297:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SRD_Msk (0xFFUL << MPU_RASR_SRD_Pos) /*!< MPU
  1512. 1298:Drivers/CMSIS/Include/core_cm4.h ****
  1513. 1299:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SIZE_Pos 1U /*!< MPU
  1514. 1300:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SIZE_Msk (0x1FUL << MPU_RASR_SIZE_Pos) /*!< MPU
  1515. 1301:Drivers/CMSIS/Include/core_cm4.h ****
  1516. 1302:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ENABLE_Pos 0U /*!< MPU
  1517. 1303:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ENABLE_Msk (1UL /*<< MPU_RASR_ENABLE_Pos*/) /*!< MPU
  1518. 1304:Drivers/CMSIS/Include/core_cm4.h ****
  1519. 1305:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_MPU */
  1520. 1306:Drivers/CMSIS/Include/core_cm4.h **** #endif /* defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U) */
  1521. 1307:Drivers/CMSIS/Include/core_cm4.h ****
  1522. 1308:Drivers/CMSIS/Include/core_cm4.h ****
  1523. 1309:Drivers/CMSIS/Include/core_cm4.h **** /**
  1524. 1310:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1525. 1311:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_FPU Floating Point Unit (FPU)
  1526. 1312:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Floating Point Unit (FPU)
  1527. 1313:Drivers/CMSIS/Include/core_cm4.h **** @{
  1528. 1314:Drivers/CMSIS/Include/core_cm4.h **** */
  1529. 1315:Drivers/CMSIS/Include/core_cm4.h ****
  1530. 1316:Drivers/CMSIS/Include/core_cm4.h **** /**
  1531. 1317:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Floating Point Unit (FPU).
  1532. 1318:Drivers/CMSIS/Include/core_cm4.h **** */
  1533. 1319:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1534. 1320:Drivers/CMSIS/Include/core_cm4.h **** {
  1535. 1321:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[1U];
  1536. 1322:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FPCCR; /*!< Offset: 0x004 (R/W) Floating-Point Context Control R
  1537. 1323:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FPCAR; /*!< Offset: 0x008 (R/W) Floating-Point Context Address R
  1538. 1324:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FPDSCR; /*!< Offset: 0x00C (R/W) Floating-Point Default Status Co
  1539. 1325:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t MVFR0; /*!< Offset: 0x010 (R/ ) Media and FP Feature Register 0
  1540. 1326:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t MVFR1; /*!< Offset: 0x014 (R/ ) Media and FP Feature Register 1
  1541. 1327:Drivers/CMSIS/Include/core_cm4.h **** } FPU_Type;
  1542. 1328:Drivers/CMSIS/Include/core_cm4.h ****
  1543. 1329:Drivers/CMSIS/Include/core_cm4.h **** /* Floating-Point Context Control Register Definitions */
  1544. 1330:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_ASPEN_Pos 31U /*!< FPCC
  1545. 1331:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_ASPEN_Msk (1UL << FPU_FPCCR_ASPEN_Pos) /*!< FPCC
  1546. 1332:Drivers/CMSIS/Include/core_cm4.h ****
  1547. 1333:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPEN_Pos 30U /*!< FPCC
  1548. 1334:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPEN_Msk (1UL << FPU_FPCCR_LSPEN_Pos) /*!< FPCC
  1549. 1335:Drivers/CMSIS/Include/core_cm4.h ****
  1550. 1336:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MONRDY_Pos 8U /*!< FPCC
  1551. 1337:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MONRDY_Msk (1UL << FPU_FPCCR_MONRDY_Pos) /*!< FPCC
  1552. 1338:Drivers/CMSIS/Include/core_cm4.h ****
  1553. 1339:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_BFRDY_Pos 6U /*!< FPCC
  1554. 1340:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_BFRDY_Msk (1UL << FPU_FPCCR_BFRDY_Pos) /*!< FPCC
  1555. 1341:Drivers/CMSIS/Include/core_cm4.h ****
  1556. 1342:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MMRDY_Pos 5U /*!< FPCC
  1557. 1343:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MMRDY_Msk (1UL << FPU_FPCCR_MMRDY_Pos) /*!< FPCC
  1558. 1344:Drivers/CMSIS/Include/core_cm4.h ****
  1559. 1345:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_HFRDY_Pos 4U /*!< FPCC
  1560. 1346:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_HFRDY_Msk (1UL << FPU_FPCCR_HFRDY_Pos) /*!< FPCC
  1561. 1347:Drivers/CMSIS/Include/core_cm4.h ****
  1562. 1348:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_THREAD_Pos 3U /*!< FPCC
  1563. 1349:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_THREAD_Msk (1UL << FPU_FPCCR_THREAD_Pos) /*!< FPCC
  1564. 1350:Drivers/CMSIS/Include/core_cm4.h ****
  1565. 1351:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_USER_Pos 1U /*!< FPCC
  1566. 1352:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_USER_Msk (1UL << FPU_FPCCR_USER_Pos) /*!< FPCC
  1567. ARM GAS /tmp/ccPRqU3T.s page 28
  1568. 1353:Drivers/CMSIS/Include/core_cm4.h ****
  1569. 1354:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPACT_Pos 0U /*!< FPCC
  1570. 1355:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPACT_Msk (1UL /*<< FPU_FPCCR_LSPACT_Pos*/) /*!< FPCC
  1571. 1356:Drivers/CMSIS/Include/core_cm4.h ****
  1572. 1357:Drivers/CMSIS/Include/core_cm4.h **** /* Floating-Point Context Address Register Definitions */
  1573. 1358:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCAR_ADDRESS_Pos 3U /*!< FPCA
  1574. 1359:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCAR_ADDRESS_Msk (0x1FFFFFFFUL << FPU_FPCAR_ADDRESS_Pos) /*!< FPCA
  1575. 1360:Drivers/CMSIS/Include/core_cm4.h ****
  1576. 1361:Drivers/CMSIS/Include/core_cm4.h **** /* Floating-Point Default Status Control Register Definitions */
  1577. 1362:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_AHP_Pos 26U /*!< FPDS
  1578. 1363:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_AHP_Msk (1UL << FPU_FPDSCR_AHP_Pos) /*!< FPDS
  1579. 1364:Drivers/CMSIS/Include/core_cm4.h ****
  1580. 1365:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_DN_Pos 25U /*!< FPDS
  1581. 1366:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_DN_Msk (1UL << FPU_FPDSCR_DN_Pos) /*!< FPDS
  1582. 1367:Drivers/CMSIS/Include/core_cm4.h ****
  1583. 1368:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_FZ_Pos 24U /*!< FPDS
  1584. 1369:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_FZ_Msk (1UL << FPU_FPDSCR_FZ_Pos) /*!< FPDS
  1585. 1370:Drivers/CMSIS/Include/core_cm4.h ****
  1586. 1371:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_RMode_Pos 22U /*!< FPDS
  1587. 1372:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_RMode_Msk (3UL << FPU_FPDSCR_RMode_Pos) /*!< FPDS
  1588. 1373:Drivers/CMSIS/Include/core_cm4.h ****
  1589. 1374:Drivers/CMSIS/Include/core_cm4.h **** /* Media and FP Feature Register 0 Definitions */
  1590. 1375:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_rounding_modes_Pos 28U /*!< MVFR
  1591. 1376:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_rounding_modes_Msk (0xFUL << FPU_MVFR0_FP_rounding_modes_Pos) /*!< MVFR
  1592. 1377:Drivers/CMSIS/Include/core_cm4.h ****
  1593. 1378:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Short_vectors_Pos 24U /*!< MVFR
  1594. 1379:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Short_vectors_Msk (0xFUL << FPU_MVFR0_Short_vectors_Pos) /*!< MVFR
  1595. 1380:Drivers/CMSIS/Include/core_cm4.h ****
  1596. 1381:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Square_root_Pos 20U /*!< MVFR
  1597. 1382:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Square_root_Msk (0xFUL << FPU_MVFR0_Square_root_Pos) /*!< MVFR
  1598. 1383:Drivers/CMSIS/Include/core_cm4.h ****
  1599. 1384:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Divide_Pos 16U /*!< MVFR
  1600. 1385:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Divide_Msk (0xFUL << FPU_MVFR0_Divide_Pos) /*!< MVFR
  1601. 1386:Drivers/CMSIS/Include/core_cm4.h ****
  1602. 1387:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_excep_trapping_Pos 12U /*!< MVFR
  1603. 1388:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_excep_trapping_Msk (0xFUL << FPU_MVFR0_FP_excep_trapping_Pos) /*!< MVFR
  1604. 1389:Drivers/CMSIS/Include/core_cm4.h ****
  1605. 1390:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Double_precision_Pos 8U /*!< MVFR
  1606. 1391:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Double_precision_Msk (0xFUL << FPU_MVFR0_Double_precision_Pos) /*!< MVFR
  1607. 1392:Drivers/CMSIS/Include/core_cm4.h ****
  1608. 1393:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Single_precision_Pos 4U /*!< MVFR
  1609. 1394:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Single_precision_Msk (0xFUL << FPU_MVFR0_Single_precision_Pos) /*!< MVFR
  1610. 1395:Drivers/CMSIS/Include/core_cm4.h ****
  1611. 1396:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_A_SIMD_registers_Pos 0U /*!< MVFR
  1612. 1397:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_A_SIMD_registers_Msk (0xFUL /*<< FPU_MVFR0_A_SIMD_registers_Pos*/) /*!< MVFR
  1613. 1398:Drivers/CMSIS/Include/core_cm4.h ****
  1614. 1399:Drivers/CMSIS/Include/core_cm4.h **** /* Media and FP Feature Register 1 Definitions */
  1615. 1400:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_fused_MAC_Pos 28U /*!< MVFR
  1616. 1401:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_fused_MAC_Msk (0xFUL << FPU_MVFR1_FP_fused_MAC_Pos) /*!< MVFR
  1617. 1402:Drivers/CMSIS/Include/core_cm4.h ****
  1618. 1403:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_HPFP_Pos 24U /*!< MVFR
  1619. 1404:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_HPFP_Msk (0xFUL << FPU_MVFR1_FP_HPFP_Pos) /*!< MVFR
  1620. 1405:Drivers/CMSIS/Include/core_cm4.h ****
  1621. 1406:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_D_NaN_mode_Pos 4U /*!< MVFR
  1622. 1407:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_D_NaN_mode_Msk (0xFUL << FPU_MVFR1_D_NaN_mode_Pos) /*!< MVFR
  1623. 1408:Drivers/CMSIS/Include/core_cm4.h ****
  1624. 1409:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FtZ_mode_Pos 0U /*!< MVFR
  1625. ARM GAS /tmp/ccPRqU3T.s page 29
  1626. 1410:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FtZ_mode_Msk (0xFUL /*<< FPU_MVFR1_FtZ_mode_Pos*/) /*!< MVFR
  1627. 1411:Drivers/CMSIS/Include/core_cm4.h ****
  1628. 1412:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_FPU */
  1629. 1413:Drivers/CMSIS/Include/core_cm4.h ****
  1630. 1414:Drivers/CMSIS/Include/core_cm4.h ****
  1631. 1415:Drivers/CMSIS/Include/core_cm4.h **** /**
  1632. 1416:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1633. 1417:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_CoreDebug Core Debug Registers (CoreDebug)
  1634. 1418:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Core Debug Registers
  1635. 1419:Drivers/CMSIS/Include/core_cm4.h **** @{
  1636. 1420:Drivers/CMSIS/Include/core_cm4.h **** */
  1637. 1421:Drivers/CMSIS/Include/core_cm4.h ****
  1638. 1422:Drivers/CMSIS/Include/core_cm4.h **** /**
  1639. 1423:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Core Debug Register (CoreDebug).
  1640. 1424:Drivers/CMSIS/Include/core_cm4.h **** */
  1641. 1425:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1642. 1426:Drivers/CMSIS/Include/core_cm4.h **** {
  1643. 1427:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DHCSR; /*!< Offset: 0x000 (R/W) Debug Halting Control and Status
  1644. 1428:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t DCRSR; /*!< Offset: 0x004 ( /W) Debug Core Register Selector Reg
  1645. 1429:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DCRDR; /*!< Offset: 0x008 (R/W) Debug Core Register Data Registe
  1646. 1430:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DEMCR; /*!< Offset: 0x00C (R/W) Debug Exception and Monitor Cont
  1647. 1431:Drivers/CMSIS/Include/core_cm4.h **** } CoreDebug_Type;
  1648. 1432:Drivers/CMSIS/Include/core_cm4.h ****
  1649. 1433:Drivers/CMSIS/Include/core_cm4.h **** /* Debug Halting Control and Status Register Definitions */
  1650. 1434:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_DBGKEY_Pos 16U /*!< Core
  1651. 1435:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_DBGKEY_Msk (0xFFFFUL << CoreDebug_DHCSR_DBGKEY_Pos) /*!< Core
  1652. 1436:Drivers/CMSIS/Include/core_cm4.h ****
  1653. 1437:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RESET_ST_Pos 25U /*!< Core
  1654. 1438:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RESET_ST_Msk (1UL << CoreDebug_DHCSR_S_RESET_ST_Pos) /*!< Core
  1655. 1439:Drivers/CMSIS/Include/core_cm4.h ****
  1656. 1440:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RETIRE_ST_Pos 24U /*!< Core
  1657. 1441:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RETIRE_ST_Msk (1UL << CoreDebug_DHCSR_S_RETIRE_ST_Pos) /*!< Core
  1658. 1442:Drivers/CMSIS/Include/core_cm4.h ****
  1659. 1443:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_LOCKUP_Pos 19U /*!< Core
  1660. 1444:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_LOCKUP_Msk (1UL << CoreDebug_DHCSR_S_LOCKUP_Pos) /*!< Core
  1661. 1445:Drivers/CMSIS/Include/core_cm4.h ****
  1662. 1446:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_SLEEP_Pos 18U /*!< Core
  1663. 1447:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_SLEEP_Msk (1UL << CoreDebug_DHCSR_S_SLEEP_Pos) /*!< Core
  1664. 1448:Drivers/CMSIS/Include/core_cm4.h ****
  1665. 1449:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_HALT_Pos 17U /*!< Core
  1666. 1450:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_HALT_Msk (1UL << CoreDebug_DHCSR_S_HALT_Pos) /*!< Core
  1667. 1451:Drivers/CMSIS/Include/core_cm4.h ****
  1668. 1452:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_REGRDY_Pos 16U /*!< Core
  1669. 1453:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_REGRDY_Msk (1UL << CoreDebug_DHCSR_S_REGRDY_Pos) /*!< Core
  1670. 1454:Drivers/CMSIS/Include/core_cm4.h ****
  1671. 1455:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_SNAPSTALL_Pos 5U /*!< Core
  1672. 1456:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_SNAPSTALL_Msk (1UL << CoreDebug_DHCSR_C_SNAPSTALL_Pos) /*!< Core
  1673. 1457:Drivers/CMSIS/Include/core_cm4.h ****
  1674. 1458:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_MASKINTS_Pos 3U /*!< Core
  1675. 1459:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_MASKINTS_Msk (1UL << CoreDebug_DHCSR_C_MASKINTS_Pos) /*!< Core
  1676. 1460:Drivers/CMSIS/Include/core_cm4.h ****
  1677. 1461:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_STEP_Pos 2U /*!< Core
  1678. 1462:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_STEP_Msk (1UL << CoreDebug_DHCSR_C_STEP_Pos) /*!< Core
  1679. 1463:Drivers/CMSIS/Include/core_cm4.h ****
  1680. 1464:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_HALT_Pos 1U /*!< Core
  1681. 1465:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_HALT_Msk (1UL << CoreDebug_DHCSR_C_HALT_Pos) /*!< Core
  1682. 1466:Drivers/CMSIS/Include/core_cm4.h ****
  1683. ARM GAS /tmp/ccPRqU3T.s page 30
  1684. 1467:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_DEBUGEN_Pos 0U /*!< Core
  1685. 1468:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_DEBUGEN_Msk (1UL /*<< CoreDebug_DHCSR_C_DEBUGEN_Pos*/) /*!< Core
  1686. 1469:Drivers/CMSIS/Include/core_cm4.h ****
  1687. 1470:Drivers/CMSIS/Include/core_cm4.h **** /* Debug Core Register Selector Register Definitions */
  1688. 1471:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGWnR_Pos 16U /*!< Core
  1689. 1472:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGWnR_Msk (1UL << CoreDebug_DCRSR_REGWnR_Pos) /*!< Core
  1690. 1473:Drivers/CMSIS/Include/core_cm4.h ****
  1691. 1474:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGSEL_Pos 0U /*!< Core
  1692. 1475:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGSEL_Msk (0x1FUL /*<< CoreDebug_DCRSR_REGSEL_Pos*/) /*!< Core
  1693. 1476:Drivers/CMSIS/Include/core_cm4.h ****
  1694. 1477:Drivers/CMSIS/Include/core_cm4.h **** /* Debug Exception and Monitor Control Register Definitions */
  1695. 1478:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_TRCENA_Pos 24U /*!< Core
  1696. 1479:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_TRCENA_Msk (1UL << CoreDebug_DEMCR_TRCENA_Pos) /*!< Core
  1697. 1480:Drivers/CMSIS/Include/core_cm4.h ****
  1698. 1481:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_REQ_Pos 19U /*!< Core
  1699. 1482:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_REQ_Msk (1UL << CoreDebug_DEMCR_MON_REQ_Pos) /*!< Core
  1700. 1483:Drivers/CMSIS/Include/core_cm4.h ****
  1701. 1484:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_STEP_Pos 18U /*!< Core
  1702. 1485:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_STEP_Msk (1UL << CoreDebug_DEMCR_MON_STEP_Pos) /*!< Core
  1703. 1486:Drivers/CMSIS/Include/core_cm4.h ****
  1704. 1487:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_PEND_Pos 17U /*!< Core
  1705. 1488:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_PEND_Msk (1UL << CoreDebug_DEMCR_MON_PEND_Pos) /*!< Core
  1706. 1489:Drivers/CMSIS/Include/core_cm4.h ****
  1707. 1490:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_EN_Pos 16U /*!< Core
  1708. 1491:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_EN_Msk (1UL << CoreDebug_DEMCR_MON_EN_Pos) /*!< Core
  1709. 1492:Drivers/CMSIS/Include/core_cm4.h ****
  1710. 1493:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_HARDERR_Pos 10U /*!< Core
  1711. 1494:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_HARDERR_Msk (1UL << CoreDebug_DEMCR_VC_HARDERR_Pos) /*!< Core
  1712. 1495:Drivers/CMSIS/Include/core_cm4.h ****
  1713. 1496:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_INTERR_Pos 9U /*!< Core
  1714. 1497:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_INTERR_Msk (1UL << CoreDebug_DEMCR_VC_INTERR_Pos) /*!< Core
  1715. 1498:Drivers/CMSIS/Include/core_cm4.h ****
  1716. 1499:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_BUSERR_Pos 8U /*!< Core
  1717. 1500:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_BUSERR_Msk (1UL << CoreDebug_DEMCR_VC_BUSERR_Pos) /*!< Core
  1718. 1501:Drivers/CMSIS/Include/core_cm4.h ****
  1719. 1502:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_STATERR_Pos 7U /*!< Core
  1720. 1503:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_STATERR_Msk (1UL << CoreDebug_DEMCR_VC_STATERR_Pos) /*!< Core
  1721. 1504:Drivers/CMSIS/Include/core_cm4.h ****
  1722. 1505:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CHKERR_Pos 6U /*!< Core
  1723. 1506:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CHKERR_Msk (1UL << CoreDebug_DEMCR_VC_CHKERR_Pos) /*!< Core
  1724. 1507:Drivers/CMSIS/Include/core_cm4.h ****
  1725. 1508:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_NOCPERR_Pos 5U /*!< Core
  1726. 1509:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_NOCPERR_Msk (1UL << CoreDebug_DEMCR_VC_NOCPERR_Pos) /*!< Core
  1727. 1510:Drivers/CMSIS/Include/core_cm4.h ****
  1728. 1511:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_MMERR_Pos 4U /*!< Core
  1729. 1512:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_MMERR_Msk (1UL << CoreDebug_DEMCR_VC_MMERR_Pos) /*!< Core
  1730. 1513:Drivers/CMSIS/Include/core_cm4.h ****
  1731. 1514:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CORERESET_Pos 0U /*!< Core
  1732. 1515:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CORERESET_Msk (1UL /*<< CoreDebug_DEMCR_VC_CORERESET_Pos*/) /*!< Core
  1733. 1516:Drivers/CMSIS/Include/core_cm4.h ****
  1734. 1517:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_CoreDebug */
  1735. 1518:Drivers/CMSIS/Include/core_cm4.h ****
  1736. 1519:Drivers/CMSIS/Include/core_cm4.h ****
  1737. 1520:Drivers/CMSIS/Include/core_cm4.h **** /**
  1738. 1521:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1739. 1522:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_core_bitfield Core register bit field macros
  1740. 1523:Drivers/CMSIS/Include/core_cm4.h **** \brief Macros for use with bit field definitions (xxx_Pos, xxx_Msk).
  1741. ARM GAS /tmp/ccPRqU3T.s page 31
  1742. 1524:Drivers/CMSIS/Include/core_cm4.h **** @{
  1743. 1525:Drivers/CMSIS/Include/core_cm4.h **** */
  1744. 1526:Drivers/CMSIS/Include/core_cm4.h ****
  1745. 1527:Drivers/CMSIS/Include/core_cm4.h **** /**
  1746. 1528:Drivers/CMSIS/Include/core_cm4.h **** \brief Mask and shift a bit field value for use in a register bit range.
  1747. 1529:Drivers/CMSIS/Include/core_cm4.h **** \param[in] field Name of the register bit field.
  1748. 1530:Drivers/CMSIS/Include/core_cm4.h **** \param[in] value Value of the bit field. This parameter is interpreted as an uint32_t type.
  1749. 1531:Drivers/CMSIS/Include/core_cm4.h **** \return Masked and shifted value.
  1750. 1532:Drivers/CMSIS/Include/core_cm4.h **** */
  1751. 1533:Drivers/CMSIS/Include/core_cm4.h **** #define _VAL2FLD(field, value) (((uint32_t)(value) << field ## _Pos) & field ## _Msk)
  1752. 1534:Drivers/CMSIS/Include/core_cm4.h ****
  1753. 1535:Drivers/CMSIS/Include/core_cm4.h **** /**
  1754. 1536:Drivers/CMSIS/Include/core_cm4.h **** \brief Mask and shift a register value to extract a bit filed value.
  1755. 1537:Drivers/CMSIS/Include/core_cm4.h **** \param[in] field Name of the register bit field.
  1756. 1538:Drivers/CMSIS/Include/core_cm4.h **** \param[in] value Value of register. This parameter is interpreted as an uint32_t type.
  1757. 1539:Drivers/CMSIS/Include/core_cm4.h **** \return Masked and shifted bit field value.
  1758. 1540:Drivers/CMSIS/Include/core_cm4.h **** */
  1759. 1541:Drivers/CMSIS/Include/core_cm4.h **** #define _FLD2VAL(field, value) (((uint32_t)(value) & field ## _Msk) >> field ## _Pos)
  1760. 1542:Drivers/CMSIS/Include/core_cm4.h ****
  1761. 1543:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_core_bitfield */
  1762. 1544:Drivers/CMSIS/Include/core_cm4.h ****
  1763. 1545:Drivers/CMSIS/Include/core_cm4.h ****
  1764. 1546:Drivers/CMSIS/Include/core_cm4.h **** /**
  1765. 1547:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1766. 1548:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_core_base Core Definitions
  1767. 1549:Drivers/CMSIS/Include/core_cm4.h **** \brief Definitions for base addresses, unions, and structures.
  1768. 1550:Drivers/CMSIS/Include/core_cm4.h **** @{
  1769. 1551:Drivers/CMSIS/Include/core_cm4.h **** */
  1770. 1552:Drivers/CMSIS/Include/core_cm4.h ****
  1771. 1553:Drivers/CMSIS/Include/core_cm4.h **** /* Memory mapping of Core Hardware */
  1772. 1554:Drivers/CMSIS/Include/core_cm4.h **** #define SCS_BASE (0xE000E000UL) /*!< System Control Space Bas
  1773. 1555:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_BASE (0xE0000000UL) /*!< ITM Base Address */
  1774. 1556:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_BASE (0xE0001000UL) /*!< DWT Base Address */
  1775. 1557:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_BASE (0xE0040000UL) /*!< TPI Base Address */
  1776. 1558:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_BASE (0xE000EDF0UL) /*!< Core Debug Base Address
  1777. 1559:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_BASE (SCS_BASE + 0x0010UL) /*!< SysTick Base Address */
  1778. 1560:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_BASE (SCS_BASE + 0x0100UL) /*!< NVIC Base Address */
  1779. 1561:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_BASE (SCS_BASE + 0x0D00UL) /*!< System Control Block Bas
  1780. 1562:Drivers/CMSIS/Include/core_cm4.h ****
  1781. 1563:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB ((SCnSCB_Type *) SCS_BASE ) /*!< System control Register
  1782. 1564:Drivers/CMSIS/Include/core_cm4.h **** #define SCB ((SCB_Type *) SCB_BASE ) /*!< SCB configuration struct
  1783. 1565:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st
  1784. 1566:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC ((NVIC_Type *) NVIC_BASE ) /*!< NVIC configuration struc
  1785. 1567:Drivers/CMSIS/Include/core_cm4.h **** #define ITM ((ITM_Type *) ITM_BASE ) /*!< ITM configuration struct
  1786. 1568:Drivers/CMSIS/Include/core_cm4.h **** #define DWT ((DWT_Type *) DWT_BASE ) /*!< DWT configuration struct
  1787. 1569:Drivers/CMSIS/Include/core_cm4.h **** #define TPI ((TPI_Type *) TPI_BASE ) /*!< TPI configuration struct
  1788. 1570:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug ((CoreDebug_Type *) CoreDebug_BASE) /*!< Core Debug configuration
  1789. 1571:Drivers/CMSIS/Include/core_cm4.h ****
  1790. 1572:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
  1791. 1573:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_BASE (SCS_BASE + 0x0D90UL) /*!< Memory Protection Unit *
  1792. 1574:Drivers/CMSIS/Include/core_cm4.h **** #define MPU ((MPU_Type *) MPU_BASE ) /*!< Memory Protection Unit *
  1793. 1575:Drivers/CMSIS/Include/core_cm4.h **** #endif
  1794. 1576:Drivers/CMSIS/Include/core_cm4.h ****
  1795. 1577:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_BASE (SCS_BASE + 0x0F30UL) /*!< Floating Point Unit */
  1796. 1578:Drivers/CMSIS/Include/core_cm4.h **** #define FPU ((FPU_Type *) FPU_BASE ) /*!< Floating Point Unit */
  1797. 1579:Drivers/CMSIS/Include/core_cm4.h ****
  1798. 1580:Drivers/CMSIS/Include/core_cm4.h **** /*@} */
  1799. ARM GAS /tmp/ccPRqU3T.s page 32
  1800. 1581:Drivers/CMSIS/Include/core_cm4.h ****
  1801. 1582:Drivers/CMSIS/Include/core_cm4.h ****
  1802. 1583:Drivers/CMSIS/Include/core_cm4.h ****
  1803. 1584:Drivers/CMSIS/Include/core_cm4.h **** /*******************************************************************************
  1804. 1585:Drivers/CMSIS/Include/core_cm4.h **** * Hardware Abstraction Layer
  1805. 1586:Drivers/CMSIS/Include/core_cm4.h **** Core Function Interface contains:
  1806. 1587:Drivers/CMSIS/Include/core_cm4.h **** - Core NVIC Functions
  1807. 1588:Drivers/CMSIS/Include/core_cm4.h **** - Core SysTick Functions
  1808. 1589:Drivers/CMSIS/Include/core_cm4.h **** - Core Debug Functions
  1809. 1590:Drivers/CMSIS/Include/core_cm4.h **** - Core Register Access Functions
  1810. 1591:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
  1811. 1592:Drivers/CMSIS/Include/core_cm4.h **** /**
  1812. 1593:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_FunctionInterface Functions and Instructions Reference
  1813. 1594:Drivers/CMSIS/Include/core_cm4.h **** */
  1814. 1595:Drivers/CMSIS/Include/core_cm4.h ****
  1815. 1596:Drivers/CMSIS/Include/core_cm4.h ****
  1816. 1597:Drivers/CMSIS/Include/core_cm4.h ****
  1817. 1598:Drivers/CMSIS/Include/core_cm4.h **** /* ########################## NVIC functions #################################### */
  1818. 1599:Drivers/CMSIS/Include/core_cm4.h **** /**
  1819. 1600:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_Core_FunctionInterface
  1820. 1601:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_NVICFunctions NVIC Functions
  1821. 1602:Drivers/CMSIS/Include/core_cm4.h **** \brief Functions that manage interrupts and exceptions via the NVIC.
  1822. 1603:Drivers/CMSIS/Include/core_cm4.h **** @{
  1823. 1604:Drivers/CMSIS/Include/core_cm4.h **** */
  1824. 1605:Drivers/CMSIS/Include/core_cm4.h ****
  1825. 1606:Drivers/CMSIS/Include/core_cm4.h **** #ifdef CMSIS_NVIC_VIRTUAL
  1826. 1607:Drivers/CMSIS/Include/core_cm4.h **** #ifndef CMSIS_NVIC_VIRTUAL_HEADER_FILE
  1827. 1608:Drivers/CMSIS/Include/core_cm4.h **** #define CMSIS_NVIC_VIRTUAL_HEADER_FILE "cmsis_nvic_virtual.h"
  1828. 1609:Drivers/CMSIS/Include/core_cm4.h **** #endif
  1829. 1610:Drivers/CMSIS/Include/core_cm4.h **** #include CMSIS_NVIC_VIRTUAL_HEADER_FILE
  1830. 1611:Drivers/CMSIS/Include/core_cm4.h **** #else
  1831. 1612:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetPriorityGrouping __NVIC_SetPriorityGrouping
  1832. 1613:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetPriorityGrouping __NVIC_GetPriorityGrouping
  1833. 1614:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_EnableIRQ __NVIC_EnableIRQ
  1834. 1615:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetEnableIRQ __NVIC_GetEnableIRQ
  1835. 1616:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_DisableIRQ __NVIC_DisableIRQ
  1836. 1617:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetPendingIRQ __NVIC_GetPendingIRQ
  1837. 1618:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetPendingIRQ __NVIC_SetPendingIRQ
  1838. 1619:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_ClearPendingIRQ __NVIC_ClearPendingIRQ
  1839. 1620:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetActive __NVIC_GetActive
  1840. 1621:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetPriority __NVIC_SetPriority
  1841. 1622:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetPriority __NVIC_GetPriority
  1842. 1623:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SystemReset __NVIC_SystemReset
  1843. 1624:Drivers/CMSIS/Include/core_cm4.h **** #endif /* CMSIS_NVIC_VIRTUAL */
  1844. 1625:Drivers/CMSIS/Include/core_cm4.h ****
  1845. 1626:Drivers/CMSIS/Include/core_cm4.h **** #ifdef CMSIS_VECTAB_VIRTUAL
  1846. 1627:Drivers/CMSIS/Include/core_cm4.h **** #ifndef CMSIS_VECTAB_VIRTUAL_HEADER_FILE
  1847. 1628:Drivers/CMSIS/Include/core_cm4.h **** #define CMSIS_VECTAB_VIRTUAL_HEADER_FILE "cmsis_vectab_virtual.h"
  1848. 1629:Drivers/CMSIS/Include/core_cm4.h **** #endif
  1849. 1630:Drivers/CMSIS/Include/core_cm4.h **** #include CMSIS_VECTAB_VIRTUAL_HEADER_FILE
  1850. 1631:Drivers/CMSIS/Include/core_cm4.h **** #else
  1851. 1632:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetVector __NVIC_SetVector
  1852. 1633:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetVector __NVIC_GetVector
  1853. 1634:Drivers/CMSIS/Include/core_cm4.h **** #endif /* (CMSIS_VECTAB_VIRTUAL) */
  1854. 1635:Drivers/CMSIS/Include/core_cm4.h ****
  1855. 1636:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_USER_IRQ_OFFSET 16
  1856. 1637:Drivers/CMSIS/Include/core_cm4.h ****
  1857. ARM GAS /tmp/ccPRqU3T.s page 33
  1858. 1638:Drivers/CMSIS/Include/core_cm4.h ****
  1859. 1639:Drivers/CMSIS/Include/core_cm4.h **** /* The following EXC_RETURN values are saved the LR on exception entry */
  1860. 1640:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_HANDLER (0xFFFFFFF1UL) /* return to Handler mode, uses MSP after ret
  1861. 1641:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_MSP (0xFFFFFFF9UL) /* return to Thread mode, uses MSP after retu
  1862. 1642:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_PSP (0xFFFFFFFDUL) /* return to Thread mode, uses PSP after retu
  1863. 1643:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_HANDLER_FPU (0xFFFFFFE1UL) /* return to Handler mode, uses MSP after ret
  1864. 1644:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_MSP_FPU (0xFFFFFFE9UL) /* return to Thread mode, uses MSP after retu
  1865. 1645:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_PSP_FPU (0xFFFFFFEDUL) /* return to Thread mode, uses PSP after retu
  1866. 1646:Drivers/CMSIS/Include/core_cm4.h ****
  1867. 1647:Drivers/CMSIS/Include/core_cm4.h ****
  1868. 1648:Drivers/CMSIS/Include/core_cm4.h **** /**
  1869. 1649:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Priority Grouping
  1870. 1650:Drivers/CMSIS/Include/core_cm4.h **** \details Sets the priority grouping field using the required unlock sequence.
  1871. 1651:Drivers/CMSIS/Include/core_cm4.h **** The parameter PriorityGroup is assigned to the field SCB->AIRCR [10:8] PRIGROUP field.
  1872. 1652:Drivers/CMSIS/Include/core_cm4.h **** Only values from 0..7 are used.
  1873. 1653:Drivers/CMSIS/Include/core_cm4.h **** In case of a conflict between priority grouping and available
  1874. 1654:Drivers/CMSIS/Include/core_cm4.h **** priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
  1875. 1655:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PriorityGroup Priority grouping field.
  1876. 1656:Drivers/CMSIS/Include/core_cm4.h **** */
  1877. 1657:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
  1878. 40 .loc 2 1657 22 view .LVU3
  1879. 41 .LBB39:
  1880. 1658:Drivers/CMSIS/Include/core_cm4.h **** {
  1881. 1659:Drivers/CMSIS/Include/core_cm4.h **** uint32_t reg_value;
  1882. 42 .loc 2 1659 3 view .LVU4
  1883. 1660:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 a
  1884. 43 .loc 2 1660 3 view .LVU5
  1885. 1661:Drivers/CMSIS/Include/core_cm4.h ****
  1886. 1662:Drivers/CMSIS/Include/core_cm4.h **** reg_value = SCB->AIRCR; /* read old register
  1887. 44 .loc 2 1662 3 view .LVU6
  1888. 45 .loc 2 1662 14 is_stmt 0 view .LVU7
  1889. 46 0000 074A ldr r2, .L2
  1890. 47 0002 D368 ldr r3, [r2, #12]
  1891. 48 .LVL1:
  1892. 1663:Drivers/CMSIS/Include/core_cm4.h **** reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to chan
  1893. 49 .loc 2 1663 3 is_stmt 1 view .LVU8
  1894. 50 .loc 2 1663 13 is_stmt 0 view .LVU9
  1895. 51 0004 23F4E063 bic r3, r3, #1792
  1896. 52 .LVL2:
  1897. 53 .loc 2 1663 13 view .LVU10
  1898. 54 0008 1B04 lsls r3, r3, #16
  1899. 55 000a 1B0C lsrs r3, r3, #16
  1900. 56 .LVL3:
  1901. 1664:Drivers/CMSIS/Include/core_cm4.h **** reg_value = (reg_value |
  1902. 57 .loc 2 1664 3 is_stmt 1 view .LVU11
  1903. 1665:Drivers/CMSIS/Include/core_cm4.h **** ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
  1904. 1666:Drivers/CMSIS/Include/core_cm4.h **** (PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key a
  1905. 58 .loc 2 1666 35 is_stmt 0 view .LVU12
  1906. 59 000c 0002 lsls r0, r0, #8
  1907. 60 .LVL4:
  1908. 61 .loc 2 1666 35 view .LVU13
  1909. 62 000e 00F4E060 and r0, r0, #1792
  1910. 1665:Drivers/CMSIS/Include/core_cm4.h **** ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
  1911. 63 .loc 2 1665 62 view .LVU14
  1912. 64 0012 0343 orrs r3, r3, r0
  1913. 65 .LVL5:
  1914. 1664:Drivers/CMSIS/Include/core_cm4.h **** reg_value = (reg_value |
  1915. ARM GAS /tmp/ccPRqU3T.s page 34
  1916. 66 .loc 2 1664 14 view .LVU15
  1917. 67 0014 43F0BF63 orr r3, r3, #100139008
  1918. 68 0018 43F40033 orr r3, r3, #131072
  1919. 69 .LVL6:
  1920. 1667:Drivers/CMSIS/Include/core_cm4.h **** SCB->AIRCR = reg_value;
  1921. 70 .loc 2 1667 3 is_stmt 1 view .LVU16
  1922. 71 .loc 2 1667 14 is_stmt 0 view .LVU17
  1923. 72 001c D360 str r3, [r2, #12]
  1924. 73 .LVL7:
  1925. 74 .loc 2 1667 14 view .LVU18
  1926. 75 .LBE39:
  1927. 76 .LBE38:
  1928. 150:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  1929. 77 .loc 1 150 1 view .LVU19
  1930. 78 001e 7047 bx lr
  1931. 79 .L3:
  1932. 80 .align 2
  1933. 81 .L2:
  1934. 82 0020 00ED00E0 .word -536810240
  1935. 83 .cfi_endproc
  1936. 84 .LFE130:
  1937. 86 .section .text.HAL_NVIC_SetPriority,"ax",%progbits
  1938. 87 .align 1
  1939. 88 .global HAL_NVIC_SetPriority
  1940. 89 .syntax unified
  1941. 90 .thumb
  1942. 91 .thumb_func
  1943. 93 HAL_NVIC_SetPriority:
  1944. 94 .LVL8:
  1945. 95 .LFB131:
  1946. 151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  1947. 152:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  1948. 153:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Sets the priority of an interrupt.
  1949. 154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number.
  1950. 155:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  1951. 156:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  1952. 157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param PreemptPriority The preemption priority for the IRQn channel.
  1953. 158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be a value between 0 and 15
  1954. 159:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * A lower priority value indicates a higher priority
  1955. 160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param SubPriority the subpriority level for the IRQ channel.
  1956. 161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be a value between 0 and 15
  1957. 162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * A lower priority value indicates a higher priority.
  1958. 163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  1959. 164:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  1960. 165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
  1961. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  1962. 96 .loc 1 166 1 is_stmt 1 view -0
  1963. 97 .cfi_startproc
  1964. 98 @ args = 0, pretend = 0, frame = 0
  1965. 99 @ frame_needed = 0, uses_anonymous_args = 0
  1966. 100 .loc 1 166 1 is_stmt 0 view .LVU21
  1967. 101 0000 00B5 push {lr}
  1968. 102 .LCFI0:
  1969. 103 .cfi_def_cfa_offset 4
  1970. 104 .cfi_offset 14, -4
  1971. 167:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** uint32_t prioritygroup = 0x00U;
  1972. 105 .loc 1 167 3 is_stmt 1 view .LVU22
  1973. ARM GAS /tmp/ccPRqU3T.s page 35
  1974. 106 .LVL9:
  1975. 168:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  1976. 169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  1977. 170:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_SUB_PRIORITY(SubPriority));
  1978. 107 .loc 1 170 3 view .LVU23
  1979. 171:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority));
  1980. 108 .loc 1 171 3 view .LVU24
  1981. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  1982. 173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** prioritygroup = NVIC_GetPriorityGrouping();
  1983. 109 .loc 1 173 3 view .LVU25
  1984. 110 .LBB46:
  1985. 111 .LBI46:
  1986. 1668:Drivers/CMSIS/Include/core_cm4.h **** }
  1987. 1669:Drivers/CMSIS/Include/core_cm4.h ****
  1988. 1670:Drivers/CMSIS/Include/core_cm4.h ****
  1989. 1671:Drivers/CMSIS/Include/core_cm4.h **** /**
  1990. 1672:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Priority Grouping
  1991. 1673:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the priority grouping field from the NVIC Interrupt Controller.
  1992. 1674:Drivers/CMSIS/Include/core_cm4.h **** \return Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field).
  1993. 1675:Drivers/CMSIS/Include/core_cm4.h **** */
  1994. 1676:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetPriorityGrouping(void)
  1995. 112 .loc 2 1676 26 view .LVU26
  1996. 113 .LBB47:
  1997. 1677:Drivers/CMSIS/Include/core_cm4.h **** {
  1998. 1678:Drivers/CMSIS/Include/core_cm4.h **** return ((uint32_t)((SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) >> SCB_AIRCR_PRIGROUP_Pos));
  1999. 114 .loc 2 1678 3 view .LVU27
  2000. 115 .loc 2 1678 26 is_stmt 0 view .LVU28
  2001. 116 0002 194B ldr r3, .L10
  2002. 117 0004 DB68 ldr r3, [r3, #12]
  2003. 118 .loc 2 1678 11 view .LVU29
  2004. 119 0006 C3F30223 ubfx r3, r3, #8, #3
  2005. 120 .LVL10:
  2006. 121 .loc 2 1678 11 view .LVU30
  2007. 122 .LBE47:
  2008. 123 .LBE46:
  2009. 174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  2010. 175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_SetPriority(IRQn, NVIC_EncodePriority(prioritygroup, PreemptPriority, SubPriority));
  2011. 124 .loc 1 175 3 is_stmt 1 view .LVU31
  2012. 125 .LBB48:
  2013. 126 .LBI48:
  2014. 1679:Drivers/CMSIS/Include/core_cm4.h **** }
  2015. 1680:Drivers/CMSIS/Include/core_cm4.h ****
  2016. 1681:Drivers/CMSIS/Include/core_cm4.h ****
  2017. 1682:Drivers/CMSIS/Include/core_cm4.h **** /**
  2018. 1683:Drivers/CMSIS/Include/core_cm4.h **** \brief Enable Interrupt
  2019. 1684:Drivers/CMSIS/Include/core_cm4.h **** \details Enables a device specific interrupt in the NVIC interrupt controller.
  2020. 1685:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2021. 1686:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2022. 1687:Drivers/CMSIS/Include/core_cm4.h **** */
  2023. 1688:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn)
  2024. 1689:Drivers/CMSIS/Include/core_cm4.h **** {
  2025. 1690:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2026. 1691:Drivers/CMSIS/Include/core_cm4.h **** {
  2027. 1692:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  2028. 1693:Drivers/CMSIS/Include/core_cm4.h **** }
  2029. 1694:Drivers/CMSIS/Include/core_cm4.h **** }
  2030. 1695:Drivers/CMSIS/Include/core_cm4.h ****
  2031. ARM GAS /tmp/ccPRqU3T.s page 36
  2032. 1696:Drivers/CMSIS/Include/core_cm4.h ****
  2033. 1697:Drivers/CMSIS/Include/core_cm4.h **** /**
  2034. 1698:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Interrupt Enable status
  2035. 1699:Drivers/CMSIS/Include/core_cm4.h **** \details Returns a device specific interrupt enable status from the NVIC interrupt controller.
  2036. 1700:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2037. 1701:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Interrupt is not enabled.
  2038. 1702:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Interrupt is enabled.
  2039. 1703:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2040. 1704:Drivers/CMSIS/Include/core_cm4.h **** */
  2041. 1705:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn)
  2042. 1706:Drivers/CMSIS/Include/core_cm4.h **** {
  2043. 1707:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2044. 1708:Drivers/CMSIS/Include/core_cm4.h **** {
  2045. 1709:Drivers/CMSIS/Include/core_cm4.h **** return((uint32_t)(((NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
  2046. 1710:Drivers/CMSIS/Include/core_cm4.h **** }
  2047. 1711:Drivers/CMSIS/Include/core_cm4.h **** else
  2048. 1712:Drivers/CMSIS/Include/core_cm4.h **** {
  2049. 1713:Drivers/CMSIS/Include/core_cm4.h **** return(0U);
  2050. 1714:Drivers/CMSIS/Include/core_cm4.h **** }
  2051. 1715:Drivers/CMSIS/Include/core_cm4.h **** }
  2052. 1716:Drivers/CMSIS/Include/core_cm4.h ****
  2053. 1717:Drivers/CMSIS/Include/core_cm4.h ****
  2054. 1718:Drivers/CMSIS/Include/core_cm4.h **** /**
  2055. 1719:Drivers/CMSIS/Include/core_cm4.h **** \brief Disable Interrupt
  2056. 1720:Drivers/CMSIS/Include/core_cm4.h **** \details Disables a device specific interrupt in the NVIC interrupt controller.
  2057. 1721:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2058. 1722:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2059. 1723:Drivers/CMSIS/Include/core_cm4.h **** */
  2060. 1724:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_DisableIRQ(IRQn_Type IRQn)
  2061. 1725:Drivers/CMSIS/Include/core_cm4.h **** {
  2062. 1726:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2063. 1727:Drivers/CMSIS/Include/core_cm4.h **** {
  2064. 1728:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ICER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  2065. 1729:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2066. 1730:Drivers/CMSIS/Include/core_cm4.h **** __ISB();
  2067. 1731:Drivers/CMSIS/Include/core_cm4.h **** }
  2068. 1732:Drivers/CMSIS/Include/core_cm4.h **** }
  2069. 1733:Drivers/CMSIS/Include/core_cm4.h ****
  2070. 1734:Drivers/CMSIS/Include/core_cm4.h ****
  2071. 1735:Drivers/CMSIS/Include/core_cm4.h **** /**
  2072. 1736:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Pending Interrupt
  2073. 1737:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the NVIC pending register and returns the pending bit for the specified device spe
  2074. 1738:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2075. 1739:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Interrupt status is not pending.
  2076. 1740:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Interrupt status is pending.
  2077. 1741:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2078. 1742:Drivers/CMSIS/Include/core_cm4.h **** */
  2079. 1743:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetPendingIRQ(IRQn_Type IRQn)
  2080. 1744:Drivers/CMSIS/Include/core_cm4.h **** {
  2081. 1745:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2082. 1746:Drivers/CMSIS/Include/core_cm4.h **** {
  2083. 1747:Drivers/CMSIS/Include/core_cm4.h **** return((uint32_t)(((NVIC->ISPR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
  2084. 1748:Drivers/CMSIS/Include/core_cm4.h **** }
  2085. 1749:Drivers/CMSIS/Include/core_cm4.h **** else
  2086. 1750:Drivers/CMSIS/Include/core_cm4.h **** {
  2087. 1751:Drivers/CMSIS/Include/core_cm4.h **** return(0U);
  2088. 1752:Drivers/CMSIS/Include/core_cm4.h **** }
  2089. ARM GAS /tmp/ccPRqU3T.s page 37
  2090. 1753:Drivers/CMSIS/Include/core_cm4.h **** }
  2091. 1754:Drivers/CMSIS/Include/core_cm4.h ****
  2092. 1755:Drivers/CMSIS/Include/core_cm4.h ****
  2093. 1756:Drivers/CMSIS/Include/core_cm4.h **** /**
  2094. 1757:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Pending Interrupt
  2095. 1758:Drivers/CMSIS/Include/core_cm4.h **** \details Sets the pending bit of a device specific interrupt in the NVIC pending register.
  2096. 1759:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2097. 1760:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2098. 1761:Drivers/CMSIS/Include/core_cm4.h **** */
  2099. 1762:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetPendingIRQ(IRQn_Type IRQn)
  2100. 1763:Drivers/CMSIS/Include/core_cm4.h **** {
  2101. 1764:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2102. 1765:Drivers/CMSIS/Include/core_cm4.h **** {
  2103. 1766:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ISPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  2104. 1767:Drivers/CMSIS/Include/core_cm4.h **** }
  2105. 1768:Drivers/CMSIS/Include/core_cm4.h **** }
  2106. 1769:Drivers/CMSIS/Include/core_cm4.h ****
  2107. 1770:Drivers/CMSIS/Include/core_cm4.h ****
  2108. 1771:Drivers/CMSIS/Include/core_cm4.h **** /**
  2109. 1772:Drivers/CMSIS/Include/core_cm4.h **** \brief Clear Pending Interrupt
  2110. 1773:Drivers/CMSIS/Include/core_cm4.h **** \details Clears the pending bit of a device specific interrupt in the NVIC pending register.
  2111. 1774:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2112. 1775:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2113. 1776:Drivers/CMSIS/Include/core_cm4.h **** */
  2114. 1777:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_ClearPendingIRQ(IRQn_Type IRQn)
  2115. 1778:Drivers/CMSIS/Include/core_cm4.h **** {
  2116. 1779:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2117. 1780:Drivers/CMSIS/Include/core_cm4.h **** {
  2118. 1781:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ICPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  2119. 1782:Drivers/CMSIS/Include/core_cm4.h **** }
  2120. 1783:Drivers/CMSIS/Include/core_cm4.h **** }
  2121. 1784:Drivers/CMSIS/Include/core_cm4.h ****
  2122. 1785:Drivers/CMSIS/Include/core_cm4.h ****
  2123. 1786:Drivers/CMSIS/Include/core_cm4.h **** /**
  2124. 1787:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Active Interrupt
  2125. 1788:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the active register in the NVIC and returns the active bit for the device specific
  2126. 1789:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2127. 1790:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Interrupt status is not active.
  2128. 1791:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Interrupt status is active.
  2129. 1792:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2130. 1793:Drivers/CMSIS/Include/core_cm4.h **** */
  2131. 1794:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetActive(IRQn_Type IRQn)
  2132. 1795:Drivers/CMSIS/Include/core_cm4.h **** {
  2133. 1796:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2134. 1797:Drivers/CMSIS/Include/core_cm4.h **** {
  2135. 1798:Drivers/CMSIS/Include/core_cm4.h **** return((uint32_t)(((NVIC->IABR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
  2136. 1799:Drivers/CMSIS/Include/core_cm4.h **** }
  2137. 1800:Drivers/CMSIS/Include/core_cm4.h **** else
  2138. 1801:Drivers/CMSIS/Include/core_cm4.h **** {
  2139. 1802:Drivers/CMSIS/Include/core_cm4.h **** return(0U);
  2140. 1803:Drivers/CMSIS/Include/core_cm4.h **** }
  2141. 1804:Drivers/CMSIS/Include/core_cm4.h **** }
  2142. 1805:Drivers/CMSIS/Include/core_cm4.h ****
  2143. 1806:Drivers/CMSIS/Include/core_cm4.h ****
  2144. 1807:Drivers/CMSIS/Include/core_cm4.h **** /**
  2145. 1808:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Interrupt Priority
  2146. 1809:Drivers/CMSIS/Include/core_cm4.h **** \details Sets the priority of a device specific interrupt or a processor exception.
  2147. ARM GAS /tmp/ccPRqU3T.s page 38
  2148. 1810:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
  2149. 1811:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
  2150. 1812:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number.
  2151. 1813:Drivers/CMSIS/Include/core_cm4.h **** \param [in] priority Priority to set.
  2152. 1814:Drivers/CMSIS/Include/core_cm4.h **** \note The priority cannot be set for every processor exception.
  2153. 1815:Drivers/CMSIS/Include/core_cm4.h **** */
  2154. 1816:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
  2155. 1817:Drivers/CMSIS/Include/core_cm4.h **** {
  2156. 1818:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2157. 1819:Drivers/CMSIS/Include/core_cm4.h **** {
  2158. 1820:Drivers/CMSIS/Include/core_cm4.h **** NVIC->IP[((uint32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (u
  2159. 1821:Drivers/CMSIS/Include/core_cm4.h **** }
  2160. 1822:Drivers/CMSIS/Include/core_cm4.h **** else
  2161. 1823:Drivers/CMSIS/Include/core_cm4.h **** {
  2162. 1824:Drivers/CMSIS/Include/core_cm4.h **** SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (u
  2163. 1825:Drivers/CMSIS/Include/core_cm4.h **** }
  2164. 1826:Drivers/CMSIS/Include/core_cm4.h **** }
  2165. 1827:Drivers/CMSIS/Include/core_cm4.h ****
  2166. 1828:Drivers/CMSIS/Include/core_cm4.h ****
  2167. 1829:Drivers/CMSIS/Include/core_cm4.h **** /**
  2168. 1830:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Interrupt Priority
  2169. 1831:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the priority of a device specific interrupt or a processor exception.
  2170. 1832:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
  2171. 1833:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
  2172. 1834:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number.
  2173. 1835:Drivers/CMSIS/Include/core_cm4.h **** \return Interrupt Priority.
  2174. 1836:Drivers/CMSIS/Include/core_cm4.h **** Value is aligned automatically to the implemented priority bits of the microc
  2175. 1837:Drivers/CMSIS/Include/core_cm4.h **** */
  2176. 1838:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetPriority(IRQn_Type IRQn)
  2177. 1839:Drivers/CMSIS/Include/core_cm4.h **** {
  2178. 1840:Drivers/CMSIS/Include/core_cm4.h ****
  2179. 1841:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2180. 1842:Drivers/CMSIS/Include/core_cm4.h **** {
  2181. 1843:Drivers/CMSIS/Include/core_cm4.h **** return(((uint32_t)NVIC->IP[((uint32_t)IRQn)] >> (8U - __NVIC_PRIO_BITS)));
  2182. 1844:Drivers/CMSIS/Include/core_cm4.h **** }
  2183. 1845:Drivers/CMSIS/Include/core_cm4.h **** else
  2184. 1846:Drivers/CMSIS/Include/core_cm4.h **** {
  2185. 1847:Drivers/CMSIS/Include/core_cm4.h **** return(((uint32_t)SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] >> (8U - __NVIC_PRIO_BITS)));
  2186. 1848:Drivers/CMSIS/Include/core_cm4.h **** }
  2187. 1849:Drivers/CMSIS/Include/core_cm4.h **** }
  2188. 1850:Drivers/CMSIS/Include/core_cm4.h ****
  2189. 1851:Drivers/CMSIS/Include/core_cm4.h ****
  2190. 1852:Drivers/CMSIS/Include/core_cm4.h **** /**
  2191. 1853:Drivers/CMSIS/Include/core_cm4.h **** \brief Encode Priority
  2192. 1854:Drivers/CMSIS/Include/core_cm4.h **** \details Encodes the priority for an interrupt with the given priority group,
  2193. 1855:Drivers/CMSIS/Include/core_cm4.h **** preemptive priority value, and subpriority value.
  2194. 1856:Drivers/CMSIS/Include/core_cm4.h **** In case of a conflict between priority grouping and available
  2195. 1857:Drivers/CMSIS/Include/core_cm4.h **** priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
  2196. 1858:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PriorityGroup Used priority group.
  2197. 1859:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PreemptPriority Preemptive priority value (starting from 0).
  2198. 1860:Drivers/CMSIS/Include/core_cm4.h **** \param [in] SubPriority Subpriority value (starting from 0).
  2199. 1861:Drivers/CMSIS/Include/core_cm4.h **** \return Encoded priority. Value can be used in the function \ref NVIC_SetP
  2200. 1862:Drivers/CMSIS/Include/core_cm4.h **** */
  2201. 1863:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uin
  2202. 127 .loc 2 1863 26 view .LVU32
  2203. 128 .LBB49:
  2204. 1864:Drivers/CMSIS/Include/core_cm4.h **** {
  2205. ARM GAS /tmp/ccPRqU3T.s page 39
  2206. 1865:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used
  2207. 129 .loc 2 1865 3 view .LVU33
  2208. 1866:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PreemptPriorityBits;
  2209. 130 .loc 2 1866 3 view .LVU34
  2210. 1867:Drivers/CMSIS/Include/core_cm4.h **** uint32_t SubPriorityBits;
  2211. 131 .loc 2 1867 3 view .LVU35
  2212. 1868:Drivers/CMSIS/Include/core_cm4.h ****
  2213. 1869:Drivers/CMSIS/Include/core_cm4.h **** PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NV
  2214. 132 .loc 2 1869 3 view .LVU36
  2215. 133 .loc 2 1869 31 is_stmt 0 view .LVU37
  2216. 134 000a C3F1070C rsb ip, r3, #7
  2217. 135 .loc 2 1869 23 view .LVU38
  2218. 136 000e BCF1040F cmp ip, #4
  2219. 137 0012 28BF it cs
  2220. 138 0014 4FF0040C movcs ip, #4
  2221. 139 .LVL11:
  2222. 1870:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  2223. 140 .loc 2 1870 3 is_stmt 1 view .LVU39
  2224. 141 .loc 2 1870 44 is_stmt 0 view .LVU40
  2225. 142 0018 03F1040E add lr, r3, #4
  2226. 143 .loc 2 1870 109 view .LVU41
  2227. 144 001c BEF1060F cmp lr, #6
  2228. 145 0020 18D9 bls .L8
  2229. 146 0022 033B subs r3, r3, #3
  2230. 147 .LVL12:
  2231. 148 .L5:
  2232. 1871:Drivers/CMSIS/Include/core_cm4.h ****
  2233. 1872:Drivers/CMSIS/Include/core_cm4.h **** return (
  2234. 149 .loc 2 1872 3 is_stmt 1 view .LVU42
  2235. 1873:Drivers/CMSIS/Include/core_cm4.h **** ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits
  2236. 150 .loc 2 1873 30 is_stmt 0 view .LVU43
  2237. 151 0024 4FF0FF3E mov lr, #-1
  2238. 152 .LVL13:
  2239. 153 .loc 2 1873 30 view .LVU44
  2240. 154 0028 0EFA0CFC lsl ip, lr, ip
  2241. 155 .LVL14:
  2242. 156 .loc 2 1873 30 view .LVU45
  2243. 157 002c 21EA0C01 bic r1, r1, ip
  2244. 158 .LVL15:
  2245. 159 .loc 2 1873 82 view .LVU46
  2246. 160 0030 9940 lsls r1, r1, r3
  2247. 1874:Drivers/CMSIS/Include/core_cm4.h **** ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
  2248. 161 .loc 2 1874 30 view .LVU47
  2249. 162 0032 0EFA03F3 lsl r3, lr, r3
  2250. 163 .LVL16:
  2251. 164 .loc 2 1874 30 view .LVU48
  2252. 165 0036 22EA0303 bic r3, r2, r3
  2253. 1873:Drivers/CMSIS/Include/core_cm4.h **** ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits
  2254. 166 .loc 2 1873 102 view .LVU49
  2255. 167 003a 1943 orrs r1, r1, r3
  2256. 168 .LVL17:
  2257. 1873:Drivers/CMSIS/Include/core_cm4.h **** ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits
  2258. 169 .loc 2 1873 102 view .LVU50
  2259. 170 .LBE49:
  2260. 171 .LBE48:
  2261. 172 .LBB51:
  2262. 173 .LBI51:
  2263. ARM GAS /tmp/ccPRqU3T.s page 40
  2264. 1816:Drivers/CMSIS/Include/core_cm4.h **** {
  2265. 174 .loc 2 1816 22 is_stmt 1 view .LVU51
  2266. 175 .LBB52:
  2267. 1818:Drivers/CMSIS/Include/core_cm4.h **** {
  2268. 176 .loc 2 1818 3 view .LVU52
  2269. 1818:Drivers/CMSIS/Include/core_cm4.h **** {
  2270. 177 .loc 2 1818 6 is_stmt 0 view .LVU53
  2271. 178 003c 0028 cmp r0, #0
  2272. 179 003e 0BDB blt .L6
  2273. 1820:Drivers/CMSIS/Include/core_cm4.h **** }
  2274. 180 .loc 2 1820 5 is_stmt 1 view .LVU54
  2275. 1820:Drivers/CMSIS/Include/core_cm4.h **** }
  2276. 181 .loc 2 1820 48 is_stmt 0 view .LVU55
  2277. 182 0040 0901 lsls r1, r1, #4
  2278. 183 .LVL18:
  2279. 1820:Drivers/CMSIS/Include/core_cm4.h **** }
  2280. 184 .loc 2 1820 48 view .LVU56
  2281. 185 0042 C9B2 uxtb r1, r1
  2282. 1820:Drivers/CMSIS/Include/core_cm4.h **** }
  2283. 186 .loc 2 1820 46 view .LVU57
  2284. 187 0044 00F16040 add r0, r0, #-536870912
  2285. 188 .LVL19:
  2286. 1820:Drivers/CMSIS/Include/core_cm4.h **** }
  2287. 189 .loc 2 1820 46 view .LVU58
  2288. 190 0048 00F56140 add r0, r0, #57600
  2289. 191 004c 80F80013 strb r1, [r0, #768]
  2290. 192 .LVL20:
  2291. 193 .L4:
  2292. 1820:Drivers/CMSIS/Include/core_cm4.h **** }
  2293. 194 .loc 2 1820 46 view .LVU59
  2294. 195 .LBE52:
  2295. 196 .LBE51:
  2296. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  2297. 197 .loc 1 176 1 view .LVU60
  2298. 198 0050 5DF804FB ldr pc, [sp], #4
  2299. 199 .LVL21:
  2300. 200 .L8:
  2301. 201 .LBB54:
  2302. 202 .LBB50:
  2303. 1870:Drivers/CMSIS/Include/core_cm4.h ****
  2304. 203 .loc 2 1870 109 view .LVU61
  2305. 204 0054 0023 movs r3, #0
  2306. 205 .LVL22:
  2307. 1870:Drivers/CMSIS/Include/core_cm4.h ****
  2308. 206 .loc 2 1870 109 view .LVU62
  2309. 207 0056 E5E7 b .L5
  2310. 208 .LVL23:
  2311. 209 .L6:
  2312. 1870:Drivers/CMSIS/Include/core_cm4.h ****
  2313. 210 .loc 2 1870 109 view .LVU63
  2314. 211 .LBE50:
  2315. 212 .LBE54:
  2316. 213 .LBB55:
  2317. 214 .LBB53:
  2318. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  2319. 215 .loc 2 1824 5 is_stmt 1 view .LVU64
  2320. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  2321. ARM GAS /tmp/ccPRqU3T.s page 41
  2322. 216 .loc 2 1824 32 is_stmt 0 view .LVU65
  2323. 217 0058 00F00F00 and r0, r0, #15
  2324. 218 .LVL24:
  2325. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  2326. 219 .loc 2 1824 48 view .LVU66
  2327. 220 005c 0901 lsls r1, r1, #4
  2328. 221 .LVL25:
  2329. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  2330. 222 .loc 2 1824 48 view .LVU67
  2331. 223 005e C9B2 uxtb r1, r1
  2332. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  2333. 224 .loc 2 1824 46 view .LVU68
  2334. 225 0060 024B ldr r3, .L10+4
  2335. 226 0062 1954 strb r1, [r3, r0]
  2336. 227 .LVL26:
  2337. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  2338. 228 .loc 2 1824 46 view .LVU69
  2339. 229 .LBE53:
  2340. 230 .LBE55:
  2341. 231 .loc 1 176 1 view .LVU70
  2342. 232 0064 F4E7 b .L4
  2343. 233 .L11:
  2344. 234 0066 00BF .align 2
  2345. 235 .L10:
  2346. 236 0068 00ED00E0 .word -536810240
  2347. 237 006c 14ED00E0 .word -536810220
  2348. 238 .cfi_endproc
  2349. 239 .LFE131:
  2350. 241 .section .text.HAL_NVIC_EnableIRQ,"ax",%progbits
  2351. 242 .align 1
  2352. 243 .global HAL_NVIC_EnableIRQ
  2353. 244 .syntax unified
  2354. 245 .thumb
  2355. 246 .thumb_func
  2356. 248 HAL_NVIC_EnableIRQ:
  2357. 249 .LVL27:
  2358. 250 .LFB132:
  2359. 177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  2360. 178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  2361. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Enables a device specific interrupt in the NVIC interrupt controller.
  2362. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @note To configure interrupts priority correctly, the NVIC_PriorityGroupConfig()
  2363. 181:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * function should be called before.
  2364. 182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number.
  2365. 183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  2366. 184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  2367. 185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  2368. 186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  2369. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_EnableIRQ(IRQn_Type IRQn)
  2370. 188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  2371. 251 .loc 1 188 1 is_stmt 1 view -0
  2372. 252 .cfi_startproc
  2373. 253 @ args = 0, pretend = 0, frame = 0
  2374. 254 @ frame_needed = 0, uses_anonymous_args = 0
  2375. 255 @ link register save eliminated.
  2376. 189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  2377. 190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  2378. 256 .loc 1 190 3 view .LVU72
  2379. ARM GAS /tmp/ccPRqU3T.s page 42
  2380. 191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  2381. 192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Enable interrupt */
  2382. 193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_EnableIRQ(IRQn);
  2383. 257 .loc 1 193 3 view .LVU73
  2384. 258 .LBB56:
  2385. 259 .LBI56:
  2386. 1688:Drivers/CMSIS/Include/core_cm4.h **** {
  2387. 260 .loc 2 1688 22 view .LVU74
  2388. 261 .LBB57:
  2389. 1690:Drivers/CMSIS/Include/core_cm4.h **** {
  2390. 262 .loc 2 1690 3 view .LVU75
  2391. 1690:Drivers/CMSIS/Include/core_cm4.h **** {
  2392. 263 .loc 2 1690 6 is_stmt 0 view .LVU76
  2393. 264 0000 0028 cmp r0, #0
  2394. 265 .LVL28:
  2395. 1690:Drivers/CMSIS/Include/core_cm4.h **** {
  2396. 266 .loc 2 1690 6 view .LVU77
  2397. 267 0002 07DB blt .L12
  2398. 1692:Drivers/CMSIS/Include/core_cm4.h **** }
  2399. 268 .loc 2 1692 5 is_stmt 1 view .LVU78
  2400. 1692:Drivers/CMSIS/Include/core_cm4.h **** }
  2401. 269 .loc 2 1692 81 is_stmt 0 view .LVU79
  2402. 270 0004 00F01F02 and r2, r0, #31
  2403. 1692:Drivers/CMSIS/Include/core_cm4.h **** }
  2404. 271 .loc 2 1692 34 view .LVU80
  2405. 272 0008 4009 lsrs r0, r0, #5
  2406. 1692:Drivers/CMSIS/Include/core_cm4.h **** }
  2407. 273 .loc 2 1692 45 view .LVU81
  2408. 274 000a 0123 movs r3, #1
  2409. 275 000c 9340 lsls r3, r3, r2
  2410. 1692:Drivers/CMSIS/Include/core_cm4.h **** }
  2411. 276 .loc 2 1692 43 view .LVU82
  2412. 277 000e 024A ldr r2, .L14
  2413. 278 0010 42F82030 str r3, [r2, r0, lsl #2]
  2414. 279 .LVL29:
  2415. 280 .L12:
  2416. 1692:Drivers/CMSIS/Include/core_cm4.h **** }
  2417. 281 .loc 2 1692 43 view .LVU83
  2418. 282 .LBE57:
  2419. 283 .LBE56:
  2420. 194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  2421. 284 .loc 1 194 1 view .LVU84
  2422. 285 0014 7047 bx lr
  2423. 286 .L15:
  2424. 287 0016 00BF .align 2
  2425. 288 .L14:
  2426. 289 0018 00E100E0 .word -536813312
  2427. 290 .cfi_endproc
  2428. 291 .LFE132:
  2429. 293 .section .text.HAL_NVIC_DisableIRQ,"ax",%progbits
  2430. 294 .align 1
  2431. 295 .global HAL_NVIC_DisableIRQ
  2432. 296 .syntax unified
  2433. 297 .thumb
  2434. 298 .thumb_func
  2435. 300 HAL_NVIC_DisableIRQ:
  2436. 301 .LVL30:
  2437. ARM GAS /tmp/ccPRqU3T.s page 43
  2438. 302 .LFB133:
  2439. 195:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  2440. 196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  2441. 197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Disables a device specific interrupt in the NVIC interrupt controller.
  2442. 198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number.
  2443. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  2444. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  2445. 201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  2446. 202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  2447. 203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_DisableIRQ(IRQn_Type IRQn)
  2448. 204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  2449. 303 .loc 1 204 1 is_stmt 1 view -0
  2450. 304 .cfi_startproc
  2451. 305 @ args = 0, pretend = 0, frame = 0
  2452. 306 @ frame_needed = 0, uses_anonymous_args = 0
  2453. 307 @ link register save eliminated.
  2454. 205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  2455. 206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  2456. 308 .loc 1 206 3 view .LVU86
  2457. 207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  2458. 208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Disable interrupt */
  2459. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_DisableIRQ(IRQn);
  2460. 309 .loc 1 209 3 view .LVU87
  2461. 310 .LBB64:
  2462. 311 .LBI64:
  2463. 1724:Drivers/CMSIS/Include/core_cm4.h **** {
  2464. 312 .loc 2 1724 22 view .LVU88
  2465. 313 .LBB65:
  2466. 1726:Drivers/CMSIS/Include/core_cm4.h **** {
  2467. 314 .loc 2 1726 3 view .LVU89
  2468. 1726:Drivers/CMSIS/Include/core_cm4.h **** {
  2469. 315 .loc 2 1726 6 is_stmt 0 view .LVU90
  2470. 316 0000 0028 cmp r0, #0
  2471. 317 .LVL31:
  2472. 1726:Drivers/CMSIS/Include/core_cm4.h **** {
  2473. 318 .loc 2 1726 6 view .LVU91
  2474. 319 0002 0CDB blt .L16
  2475. 1728:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2476. 320 .loc 2 1728 5 is_stmt 1 view .LVU92
  2477. 1728:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2478. 321 .loc 2 1728 81 is_stmt 0 view .LVU93
  2479. 322 0004 00F01F02 and r2, r0, #31
  2480. 1728:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2481. 323 .loc 2 1728 34 view .LVU94
  2482. 324 0008 4009 lsrs r0, r0, #5
  2483. 1728:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2484. 325 .loc 2 1728 45 view .LVU95
  2485. 326 000a 0123 movs r3, #1
  2486. 327 000c 9340 lsls r3, r3, r2
  2487. 1728:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2488. 328 .loc 2 1728 43 view .LVU96
  2489. 329 000e 2030 adds r0, r0, #32
  2490. 330 0010 034A ldr r2, .L18
  2491. 331 0012 42F82030 str r3, [r2, r0, lsl #2]
  2492. 1729:Drivers/CMSIS/Include/core_cm4.h **** __ISB();
  2493. 332 .loc 2 1729 5 is_stmt 1 view .LVU97
  2494. 333 .LBB66:
  2495. ARM GAS /tmp/ccPRqU3T.s page 44
  2496. 334 .LBI66:
  2497. 335 .file 3 "Drivers/CMSIS/Include/cmsis_gcc.h"
  2498. 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
  2499. 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
  2500. 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
  2501. 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.0.4
  2502. 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 09. April 2018
  2503. 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
  2504. 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
  2505. 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
  2506. 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2507. 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
  2508. 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2509. 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
  2510. 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
  2511. 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
  2512. 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2513. 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
  2514. 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2515. 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
  2516. 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  2517. 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  2518. 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
  2519. 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
  2520. 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2521. 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2522. 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
  2523. 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
  2524. 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2525. 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
  2526. 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2527. 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
  2528. 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
  2529. 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
  2530. 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2531. 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
  2532. 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
  2533. 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
  2534. 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2535. 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2536. 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
  2537. 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
  2538. 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
  2539. 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2540. 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
  2541. 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
  2542. 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2543. 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
  2544. 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
  2545. 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2546. 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
  2547. 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
  2548. 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2549. 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
  2550. 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
  2551. 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2552. 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
  2553. ARM GAS /tmp/ccPRqU3T.s page 45
  2554. 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
  2555. 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2556. 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
  2557. 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
  2558. 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2559. 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
  2560. 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
  2561. 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2562. 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
  2563. 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
  2564. 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2565. 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
  2566. 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
  2567. 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2568. 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
  2569. 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2570. 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2571. 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2572. 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
  2573. 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2574. 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
  2575. 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2576. 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
  2577. 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2578. 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2579. 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2580. 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
  2581. 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2582. 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
  2583. 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2584. 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
  2585. 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2586. 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2587. 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2588. 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
  2589. 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2590. 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
  2591. 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2592. 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
  2593. 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2594. 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2595. 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2596. 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
  2597. 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2598. 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
  2599. 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2600. 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
  2601. 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2602. 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2603. 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2604. 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
  2605. 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2606. 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
  2607. 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2608. 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
  2609. 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
  2610. 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2611. ARM GAS /tmp/ccPRqU3T.s page 46
  2612. 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
  2613. 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
  2614. 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2615. 116:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2616. 117:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2617. 118:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
  2618. 119:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
  2619. 120:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
  2620. 121:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  2621. 122:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2622. 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2623. 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2624. 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
  2625. 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
  2626. 127:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  2627. 128:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2628. 129:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
  2629. 130:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2630. 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
  2631. 132:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2632. 133:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2633. 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2634. 135:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2635. 136:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
  2636. 137:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
  2637. 138:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  2638. 139:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2639. 140:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
  2640. 141:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2641. 142:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
  2642. 143:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2643. 144:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2644. 145:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2645. 146:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2646. 147:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
  2647. 148:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
  2648. 149:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
  2649. 150:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2650. 151:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
  2651. 152:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2652. 153:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2653. 154:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2654. 155:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
  2655. 156:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2656. 157:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2657. 158:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2658. 159:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2659. 160:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2660. 161:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2661. 162:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
  2662. 163:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
  2663. 164:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
  2664. 165:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2665. 166:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
  2666. 167:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2667. 168:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2668. 169:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2669. ARM GAS /tmp/ccPRqU3T.s page 47
  2670. 170:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
  2671. 171:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2672. 172:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2673. 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2674. 174:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2675. 175:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2676. 176:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2677. 177:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
  2678. 178:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
  2679. 179:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  2680. 180:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2681. 181:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
  2682. 182:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2683. 183:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
  2684. 184:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2685. 185:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2686. 186:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2687. 187:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2688. 188:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2689. 189:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
  2690. 190:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
  2691. 191:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  2692. 192:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2693. 193:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
  2694. 194:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2695. 195:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
  2696. 196:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2697. 197:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2698. 198:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2699. 199:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2700. 200:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2701. 201:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
  2702. 202:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
  2703. 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
  2704. 204:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2705. 205:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
  2706. 206:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2707. 207:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2708. 208:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2709. 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
  2710. 210:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2711. 211:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2712. 212:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2713. 213:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2714. 214:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2715. 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
  2716. 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
  2717. 217:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
  2718. 218:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2719. 219:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
  2720. 220:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2721. 221:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2722. 222:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2723. 223:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
  2724. 224:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2725. 225:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2726. 226:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2727. ARM GAS /tmp/ccPRqU3T.s page 48
  2728. 227:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2729. 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2730. 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
  2731. 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
  2732. 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
  2733. 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2734. 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
  2735. 234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2736. 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2737. 236:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2738. 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
  2739. 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2740. 239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2741. 240:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2742. 241:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2743. 242:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2744. 243:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
  2745. 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
  2746. 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  2747. 246:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2748. 247:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
  2749. 248:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2750. 249:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2751. 250:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2752. 251:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
  2753. 252:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2754. 253:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2755. 254:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2756. 255:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2757. 256:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2758. 257:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2759. 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
  2760. 259:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
  2761. 260:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  2762. 261:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2763. 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
  2764. 263:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2765. 264:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2766. 265:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2767. 266:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
  2768. 267:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2769. 268:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2770. 269:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2771. 270:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2772. 271:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2773. 272:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2774. 273:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
  2775. 274:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
  2776. 275:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  2777. 276:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2778. 277:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
  2779. 278:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2780. 279:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
  2781. 280:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2782. 281:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2783. 282:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2784. 283:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2785. ARM GAS /tmp/ccPRqU3T.s page 49
  2786. 284:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2787. 285:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  2788. 286:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
  2789. 287:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  2790. 288:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2791. 289:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
  2792. 290:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2793. 291:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
  2794. 292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2795. 293:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2796. 294:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2797. 295:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2798. 296:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2799. 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
  2800. 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
  2801. 299:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  2802. 300:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2803. 301:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
  2804. 302:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2805. 303:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2806. 304:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2807. 305:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
  2808. 306:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2809. 307:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2810. 308:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2811. 309:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2812. 310:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2813. 311:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2814. 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
  2815. 313:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
  2816. 314:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  2817. 315:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2818. 316:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
  2819. 317:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2820. 318:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2821. 319:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2822. 320:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
  2823. 321:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2824. 322:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2825. 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2826. 324:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2827. 325:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2828. 326:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2829. 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
  2830. 328:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
  2831. 329:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  2832. 330:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2833. 331:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
  2834. 332:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2835. 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
  2836. 334:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2837. 335:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2838. 336:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2839. 337:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2840. 338:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2841. 339:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
  2842. 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
  2843. ARM GAS /tmp/ccPRqU3T.s page 50
  2844. 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  2845. 342:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2846. 343:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
  2847. 344:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2848. 345:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
  2849. 346:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2850. 347:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2851. 348:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2852. 349:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2853. 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2854. 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2855. 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
  2856. 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
  2857. 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
  2858. 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2859. 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
  2860. 357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2861. 358:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2862. 359:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2863. 360:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
  2864. 361:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2865. 362:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2866. 363:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2867. 364:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2868. 365:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2869. 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
  2870. 367:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
  2871. 368:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
  2872. 369:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2873. 370:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
  2874. 371:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2875. 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
  2876. 373:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2877. 374:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2878. 375:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2879. 376:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2880. 377:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2881. 378:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
  2882. 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
  2883. 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  2884. 381:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2885. 382:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
  2886. 383:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2887. 384:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2888. 385:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2889. 386:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
  2890. 387:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2891. 388:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2892. 389:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2893. 390:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2894. 391:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2895. 392:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2896. 393:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
  2897. 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
  2898. 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  2899. 396:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2900. 397:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
  2901. ARM GAS /tmp/ccPRqU3T.s page 51
  2902. 398:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2903. 399:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2904. 400:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2905. 401:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
  2906. 402:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2907. 403:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2908. 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2909. 405:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2910. 406:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2911. 407:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2912. 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
  2913. 409:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
  2914. 410:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  2915. 411:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2916. 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
  2917. 413:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2918. 414:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
  2919. 415:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2920. 416:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2921. 417:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2922. 418:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2923. 419:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2924. 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask (non-secure)
  2925. 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Priority Mask Register when in secure state.
  2926. 422:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  2927. 423:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2928. 424:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PRIMASK_NS(uint32_t priMask)
  2929. 425:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2930. 426:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask_ns, %0" : : "r" (priMask) : "memory");
  2931. 427:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2932. 428:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2933. 429:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2934. 430:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2935. 431:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  2936. 432:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  2937. 433:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
  2938. 434:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2939. 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable FIQ
  2940. 436:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables FIQ interrupts by clearing the F-bit in the CPSR.
  2941. 437:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  2942. 438:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2943. 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_fault_irq(void)
  2944. 440:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2945. 441:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie f" : : : "memory");
  2946. 442:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2947. 443:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2948. 444:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2949. 445:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2950. 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable FIQ
  2951. 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables FIQ interrupts by setting the F-bit in the CPSR.
  2952. 448:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  2953. 449:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2954. 450:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_fault_irq(void)
  2955. 451:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2956. 452:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid f" : : : "memory");
  2957. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2958. 454:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2959. ARM GAS /tmp/ccPRqU3T.s page 52
  2960. 455:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2961. 456:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2962. 457:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority
  2963. 458:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Base Priority register.
  2964. 459:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
  2965. 460:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2966. 461:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_BASEPRI(void)
  2967. 462:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2968. 463:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2969. 464:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2970. 465:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri" : "=r" (result) );
  2971. 466:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2972. 467:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2973. 468:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2974. 469:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2975. 470:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2976. 471:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2977. 472:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority (non-secure)
  2978. 473:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Base Priority register when in secure state.
  2979. 474:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
  2980. 475:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2981. 476:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_BASEPRI_NS(void)
  2982. 477:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2983. 478:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2984. 479:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2985. 480:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri_ns" : "=r" (result) );
  2986. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2987. 482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2988. 483:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2989. 484:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2990. 485:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2991. 486:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2992. 487:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority
  2993. 488:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register.
  2994. 489:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  2995. 490:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2996. 491:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI(uint32_t basePri)
  2997. 492:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2998. 493:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri, %0" : : "r" (basePri) : "memory");
  2999. 494:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3000. 495:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3001. 496:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3002. 497:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3003. 498:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3004. 499:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority (non-secure)
  3005. 500:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Base Priority register when in secure state.
  3006. 501:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  3007. 502:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3008. 503:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_BASEPRI_NS(uint32_t basePri)
  3009. 504:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3010. 505:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_ns, %0" : : "r" (basePri) : "memory");
  3011. 506:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3012. 507:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3013. 508:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3014. 509:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3015. 510:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3016. 511:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority with condition
  3017. ARM GAS /tmp/ccPRqU3T.s page 53
  3018. 512:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register only if BASEPRI masking is disable
  3019. 513:Drivers/CMSIS/Include/cmsis_gcc.h **** or the new value increases the BASEPRI priority level.
  3020. 514:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  3021. 515:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3022. 516:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI_MAX(uint32_t basePri)
  3023. 517:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3024. 518:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_max, %0" : : "r" (basePri) : "memory");
  3025. 519:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3026. 520:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3027. 521:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3028. 522:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3029. 523:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask
  3030. 524:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Fault Mask register.
  3031. 525:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
  3032. 526:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3033. 527:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FAULTMASK(void)
  3034. 528:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3035. 529:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3036. 530:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3037. 531:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask" : "=r" (result) );
  3038. 532:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3039. 533:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3040. 534:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3041. 535:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3042. 536:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3043. 537:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3044. 538:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask (non-secure)
  3045. 539:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Fault Mask register when in secure state.
  3046. 540:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
  3047. 541:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3048. 542:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_FAULTMASK_NS(void)
  3049. 543:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3050. 544:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3051. 545:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3052. 546:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask_ns" : "=r" (result) );
  3053. 547:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3054. 548:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3055. 549:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3056. 550:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3057. 551:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3058. 552:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3059. 553:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask
  3060. 554:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Fault Mask register.
  3061. 555:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
  3062. 556:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3063. 557:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FAULTMASK(uint32_t faultMask)
  3064. 558:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3065. 559:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory");
  3066. 560:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3067. 561:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3068. 562:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3069. 563:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3070. 564:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3071. 565:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask (non-secure)
  3072. 566:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Fault Mask register when in secure state.
  3073. 567:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
  3074. 568:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3075. ARM GAS /tmp/ccPRqU3T.s page 54
  3076. 569:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_FAULTMASK_NS(uint32_t faultMask)
  3077. 570:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3078. 571:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask_ns, %0" : : "r" (faultMask) : "memory");
  3079. 572:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3080. 573:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3081. 574:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3082. 575:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  3083. 576:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  3084. 577:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) */
  3085. 578:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3086. 579:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3087. 580:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
  3088. 581:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) )
  3089. 582:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3090. 583:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3091. 584:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit
  3092. 585:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3093. 586:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
  3094. 587:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  3095. 588:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3096. 589:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer Limit (PSPLIM).
  3097. 590:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
  3098. 591:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3099. 592:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSPLIM(void)
  3100. 593:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3101. 594:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  3102. 595:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  3103. 596:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  3104. 597:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  3105. 598:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3106. 599:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3107. 600:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim" : "=r" (result) );
  3108. 601:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  3109. 602:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3110. 603:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3111. 604:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3112. 605:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3))
  3113. 606:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3114. 607:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit (non-secure)
  3115. 608:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3116. 609:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
  3117. 610:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3118. 611:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in
  3119. 612:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
  3120. 613:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3121. 614:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSPLIM_NS(void)
  3122. 615:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3123. 616:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  3124. 617:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  3125. 618:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  3126. 619:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3127. 620:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3128. 621:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim_ns" : "=r" (result) );
  3129. 622:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  3130. 623:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3131. 624:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3132. 625:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3133. ARM GAS /tmp/ccPRqU3T.s page 55
  3134. 626:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3135. 627:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3136. 628:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3137. 629:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer Limit
  3138. 630:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3139. 631:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
  3140. 632:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  3141. 633:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3142. 634:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer Limit (PSPLIM).
  3143. 635:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
  3144. 636:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3145. 637:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSPLIM(uint32_t ProcStackPtrLimit)
  3146. 638:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3147. 639:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  3148. 640:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  3149. 641:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  3150. 642:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
  3151. 643:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3152. 644:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim, %0" : : "r" (ProcStackPtrLimit));
  3153. 645:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3154. 646:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3155. 647:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3156. 648:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3157. 649:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3158. 650:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3159. 651:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  3160. 652:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3161. 653:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
  3162. 654:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3163. 655:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in s
  3164. 656:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
  3165. 657:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3166. 658:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSPLIM_NS(uint32_t ProcStackPtrLimit)
  3167. 659:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3168. 660:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  3169. 661:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  3170. 662:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
  3171. 663:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3172. 664:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim_ns, %0\n" : : "r" (ProcStackPtrLimit));
  3173. 665:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3174. 666:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3175. 667:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3176. 668:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3177. 669:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3178. 670:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3179. 671:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit
  3180. 672:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3181. 673:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
  3182. 674:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  3183. 675:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3184. 676:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer Limit (MSPLIM).
  3185. 677:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
  3186. 678:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3187. 679:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSPLIM(void)
  3188. 680:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3189. 681:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  3190. 682:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  3191. ARM GAS /tmp/ccPRqU3T.s page 56
  3192. 683:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3193. 684:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  3194. 685:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3195. 686:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3196. 687:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim" : "=r" (result) );
  3197. 688:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  3198. 689:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3199. 690:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3200. 691:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3201. 692:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3202. 693:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3203. 694:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3204. 695:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit (non-secure)
  3205. 696:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3206. 697:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
  3207. 698:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3208. 699:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in sec
  3209. 700:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
  3210. 701:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3211. 702:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSPLIM_NS(void)
  3212. 703:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3213. 704:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  3214. 705:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3215. 706:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  3216. 707:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3217. 708:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3218. 709:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim_ns" : "=r" (result) );
  3219. 710:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  3220. 711:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3221. 712:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3222. 713:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3223. 714:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3224. 715:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3225. 716:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3226. 717:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit
  3227. 718:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3228. 719:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
  3229. 720:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  3230. 721:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3231. 722:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer Limit (MSPLIM).
  3232. 723:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer Limit value to set
  3233. 724:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3234. 725:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSPLIM(uint32_t MainStackPtrLimit)
  3235. 726:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3236. 727:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  3237. 728:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  3238. 729:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3239. 730:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
  3240. 731:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3241. 732:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim, %0" : : "r" (MainStackPtrLimit));
  3242. 733:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3243. 734:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3244. 735:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3245. 736:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3246. 737:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3247. 738:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3248. 739:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit (non-secure)
  3249. ARM GAS /tmp/ccPRqU3T.s page 57
  3250. 740:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3251. 741:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
  3252. 742:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3253. 743:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secu
  3254. 744:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer value to set
  3255. 745:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3256. 746:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSPLIM_NS(uint32_t MainStackPtrLimit)
  3257. 747:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3258. 748:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  3259. 749:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3260. 750:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
  3261. 751:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3262. 752:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim_ns, %0" : : "r" (MainStackPtrLimit));
  3263. 753:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3264. 754:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3265. 755:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3266. 756:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3267. 757:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
  3268. 758:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) */
  3269. 759:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3270. 760:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3271. 761:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3272. 762:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get FPSCR
  3273. 763:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Floating Point Status/Control register.
  3274. 764:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Floating Point Status/Control register value
  3275. 765:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3276. 766:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FPSCR(void)
  3277. 767:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3278. 768:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
  3279. 769:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
  3280. 770:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_get_fpscr)
  3281. 771:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
  3282. 772:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
  3283. 773:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
  3284. 774:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_arm_get_fpscr();
  3285. 775:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3286. 776:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3287. 777:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3288. 778:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMRS %0, fpscr" : "=r" (result) );
  3289. 779:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3290. 780:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3291. 781:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3292. 782:Drivers/CMSIS/Include/cmsis_gcc.h **** return(0U);
  3293. 783:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3294. 784:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3295. 785:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3296. 786:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3297. 787:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3298. 788:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set FPSCR
  3299. 789:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Floating Point Status/Control register.
  3300. 790:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] fpscr Floating Point Status/Control value to set
  3301. 791:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3302. 792:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FPSCR(uint32_t fpscr)
  3303. 793:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3304. 794:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
  3305. 795:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
  3306. 796:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_set_fpscr)
  3307. ARM GAS /tmp/ccPRqU3T.s page 58
  3308. 797:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
  3309. 798:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
  3310. 799:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
  3311. 800:Drivers/CMSIS/Include/cmsis_gcc.h **** __builtin_arm_set_fpscr(fpscr);
  3312. 801:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3313. 802:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc", "memory");
  3314. 803:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3315. 804:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3316. 805:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)fpscr;
  3317. 806:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3318. 807:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3319. 808:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3320. 809:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3321. 810:Drivers/CMSIS/Include/cmsis_gcc.h **** /*@} end of CMSIS_Core_RegAccFunctions */
  3322. 811:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3323. 812:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3324. 813:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################## Core Instruction Access ######################### */
  3325. 814:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
  3326. 815:Drivers/CMSIS/Include/cmsis_gcc.h **** Access to dedicated instructions
  3327. 816:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  3328. 817:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3329. 818:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3330. 819:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Define macros for porting to both thumb1 and thumb2.
  3331. 820:Drivers/CMSIS/Include/cmsis_gcc.h **** * For thumb1, use low register (r0-r7), specified by constraint "l"
  3332. 821:Drivers/CMSIS/Include/cmsis_gcc.h **** * Otherwise, use general registers, specified by constraint "r" */
  3333. 822:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined (__thumb__) && !defined (__thumb2__)
  3334. 823:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=l" (r)
  3335. 824:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+l" (r)
  3336. 825:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "l" (r)
  3337. 826:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3338. 827:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=r" (r)
  3339. 828:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+r" (r)
  3340. 829:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "r" (r)
  3341. 830:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3342. 831:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3343. 832:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3344. 833:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief No Operation
  3345. 834:Drivers/CMSIS/Include/cmsis_gcc.h **** \details No Operation does nothing. This instruction can be used for code alignment purposes.
  3346. 835:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3347. 836:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NOP() __ASM volatile ("nop")
  3348. 837:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3349. 838:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3350. 839:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Interrupt
  3351. 840:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Interrupt is a hint instruction that suspends execution until one of a number o
  3352. 841:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3353. 842:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFI() __ASM volatile ("wfi")
  3354. 843:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3355. 844:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3356. 845:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3357. 846:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Event
  3358. 847:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Event is a hint instruction that permits the processor to enter
  3359. 848:Drivers/CMSIS/Include/cmsis_gcc.h **** a low-power state until one of a number of events occurs.
  3360. 849:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3361. 850:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFE() __ASM volatile ("wfe")
  3362. 851:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3363. 852:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3364. 853:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3365. ARM GAS /tmp/ccPRqU3T.s page 59
  3366. 854:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Send Event
  3367. 855:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Send Event is a hint instruction. It causes an event to be signaled to the CPU.
  3368. 856:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3369. 857:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __SEV() __ASM volatile ("sev")
  3370. 858:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3371. 859:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3372. 860:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3373. 861:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Instruction Synchronization Barrier
  3374. 862:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Instruction Synchronization Barrier flushes the pipeline in the processor,
  3375. 863:Drivers/CMSIS/Include/cmsis_gcc.h **** so that all instructions following the ISB are fetched from cache or memory,
  3376. 864:Drivers/CMSIS/Include/cmsis_gcc.h **** after the instruction has been completed.
  3377. 865:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3378. 866:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __ISB(void)
  3379. 867:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3380. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("isb 0xF":::"memory");
  3381. 869:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3382. 870:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3383. 871:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3384. 872:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3385. 873:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Synchronization Barrier
  3386. 874:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Acts as a special kind of Data Memory Barrier.
  3387. 875:Drivers/CMSIS/Include/cmsis_gcc.h **** It completes when all explicit memory accesses before this instruction complete.
  3388. 876:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3389. 877:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DSB(void)
  3390. 336 .loc 3 877 27 view .LVU98
  3391. 337 .LBB67:
  3392. 878:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3393. 879:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dsb 0xF":::"memory");
  3394. 338 .loc 3 879 3 view .LVU99
  3395. 339 .syntax unified
  3396. 340 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3397. 341 0016 BFF34F8F dsb 0xF
  3398. 342 @ 0 "" 2
  3399. 343 .thumb
  3400. 344 .syntax unified
  3401. 345 .LBE67:
  3402. 346 .LBE66:
  3403. 1730:Drivers/CMSIS/Include/core_cm4.h **** }
  3404. 347 .loc 2 1730 5 view .LVU100
  3405. 348 .LBB68:
  3406. 349 .LBI68:
  3407. 866:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3408. 350 .loc 3 866 27 view .LVU101
  3409. 351 .LBB69:
  3410. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3411. 352 .loc 3 868 3 view .LVU102
  3412. 353 .syntax unified
  3413. 354 @ 868 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3414. 355 001a BFF36F8F isb 0xF
  3415. 356 @ 0 "" 2
  3416. 357 .LVL32:
  3417. 358 .thumb
  3418. 359 .syntax unified
  3419. 360 .L16:
  3420. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3421. 361 .loc 3 868 3 is_stmt 0 view .LVU103
  3422. 362 .LBE69:
  3423. ARM GAS /tmp/ccPRqU3T.s page 60
  3424. 363 .LBE68:
  3425. 364 .LBE65:
  3426. 365 .LBE64:
  3427. 210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  3428. 366 .loc 1 210 1 view .LVU104
  3429. 367 001e 7047 bx lr
  3430. 368 .L19:
  3431. 369 .align 2
  3432. 370 .L18:
  3433. 371 0020 00E100E0 .word -536813312
  3434. 372 .cfi_endproc
  3435. 373 .LFE133:
  3436. 375 .section .text.HAL_NVIC_SystemReset,"ax",%progbits
  3437. 376 .align 1
  3438. 377 .global HAL_NVIC_SystemReset
  3439. 378 .syntax unified
  3440. 379 .thumb
  3441. 380 .thumb_func
  3442. 382 HAL_NVIC_SystemReset:
  3443. 383 .LFB134:
  3444. 211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  3445. 212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  3446. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Initiates a system reset request to reset the MCU.
  3447. 214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  3448. 215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  3449. 216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_SystemReset(void)
  3450. 217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  3451. 384 .loc 1 217 1 is_stmt 1 view -0
  3452. 385 .cfi_startproc
  3453. 386 @ Volatile: function does not return.
  3454. 387 @ args = 0, pretend = 0, frame = 0
  3455. 388 @ frame_needed = 0, uses_anonymous_args = 0
  3456. 389 @ link register save eliminated.
  3457. 218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* System Reset */
  3458. 219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_SystemReset();
  3459. 390 .loc 1 219 3 view .LVU106
  3460. 391 .LBB76:
  3461. 392 .LBI76:
  3462. 1875:Drivers/CMSIS/Include/core_cm4.h **** );
  3463. 1876:Drivers/CMSIS/Include/core_cm4.h **** }
  3464. 1877:Drivers/CMSIS/Include/core_cm4.h ****
  3465. 1878:Drivers/CMSIS/Include/core_cm4.h ****
  3466. 1879:Drivers/CMSIS/Include/core_cm4.h **** /**
  3467. 1880:Drivers/CMSIS/Include/core_cm4.h **** \brief Decode Priority
  3468. 1881:Drivers/CMSIS/Include/core_cm4.h **** \details Decodes an interrupt priority value with a given priority group to
  3469. 1882:Drivers/CMSIS/Include/core_cm4.h **** preemptive priority value and subpriority value.
  3470. 1883:Drivers/CMSIS/Include/core_cm4.h **** In case of a conflict between priority grouping and available
  3471. 1884:Drivers/CMSIS/Include/core_cm4.h **** priority bits (__NVIC_PRIO_BITS) the smallest possible priority group is set.
  3472. 1885:Drivers/CMSIS/Include/core_cm4.h **** \param [in] Priority Priority value, which can be retrieved with the function \ref NVIC
  3473. 1886:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PriorityGroup Used priority group.
  3474. 1887:Drivers/CMSIS/Include/core_cm4.h **** \param [out] pPreemptPriority Preemptive priority value (starting from 0).
  3475. 1888:Drivers/CMSIS/Include/core_cm4.h **** \param [out] pSubPriority Subpriority value (starting from 0).
  3476. 1889:Drivers/CMSIS/Include/core_cm4.h **** */
  3477. 1890:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* cons
  3478. 1891:Drivers/CMSIS/Include/core_cm4.h **** {
  3479. 1892:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used
  3480. 1893:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PreemptPriorityBits;
  3481. ARM GAS /tmp/ccPRqU3T.s page 61
  3482. 1894:Drivers/CMSIS/Include/core_cm4.h **** uint32_t SubPriorityBits;
  3483. 1895:Drivers/CMSIS/Include/core_cm4.h ****
  3484. 1896:Drivers/CMSIS/Include/core_cm4.h **** PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NV
  3485. 1897:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  3486. 1898:Drivers/CMSIS/Include/core_cm4.h ****
  3487. 1899:Drivers/CMSIS/Include/core_cm4.h **** *pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1
  3488. 1900:Drivers/CMSIS/Include/core_cm4.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  3489. 1901:Drivers/CMSIS/Include/core_cm4.h **** }
  3490. 1902:Drivers/CMSIS/Include/core_cm4.h ****
  3491. 1903:Drivers/CMSIS/Include/core_cm4.h ****
  3492. 1904:Drivers/CMSIS/Include/core_cm4.h **** /**
  3493. 1905:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Interrupt Vector
  3494. 1906:Drivers/CMSIS/Include/core_cm4.h **** \details Sets an interrupt vector in SRAM based interrupt vector table.
  3495. 1907:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
  3496. 1908:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
  3497. 1909:Drivers/CMSIS/Include/core_cm4.h **** VTOR must been relocated to SRAM before.
  3498. 1910:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number
  3499. 1911:Drivers/CMSIS/Include/core_cm4.h **** \param [in] vector Address of interrupt handler function
  3500. 1912:Drivers/CMSIS/Include/core_cm4.h **** */
  3501. 1913:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector)
  3502. 1914:Drivers/CMSIS/Include/core_cm4.h **** {
  3503. 1915:Drivers/CMSIS/Include/core_cm4.h **** uint32_t *vectors = (uint32_t *)SCB->VTOR;
  3504. 1916:Drivers/CMSIS/Include/core_cm4.h **** vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET] = vector;
  3505. 1917:Drivers/CMSIS/Include/core_cm4.h **** }
  3506. 1918:Drivers/CMSIS/Include/core_cm4.h ****
  3507. 1919:Drivers/CMSIS/Include/core_cm4.h ****
  3508. 1920:Drivers/CMSIS/Include/core_cm4.h **** /**
  3509. 1921:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Interrupt Vector
  3510. 1922:Drivers/CMSIS/Include/core_cm4.h **** \details Reads an interrupt vector from interrupt vector table.
  3511. 1923:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
  3512. 1924:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
  3513. 1925:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number.
  3514. 1926:Drivers/CMSIS/Include/core_cm4.h **** \return Address of interrupt handler function
  3515. 1927:Drivers/CMSIS/Include/core_cm4.h **** */
  3516. 1928:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetVector(IRQn_Type IRQn)
  3517. 1929:Drivers/CMSIS/Include/core_cm4.h **** {
  3518. 1930:Drivers/CMSIS/Include/core_cm4.h **** uint32_t *vectors = (uint32_t *)SCB->VTOR;
  3519. 1931:Drivers/CMSIS/Include/core_cm4.h **** return vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET];
  3520. 1932:Drivers/CMSIS/Include/core_cm4.h **** }
  3521. 1933:Drivers/CMSIS/Include/core_cm4.h ****
  3522. 1934:Drivers/CMSIS/Include/core_cm4.h ****
  3523. 1935:Drivers/CMSIS/Include/core_cm4.h **** /**
  3524. 1936:Drivers/CMSIS/Include/core_cm4.h **** \brief System Reset
  3525. 1937:Drivers/CMSIS/Include/core_cm4.h **** \details Initiates a system reset request to reset the MCU.
  3526. 1938:Drivers/CMSIS/Include/core_cm4.h **** */
  3527. 1939:Drivers/CMSIS/Include/core_cm4.h **** __NO_RETURN __STATIC_INLINE void __NVIC_SystemReset(void)
  3528. 393 .loc 2 1939 34 view .LVU107
  3529. 394 .LBB77:
  3530. 1940:Drivers/CMSIS/Include/core_cm4.h **** {
  3531. 1941:Drivers/CMSIS/Include/core_cm4.h **** __DSB(); /* Ensure all outstanding memor
  3532. 395 .loc 2 1941 3 view .LVU108
  3533. 396 .LBB78:
  3534. 397 .LBI78:
  3535. 877:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3536. 398 .loc 3 877 27 view .LVU109
  3537. 399 .LBB79:
  3538. 400 .loc 3 879 3 view .LVU110
  3539. ARM GAS /tmp/ccPRqU3T.s page 62
  3540. 401 .syntax unified
  3541. 402 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3542. 403 0000 BFF34F8F dsb 0xF
  3543. 404 @ 0 "" 2
  3544. 405 .thumb
  3545. 406 .syntax unified
  3546. 407 .LBE79:
  3547. 408 .LBE78:
  3548. 1942:Drivers/CMSIS/Include/core_cm4.h **** buffered write are completed
  3549. 1943:Drivers/CMSIS/Include/core_cm4.h **** SCB->AIRCR = (uint32_t)((0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
  3550. 409 .loc 2 1943 3 view .LVU111
  3551. 1944:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
  3552. 410 .loc 2 1944 32 is_stmt 0 view .LVU112
  3553. 411 0004 0549 ldr r1, .L22
  3554. 412 0006 CA68 ldr r2, [r1, #12]
  3555. 413 .loc 2 1944 40 view .LVU113
  3556. 414 0008 02F4E062 and r2, r2, #1792
  3557. 1943:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
  3558. 415 .loc 2 1943 17 view .LVU114
  3559. 416 000c 044B ldr r3, .L22+4
  3560. 417 000e 1343 orrs r3, r3, r2
  3561. 1943:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
  3562. 418 .loc 2 1943 15 view .LVU115
  3563. 419 0010 CB60 str r3, [r1, #12]
  3564. 1945:Drivers/CMSIS/Include/core_cm4.h **** SCB_AIRCR_SYSRESETREQ_Msk ); /* Keep priority group unchange
  3565. 1946:Drivers/CMSIS/Include/core_cm4.h **** __DSB(); /* Ensure completion of memory
  3566. 420 .loc 2 1946 3 is_stmt 1 view .LVU116
  3567. 421 .LBB80:
  3568. 422 .LBI80:
  3569. 877:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3570. 423 .loc 3 877 27 view .LVU117
  3571. 424 .LBB81:
  3572. 425 .loc 3 879 3 view .LVU118
  3573. 426 .syntax unified
  3574. 427 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3575. 428 0012 BFF34F8F dsb 0xF
  3576. 429 @ 0 "" 2
  3577. 430 .thumb
  3578. 431 .syntax unified
  3579. 432 .L21:
  3580. 433 .LBE81:
  3581. 434 .LBE80:
  3582. 1947:Drivers/CMSIS/Include/core_cm4.h ****
  3583. 1948:Drivers/CMSIS/Include/core_cm4.h **** for(;;) /* wait until reset */
  3584. 435 .loc 2 1948 3 view .LVU119
  3585. 1949:Drivers/CMSIS/Include/core_cm4.h **** {
  3586. 1950:Drivers/CMSIS/Include/core_cm4.h **** __NOP();
  3587. 436 .loc 2 1950 5 view .LVU120
  3588. 437 .syntax unified
  3589. 438 @ 1950 "Drivers/CMSIS/Include/core_cm4.h" 1
  3590. 439 0016 00BF nop
  3591. 440 @ 0 "" 2
  3592. 1948:Drivers/CMSIS/Include/core_cm4.h **** {
  3593. 441 .loc 2 1948 8 view .LVU121
  3594. 442 .thumb
  3595. 443 .syntax unified
  3596. 444 0018 FDE7 b .L21
  3597. ARM GAS /tmp/ccPRqU3T.s page 63
  3598. 445 .L23:
  3599. 446 001a 00BF .align 2
  3600. 447 .L22:
  3601. 448 001c 00ED00E0 .word -536810240
  3602. 449 0020 0400FA05 .word 100270084
  3603. 450 .LBE77:
  3604. 451 .LBE76:
  3605. 452 .cfi_endproc
  3606. 453 .LFE134:
  3607. 455 .section .text.HAL_SYSTICK_Config,"ax",%progbits
  3608. 456 .align 1
  3609. 457 .global HAL_SYSTICK_Config
  3610. 458 .syntax unified
  3611. 459 .thumb
  3612. 460 .thumb_func
  3613. 462 HAL_SYSTICK_Config:
  3614. 463 .LVL33:
  3615. 464 .LFB135:
  3616. 220:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  3617. 221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  3618. 222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  3619. 223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Initializes the System Timer and its interrupt, and starts the System Tick Timer.
  3620. 224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * Counter is in free running mode to generate periodic interrupts.
  3621. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param TicksNumb Specifies the ticks Number of ticks between two interrupts.
  3622. 226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval status: - 0 Function succeeded.
  3623. 227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * - 1 Function failed.
  3624. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  3625. 229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb)
  3626. 230:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  3627. 465 .loc 1 230 1 view -0
  3628. 466 .cfi_startproc
  3629. 467 @ args = 0, pretend = 0, frame = 0
  3630. 468 @ frame_needed = 0, uses_anonymous_args = 0
  3631. 469 @ link register save eliminated.
  3632. 231:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** return SysTick_Config(TicksNumb);
  3633. 470 .loc 1 231 4 view .LVU123
  3634. 471 .LBB82:
  3635. 472 .LBI82:
  3636. 1951:Drivers/CMSIS/Include/core_cm4.h **** }
  3637. 1952:Drivers/CMSIS/Include/core_cm4.h **** }
  3638. 1953:Drivers/CMSIS/Include/core_cm4.h ****
  3639. 1954:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of CMSIS_Core_NVICFunctions */
  3640. 1955:Drivers/CMSIS/Include/core_cm4.h ****
  3641. 1956:Drivers/CMSIS/Include/core_cm4.h **** /* ########################## MPU functions #################################### */
  3642. 1957:Drivers/CMSIS/Include/core_cm4.h ****
  3643. 1958:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
  3644. 1959:Drivers/CMSIS/Include/core_cm4.h ****
  3645. 1960:Drivers/CMSIS/Include/core_cm4.h **** #include "mpu_armv7.h"
  3646. 1961:Drivers/CMSIS/Include/core_cm4.h ****
  3647. 1962:Drivers/CMSIS/Include/core_cm4.h **** #endif
  3648. 1963:Drivers/CMSIS/Include/core_cm4.h ****
  3649. 1964:Drivers/CMSIS/Include/core_cm4.h ****
  3650. 1965:Drivers/CMSIS/Include/core_cm4.h **** /* ########################## FPU functions #################################### */
  3651. 1966:Drivers/CMSIS/Include/core_cm4.h **** /**
  3652. 1967:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_Core_FunctionInterface
  3653. 1968:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_FpuFunctions FPU Functions
  3654. 1969:Drivers/CMSIS/Include/core_cm4.h **** \brief Function that provides FPU type.
  3655. ARM GAS /tmp/ccPRqU3T.s page 64
  3656. 1970:Drivers/CMSIS/Include/core_cm4.h **** @{
  3657. 1971:Drivers/CMSIS/Include/core_cm4.h **** */
  3658. 1972:Drivers/CMSIS/Include/core_cm4.h ****
  3659. 1973:Drivers/CMSIS/Include/core_cm4.h **** /**
  3660. 1974:Drivers/CMSIS/Include/core_cm4.h **** \brief get FPU type
  3661. 1975:Drivers/CMSIS/Include/core_cm4.h **** \details returns the FPU type
  3662. 1976:Drivers/CMSIS/Include/core_cm4.h **** \returns
  3663. 1977:Drivers/CMSIS/Include/core_cm4.h **** - \b 0: No FPU
  3664. 1978:Drivers/CMSIS/Include/core_cm4.h **** - \b 1: Single precision FPU
  3665. 1979:Drivers/CMSIS/Include/core_cm4.h **** - \b 2: Double + Single precision FPU
  3666. 1980:Drivers/CMSIS/Include/core_cm4.h **** */
  3667. 1981:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t SCB_GetFPUType(void)
  3668. 1982:Drivers/CMSIS/Include/core_cm4.h **** {
  3669. 1983:Drivers/CMSIS/Include/core_cm4.h **** uint32_t mvfr0;
  3670. 1984:Drivers/CMSIS/Include/core_cm4.h ****
  3671. 1985:Drivers/CMSIS/Include/core_cm4.h **** mvfr0 = FPU->MVFR0;
  3672. 1986:Drivers/CMSIS/Include/core_cm4.h **** if ((mvfr0 & (FPU_MVFR0_Single_precision_Msk | FPU_MVFR0_Double_precision_Msk)) == 0x020U)
  3673. 1987:Drivers/CMSIS/Include/core_cm4.h **** {
  3674. 1988:Drivers/CMSIS/Include/core_cm4.h **** return 1U; /* Single precision FPU */
  3675. 1989:Drivers/CMSIS/Include/core_cm4.h **** }
  3676. 1990:Drivers/CMSIS/Include/core_cm4.h **** else
  3677. 1991:Drivers/CMSIS/Include/core_cm4.h **** {
  3678. 1992:Drivers/CMSIS/Include/core_cm4.h **** return 0U; /* No FPU */
  3679. 1993:Drivers/CMSIS/Include/core_cm4.h **** }
  3680. 1994:Drivers/CMSIS/Include/core_cm4.h **** }
  3681. 1995:Drivers/CMSIS/Include/core_cm4.h ****
  3682. 1996:Drivers/CMSIS/Include/core_cm4.h ****
  3683. 1997:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of CMSIS_Core_FpuFunctions */
  3684. 1998:Drivers/CMSIS/Include/core_cm4.h ****
  3685. 1999:Drivers/CMSIS/Include/core_cm4.h ****
  3686. 2000:Drivers/CMSIS/Include/core_cm4.h ****
  3687. 2001:Drivers/CMSIS/Include/core_cm4.h **** /* ################################## SysTick function ########################################
  3688. 2002:Drivers/CMSIS/Include/core_cm4.h **** /**
  3689. 2003:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_Core_FunctionInterface
  3690. 2004:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_SysTickFunctions SysTick Functions
  3691. 2005:Drivers/CMSIS/Include/core_cm4.h **** \brief Functions that configure the System.
  3692. 2006:Drivers/CMSIS/Include/core_cm4.h **** @{
  3693. 2007:Drivers/CMSIS/Include/core_cm4.h **** */
  3694. 2008:Drivers/CMSIS/Include/core_cm4.h ****
  3695. 2009:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__Vendor_SysTickConfig) && (__Vendor_SysTickConfig == 0U)
  3696. 2010:Drivers/CMSIS/Include/core_cm4.h ****
  3697. 2011:Drivers/CMSIS/Include/core_cm4.h **** /**
  3698. 2012:Drivers/CMSIS/Include/core_cm4.h **** \brief System Tick Configuration
  3699. 2013:Drivers/CMSIS/Include/core_cm4.h **** \details Initializes the System Timer and its interrupt, and starts the System Tick Timer.
  3700. 2014:Drivers/CMSIS/Include/core_cm4.h **** Counter is in free running mode to generate periodic interrupts.
  3701. 2015:Drivers/CMSIS/Include/core_cm4.h **** \param [in] ticks Number of ticks between two interrupts.
  3702. 2016:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Function succeeded.
  3703. 2017:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Function failed.
  3704. 2018:Drivers/CMSIS/Include/core_cm4.h **** \note When the variable <b>__Vendor_SysTickConfig</b> is set to 1, then the
  3705. 2019:Drivers/CMSIS/Include/core_cm4.h **** function <b>SysTick_Config</b> is not included. In this case, the file <b><i>device</i>.
  3706. 2020:Drivers/CMSIS/Include/core_cm4.h **** must contain a vendor-specific implementation of this function.
  3707. 2021:Drivers/CMSIS/Include/core_cm4.h **** */
  3708. 2022:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
  3709. 473 .loc 2 2022 26 view .LVU124
  3710. 474 .LBB83:
  3711. 2023:Drivers/CMSIS/Include/core_cm4.h **** {
  3712. 2024:Drivers/CMSIS/Include/core_cm4.h **** if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk)
  3713. ARM GAS /tmp/ccPRqU3T.s page 65
  3714. 475 .loc 2 2024 3 view .LVU125
  3715. 476 .loc 2 2024 14 is_stmt 0 view .LVU126
  3716. 477 0000 0138 subs r0, r0, #1
  3717. 478 .LVL34:
  3718. 479 .loc 2 2024 6 view .LVU127
  3719. 480 0002 B0F1807F cmp r0, #16777216
  3720. 481 0006 0BD2 bcs .L26
  3721. 2025:Drivers/CMSIS/Include/core_cm4.h **** {
  3722. 2026:Drivers/CMSIS/Include/core_cm4.h **** return (1UL); /* Reload value impossible */
  3723. 2027:Drivers/CMSIS/Include/core_cm4.h **** }
  3724. 2028:Drivers/CMSIS/Include/core_cm4.h ****
  3725. 2029:Drivers/CMSIS/Include/core_cm4.h **** SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
  3726. 482 .loc 2 2029 3 is_stmt 1 view .LVU128
  3727. 483 .loc 2 2029 18 is_stmt 0 view .LVU129
  3728. 484 0008 4FF0E023 mov r3, #-536813568
  3729. 485 000c 5861 str r0, [r3, #20]
  3730. 2030:Drivers/CMSIS/Include/core_cm4.h **** NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Int
  3731. 486 .loc 2 2030 3 is_stmt 1 view .LVU130
  3732. 487 .LVL35:
  3733. 488 .LBB84:
  3734. 489 .LBI84:
  3735. 1816:Drivers/CMSIS/Include/core_cm4.h **** {
  3736. 490 .loc 2 1816 22 view .LVU131
  3737. 491 .LBB85:
  3738. 1818:Drivers/CMSIS/Include/core_cm4.h **** {
  3739. 492 .loc 2 1818 3 view .LVU132
  3740. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  3741. 493 .loc 2 1824 5 view .LVU133
  3742. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  3743. 494 .loc 2 1824 46 is_stmt 0 view .LVU134
  3744. 495 000e 054A ldr r2, .L27
  3745. 496 0010 F021 movs r1, #240
  3746. 497 0012 82F82310 strb r1, [r2, #35]
  3747. 498 .LVL36:
  3748. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  3749. 499 .loc 2 1824 46 view .LVU135
  3750. 500 .LBE85:
  3751. 501 .LBE84:
  3752. 2031:Drivers/CMSIS/Include/core_cm4.h **** SysTick->VAL = 0UL; /* Load the SysTick Counter Val
  3753. 502 .loc 2 2031 3 is_stmt 1 view .LVU136
  3754. 503 .loc 2 2031 18 is_stmt 0 view .LVU137
  3755. 504 0016 0020 movs r0, #0
  3756. 505 .LVL37:
  3757. 506 .loc 2 2031 18 view .LVU138
  3758. 507 0018 9861 str r0, [r3, #24]
  3759. 2032:Drivers/CMSIS/Include/core_cm4.h **** SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
  3760. 508 .loc 2 2032 3 is_stmt 1 view .LVU139
  3761. 509 .loc 2 2032 18 is_stmt 0 view .LVU140
  3762. 510 001a 0722 movs r2, #7
  3763. 511 001c 1A61 str r2, [r3, #16]
  3764. 2033:Drivers/CMSIS/Include/core_cm4.h **** SysTick_CTRL_TICKINT_Msk |
  3765. 2034:Drivers/CMSIS/Include/core_cm4.h **** SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTi
  3766. 2035:Drivers/CMSIS/Include/core_cm4.h **** return (0UL); /* Function successful */
  3767. 512 .loc 2 2035 3 is_stmt 1 view .LVU141
  3768. 513 .loc 2 2035 10 is_stmt 0 view .LVU142
  3769. 514 001e 7047 bx lr
  3770. 515 .L26:
  3771. ARM GAS /tmp/ccPRqU3T.s page 66
  3772. 2026:Drivers/CMSIS/Include/core_cm4.h **** }
  3773. 516 .loc 2 2026 12 view .LVU143
  3774. 517 0020 0120 movs r0, #1
  3775. 518 .LVL38:
  3776. 2026:Drivers/CMSIS/Include/core_cm4.h **** }
  3777. 519 .loc 2 2026 12 view .LVU144
  3778. 520 .LBE83:
  3779. 521 .LBE82:
  3780. 232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  3781. 522 .loc 1 232 1 view .LVU145
  3782. 523 0022 7047 bx lr
  3783. 524 .L28:
  3784. 525 .align 2
  3785. 526 .L27:
  3786. 527 0024 00ED00E0 .word -536810240
  3787. 528 .cfi_endproc
  3788. 529 .LFE135:
  3789. 531 .section .text.HAL_MPU_Disable,"ax",%progbits
  3790. 532 .align 1
  3791. 533 .global HAL_MPU_Disable
  3792. 534 .syntax unified
  3793. 535 .thumb
  3794. 536 .thumb_func
  3795. 538 HAL_MPU_Disable:
  3796. 539 .LFB136:
  3797. 233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  3798. 234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @}
  3799. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  3800. 236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  3801. 237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions_Group2 Peripheral Control functions
  3802. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Cortex control functions
  3803. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *
  3804. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** @verbatim
  3805. 241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ==============================================================================
  3806. 242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ##### Peripheral Control functions #####
  3807. 243:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ==============================================================================
  3808. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** [..]
  3809. 245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** This subsection provides a set of functions allowing to control the CORTEX
  3810. 246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (NVIC, SYSTICK, MPU) functionalities.
  3811. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  3812. 248:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  3813. 249:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** @endverbatim
  3814. 250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @{
  3815. 251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  3816. 252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  3817. 253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** #if (__MPU_PRESENT == 1U)
  3818. 254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  3819. 255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Disables the MPU
  3820. 256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  3821. 257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  3822. 258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_MPU_Disable(void)
  3823. 259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  3824. 540 .loc 1 259 1 is_stmt 1 view -0
  3825. 541 .cfi_startproc
  3826. 542 @ args = 0, pretend = 0, frame = 0
  3827. 543 @ frame_needed = 0, uses_anonymous_args = 0
  3828. 544 @ link register save eliminated.
  3829. ARM GAS /tmp/ccPRqU3T.s page 67
  3830. 260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Make sure outstanding transfers are done */
  3831. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** __DMB();
  3832. 545 .loc 1 261 3 view .LVU147
  3833. 546 .LBB86:
  3834. 547 .LBI86:
  3835. 880:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3836. 881:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3837. 882:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3838. 883:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3839. 884:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Memory Barrier
  3840. 885:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Ensures the apparent order of the explicit memory operations before
  3841. 886:Drivers/CMSIS/Include/cmsis_gcc.h **** and after the instruction, without ensuring their completion.
  3842. 887:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3843. 888:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DMB(void)
  3844. 548 .loc 3 888 27 view .LVU148
  3845. 549 .LBB87:
  3846. 889:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3847. 890:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dmb 0xF":::"memory");
  3848. 550 .loc 3 890 3 view .LVU149
  3849. 551 .syntax unified
  3850. 552 @ 890 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3851. 553 0000 BFF35F8F dmb 0xF
  3852. 554 @ 0 "" 2
  3853. 555 .thumb
  3854. 556 .syntax unified
  3855. 557 .LBE87:
  3856. 558 .LBE86:
  3857. 262:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  3858. 263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Disable fault exceptions */
  3859. 264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** SCB->SHCSR &= ~SCB_SHCSR_MEMFAULTENA_Msk;
  3860. 559 .loc 1 264 3 view .LVU150
  3861. 560 .loc 1 264 14 is_stmt 0 view .LVU151
  3862. 561 0004 044B ldr r3, .L30
  3863. 562 0006 5A6A ldr r2, [r3, #36]
  3864. 563 0008 22F48032 bic r2, r2, #65536
  3865. 564 000c 5A62 str r2, [r3, #36]
  3866. 265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  3867. 266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Disable the MPU and clear the control register*/
  3868. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->CTRL = 0U;
  3869. 565 .loc 1 267 3 is_stmt 1 view .LVU152
  3870. 566 .loc 1 267 13 is_stmt 0 view .LVU153
  3871. 567 000e 0022 movs r2, #0
  3872. 568 0010 C3F89420 str r2, [r3, #148]
  3873. 268:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  3874. 569 .loc 1 268 1 view .LVU154
  3875. 570 0014 7047 bx lr
  3876. 571 .L31:
  3877. 572 0016 00BF .align 2
  3878. 573 .L30:
  3879. 574 0018 00ED00E0 .word -536810240
  3880. 575 .cfi_endproc
  3881. 576 .LFE136:
  3882. 578 .section .text.HAL_MPU_Enable,"ax",%progbits
  3883. 579 .align 1
  3884. 580 .global HAL_MPU_Enable
  3885. 581 .syntax unified
  3886. 582 .thumb
  3887. ARM GAS /tmp/ccPRqU3T.s page 68
  3888. 583 .thumb_func
  3889. 585 HAL_MPU_Enable:
  3890. 586 .LVL39:
  3891. 587 .LFB137:
  3892. 269:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  3893. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  3894. 271:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Enable the MPU.
  3895. 272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param MPU_Control Specifies the control mode of the MPU during hard fault,
  3896. 273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * NMI, FAULTMASK and privileged access to the default memory
  3897. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be one of the following values:
  3898. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg MPU_HFNMI_PRIVDEF_NONE
  3899. 276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg MPU_HARDFAULT_NMI
  3900. 277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg MPU_PRIVILEGED_DEFAULT
  3901. 278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg MPU_HFNMI_PRIVDEF
  3902. 279:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  3903. 280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  3904. 281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_MPU_Enable(uint32_t MPU_Control)
  3905. 282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  3906. 588 .loc 1 282 1 is_stmt 1 view -0
  3907. 589 .cfi_startproc
  3908. 590 @ args = 0, pretend = 0, frame = 0
  3909. 591 @ frame_needed = 0, uses_anonymous_args = 0
  3910. 592 @ link register save eliminated.
  3911. 283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Enable the MPU */
  3912. 284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->CTRL = MPU_Control | MPU_CTRL_ENABLE_Msk;
  3913. 593 .loc 1 284 3 view .LVU156
  3914. 594 .loc 1 284 27 is_stmt 0 view .LVU157
  3915. 595 0000 40F00100 orr r0, r0, #1
  3916. 596 .LVL40:
  3917. 597 .loc 1 284 13 view .LVU158
  3918. 598 0004 054B ldr r3, .L33
  3919. 599 0006 C3F89400 str r0, [r3, #148]
  3920. 285:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  3921. 286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Enable fault exceptions */
  3922. 287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** SCB->SHCSR |= SCB_SHCSR_MEMFAULTENA_Msk;
  3923. 600 .loc 1 287 3 is_stmt 1 view .LVU159
  3924. 601 .loc 1 287 14 is_stmt 0 view .LVU160
  3925. 602 000a 5A6A ldr r2, [r3, #36]
  3926. 603 000c 42F48032 orr r2, r2, #65536
  3927. 604 0010 5A62 str r2, [r3, #36]
  3928. 288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  3929. 289:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Ensure MPU setting take effects */
  3930. 290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** __DSB();
  3931. 605 .loc 1 290 3 is_stmt 1 view .LVU161
  3932. 606 .LBB88:
  3933. 607 .LBI88:
  3934. 877:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3935. 608 .loc 3 877 27 view .LVU162
  3936. 609 .LBB89:
  3937. 879:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3938. 610 .loc 3 879 3 view .LVU163
  3939. 611 .syntax unified
  3940. 612 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3941. 613 0012 BFF34F8F dsb 0xF
  3942. 614 @ 0 "" 2
  3943. 615 .thumb
  3944. 616 .syntax unified
  3945. ARM GAS /tmp/ccPRqU3T.s page 69
  3946. 617 .LBE89:
  3947. 618 .LBE88:
  3948. 291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** __ISB();
  3949. 619 .loc 1 291 3 view .LVU164
  3950. 620 .LBB90:
  3951. 621 .LBI90:
  3952. 866:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3953. 622 .loc 3 866 27 view .LVU165
  3954. 623 .LBB91:
  3955. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3956. 624 .loc 3 868 3 view .LVU166
  3957. 625 .syntax unified
  3958. 626 @ 868 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3959. 627 0016 BFF36F8F isb 0xF
  3960. 628 @ 0 "" 2
  3961. 629 .thumb
  3962. 630 .syntax unified
  3963. 631 .LBE91:
  3964. 632 .LBE90:
  3965. 292:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  3966. 633 .loc 1 292 1 is_stmt 0 view .LVU167
  3967. 634 001a 7047 bx lr
  3968. 635 .L34:
  3969. 636 .align 2
  3970. 637 .L33:
  3971. 638 001c 00ED00E0 .word -536810240
  3972. 639 .cfi_endproc
  3973. 640 .LFE137:
  3974. 642 .section .text.HAL_MPU_ConfigRegion,"ax",%progbits
  3975. 643 .align 1
  3976. 644 .global HAL_MPU_ConfigRegion
  3977. 645 .syntax unified
  3978. 646 .thumb
  3979. 647 .thumb_func
  3980. 649 HAL_MPU_ConfigRegion:
  3981. 650 .LVL41:
  3982. 651 .LFB138:
  3983. 293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  3984. 294:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  3985. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Initializes and configures the Region and the memory to be protected.
  3986. 296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param MPU_Init Pointer to a MPU_Region_InitTypeDef structure that contains
  3987. 297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * the initialization and configuration information.
  3988. 298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  3989. 299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  3990. 300:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_MPU_ConfigRegion(MPU_Region_InitTypeDef *MPU_Init)
  3991. 301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  3992. 652 .loc 1 301 1 is_stmt 1 view -0
  3993. 653 .cfi_startproc
  3994. 654 @ args = 0, pretend = 0, frame = 0
  3995. 655 @ frame_needed = 0, uses_anonymous_args = 0
  3996. 656 @ link register save eliminated.
  3997. 302:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  3998. 303:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_REGION_NUMBER(MPU_Init->Number));
  3999. 657 .loc 1 303 3 view .LVU169
  4000. 304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_REGION_ENABLE(MPU_Init->Enable));
  4001. 658 .loc 1 304 3 view .LVU170
  4002. 305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4003. ARM GAS /tmp/ccPRqU3T.s page 70
  4004. 306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Set the Region number */
  4005. 307:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->RNR = MPU_Init->Number;
  4006. 659 .loc 1 307 3 view .LVU171
  4007. 660 .loc 1 307 22 is_stmt 0 view .LVU172
  4008. 661 0000 4278 ldrb r2, [r0, #1] @ zero_extendqisi2
  4009. 662 .loc 1 307 12 view .LVU173
  4010. 663 0002 164B ldr r3, .L38
  4011. 664 0004 C3F89820 str r2, [r3, #152]
  4012. 308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4013. 309:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** if ((MPU_Init->Enable) != RESET)
  4014. 665 .loc 1 309 3 is_stmt 1 view .LVU174
  4015. 666 .loc 1 309 16 is_stmt 0 view .LVU175
  4016. 667 0008 0378 ldrb r3, [r0] @ zero_extendqisi2
  4017. 668 .loc 1 309 6 view .LVU176
  4018. 669 000a FBB1 cbz r3, .L36
  4019. 310:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4020. 311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  4021. 312:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_INSTRUCTION_ACCESS(MPU_Init->DisableExec));
  4022. 670 .loc 1 312 5 is_stmt 1 view .LVU177
  4023. 313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_REGION_PERMISSION_ATTRIBUTE(MPU_Init->AccessPermission));
  4024. 671 .loc 1 313 5 view .LVU178
  4025. 314:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_TEX_LEVEL(MPU_Init->TypeExtField));
  4026. 672 .loc 1 314 5 view .LVU179
  4027. 315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_SHAREABLE(MPU_Init->IsShareable));
  4028. 673 .loc 1 315 5 view .LVU180
  4029. 316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_CACHEABLE(MPU_Init->IsCacheable));
  4030. 674 .loc 1 316 5 view .LVU181
  4031. 317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_BUFFERABLE(MPU_Init->IsBufferable));
  4032. 675 .loc 1 317 5 view .LVU182
  4033. 318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_SUB_REGION_DISABLE(MPU_Init->SubRegionDisable));
  4034. 676 .loc 1 318 5 view .LVU183
  4035. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_REGION_SIZE(MPU_Init->Size));
  4036. 677 .loc 1 319 5 view .LVU184
  4037. 320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4038. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->RBAR = MPU_Init->BaseAddress;
  4039. 678 .loc 1 321 5 view .LVU185
  4040. 679 .loc 1 321 25 is_stmt 0 view .LVU186
  4041. 680 000c 4368 ldr r3, [r0, #4]
  4042. 681 .loc 1 321 15 view .LVU187
  4043. 682 000e 134A ldr r2, .L38
  4044. 683 0010 C2F89C30 str r3, [r2, #156]
  4045. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->RASR = ((uint32_t)MPU_Init->DisableExec << MPU_RASR_XN_Pos) |
  4046. 684 .loc 1 322 5 is_stmt 1 view .LVU188
  4047. 685 .loc 1 322 36 is_stmt 0 view .LVU189
  4048. 686 0014 017B ldrb r1, [r0, #12] @ zero_extendqisi2
  4049. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
  4050. 687 .loc 1 323 36 view .LVU190
  4051. 688 0016 C37A ldrb r3, [r0, #11] @ zero_extendqisi2
  4052. 689 .loc 1 323 62 view .LVU191
  4053. 690 0018 1B06 lsls r3, r3, #24
  4054. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->RASR = ((uint32_t)MPU_Init->DisableExec << MPU_RASR_XN_Pos) |
  4055. 691 .loc 1 322 84 view .LVU192
  4056. 692 001a 43EA0173 orr r3, r3, r1, lsl #28
  4057. 324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->TypeExtField << MPU_RASR_TEX_Pos) |
  4058. 693 .loc 1 324 36 view .LVU193
  4059. 694 001e 817A ldrb r1, [r0, #10] @ zero_extendqisi2
  4060. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
  4061. ARM GAS /tmp/ccPRqU3T.s page 71
  4062. 695 .loc 1 323 84 view .LVU194
  4063. 696 0020 43EAC143 orr r3, r3, r1, lsl #19
  4064. 325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsShareable << MPU_RASR_S_Pos) |
  4065. 697 .loc 1 325 36 view .LVU195
  4066. 698 0024 417B ldrb r1, [r0, #13] @ zero_extendqisi2
  4067. 324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->TypeExtField << MPU_RASR_TEX_Pos) |
  4068. 699 .loc 1 324 84 view .LVU196
  4069. 700 0026 43EA8143 orr r3, r3, r1, lsl #18
  4070. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsCacheable << MPU_RASR_C_Pos) |
  4071. 701 .loc 1 326 36 view .LVU197
  4072. 702 002a 817B ldrb r1, [r0, #14] @ zero_extendqisi2
  4073. 325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsShareable << MPU_RASR_S_Pos) |
  4074. 703 .loc 1 325 84 view .LVU198
  4075. 704 002c 43EA4143 orr r3, r3, r1, lsl #17
  4076. 327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsBufferable << MPU_RASR_B_Pos) |
  4077. 705 .loc 1 327 36 view .LVU199
  4078. 706 0030 C17B ldrb r1, [r0, #15] @ zero_extendqisi2
  4079. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsCacheable << MPU_RASR_C_Pos) |
  4080. 707 .loc 1 326 84 view .LVU200
  4081. 708 0032 43EA0143 orr r3, r3, r1, lsl #16
  4082. 328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->SubRegionDisable << MPU_RASR_SRD_Pos) |
  4083. 709 .loc 1 328 36 view .LVU201
  4084. 710 0036 417A ldrb r1, [r0, #9] @ zero_extendqisi2
  4085. 327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsBufferable << MPU_RASR_B_Pos) |
  4086. 711 .loc 1 327 84 view .LVU202
  4087. 712 0038 43EA0123 orr r3, r3, r1, lsl #8
  4088. 329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->Size << MPU_RASR_SIZE_Pos) |
  4089. 713 .loc 1 329 36 view .LVU203
  4090. 714 003c 017A ldrb r1, [r0, #8] @ zero_extendqisi2
  4091. 328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->SubRegionDisable << MPU_RASR_SRD_Pos) |
  4092. 715 .loc 1 328 84 view .LVU204
  4093. 716 003e 43EA4103 orr r3, r3, r1, lsl #1
  4094. 330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->Enable << MPU_RASR_ENABLE_Pos);
  4095. 717 .loc 1 330 36 view .LVU205
  4096. 718 0042 0178 ldrb r1, [r0] @ zero_extendqisi2
  4097. 329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->Size << MPU_RASR_SIZE_Pos) |
  4098. 719 .loc 1 329 84 view .LVU206
  4099. 720 0044 0B43 orrs r3, r3, r1
  4100. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
  4101. 721 .loc 1 322 15 view .LVU207
  4102. 722 0046 C2F8A030 str r3, [r2, #160]
  4103. 723 004a 7047 bx lr
  4104. 724 .L36:
  4105. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4106. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** else
  4107. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4108. 334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->RBAR = 0x00U;
  4109. 725 .loc 1 334 5 is_stmt 1 view .LVU208
  4110. 726 .loc 1 334 15 is_stmt 0 view .LVU209
  4111. 727 004c 034B ldr r3, .L38
  4112. 728 004e 0022 movs r2, #0
  4113. 729 0050 C3F89C20 str r2, [r3, #156]
  4114. 335:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->RASR = 0x00U;
  4115. 730 .loc 1 335 5 is_stmt 1 view .LVU210
  4116. 731 .loc 1 335 15 is_stmt 0 view .LVU211
  4117. 732 0054 C3F8A020 str r2, [r3, #160]
  4118. 336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4119. ARM GAS /tmp/ccPRqU3T.s page 72
  4120. 337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4121. 733 .loc 1 337 1 view .LVU212
  4122. 734 0058 7047 bx lr
  4123. 735 .L39:
  4124. 736 005a 00BF .align 2
  4125. 737 .L38:
  4126. 738 005c 00ED00E0 .word -536810240
  4127. 739 .cfi_endproc
  4128. 740 .LFE138:
  4129. 742 .section .text.HAL_NVIC_GetPriorityGrouping,"ax",%progbits
  4130. 743 .align 1
  4131. 744 .global HAL_NVIC_GetPriorityGrouping
  4132. 745 .syntax unified
  4133. 746 .thumb
  4134. 747 .thumb_func
  4135. 749 HAL_NVIC_GetPriorityGrouping:
  4136. 750 .LFB139:
  4137. 338:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** #endif /* __MPU_PRESENT */
  4138. 339:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4139. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4140. 341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Gets the priority grouping field from the NVIC Interrupt Controller.
  4141. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field)
  4142. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4143. 344:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** uint32_t HAL_NVIC_GetPriorityGrouping(void)
  4144. 345:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4145. 751 .loc 1 345 1 is_stmt 1 view -0
  4146. 752 .cfi_startproc
  4147. 753 @ args = 0, pretend = 0, frame = 0
  4148. 754 @ frame_needed = 0, uses_anonymous_args = 0
  4149. 755 @ link register save eliminated.
  4150. 346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Get the PRIGROUP[10:8] field value */
  4151. 347:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** return NVIC_GetPriorityGrouping();
  4152. 756 .loc 1 347 3 view .LVU214
  4153. 757 .LBB92:
  4154. 758 .LBI92:
  4155. 1676:Drivers/CMSIS/Include/core_cm4.h **** {
  4156. 759 .loc 2 1676 26 view .LVU215
  4157. 760 .LBB93:
  4158. 1678:Drivers/CMSIS/Include/core_cm4.h **** }
  4159. 761 .loc 2 1678 3 view .LVU216
  4160. 1678:Drivers/CMSIS/Include/core_cm4.h **** }
  4161. 762 .loc 2 1678 26 is_stmt 0 view .LVU217
  4162. 763 0000 024B ldr r3, .L41
  4163. 764 0002 D868 ldr r0, [r3, #12]
  4164. 765 .LBE93:
  4165. 766 .LBE92:
  4166. 348:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4167. 767 .loc 1 348 1 view .LVU218
  4168. 768 0004 C0F30220 ubfx r0, r0, #8, #3
  4169. 769 0008 7047 bx lr
  4170. 770 .L42:
  4171. 771 000a 00BF .align 2
  4172. 772 .L41:
  4173. 773 000c 00ED00E0 .word -536810240
  4174. 774 .cfi_endproc
  4175. 775 .LFE139:
  4176. 777 .section .text.HAL_NVIC_GetPriority,"ax",%progbits
  4177. ARM GAS /tmp/ccPRqU3T.s page 73
  4178. 778 .align 1
  4179. 779 .global HAL_NVIC_GetPriority
  4180. 780 .syntax unified
  4181. 781 .thumb
  4182. 782 .thumb_func
  4183. 784 HAL_NVIC_GetPriority:
  4184. 785 .LVL42:
  4185. 786 .LFB140:
  4186. 349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4187. 350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4188. 351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Gets the priority of an interrupt.
  4189. 352:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number.
  4190. 353:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4191. 354:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4192. 355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param PriorityGroup the priority grouping bits length.
  4193. 356:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be one of the following values:
  4194. 357:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_0: 0 bits for preemption priority
  4195. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 4 bits for subpriority
  4196. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_1: 1 bits for preemption priority
  4197. 360:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 3 bits for subpriority
  4198. 361:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_2: 2 bits for preemption priority
  4199. 362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 2 bits for subpriority
  4200. 363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_3: 3 bits for preemption priority
  4201. 364:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 1 bits for subpriority
  4202. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_4: 4 bits for preemption priority
  4203. 366:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 0 bits for subpriority
  4204. 367:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param pPreemptPriority Pointer on the Preemptive priority value (starting from 0).
  4205. 368:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param pSubPriority Pointer on the Subpriority value (starting from 0).
  4206. 369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  4207. 370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4208. 371:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_GetPriority(IRQn_Type IRQn, uint32_t PriorityGroup, uint32_t *pPreemptPriority, uint3
  4209. 372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4210. 787 .loc 1 372 1 is_stmt 1 view -0
  4211. 788 .cfi_startproc
  4212. 789 @ args = 0, pretend = 0, frame = 0
  4213. 790 @ frame_needed = 0, uses_anonymous_args = 0
  4214. 791 .loc 1 372 1 is_stmt 0 view .LVU220
  4215. 792 0000 10B5 push {r4, lr}
  4216. 793 .LCFI1:
  4217. 794 .cfi_def_cfa_offset 8
  4218. 795 .cfi_offset 4, -8
  4219. 796 .cfi_offset 14, -4
  4220. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  4221. 374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup));
  4222. 797 .loc 1 374 3 is_stmt 1 view .LVU221
  4223. 375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Get priority for Cortex-M system or device specific interrupts */
  4224. 376:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_DecodePriority(NVIC_GetPriority(IRQn), PriorityGroup, pPreemptPriority, pSubPriority);
  4225. 798 .loc 1 376 3 view .LVU222
  4226. 799 .LVL43:
  4227. 800 .LBB98:
  4228. 801 .LBI98:
  4229. 1838:Drivers/CMSIS/Include/core_cm4.h **** {
  4230. 802 .loc 2 1838 26 view .LVU223
  4231. 803 .LBB99:
  4232. 1841:Drivers/CMSIS/Include/core_cm4.h **** {
  4233. 804 .loc 2 1841 3 view .LVU224
  4234. 1841:Drivers/CMSIS/Include/core_cm4.h **** {
  4235. ARM GAS /tmp/ccPRqU3T.s page 74
  4236. 805 .loc 2 1841 6 is_stmt 0 view .LVU225
  4237. 806 0002 0028 cmp r0, #0
  4238. 807 .LVL44:
  4239. 1841:Drivers/CMSIS/Include/core_cm4.h **** {
  4240. 808 .loc 2 1841 6 view .LVU226
  4241. 809 0004 22DB blt .L44
  4242. 1843:Drivers/CMSIS/Include/core_cm4.h **** }
  4243. 810 .loc 2 1843 5 is_stmt 1 view .LVU227
  4244. 1843:Drivers/CMSIS/Include/core_cm4.h **** }
  4245. 811 .loc 2 1843 31 is_stmt 0 view .LVU228
  4246. 812 0006 00F16040 add r0, r0, #-536870912
  4247. 813 000a 00F56140 add r0, r0, #57600
  4248. 814 000e 90F80003 ldrb r0, [r0, #768] @ zero_extendqisi2
  4249. 1843:Drivers/CMSIS/Include/core_cm4.h **** }
  4250. 815 .loc 2 1843 64 view .LVU229
  4251. 816 0012 0009 lsrs r0, r0, #4
  4252. 817 .L45:
  4253. 818 .LVL45:
  4254. 1843:Drivers/CMSIS/Include/core_cm4.h **** }
  4255. 819 .loc 2 1843 64 view .LVU230
  4256. 820 .LBE99:
  4257. 821 .LBE98:
  4258. 822 .LBB101:
  4259. 823 .LBI101:
  4260. 1890:Drivers/CMSIS/Include/core_cm4.h **** {
  4261. 824 .loc 2 1890 22 is_stmt 1 view .LVU231
  4262. 825 .LBB102:
  4263. 1892:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PreemptPriorityBits;
  4264. 826 .loc 2 1892 3 view .LVU232
  4265. 1892:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PreemptPriorityBits;
  4266. 827 .loc 2 1892 12 is_stmt 0 view .LVU233
  4267. 828 0014 01F00701 and r1, r1, #7
  4268. 829 .LVL46:
  4269. 1893:Drivers/CMSIS/Include/core_cm4.h **** uint32_t SubPriorityBits;
  4270. 830 .loc 2 1893 3 is_stmt 1 view .LVU234
  4271. 1894:Drivers/CMSIS/Include/core_cm4.h ****
  4272. 831 .loc 2 1894 3 view .LVU235
  4273. 1896:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  4274. 832 .loc 2 1896 3 view .LVU236
  4275. 1896:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  4276. 833 .loc 2 1896 31 is_stmt 0 view .LVU237
  4277. 834 0018 C1F1070C rsb ip, r1, #7
  4278. 1896:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  4279. 835 .loc 2 1896 23 view .LVU238
  4280. 836 001c BCF1040F cmp ip, #4
  4281. 837 0020 28BF it cs
  4282. 838 0022 4FF0040C movcs ip, #4
  4283. 839 .LVL47:
  4284. 1897:Drivers/CMSIS/Include/core_cm4.h ****
  4285. 840 .loc 2 1897 3 is_stmt 1 view .LVU239
  4286. 1897:Drivers/CMSIS/Include/core_cm4.h ****
  4287. 841 .loc 2 1897 44 is_stmt 0 view .LVU240
  4288. 842 0026 0C1D adds r4, r1, #4
  4289. 1897:Drivers/CMSIS/Include/core_cm4.h ****
  4290. 843 .loc 2 1897 109 view .LVU241
  4291. 844 0028 062C cmp r4, #6
  4292. 845 002a 15D9 bls .L47
  4293. ARM GAS /tmp/ccPRqU3T.s page 75
  4294. 846 002c 0339 subs r1, r1, #3
  4295. 847 .LVL48:
  4296. 848 .L46:
  4297. 1899:Drivers/CMSIS/Include/core_cm4.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  4298. 849 .loc 2 1899 3 is_stmt 1 view .LVU242
  4299. 1899:Drivers/CMSIS/Include/core_cm4.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  4300. 850 .loc 2 1899 33 is_stmt 0 view .LVU243
  4301. 851 002e 20FA01F4 lsr r4, r0, r1
  4302. 852 .LVL49:
  4303. 1899:Drivers/CMSIS/Include/core_cm4.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  4304. 853 .loc 2 1899 53 view .LVU244
  4305. 854 0032 4FF0FF3E mov lr, #-1
  4306. 855 0036 0EFA0CFC lsl ip, lr, ip
  4307. 856 .LVL50:
  4308. 1899:Drivers/CMSIS/Include/core_cm4.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  4309. 857 .loc 2 1899 53 view .LVU245
  4310. 858 003a 24EA0C04 bic r4, r4, ip
  4311. 1899:Drivers/CMSIS/Include/core_cm4.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  4312. 859 .loc 2 1899 21 view .LVU246
  4313. 860 003e 1460 str r4, [r2]
  4314. 1900:Drivers/CMSIS/Include/core_cm4.h **** }
  4315. 861 .loc 2 1900 3 is_stmt 1 view .LVU247
  4316. 1900:Drivers/CMSIS/Include/core_cm4.h **** }
  4317. 862 .loc 2 1900 53 is_stmt 0 view .LVU248
  4318. 863 0040 0EFA01F1 lsl r1, lr, r1
  4319. 864 .LVL51:
  4320. 1900:Drivers/CMSIS/Include/core_cm4.h **** }
  4321. 865 .loc 2 1900 53 view .LVU249
  4322. 866 0044 20EA0100 bic r0, r0, r1
  4323. 867 .LVL52:
  4324. 1900:Drivers/CMSIS/Include/core_cm4.h **** }
  4325. 868 .loc 2 1900 21 view .LVU250
  4326. 869 0048 1860 str r0, [r3]
  4327. 870 .LVL53:
  4328. 1900:Drivers/CMSIS/Include/core_cm4.h **** }
  4329. 871 .loc 2 1900 21 view .LVU251
  4330. 872 .LBE102:
  4331. 873 .LBE101:
  4332. 377:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4333. 874 .loc 1 377 1 view .LVU252
  4334. 875 004a 10BD pop {r4, pc}
  4335. 876 .LVL54:
  4336. 877 .L44:
  4337. 878 .LBB104:
  4338. 879 .LBB100:
  4339. 1847:Drivers/CMSIS/Include/core_cm4.h **** }
  4340. 880 .loc 2 1847 5 is_stmt 1 view .LVU253
  4341. 1847:Drivers/CMSIS/Include/core_cm4.h **** }
  4342. 881 .loc 2 1847 50 is_stmt 0 view .LVU254
  4343. 882 004c 00F00F00 and r0, r0, #15
  4344. 1847:Drivers/CMSIS/Include/core_cm4.h **** }
  4345. 883 .loc 2 1847 31 view .LVU255
  4346. 884 0050 024C ldr r4, .L49
  4347. 885 0052 205C ldrb r0, [r4, r0] @ zero_extendqisi2
  4348. 1847:Drivers/CMSIS/Include/core_cm4.h **** }
  4349. 886 .loc 2 1847 64 view .LVU256
  4350. 887 0054 0009 lsrs r0, r0, #4
  4351. ARM GAS /tmp/ccPRqU3T.s page 76
  4352. 888 0056 DDE7 b .L45
  4353. 889 .LVL55:
  4354. 890 .L47:
  4355. 1847:Drivers/CMSIS/Include/core_cm4.h **** }
  4356. 891 .loc 2 1847 64 view .LVU257
  4357. 892 .LBE100:
  4358. 893 .LBE104:
  4359. 894 .LBB105:
  4360. 895 .LBB103:
  4361. 1897:Drivers/CMSIS/Include/core_cm4.h ****
  4362. 896 .loc 2 1897 109 view .LVU258
  4363. 897 0058 0021 movs r1, #0
  4364. 898 .LVL56:
  4365. 1897:Drivers/CMSIS/Include/core_cm4.h ****
  4366. 899 .loc 2 1897 109 view .LVU259
  4367. 900 005a E8E7 b .L46
  4368. 901 .L50:
  4369. 902 .align 2
  4370. 903 .L49:
  4371. 904 005c 14ED00E0 .word -536810220
  4372. 905 .LBE103:
  4373. 906 .LBE105:
  4374. 907 .cfi_endproc
  4375. 908 .LFE140:
  4376. 910 .section .text.HAL_NVIC_SetPendingIRQ,"ax",%progbits
  4377. 911 .align 1
  4378. 912 .global HAL_NVIC_SetPendingIRQ
  4379. 913 .syntax unified
  4380. 914 .thumb
  4381. 915 .thumb_func
  4382. 917 HAL_NVIC_SetPendingIRQ:
  4383. 918 .LVL57:
  4384. 919 .LFB141:
  4385. 378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4386. 379:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4387. 380:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Sets Pending bit of an external interrupt.
  4388. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number
  4389. 382:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4390. 383:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4391. 384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  4392. 385:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4393. 386:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_SetPendingIRQ(IRQn_Type IRQn)
  4394. 387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4395. 920 .loc 1 387 1 is_stmt 1 view -0
  4396. 921 .cfi_startproc
  4397. 922 @ args = 0, pretend = 0, frame = 0
  4398. 923 @ frame_needed = 0, uses_anonymous_args = 0
  4399. 924 @ link register save eliminated.
  4400. 388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  4401. 389:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  4402. 925 .loc 1 389 3 view .LVU261
  4403. 390:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4404. 391:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Set interrupt pending */
  4405. 392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_SetPendingIRQ(IRQn);
  4406. 926 .loc 1 392 3 view .LVU262
  4407. 927 .LBB106:
  4408. 928 .LBI106:
  4409. ARM GAS /tmp/ccPRqU3T.s page 77
  4410. 1762:Drivers/CMSIS/Include/core_cm4.h **** {
  4411. 929 .loc 2 1762 22 view .LVU263
  4412. 930 .LBB107:
  4413. 1764:Drivers/CMSIS/Include/core_cm4.h **** {
  4414. 931 .loc 2 1764 3 view .LVU264
  4415. 1764:Drivers/CMSIS/Include/core_cm4.h **** {
  4416. 932 .loc 2 1764 6 is_stmt 0 view .LVU265
  4417. 933 0000 0028 cmp r0, #0
  4418. 934 .LVL58:
  4419. 1764:Drivers/CMSIS/Include/core_cm4.h **** {
  4420. 935 .loc 2 1764 6 view .LVU266
  4421. 936 0002 08DB blt .L51
  4422. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4423. 937 .loc 2 1766 5 is_stmt 1 view .LVU267
  4424. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4425. 938 .loc 2 1766 81 is_stmt 0 view .LVU268
  4426. 939 0004 00F01F02 and r2, r0, #31
  4427. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4428. 940 .loc 2 1766 34 view .LVU269
  4429. 941 0008 4009 lsrs r0, r0, #5
  4430. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4431. 942 .loc 2 1766 45 view .LVU270
  4432. 943 000a 0123 movs r3, #1
  4433. 944 000c 9340 lsls r3, r3, r2
  4434. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4435. 945 .loc 2 1766 43 view .LVU271
  4436. 946 000e 4030 adds r0, r0, #64
  4437. 947 0010 014A ldr r2, .L53
  4438. 948 0012 42F82030 str r3, [r2, r0, lsl #2]
  4439. 949 .LVL59:
  4440. 950 .L51:
  4441. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4442. 951 .loc 2 1766 43 view .LVU272
  4443. 952 .LBE107:
  4444. 953 .LBE106:
  4445. 393:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4446. 954 .loc 1 393 1 view .LVU273
  4447. 955 0016 7047 bx lr
  4448. 956 .L54:
  4449. 957 .align 2
  4450. 958 .L53:
  4451. 959 0018 00E100E0 .word -536813312
  4452. 960 .cfi_endproc
  4453. 961 .LFE141:
  4454. 963 .section .text.HAL_NVIC_GetPendingIRQ,"ax",%progbits
  4455. 964 .align 1
  4456. 965 .global HAL_NVIC_GetPendingIRQ
  4457. 966 .syntax unified
  4458. 967 .thumb
  4459. 968 .thumb_func
  4460. 970 HAL_NVIC_GetPendingIRQ:
  4461. 971 .LVL60:
  4462. 972 .LFB142:
  4463. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4464. 395:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4465. 396:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Gets Pending Interrupt (reads the pending register in the NVIC
  4466. 397:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * and returns the pending bit for the specified interrupt).
  4467. ARM GAS /tmp/ccPRqU3T.s page 78
  4468. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number.
  4469. 399:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4470. 400:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4471. 401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval status: - 0 Interrupt status is not pending.
  4472. 402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * - 1 Interrupt status is pending.
  4473. 403:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4474. 404:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** uint32_t HAL_NVIC_GetPendingIRQ(IRQn_Type IRQn)
  4475. 405:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4476. 973 .loc 1 405 1 is_stmt 1 view -0
  4477. 974 .cfi_startproc
  4478. 975 @ args = 0, pretend = 0, frame = 0
  4479. 976 @ frame_needed = 0, uses_anonymous_args = 0
  4480. 977 @ link register save eliminated.
  4481. 406:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  4482. 407:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  4483. 978 .loc 1 407 3 view .LVU275
  4484. 408:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4485. 409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Return 1 if pending else 0 */
  4486. 410:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** return NVIC_GetPendingIRQ(IRQn);
  4487. 979 .loc 1 410 3 view .LVU276
  4488. 980 .LBB108:
  4489. 981 .LBI108:
  4490. 1743:Drivers/CMSIS/Include/core_cm4.h **** {
  4491. 982 .loc 2 1743 26 view .LVU277
  4492. 983 .LBB109:
  4493. 1745:Drivers/CMSIS/Include/core_cm4.h **** {
  4494. 984 .loc 2 1745 3 view .LVU278
  4495. 1745:Drivers/CMSIS/Include/core_cm4.h **** {
  4496. 985 .loc 2 1745 6 is_stmt 0 view .LVU279
  4497. 986 0000 0028 cmp r0, #0
  4498. 987 .LVL61:
  4499. 1745:Drivers/CMSIS/Include/core_cm4.h **** {
  4500. 988 .loc 2 1745 6 view .LVU280
  4501. 989 0002 0BDB blt .L57
  4502. 1747:Drivers/CMSIS/Include/core_cm4.h **** }
  4503. 990 .loc 2 1747 5 is_stmt 1 view .LVU281
  4504. 1747:Drivers/CMSIS/Include/core_cm4.h **** }
  4505. 991 .loc 2 1747 54 is_stmt 0 view .LVU282
  4506. 992 0004 4309 lsrs r3, r0, #5
  4507. 1747:Drivers/CMSIS/Include/core_cm4.h **** }
  4508. 993 .loc 2 1747 35 view .LVU283
  4509. 994 0006 4033 adds r3, r3, #64
  4510. 995 0008 054A ldr r2, .L58
  4511. 996 000a 52F82330 ldr r3, [r2, r3, lsl #2]
  4512. 1747:Drivers/CMSIS/Include/core_cm4.h **** }
  4513. 997 .loc 2 1747 91 view .LVU284
  4514. 998 000e 00F01F00 and r0, r0, #31
  4515. 1747:Drivers/CMSIS/Include/core_cm4.h **** }
  4516. 999 .loc 2 1747 103 view .LVU285
  4517. 1000 0012 23FA00F0 lsr r0, r3, r0
  4518. 1747:Drivers/CMSIS/Include/core_cm4.h **** }
  4519. 1001 .loc 2 1747 12 view .LVU286
  4520. 1002 0016 00F00100 and r0, r0, #1
  4521. 1003 001a 7047 bx lr
  4522. 1004 .L57:
  4523. 1751:Drivers/CMSIS/Include/core_cm4.h **** }
  4524. 1005 .loc 2 1751 11 view .LVU287
  4525. ARM GAS /tmp/ccPRqU3T.s page 79
  4526. 1006 001c 0020 movs r0, #0
  4527. 1007 .LVL62:
  4528. 1751:Drivers/CMSIS/Include/core_cm4.h **** }
  4529. 1008 .loc 2 1751 11 view .LVU288
  4530. 1009 .LBE109:
  4531. 1010 .LBE108:
  4532. 411:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4533. 1011 .loc 1 411 1 view .LVU289
  4534. 1012 001e 7047 bx lr
  4535. 1013 .L59:
  4536. 1014 .align 2
  4537. 1015 .L58:
  4538. 1016 0020 00E100E0 .word -536813312
  4539. 1017 .cfi_endproc
  4540. 1018 .LFE142:
  4541. 1020 .section .text.HAL_NVIC_ClearPendingIRQ,"ax",%progbits
  4542. 1021 .align 1
  4543. 1022 .global HAL_NVIC_ClearPendingIRQ
  4544. 1023 .syntax unified
  4545. 1024 .thumb
  4546. 1025 .thumb_func
  4547. 1027 HAL_NVIC_ClearPendingIRQ:
  4548. 1028 .LVL63:
  4549. 1029 .LFB143:
  4550. 412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4551. 413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4552. 414:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Clears the pending bit of an external interrupt.
  4553. 415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number.
  4554. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4555. 417:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4556. 418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  4557. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4558. 420:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_ClearPendingIRQ(IRQn_Type IRQn)
  4559. 421:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4560. 1030 .loc 1 421 1 is_stmt 1 view -0
  4561. 1031 .cfi_startproc
  4562. 1032 @ args = 0, pretend = 0, frame = 0
  4563. 1033 @ frame_needed = 0, uses_anonymous_args = 0
  4564. 1034 @ link register save eliminated.
  4565. 422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  4566. 423:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  4567. 1035 .loc 1 423 3 view .LVU291
  4568. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4569. 425:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Clear pending interrupt */
  4570. 426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_ClearPendingIRQ(IRQn);
  4571. 1036 .loc 1 426 3 view .LVU292
  4572. 1037 .LBB110:
  4573. 1038 .LBI110:
  4574. 1777:Drivers/CMSIS/Include/core_cm4.h **** {
  4575. 1039 .loc 2 1777 22 view .LVU293
  4576. 1040 .LBB111:
  4577. 1779:Drivers/CMSIS/Include/core_cm4.h **** {
  4578. 1041 .loc 2 1779 3 view .LVU294
  4579. 1779:Drivers/CMSIS/Include/core_cm4.h **** {
  4580. 1042 .loc 2 1779 6 is_stmt 0 view .LVU295
  4581. 1043 0000 0028 cmp r0, #0
  4582. 1044 .LVL64:
  4583. ARM GAS /tmp/ccPRqU3T.s page 80
  4584. 1779:Drivers/CMSIS/Include/core_cm4.h **** {
  4585. 1045 .loc 2 1779 6 view .LVU296
  4586. 1046 0002 08DB blt .L60
  4587. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  4588. 1047 .loc 2 1781 5 is_stmt 1 view .LVU297
  4589. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  4590. 1048 .loc 2 1781 81 is_stmt 0 view .LVU298
  4591. 1049 0004 00F01F02 and r2, r0, #31
  4592. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  4593. 1050 .loc 2 1781 34 view .LVU299
  4594. 1051 0008 4009 lsrs r0, r0, #5
  4595. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  4596. 1052 .loc 2 1781 45 view .LVU300
  4597. 1053 000a 0123 movs r3, #1
  4598. 1054 000c 9340 lsls r3, r3, r2
  4599. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  4600. 1055 .loc 2 1781 43 view .LVU301
  4601. 1056 000e 6030 adds r0, r0, #96
  4602. 1057 0010 014A ldr r2, .L62
  4603. 1058 0012 42F82030 str r3, [r2, r0, lsl #2]
  4604. 1059 .LVL65:
  4605. 1060 .L60:
  4606. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  4607. 1061 .loc 2 1781 43 view .LVU302
  4608. 1062 .LBE111:
  4609. 1063 .LBE110:
  4610. 427:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4611. 1064 .loc 1 427 1 view .LVU303
  4612. 1065 0016 7047 bx lr
  4613. 1066 .L63:
  4614. 1067 .align 2
  4615. 1068 .L62:
  4616. 1069 0018 00E100E0 .word -536813312
  4617. 1070 .cfi_endproc
  4618. 1071 .LFE143:
  4619. 1073 .section .text.HAL_NVIC_GetActive,"ax",%progbits
  4620. 1074 .align 1
  4621. 1075 .global HAL_NVIC_GetActive
  4622. 1076 .syntax unified
  4623. 1077 .thumb
  4624. 1078 .thumb_func
  4625. 1080 HAL_NVIC_GetActive:
  4626. 1081 .LVL66:
  4627. 1082 .LFB144:
  4628. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4629. 429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4630. 430:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Gets active interrupt ( reads the active register in NVIC and returns the active bit).
  4631. 431:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number
  4632. 432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4633. 433:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4634. 434:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval status: - 0 Interrupt status is not pending.
  4635. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * - 1 Interrupt status is pending.
  4636. 436:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4637. 437:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** uint32_t HAL_NVIC_GetActive(IRQn_Type IRQn)
  4638. 438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4639. 1083 .loc 1 438 1 is_stmt 1 view -0
  4640. 1084 .cfi_startproc
  4641. ARM GAS /tmp/ccPRqU3T.s page 81
  4642. 1085 @ args = 0, pretend = 0, frame = 0
  4643. 1086 @ frame_needed = 0, uses_anonymous_args = 0
  4644. 1087 @ link register save eliminated.
  4645. 439:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  4646. 440:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  4647. 1088 .loc 1 440 3 view .LVU305
  4648. 441:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4649. 442:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Return 1 if active else 0 */
  4650. 443:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** return NVIC_GetActive(IRQn);
  4651. 1089 .loc 1 443 3 view .LVU306
  4652. 1090 .LBB112:
  4653. 1091 .LBI112:
  4654. 1794:Drivers/CMSIS/Include/core_cm4.h **** {
  4655. 1092 .loc 2 1794 26 view .LVU307
  4656. 1093 .LBB113:
  4657. 1796:Drivers/CMSIS/Include/core_cm4.h **** {
  4658. 1094 .loc 2 1796 3 view .LVU308
  4659. 1796:Drivers/CMSIS/Include/core_cm4.h **** {
  4660. 1095 .loc 2 1796 6 is_stmt 0 view .LVU309
  4661. 1096 0000 0028 cmp r0, #0
  4662. 1097 .LVL67:
  4663. 1796:Drivers/CMSIS/Include/core_cm4.h **** {
  4664. 1098 .loc 2 1796 6 view .LVU310
  4665. 1099 0002 0BDB blt .L66
  4666. 1798:Drivers/CMSIS/Include/core_cm4.h **** }
  4667. 1100 .loc 2 1798 5 is_stmt 1 view .LVU311
  4668. 1798:Drivers/CMSIS/Include/core_cm4.h **** }
  4669. 1101 .loc 2 1798 54 is_stmt 0 view .LVU312
  4670. 1102 0004 4309 lsrs r3, r0, #5
  4671. 1798:Drivers/CMSIS/Include/core_cm4.h **** }
  4672. 1103 .loc 2 1798 35 view .LVU313
  4673. 1104 0006 8033 adds r3, r3, #128
  4674. 1105 0008 054A ldr r2, .L67
  4675. 1106 000a 52F82330 ldr r3, [r2, r3, lsl #2]
  4676. 1798:Drivers/CMSIS/Include/core_cm4.h **** }
  4677. 1107 .loc 2 1798 91 view .LVU314
  4678. 1108 000e 00F01F00 and r0, r0, #31
  4679. 1798:Drivers/CMSIS/Include/core_cm4.h **** }
  4680. 1109 .loc 2 1798 103 view .LVU315
  4681. 1110 0012 23FA00F0 lsr r0, r3, r0
  4682. 1798:Drivers/CMSIS/Include/core_cm4.h **** }
  4683. 1111 .loc 2 1798 12 view .LVU316
  4684. 1112 0016 00F00100 and r0, r0, #1
  4685. 1113 001a 7047 bx lr
  4686. 1114 .L66:
  4687. 1802:Drivers/CMSIS/Include/core_cm4.h **** }
  4688. 1115 .loc 2 1802 11 view .LVU317
  4689. 1116 001c 0020 movs r0, #0
  4690. 1117 .LVL68:
  4691. 1802:Drivers/CMSIS/Include/core_cm4.h **** }
  4692. 1118 .loc 2 1802 11 view .LVU318
  4693. 1119 .LBE113:
  4694. 1120 .LBE112:
  4695. 444:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4696. 1121 .loc 1 444 1 view .LVU319
  4697. 1122 001e 7047 bx lr
  4698. 1123 .L68:
  4699. ARM GAS /tmp/ccPRqU3T.s page 82
  4700. 1124 .align 2
  4701. 1125 .L67:
  4702. 1126 0020 00E100E0 .word -536813312
  4703. 1127 .cfi_endproc
  4704. 1128 .LFE144:
  4705. 1130 .section .text.HAL_SYSTICK_CLKSourceConfig,"ax",%progbits
  4706. 1131 .align 1
  4707. 1132 .global HAL_SYSTICK_CLKSourceConfig
  4708. 1133 .syntax unified
  4709. 1134 .thumb
  4710. 1135 .thumb_func
  4711. 1137 HAL_SYSTICK_CLKSourceConfig:
  4712. 1138 .LVL69:
  4713. 1139 .LFB145:
  4714. 445:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4715. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4716. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Configures the SysTick clock source.
  4717. 448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param CLKSource specifies the SysTick clock source.
  4718. 449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be one of the following values:
  4719. 450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg SYSTICK_CLKSOURCE_HCLK_DIV8: AHB clock divided by 8 selected as SysTick clock
  4720. 451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg SYSTICK_CLKSOURCE_HCLK: AHB clock selected as SysTick clock source.
  4721. 452:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  4722. 453:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4723. 454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_SYSTICK_CLKSourceConfig(uint32_t CLKSource)
  4724. 455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4725. 1140 .loc 1 455 1 is_stmt 1 view -0
  4726. 1141 .cfi_startproc
  4727. 1142 @ args = 0, pretend = 0, frame = 0
  4728. 1143 @ frame_needed = 0, uses_anonymous_args = 0
  4729. 1144 @ link register save eliminated.
  4730. 456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  4731. 457:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_SYSTICK_CLK_SOURCE(CLKSource));
  4732. 1145 .loc 1 457 3 view .LVU321
  4733. 458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** if (CLKSource == SYSTICK_CLKSOURCE_HCLK)
  4734. 1146 .loc 1 458 3 view .LVU322
  4735. 1147 .loc 1 458 6 is_stmt 0 view .LVU323
  4736. 1148 0000 0428 cmp r0, #4
  4737. 1149 0002 06D0 beq .L72
  4738. 459:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4739. 460:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** SysTick->CTRL |= SYSTICK_CLKSOURCE_HCLK;
  4740. 461:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4741. 462:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** else
  4742. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4743. 464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** SysTick->CTRL &= ~SYSTICK_CLKSOURCE_HCLK;
  4744. 1150 .loc 1 464 5 is_stmt 1 view .LVU324
  4745. 1151 .loc 1 464 19 is_stmt 0 view .LVU325
  4746. 1152 0004 4FF0E022 mov r2, #-536813568
  4747. 1153 0008 1369 ldr r3, [r2, #16]
  4748. 1154 000a 23F00403 bic r3, r3, #4
  4749. 1155 000e 1361 str r3, [r2, #16]
  4750. 465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4751. 466:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4752. 1156 .loc 1 466 1 view .LVU326
  4753. 1157 0010 7047 bx lr
  4754. 1158 .L72:
  4755. 460:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4756. 1159 .loc 1 460 5 is_stmt 1 view .LVU327
  4757. ARM GAS /tmp/ccPRqU3T.s page 83
  4758. 460:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4759. 1160 .loc 1 460 19 is_stmt 0 view .LVU328
  4760. 1161 0012 4FF0E022 mov r2, #-536813568
  4761. 1162 0016 1369 ldr r3, [r2, #16]
  4762. 1163 0018 43F00403 orr r3, r3, #4
  4763. 1164 001c 1361 str r3, [r2, #16]
  4764. 1165 001e 7047 bx lr
  4765. 1166 .cfi_endproc
  4766. 1167 .LFE145:
  4767. 1169 .section .text.HAL_SYSTICK_Callback,"ax",%progbits
  4768. 1170 .align 1
  4769. 1171 .weak HAL_SYSTICK_Callback
  4770. 1172 .syntax unified
  4771. 1173 .thumb
  4772. 1174 .thumb_func
  4773. 1176 HAL_SYSTICK_Callback:
  4774. 1177 .LFB147:
  4775. 467:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4776. 468:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4777. 469:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief This function handles SYSTICK interrupt request.
  4778. 470:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  4779. 471:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4780. 472:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_SYSTICK_IRQHandler(void)
  4781. 473:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4782. 474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** HAL_SYSTICK_Callback();
  4783. 475:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4784. 476:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4785. 477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4786. 478:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief SYSTICK callback.
  4787. 479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  4788. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4789. 481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** __weak void HAL_SYSTICK_Callback(void)
  4790. 482:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4791. 1178 .loc 1 482 1 is_stmt 1 view -0
  4792. 1179 .cfi_startproc
  4793. 1180 @ args = 0, pretend = 0, frame = 0
  4794. 1181 @ frame_needed = 0, uses_anonymous_args = 0
  4795. 1182 @ link register save eliminated.
  4796. 483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  4797. 484:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** the HAL_SYSTICK_Callback could be implemented in the user file
  4798. 485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4799. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4800. 1183 .loc 1 486 1 view .LVU330
  4801. 1184 0000 7047 bx lr
  4802. 1185 .cfi_endproc
  4803. 1186 .LFE147:
  4804. 1188 .section .text.HAL_SYSTICK_IRQHandler,"ax",%progbits
  4805. 1189 .align 1
  4806. 1190 .global HAL_SYSTICK_IRQHandler
  4807. 1191 .syntax unified
  4808. 1192 .thumb
  4809. 1193 .thumb_func
  4810. 1195 HAL_SYSTICK_IRQHandler:
  4811. 1196 .LFB146:
  4812. 473:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** HAL_SYSTICK_Callback();
  4813. 1197 .loc 1 473 1 view -0
  4814. 1198 .cfi_startproc
  4815. ARM GAS /tmp/ccPRqU3T.s page 84
  4816. 1199 @ args = 0, pretend = 0, frame = 0
  4817. 1200 @ frame_needed = 0, uses_anonymous_args = 0
  4818. 1201 0000 08B5 push {r3, lr}
  4819. 1202 .LCFI2:
  4820. 1203 .cfi_def_cfa_offset 8
  4821. 1204 .cfi_offset 3, -8
  4822. 1205 .cfi_offset 14, -4
  4823. 474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4824. 1206 .loc 1 474 3 view .LVU332
  4825. 1207 0002 FFF7FEFF bl HAL_SYSTICK_Callback
  4826. 1208 .LVL70:
  4827. 475:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4828. 1209 .loc 1 475 1 is_stmt 0 view .LVU333
  4829. 1210 0006 08BD pop {r3, pc}
  4830. 1211 .cfi_endproc
  4831. 1212 .LFE146:
  4832. 1214 .text
  4833. 1215 .Letext0:
  4834. 1216 .file 4 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h"
  4835. 1217 .file 5 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
  4836. 1218 .file 6 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
  4837. 1219 .file 7 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
  4838. 1220 .file 8 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h"
  4839. ARM GAS /tmp/ccPRqU3T.s page 85
  4840. DEFINED SYMBOLS
  4841. *ABS*:0000000000000000 stm32f4xx_hal_cortex.c
  4842. /tmp/ccPRqU3T.s:20 .text.HAL_NVIC_SetPriorityGrouping:0000000000000000 $t
  4843. /tmp/ccPRqU3T.s:26 .text.HAL_NVIC_SetPriorityGrouping:0000000000000000 HAL_NVIC_SetPriorityGrouping
  4844. /tmp/ccPRqU3T.s:82 .text.HAL_NVIC_SetPriorityGrouping:0000000000000020 $d
  4845. /tmp/ccPRqU3T.s:87 .text.HAL_NVIC_SetPriority:0000000000000000 $t
  4846. /tmp/ccPRqU3T.s:93 .text.HAL_NVIC_SetPriority:0000000000000000 HAL_NVIC_SetPriority
  4847. /tmp/ccPRqU3T.s:236 .text.HAL_NVIC_SetPriority:0000000000000068 $d
  4848. /tmp/ccPRqU3T.s:242 .text.HAL_NVIC_EnableIRQ:0000000000000000 $t
  4849. /tmp/ccPRqU3T.s:248 .text.HAL_NVIC_EnableIRQ:0000000000000000 HAL_NVIC_EnableIRQ
  4850. /tmp/ccPRqU3T.s:289 .text.HAL_NVIC_EnableIRQ:0000000000000018 $d
  4851. /tmp/ccPRqU3T.s:294 .text.HAL_NVIC_DisableIRQ:0000000000000000 $t
  4852. /tmp/ccPRqU3T.s:300 .text.HAL_NVIC_DisableIRQ:0000000000000000 HAL_NVIC_DisableIRQ
  4853. /tmp/ccPRqU3T.s:371 .text.HAL_NVIC_DisableIRQ:0000000000000020 $d
  4854. /tmp/ccPRqU3T.s:376 .text.HAL_NVIC_SystemReset:0000000000000000 $t
  4855. /tmp/ccPRqU3T.s:382 .text.HAL_NVIC_SystemReset:0000000000000000 HAL_NVIC_SystemReset
  4856. /tmp/ccPRqU3T.s:448 .text.HAL_NVIC_SystemReset:000000000000001c $d
  4857. /tmp/ccPRqU3T.s:456 .text.HAL_SYSTICK_Config:0000000000000000 $t
  4858. /tmp/ccPRqU3T.s:462 .text.HAL_SYSTICK_Config:0000000000000000 HAL_SYSTICK_Config
  4859. /tmp/ccPRqU3T.s:527 .text.HAL_SYSTICK_Config:0000000000000024 $d
  4860. /tmp/ccPRqU3T.s:532 .text.HAL_MPU_Disable:0000000000000000 $t
  4861. /tmp/ccPRqU3T.s:538 .text.HAL_MPU_Disable:0000000000000000 HAL_MPU_Disable
  4862. /tmp/ccPRqU3T.s:574 .text.HAL_MPU_Disable:0000000000000018 $d
  4863. /tmp/ccPRqU3T.s:579 .text.HAL_MPU_Enable:0000000000000000 $t
  4864. /tmp/ccPRqU3T.s:585 .text.HAL_MPU_Enable:0000000000000000 HAL_MPU_Enable
  4865. /tmp/ccPRqU3T.s:638 .text.HAL_MPU_Enable:000000000000001c $d
  4866. /tmp/ccPRqU3T.s:643 .text.HAL_MPU_ConfigRegion:0000000000000000 $t
  4867. /tmp/ccPRqU3T.s:649 .text.HAL_MPU_ConfigRegion:0000000000000000 HAL_MPU_ConfigRegion
  4868. /tmp/ccPRqU3T.s:738 .text.HAL_MPU_ConfigRegion:000000000000005c $d
  4869. /tmp/ccPRqU3T.s:743 .text.HAL_NVIC_GetPriorityGrouping:0000000000000000 $t
  4870. /tmp/ccPRqU3T.s:749 .text.HAL_NVIC_GetPriorityGrouping:0000000000000000 HAL_NVIC_GetPriorityGrouping
  4871. /tmp/ccPRqU3T.s:773 .text.HAL_NVIC_GetPriorityGrouping:000000000000000c $d
  4872. /tmp/ccPRqU3T.s:778 .text.HAL_NVIC_GetPriority:0000000000000000 $t
  4873. /tmp/ccPRqU3T.s:784 .text.HAL_NVIC_GetPriority:0000000000000000 HAL_NVIC_GetPriority
  4874. /tmp/ccPRqU3T.s:904 .text.HAL_NVIC_GetPriority:000000000000005c $d
  4875. /tmp/ccPRqU3T.s:911 .text.HAL_NVIC_SetPendingIRQ:0000000000000000 $t
  4876. /tmp/ccPRqU3T.s:917 .text.HAL_NVIC_SetPendingIRQ:0000000000000000 HAL_NVIC_SetPendingIRQ
  4877. /tmp/ccPRqU3T.s:959 .text.HAL_NVIC_SetPendingIRQ:0000000000000018 $d
  4878. /tmp/ccPRqU3T.s:964 .text.HAL_NVIC_GetPendingIRQ:0000000000000000 $t
  4879. /tmp/ccPRqU3T.s:970 .text.HAL_NVIC_GetPendingIRQ:0000000000000000 HAL_NVIC_GetPendingIRQ
  4880. /tmp/ccPRqU3T.s:1016 .text.HAL_NVIC_GetPendingIRQ:0000000000000020 $d
  4881. /tmp/ccPRqU3T.s:1021 .text.HAL_NVIC_ClearPendingIRQ:0000000000000000 $t
  4882. /tmp/ccPRqU3T.s:1027 .text.HAL_NVIC_ClearPendingIRQ:0000000000000000 HAL_NVIC_ClearPendingIRQ
  4883. /tmp/ccPRqU3T.s:1069 .text.HAL_NVIC_ClearPendingIRQ:0000000000000018 $d
  4884. /tmp/ccPRqU3T.s:1074 .text.HAL_NVIC_GetActive:0000000000000000 $t
  4885. /tmp/ccPRqU3T.s:1080 .text.HAL_NVIC_GetActive:0000000000000000 HAL_NVIC_GetActive
  4886. /tmp/ccPRqU3T.s:1126 .text.HAL_NVIC_GetActive:0000000000000020 $d
  4887. /tmp/ccPRqU3T.s:1131 .text.HAL_SYSTICK_CLKSourceConfig:0000000000000000 $t
  4888. /tmp/ccPRqU3T.s:1137 .text.HAL_SYSTICK_CLKSourceConfig:0000000000000000 HAL_SYSTICK_CLKSourceConfig
  4889. /tmp/ccPRqU3T.s:1170 .text.HAL_SYSTICK_Callback:0000000000000000 $t
  4890. /tmp/ccPRqU3T.s:1176 .text.HAL_SYSTICK_Callback:0000000000000000 HAL_SYSTICK_Callback
  4891. /tmp/ccPRqU3T.s:1189 .text.HAL_SYSTICK_IRQHandler:0000000000000000 $t
  4892. /tmp/ccPRqU3T.s:1195 .text.HAL_SYSTICK_IRQHandler:0000000000000000 HAL_SYSTICK_IRQHandler
  4893. NO UNDEFINED SYMBOLS