| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411 |
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 1
- 1 .cpu cortex-m4
- 2 .arch armv7e-m
- 3 .fpu fpv4-sp-d16
- 4 .eabi_attribute 27, 1
- 5 .eabi_attribute 28, 1
- 6 .eabi_attribute 20, 1
- 7 .eabi_attribute 21, 1
- 8 .eabi_attribute 23, 3
- 9 .eabi_attribute 24, 1
- 10 .eabi_attribute 25, 1
- 11 .eabi_attribute 26, 1
- 12 .eabi_attribute 30, 6
- 13 .eabi_attribute 34, 1
- 14 .eabi_attribute 18, 4
- 15 .file "stm32f3xx_hal_cortex.c"
- 16 .text
- 17 .Ltext0:
- 18 .cfi_sections .debug_frame
- 19 .section .text.__NVIC_SetPriorityGrouping,"ax",%progbits
- 20 .align 1
- 21 .syntax unified
- 22 .thumb
- 23 .thumb_func
- 25 __NVIC_SetPriorityGrouping:
- 26 .LFB102:
- 27 .file 1 "Drivers/CMSIS/Include/core_cm4.h"
- 1:Drivers/CMSIS/Include/core_cm4.h **** /**************************************************************************//**
- 2:Drivers/CMSIS/Include/core_cm4.h **** * @file core_cm4.h
- 3:Drivers/CMSIS/Include/core_cm4.h **** * @brief CMSIS Cortex-M4 Core Peripheral Access Layer Header File
- 4:Drivers/CMSIS/Include/core_cm4.h **** * @version V5.0.8
- 5:Drivers/CMSIS/Include/core_cm4.h **** * @date 04. June 2018
- 6:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
- 7:Drivers/CMSIS/Include/core_cm4.h **** /*
- 8:Drivers/CMSIS/Include/core_cm4.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
- 9:Drivers/CMSIS/Include/core_cm4.h **** *
- 10:Drivers/CMSIS/Include/core_cm4.h **** * SPDX-License-Identifier: Apache-2.0
- 11:Drivers/CMSIS/Include/core_cm4.h **** *
- 12:Drivers/CMSIS/Include/core_cm4.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
- 13:Drivers/CMSIS/Include/core_cm4.h **** * not use this file except in compliance with the License.
- 14:Drivers/CMSIS/Include/core_cm4.h **** * You may obtain a copy of the License at
- 15:Drivers/CMSIS/Include/core_cm4.h **** *
- 16:Drivers/CMSIS/Include/core_cm4.h **** * www.apache.org/licenses/LICENSE-2.0
- 17:Drivers/CMSIS/Include/core_cm4.h **** *
- 18:Drivers/CMSIS/Include/core_cm4.h **** * Unless required by applicable law or agreed to in writing, software
- 19:Drivers/CMSIS/Include/core_cm4.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- 20:Drivers/CMSIS/Include/core_cm4.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- 21:Drivers/CMSIS/Include/core_cm4.h **** * See the License for the specific language governing permissions and
- 22:Drivers/CMSIS/Include/core_cm4.h **** * limitations under the License.
- 23:Drivers/CMSIS/Include/core_cm4.h **** */
- 24:Drivers/CMSIS/Include/core_cm4.h ****
- 25:Drivers/CMSIS/Include/core_cm4.h **** #if defined ( __ICCARM__ )
- 26:Drivers/CMSIS/Include/core_cm4.h **** #pragma system_include /* treat file as system include file for MISRA check */
- 27:Drivers/CMSIS/Include/core_cm4.h **** #elif defined (__clang__)
- 28:Drivers/CMSIS/Include/core_cm4.h **** #pragma clang system_header /* treat file as system include file */
- 29:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 30:Drivers/CMSIS/Include/core_cm4.h ****
- 31:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CORE_CM4_H_GENERIC
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 2
- 32:Drivers/CMSIS/Include/core_cm4.h **** #define __CORE_CM4_H_GENERIC
- 33:Drivers/CMSIS/Include/core_cm4.h ****
- 34:Drivers/CMSIS/Include/core_cm4.h **** #include <stdint.h>
- 35:Drivers/CMSIS/Include/core_cm4.h ****
- 36:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
- 37:Drivers/CMSIS/Include/core_cm4.h **** extern "C" {
- 38:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 39:Drivers/CMSIS/Include/core_cm4.h ****
- 40:Drivers/CMSIS/Include/core_cm4.h **** /**
- 41:Drivers/CMSIS/Include/core_cm4.h **** \page CMSIS_MISRA_Exceptions MISRA-C:2004 Compliance Exceptions
- 42:Drivers/CMSIS/Include/core_cm4.h **** CMSIS violates the following MISRA-C:2004 rules:
- 43:Drivers/CMSIS/Include/core_cm4.h ****
- 44:Drivers/CMSIS/Include/core_cm4.h **** \li Required Rule 8.5, object/function definition in header file.<br>
- 45:Drivers/CMSIS/Include/core_cm4.h **** Function definitions in header files are used to allow 'inlining'.
- 46:Drivers/CMSIS/Include/core_cm4.h ****
- 47:Drivers/CMSIS/Include/core_cm4.h **** \li Required Rule 18.4, declaration of union type or object of union type: '{...}'.<br>
- 48:Drivers/CMSIS/Include/core_cm4.h **** Unions are used for effective representation of core registers.
- 49:Drivers/CMSIS/Include/core_cm4.h ****
- 50:Drivers/CMSIS/Include/core_cm4.h **** \li Advisory Rule 19.7, Function-like macro defined.<br>
- 51:Drivers/CMSIS/Include/core_cm4.h **** Function-like macros are used to allow more efficient code.
- 52:Drivers/CMSIS/Include/core_cm4.h **** */
- 53:Drivers/CMSIS/Include/core_cm4.h ****
- 54:Drivers/CMSIS/Include/core_cm4.h ****
- 55:Drivers/CMSIS/Include/core_cm4.h **** /*******************************************************************************
- 56:Drivers/CMSIS/Include/core_cm4.h **** * CMSIS definitions
- 57:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
- 58:Drivers/CMSIS/Include/core_cm4.h **** /**
- 59:Drivers/CMSIS/Include/core_cm4.h **** \ingroup Cortex_M4
- 60:Drivers/CMSIS/Include/core_cm4.h **** @{
- 61:Drivers/CMSIS/Include/core_cm4.h **** */
- 62:Drivers/CMSIS/Include/core_cm4.h ****
- 63:Drivers/CMSIS/Include/core_cm4.h **** #include "cmsis_version.h"
- 64:Drivers/CMSIS/Include/core_cm4.h ****
- 65:Drivers/CMSIS/Include/core_cm4.h **** /* CMSIS CM4 definitions */
- 66:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_CMSIS_VERSION_MAIN (__CM_CMSIS_VERSION_MAIN) /*!< \deprecated [31:16] C
- 67:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_CMSIS_VERSION_SUB (__CM_CMSIS_VERSION_SUB) /*!< \deprecated [15:0] C
- 68:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_CMSIS_VERSION ((__CM4_CMSIS_VERSION_MAIN << 16U) | \
- 69:Drivers/CMSIS/Include/core_cm4.h **** __CM4_CMSIS_VERSION_SUB ) /*!< \deprecated CMSIS HAL
- 70:Drivers/CMSIS/Include/core_cm4.h ****
- 71:Drivers/CMSIS/Include/core_cm4.h **** #define __CORTEX_M (4U) /*!< Cortex-M Core */
- 72:Drivers/CMSIS/Include/core_cm4.h ****
- 73:Drivers/CMSIS/Include/core_cm4.h **** /** __FPU_USED indicates whether an FPU is used or not.
- 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
- 75:Drivers/CMSIS/Include/core_cm4.h **** */
- 76:Drivers/CMSIS/Include/core_cm4.h **** #if defined ( __CC_ARM )
- 77:Drivers/CMSIS/Include/core_cm4.h **** #if defined __TARGET_FPU_VFP
- 78:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
- 79:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
- 80:Drivers/CMSIS/Include/core_cm4.h **** #else
- 81:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
- 82:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
- 83:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 84:Drivers/CMSIS/Include/core_cm4.h **** #else
- 85:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
- 86:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 87:Drivers/CMSIS/Include/core_cm4.h ****
- 88:Drivers/CMSIS/Include/core_cm4.h **** #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 3
- 89:Drivers/CMSIS/Include/core_cm4.h **** #if defined __ARM_PCS_VFP
- 90:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
- 91:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
- 92:Drivers/CMSIS/Include/core_cm4.h **** #else
- 93:Drivers/CMSIS/Include/core_cm4.h **** #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESEN
- 94:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
- 95:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 96:Drivers/CMSIS/Include/core_cm4.h **** #else
- 97:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
- 98:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 99:Drivers/CMSIS/Include/core_cm4.h ****
- 100:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __GNUC__ )
- 101:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__VFP_FP__) && !defined(__SOFTFP__)
- 102:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
- 103:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
- 104:Drivers/CMSIS/Include/core_cm4.h **** #else
- 105:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
- 106:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
- 107:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 108:Drivers/CMSIS/Include/core_cm4.h **** #else
- 109:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
- 110:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 111:Drivers/CMSIS/Include/core_cm4.h ****
- 112:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __ICCARM__ )
- 113:Drivers/CMSIS/Include/core_cm4.h **** #if defined __ARMVFP__
- 114:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
- 115:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
- 116:Drivers/CMSIS/Include/core_cm4.h **** #else
- 117:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
- 118:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
- 119:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 120:Drivers/CMSIS/Include/core_cm4.h **** #else
- 121:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
- 122:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 123:Drivers/CMSIS/Include/core_cm4.h ****
- 124:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __TI_ARM__ )
- 125:Drivers/CMSIS/Include/core_cm4.h **** #if defined __TI_VFP_SUPPORT__
- 126:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
- 127:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
- 128:Drivers/CMSIS/Include/core_cm4.h **** #else
- 129:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
- 130:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
- 131:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 132:Drivers/CMSIS/Include/core_cm4.h **** #else
- 133:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
- 134:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 135:Drivers/CMSIS/Include/core_cm4.h ****
- 136:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __TASKING__ )
- 137:Drivers/CMSIS/Include/core_cm4.h **** #if defined __FPU_VFP__
- 138:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
- 139:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
- 140:Drivers/CMSIS/Include/core_cm4.h **** #else
- 141:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
- 142:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
- 143:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 144:Drivers/CMSIS/Include/core_cm4.h **** #else
- 145:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 4
- 146:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 147:Drivers/CMSIS/Include/core_cm4.h ****
- 148:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __CSMC__ )
- 149:Drivers/CMSIS/Include/core_cm4.h **** #if ( __CSMC__ & 0x400U)
- 150:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
- 151:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
- 152:Drivers/CMSIS/Include/core_cm4.h **** #else
- 153:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
- 154:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
- 155:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 156:Drivers/CMSIS/Include/core_cm4.h **** #else
- 157:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
- 158:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 159:Drivers/CMSIS/Include/core_cm4.h ****
- 160:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 161:Drivers/CMSIS/Include/core_cm4.h ****
- 162:Drivers/CMSIS/Include/core_cm4.h **** #include "cmsis_compiler.h" /* CMSIS compiler specific defines */
- 163:Drivers/CMSIS/Include/core_cm4.h ****
- 164:Drivers/CMSIS/Include/core_cm4.h ****
- 165:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
- 166:Drivers/CMSIS/Include/core_cm4.h **** }
- 167:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 168:Drivers/CMSIS/Include/core_cm4.h ****
- 169:Drivers/CMSIS/Include/core_cm4.h **** #endif /* __CORE_CM4_H_GENERIC */
- 170:Drivers/CMSIS/Include/core_cm4.h ****
- 171:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CMSIS_GENERIC
- 172:Drivers/CMSIS/Include/core_cm4.h ****
- 173:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CORE_CM4_H_DEPENDANT
- 174:Drivers/CMSIS/Include/core_cm4.h **** #define __CORE_CM4_H_DEPENDANT
- 175:Drivers/CMSIS/Include/core_cm4.h ****
- 176:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
- 177:Drivers/CMSIS/Include/core_cm4.h **** extern "C" {
- 178:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 179:Drivers/CMSIS/Include/core_cm4.h ****
- 180:Drivers/CMSIS/Include/core_cm4.h **** /* check device defines and use defaults */
- 181:Drivers/CMSIS/Include/core_cm4.h **** #if defined __CHECK_DEVICE_DEFINES
- 182:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CM4_REV
- 183:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_REV 0x0000U
- 184:Drivers/CMSIS/Include/core_cm4.h **** #warning "__CM4_REV not defined in device header file; using default!"
- 185:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 186:Drivers/CMSIS/Include/core_cm4.h ****
- 187:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __FPU_PRESENT
- 188:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_PRESENT 0U
- 189:Drivers/CMSIS/Include/core_cm4.h **** #warning "__FPU_PRESENT not defined in device header file; using default!"
- 190:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 191:Drivers/CMSIS/Include/core_cm4.h ****
- 192:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __MPU_PRESENT
- 193:Drivers/CMSIS/Include/core_cm4.h **** #define __MPU_PRESENT 0U
- 194:Drivers/CMSIS/Include/core_cm4.h **** #warning "__MPU_PRESENT not defined in device header file; using default!"
- 195:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 196:Drivers/CMSIS/Include/core_cm4.h ****
- 197:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __NVIC_PRIO_BITS
- 198:Drivers/CMSIS/Include/core_cm4.h **** #define __NVIC_PRIO_BITS 3U
- 199:Drivers/CMSIS/Include/core_cm4.h **** #warning "__NVIC_PRIO_BITS not defined in device header file; using default!"
- 200:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 201:Drivers/CMSIS/Include/core_cm4.h ****
- 202:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __Vendor_SysTickConfig
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 5
- 203:Drivers/CMSIS/Include/core_cm4.h **** #define __Vendor_SysTickConfig 0U
- 204:Drivers/CMSIS/Include/core_cm4.h **** #warning "__Vendor_SysTickConfig not defined in device header file; using default!"
- 205:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 206:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 207:Drivers/CMSIS/Include/core_cm4.h ****
- 208:Drivers/CMSIS/Include/core_cm4.h **** /* IO definitions (access restrictions to peripheral registers) */
- 209:Drivers/CMSIS/Include/core_cm4.h **** /**
- 210:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_glob_defs CMSIS Global Defines
- 211:Drivers/CMSIS/Include/core_cm4.h ****
- 212:Drivers/CMSIS/Include/core_cm4.h **** <strong>IO Type Qualifiers</strong> are used
- 213:Drivers/CMSIS/Include/core_cm4.h **** \li to specify the access to peripheral variables.
- 214:Drivers/CMSIS/Include/core_cm4.h **** \li for automatic generation of peripheral register debug information.
- 215:Drivers/CMSIS/Include/core_cm4.h **** */
- 216:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
- 217:Drivers/CMSIS/Include/core_cm4.h **** #define __I volatile /*!< Defines 'read only' permissions */
- 218:Drivers/CMSIS/Include/core_cm4.h **** #else
- 219:Drivers/CMSIS/Include/core_cm4.h **** #define __I volatile const /*!< Defines 'read only' permissions */
- 220:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 221:Drivers/CMSIS/Include/core_cm4.h **** #define __O volatile /*!< Defines 'write only' permissions */
- 222:Drivers/CMSIS/Include/core_cm4.h **** #define __IO volatile /*!< Defines 'read / write' permissions */
- 223:Drivers/CMSIS/Include/core_cm4.h ****
- 224:Drivers/CMSIS/Include/core_cm4.h **** /* following defines should be used for structure members */
- 225:Drivers/CMSIS/Include/core_cm4.h **** #define __IM volatile const /*! Defines 'read only' structure member permissions */
- 226:Drivers/CMSIS/Include/core_cm4.h **** #define __OM volatile /*! Defines 'write only' structure member permissions */
- 227:Drivers/CMSIS/Include/core_cm4.h **** #define __IOM volatile /*! Defines 'read / write' structure member permissions */
- 228:Drivers/CMSIS/Include/core_cm4.h ****
- 229:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group Cortex_M4 */
- 230:Drivers/CMSIS/Include/core_cm4.h ****
- 231:Drivers/CMSIS/Include/core_cm4.h ****
- 232:Drivers/CMSIS/Include/core_cm4.h ****
- 233:Drivers/CMSIS/Include/core_cm4.h **** /*******************************************************************************
- 234:Drivers/CMSIS/Include/core_cm4.h **** * Register Abstraction
- 235:Drivers/CMSIS/Include/core_cm4.h **** Core Register contain:
- 236:Drivers/CMSIS/Include/core_cm4.h **** - Core Register
- 237:Drivers/CMSIS/Include/core_cm4.h **** - Core NVIC Register
- 238:Drivers/CMSIS/Include/core_cm4.h **** - Core SCB Register
- 239:Drivers/CMSIS/Include/core_cm4.h **** - Core SysTick Register
- 240:Drivers/CMSIS/Include/core_cm4.h **** - Core Debug Register
- 241:Drivers/CMSIS/Include/core_cm4.h **** - Core MPU Register
- 242:Drivers/CMSIS/Include/core_cm4.h **** - Core FPU Register
- 243:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
- 244:Drivers/CMSIS/Include/core_cm4.h **** /**
- 245:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_core_register Defines and Type Definitions
- 246:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions and defines for Cortex-M processor based devices.
- 247:Drivers/CMSIS/Include/core_cm4.h **** */
- 248:Drivers/CMSIS/Include/core_cm4.h ****
- 249:Drivers/CMSIS/Include/core_cm4.h **** /**
- 250:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
- 251:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_CORE Status and Control Registers
- 252:Drivers/CMSIS/Include/core_cm4.h **** \brief Core Register type definitions.
- 253:Drivers/CMSIS/Include/core_cm4.h **** @{
- 254:Drivers/CMSIS/Include/core_cm4.h **** */
- 255:Drivers/CMSIS/Include/core_cm4.h ****
- 256:Drivers/CMSIS/Include/core_cm4.h **** /**
- 257:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Application Program Status Register (APSR).
- 258:Drivers/CMSIS/Include/core_cm4.h **** */
- 259:Drivers/CMSIS/Include/core_cm4.h **** typedef union
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 6
- 260:Drivers/CMSIS/Include/core_cm4.h **** {
- 261:Drivers/CMSIS/Include/core_cm4.h **** struct
- 262:Drivers/CMSIS/Include/core_cm4.h **** {
- 263:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:16; /*!< bit: 0..15 Reserved */
- 264:Drivers/CMSIS/Include/core_cm4.h **** uint32_t GE:4; /*!< bit: 16..19 Greater than or Equal flags */
- 265:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved1:7; /*!< bit: 20..26 Reserved */
- 266:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Q:1; /*!< bit: 27 Saturation condition flag */
- 267:Drivers/CMSIS/Include/core_cm4.h **** uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
- 268:Drivers/CMSIS/Include/core_cm4.h **** uint32_t C:1; /*!< bit: 29 Carry condition code flag */
- 269:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
- 270:Drivers/CMSIS/Include/core_cm4.h **** uint32_t N:1; /*!< bit: 31 Negative condition code flag */
- 271:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
- 272:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
- 273:Drivers/CMSIS/Include/core_cm4.h **** } APSR_Type;
- 274:Drivers/CMSIS/Include/core_cm4.h ****
- 275:Drivers/CMSIS/Include/core_cm4.h **** /* APSR Register Definitions */
- 276:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_N_Pos 31U /*!< APSR
- 277:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_N_Msk (1UL << APSR_N_Pos) /*!< APSR
- 278:Drivers/CMSIS/Include/core_cm4.h ****
- 279:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Z_Pos 30U /*!< APSR
- 280:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Z_Msk (1UL << APSR_Z_Pos) /*!< APSR
- 281:Drivers/CMSIS/Include/core_cm4.h ****
- 282:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_C_Pos 29U /*!< APSR
- 283:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_C_Msk (1UL << APSR_C_Pos) /*!< APSR
- 284:Drivers/CMSIS/Include/core_cm4.h ****
- 285:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_V_Pos 28U /*!< APSR
- 286:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_V_Msk (1UL << APSR_V_Pos) /*!< APSR
- 287:Drivers/CMSIS/Include/core_cm4.h ****
- 288:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Q_Pos 27U /*!< APSR
- 289:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Q_Msk (1UL << APSR_Q_Pos) /*!< APSR
- 290:Drivers/CMSIS/Include/core_cm4.h ****
- 291:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_GE_Pos 16U /*!< APSR
- 292:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_GE_Msk (0xFUL << APSR_GE_Pos) /*!< APSR
- 293:Drivers/CMSIS/Include/core_cm4.h ****
- 294:Drivers/CMSIS/Include/core_cm4.h ****
- 295:Drivers/CMSIS/Include/core_cm4.h **** /**
- 296:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Interrupt Program Status Register (IPSR).
- 297:Drivers/CMSIS/Include/core_cm4.h **** */
- 298:Drivers/CMSIS/Include/core_cm4.h **** typedef union
- 299:Drivers/CMSIS/Include/core_cm4.h **** {
- 300:Drivers/CMSIS/Include/core_cm4.h **** struct
- 301:Drivers/CMSIS/Include/core_cm4.h **** {
- 302:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
- 303:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:23; /*!< bit: 9..31 Reserved */
- 304:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
- 305:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
- 306:Drivers/CMSIS/Include/core_cm4.h **** } IPSR_Type;
- 307:Drivers/CMSIS/Include/core_cm4.h ****
- 308:Drivers/CMSIS/Include/core_cm4.h **** /* IPSR Register Definitions */
- 309:Drivers/CMSIS/Include/core_cm4.h **** #define IPSR_ISR_Pos 0U /*!< IPSR
- 310:Drivers/CMSIS/Include/core_cm4.h **** #define IPSR_ISR_Msk (0x1FFUL /*<< IPSR_ISR_Pos*/) /*!< IPSR
- 311:Drivers/CMSIS/Include/core_cm4.h ****
- 312:Drivers/CMSIS/Include/core_cm4.h ****
- 313:Drivers/CMSIS/Include/core_cm4.h **** /**
- 314:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Special-Purpose Program Status Registers (xPSR).
- 315:Drivers/CMSIS/Include/core_cm4.h **** */
- 316:Drivers/CMSIS/Include/core_cm4.h **** typedef union
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 7
- 317:Drivers/CMSIS/Include/core_cm4.h **** {
- 318:Drivers/CMSIS/Include/core_cm4.h **** struct
- 319:Drivers/CMSIS/Include/core_cm4.h **** {
- 320:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
- 321:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:1; /*!< bit: 9 Reserved */
- 322:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ICI_IT_1:6; /*!< bit: 10..15 ICI/IT part 1 */
- 323:Drivers/CMSIS/Include/core_cm4.h **** uint32_t GE:4; /*!< bit: 16..19 Greater than or Equal flags */
- 324:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved1:4; /*!< bit: 20..23 Reserved */
- 325:Drivers/CMSIS/Include/core_cm4.h **** uint32_t T:1; /*!< bit: 24 Thumb bit */
- 326:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ICI_IT_2:2; /*!< bit: 25..26 ICI/IT part 2 */
- 327:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Q:1; /*!< bit: 27 Saturation condition flag */
- 328:Drivers/CMSIS/Include/core_cm4.h **** uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
- 329:Drivers/CMSIS/Include/core_cm4.h **** uint32_t C:1; /*!< bit: 29 Carry condition code flag */
- 330:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
- 331:Drivers/CMSIS/Include/core_cm4.h **** uint32_t N:1; /*!< bit: 31 Negative condition code flag */
- 332:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
- 333:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
- 334:Drivers/CMSIS/Include/core_cm4.h **** } xPSR_Type;
- 335:Drivers/CMSIS/Include/core_cm4.h ****
- 336:Drivers/CMSIS/Include/core_cm4.h **** /* xPSR Register Definitions */
- 337:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_N_Pos 31U /*!< xPSR
- 338:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_N_Msk (1UL << xPSR_N_Pos) /*!< xPSR
- 339:Drivers/CMSIS/Include/core_cm4.h ****
- 340:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Z_Pos 30U /*!< xPSR
- 341:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Z_Msk (1UL << xPSR_Z_Pos) /*!< xPSR
- 342:Drivers/CMSIS/Include/core_cm4.h ****
- 343:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_C_Pos 29U /*!< xPSR
- 344:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_C_Msk (1UL << xPSR_C_Pos) /*!< xPSR
- 345:Drivers/CMSIS/Include/core_cm4.h ****
- 346:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_V_Pos 28U /*!< xPSR
- 347:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_V_Msk (1UL << xPSR_V_Pos) /*!< xPSR
- 348:Drivers/CMSIS/Include/core_cm4.h ****
- 349:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Q_Pos 27U /*!< xPSR
- 350:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Q_Msk (1UL << xPSR_Q_Pos) /*!< xPSR
- 351:Drivers/CMSIS/Include/core_cm4.h ****
- 352:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_2_Pos 25U /*!< xPSR
- 353:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_2_Msk (3UL << xPSR_ICI_IT_2_Pos) /*!< xPSR
- 354:Drivers/CMSIS/Include/core_cm4.h ****
- 355:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_T_Pos 24U /*!< xPSR
- 356:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_T_Msk (1UL << xPSR_T_Pos) /*!< xPSR
- 357:Drivers/CMSIS/Include/core_cm4.h ****
- 358:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_GE_Pos 16U /*!< xPSR
- 359:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_GE_Msk (0xFUL << xPSR_GE_Pos) /*!< xPSR
- 360:Drivers/CMSIS/Include/core_cm4.h ****
- 361:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_1_Pos 10U /*!< xPSR
- 362:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_1_Msk (0x3FUL << xPSR_ICI_IT_1_Pos) /*!< xPSR
- 363:Drivers/CMSIS/Include/core_cm4.h ****
- 364:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ISR_Pos 0U /*!< xPSR
- 365:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ISR_Msk (0x1FFUL /*<< xPSR_ISR_Pos*/) /*!< xPSR
- 366:Drivers/CMSIS/Include/core_cm4.h ****
- 367:Drivers/CMSIS/Include/core_cm4.h ****
- 368:Drivers/CMSIS/Include/core_cm4.h **** /**
- 369:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Control Registers (CONTROL).
- 370:Drivers/CMSIS/Include/core_cm4.h **** */
- 371:Drivers/CMSIS/Include/core_cm4.h **** typedef union
- 372:Drivers/CMSIS/Include/core_cm4.h **** {
- 373:Drivers/CMSIS/Include/core_cm4.h **** struct
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 8
- 374:Drivers/CMSIS/Include/core_cm4.h **** {
- 375:Drivers/CMSIS/Include/core_cm4.h **** uint32_t nPRIV:1; /*!< bit: 0 Execution privilege in Thread mode */
- 376:Drivers/CMSIS/Include/core_cm4.h **** uint32_t SPSEL:1; /*!< bit: 1 Stack to be used */
- 377:Drivers/CMSIS/Include/core_cm4.h **** uint32_t FPCA:1; /*!< bit: 2 FP extension active flag */
- 378:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:29; /*!< bit: 3..31 Reserved */
- 379:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
- 380:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
- 381:Drivers/CMSIS/Include/core_cm4.h **** } CONTROL_Type;
- 382:Drivers/CMSIS/Include/core_cm4.h ****
- 383:Drivers/CMSIS/Include/core_cm4.h **** /* CONTROL Register Definitions */
- 384:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_FPCA_Pos 2U /*!< CONT
- 385:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_FPCA_Msk (1UL << CONTROL_FPCA_Pos) /*!< CONT
- 386:Drivers/CMSIS/Include/core_cm4.h ****
- 387:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_SPSEL_Pos 1U /*!< CONT
- 388:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_SPSEL_Msk (1UL << CONTROL_SPSEL_Pos) /*!< CONT
- 389:Drivers/CMSIS/Include/core_cm4.h ****
- 390:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_nPRIV_Pos 0U /*!< CONT
- 391:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_nPRIV_Msk (1UL /*<< CONTROL_nPRIV_Pos*/) /*!< CONT
- 392:Drivers/CMSIS/Include/core_cm4.h ****
- 393:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_CORE */
- 394:Drivers/CMSIS/Include/core_cm4.h ****
- 395:Drivers/CMSIS/Include/core_cm4.h ****
- 396:Drivers/CMSIS/Include/core_cm4.h **** /**
- 397:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
- 398:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_NVIC Nested Vectored Interrupt Controller (NVIC)
- 399:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the NVIC Registers
- 400:Drivers/CMSIS/Include/core_cm4.h **** @{
- 401:Drivers/CMSIS/Include/core_cm4.h **** */
- 402:Drivers/CMSIS/Include/core_cm4.h ****
- 403:Drivers/CMSIS/Include/core_cm4.h **** /**
- 404:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Nested Vectored Interrupt Controller (NVIC).
- 405:Drivers/CMSIS/Include/core_cm4.h **** */
- 406:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
- 407:Drivers/CMSIS/Include/core_cm4.h **** {
- 408:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ISER[8U]; /*!< Offset: 0x000 (R/W) Interrupt Set Enable Register */
- 409:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[24U];
- 410:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ICER[8U]; /*!< Offset: 0x080 (R/W) Interrupt Clear Enable Register
- 411:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RSERVED1[24U];
- 412:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ISPR[8U]; /*!< Offset: 0x100 (R/W) Interrupt Set Pending Register *
- 413:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[24U];
- 414:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ICPR[8U]; /*!< Offset: 0x180 (R/W) Interrupt Clear Pending Register
- 415:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED3[24U];
- 416:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t IABR[8U]; /*!< Offset: 0x200 (R/W) Interrupt Active bit Register */
- 417:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED4[56U];
- 418:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint8_t IP[240U]; /*!< Offset: 0x300 (R/W) Interrupt Priority Register (8Bi
- 419:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED5[644U];
- 420:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t STIR; /*!< Offset: 0xE00 ( /W) Software Trigger Interrupt Regis
- 421:Drivers/CMSIS/Include/core_cm4.h **** } NVIC_Type;
- 422:Drivers/CMSIS/Include/core_cm4.h ****
- 423:Drivers/CMSIS/Include/core_cm4.h **** /* Software Triggered Interrupt Register Definitions */
- 424:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_STIR_INTID_Pos 0U /*!< STIR: I
- 425:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_STIR_INTID_Msk (0x1FFUL /*<< NVIC_STIR_INTID_Pos*/) /*!< STIR: I
- 426:Drivers/CMSIS/Include/core_cm4.h ****
- 427:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_NVIC */
- 428:Drivers/CMSIS/Include/core_cm4.h ****
- 429:Drivers/CMSIS/Include/core_cm4.h ****
- 430:Drivers/CMSIS/Include/core_cm4.h **** /**
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 9
- 431:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
- 432:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_SCB System Control Block (SCB)
- 433:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the System Control Block Registers
- 434:Drivers/CMSIS/Include/core_cm4.h **** @{
- 435:Drivers/CMSIS/Include/core_cm4.h **** */
- 436:Drivers/CMSIS/Include/core_cm4.h ****
- 437:Drivers/CMSIS/Include/core_cm4.h **** /**
- 438:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the System Control Block (SCB).
- 439:Drivers/CMSIS/Include/core_cm4.h **** */
- 440:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
- 441:Drivers/CMSIS/Include/core_cm4.h **** {
- 442:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CPUID; /*!< Offset: 0x000 (R/ ) CPUID Base Register */
- 443:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ICSR; /*!< Offset: 0x004 (R/W) Interrupt Control and State Regi
- 444:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t VTOR; /*!< Offset: 0x008 (R/W) Vector Table Offset Register */
- 445:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t AIRCR; /*!< Offset: 0x00C (R/W) Application Interrupt and Reset
- 446:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SCR; /*!< Offset: 0x010 (R/W) System Control Register */
- 447:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CCR; /*!< Offset: 0x014 (R/W) Configuration Control Register *
- 448:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint8_t SHP[12U]; /*!< Offset: 0x018 (R/W) System Handlers Priority Registe
- 449:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SHCSR; /*!< Offset: 0x024 (R/W) System Handler Control and State
- 450:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CFSR; /*!< Offset: 0x028 (R/W) Configurable Fault Status Regist
- 451:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t HFSR; /*!< Offset: 0x02C (R/W) HardFault Status Register */
- 452:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DFSR; /*!< Offset: 0x030 (R/W) Debug Fault Status Register */
- 453:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MMFAR; /*!< Offset: 0x034 (R/W) MemManage Fault Address Register
- 454:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t BFAR; /*!< Offset: 0x038 (R/W) BusFault Address Register */
- 455:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t AFSR; /*!< Offset: 0x03C (R/W) Auxiliary Fault Status Register
- 456:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PFR[2U]; /*!< Offset: 0x040 (R/ ) Processor Feature Register */
- 457:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t DFR; /*!< Offset: 0x048 (R/ ) Debug Feature Register */
- 458:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ADR; /*!< Offset: 0x04C (R/ ) Auxiliary Feature Register */
- 459:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t MMFR[4U]; /*!< Offset: 0x050 (R/ ) Memory Model Feature Register */
- 460:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ISAR[5U]; /*!< Offset: 0x060 (R/ ) Instruction Set Attributes Regis
- 461:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[5U];
- 462:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CPACR; /*!< Offset: 0x088 (R/W) Coprocessor Access Control Regis
- 463:Drivers/CMSIS/Include/core_cm4.h **** } SCB_Type;
- 464:Drivers/CMSIS/Include/core_cm4.h ****
- 465:Drivers/CMSIS/Include/core_cm4.h **** /* SCB CPUID Register Definitions */
- 466:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_IMPLEMENTER_Pos 24U /*!< SCB
- 467:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_IMPLEMENTER_Msk (0xFFUL << SCB_CPUID_IMPLEMENTER_Pos) /*!< SCB
- 468:Drivers/CMSIS/Include/core_cm4.h ****
- 469:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_VARIANT_Pos 20U /*!< SCB
- 470:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_VARIANT_Msk (0xFUL << SCB_CPUID_VARIANT_Pos) /*!< SCB
- 471:Drivers/CMSIS/Include/core_cm4.h ****
- 472:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_ARCHITECTURE_Pos 16U /*!< SCB
- 473:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_ARCHITECTURE_Msk (0xFUL << SCB_CPUID_ARCHITECTURE_Pos) /*!< SCB
- 474:Drivers/CMSIS/Include/core_cm4.h ****
- 475:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_PARTNO_Pos 4U /*!< SCB
- 476:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_PARTNO_Msk (0xFFFUL << SCB_CPUID_PARTNO_Pos) /*!< SCB
- 477:Drivers/CMSIS/Include/core_cm4.h ****
- 478:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_REVISION_Pos 0U /*!< SCB
- 479:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_REVISION_Msk (0xFUL /*<< SCB_CPUID_REVISION_Pos*/) /*!< SCB
- 480:Drivers/CMSIS/Include/core_cm4.h ****
- 481:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Interrupt Control State Register Definitions */
- 482:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_NMIPENDSET_Pos 31U /*!< SCB
- 483:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_NMIPENDSET_Msk (1UL << SCB_ICSR_NMIPENDSET_Pos) /*!< SCB
- 484:Drivers/CMSIS/Include/core_cm4.h ****
- 485:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVSET_Pos 28U /*!< SCB
- 486:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVSET_Msk (1UL << SCB_ICSR_PENDSVSET_Pos) /*!< SCB
- 487:Drivers/CMSIS/Include/core_cm4.h ****
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 10
- 488:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVCLR_Pos 27U /*!< SCB
- 489:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVCLR_Msk (1UL << SCB_ICSR_PENDSVCLR_Pos) /*!< SCB
- 490:Drivers/CMSIS/Include/core_cm4.h ****
- 491:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTSET_Pos 26U /*!< SCB
- 492:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTSET_Msk (1UL << SCB_ICSR_PENDSTSET_Pos) /*!< SCB
- 493:Drivers/CMSIS/Include/core_cm4.h ****
- 494:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTCLR_Pos 25U /*!< SCB
- 495:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTCLR_Msk (1UL << SCB_ICSR_PENDSTCLR_Pos) /*!< SCB
- 496:Drivers/CMSIS/Include/core_cm4.h ****
- 497:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPREEMPT_Pos 23U /*!< SCB
- 498:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPREEMPT_Msk (1UL << SCB_ICSR_ISRPREEMPT_Pos) /*!< SCB
- 499:Drivers/CMSIS/Include/core_cm4.h ****
- 500:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPENDING_Pos 22U /*!< SCB
- 501:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPENDING_Msk (1UL << SCB_ICSR_ISRPENDING_Pos) /*!< SCB
- 502:Drivers/CMSIS/Include/core_cm4.h ****
- 503:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTPENDING_Pos 12U /*!< SCB
- 504:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTPENDING_Msk (0x1FFUL << SCB_ICSR_VECTPENDING_Pos) /*!< SCB
- 505:Drivers/CMSIS/Include/core_cm4.h ****
- 506:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_RETTOBASE_Pos 11U /*!< SCB
- 507:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_RETTOBASE_Msk (1UL << SCB_ICSR_RETTOBASE_Pos) /*!< SCB
- 508:Drivers/CMSIS/Include/core_cm4.h ****
- 509:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTACTIVE_Pos 0U /*!< SCB
- 510:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTACTIVE_Msk (0x1FFUL /*<< SCB_ICSR_VECTACTIVE_Pos*/) /*!< SCB
- 511:Drivers/CMSIS/Include/core_cm4.h ****
- 512:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Vector Table Offset Register Definitions */
- 513:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_VTOR_TBLOFF_Pos 7U /*!< SCB
- 514:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_VTOR_TBLOFF_Msk (0x1FFFFFFUL << SCB_VTOR_TBLOFF_Pos) /*!< SCB
- 515:Drivers/CMSIS/Include/core_cm4.h ****
- 516:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Application Interrupt and Reset Control Register Definitions */
- 517:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEY_Pos 16U /*!< SCB
- 518:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEY_Msk (0xFFFFUL << SCB_AIRCR_VECTKEY_Pos) /*!< SCB
- 519:Drivers/CMSIS/Include/core_cm4.h ****
- 520:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEYSTAT_Pos 16U /*!< SCB
- 521:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEYSTAT_Msk (0xFFFFUL << SCB_AIRCR_VECTKEYSTAT_Pos) /*!< SCB
- 522:Drivers/CMSIS/Include/core_cm4.h ****
- 523:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_ENDIANESS_Pos 15U /*!< SCB
- 524:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_ENDIANESS_Msk (1UL << SCB_AIRCR_ENDIANESS_Pos) /*!< SCB
- 525:Drivers/CMSIS/Include/core_cm4.h ****
- 526:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_PRIGROUP_Pos 8U /*!< SCB
- 527:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_PRIGROUP_Msk (7UL << SCB_AIRCR_PRIGROUP_Pos) /*!< SCB
- 528:Drivers/CMSIS/Include/core_cm4.h ****
- 529:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_SYSRESETREQ_Pos 2U /*!< SCB
- 530:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_SYSRESETREQ_Msk (1UL << SCB_AIRCR_SYSRESETREQ_Pos) /*!< SCB
- 531:Drivers/CMSIS/Include/core_cm4.h ****
- 532:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTCLRACTIVE_Pos 1U /*!< SCB
- 533:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTCLRACTIVE_Msk (1UL << SCB_AIRCR_VECTCLRACTIVE_Pos) /*!< SCB
- 534:Drivers/CMSIS/Include/core_cm4.h ****
- 535:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTRESET_Pos 0U /*!< SCB
- 536:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTRESET_Msk (1UL /*<< SCB_AIRCR_VECTRESET_Pos*/) /*!< SCB
- 537:Drivers/CMSIS/Include/core_cm4.h ****
- 538:Drivers/CMSIS/Include/core_cm4.h **** /* SCB System Control Register Definitions */
- 539:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SEVONPEND_Pos 4U /*!< SCB
- 540:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SEVONPEND_Msk (1UL << SCB_SCR_SEVONPEND_Pos) /*!< SCB
- 541:Drivers/CMSIS/Include/core_cm4.h ****
- 542:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPDEEP_Pos 2U /*!< SCB
- 543:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPDEEP_Msk (1UL << SCB_SCR_SLEEPDEEP_Pos) /*!< SCB
- 544:Drivers/CMSIS/Include/core_cm4.h ****
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 11
- 545:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPONEXIT_Pos 1U /*!< SCB
- 546:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPONEXIT_Msk (1UL << SCB_SCR_SLEEPONEXIT_Pos) /*!< SCB
- 547:Drivers/CMSIS/Include/core_cm4.h ****
- 548:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Configuration Control Register Definitions */
- 549:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_STKALIGN_Pos 9U /*!< SCB
- 550:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_STKALIGN_Msk (1UL << SCB_CCR_STKALIGN_Pos) /*!< SCB
- 551:Drivers/CMSIS/Include/core_cm4.h ****
- 552:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_BFHFNMIGN_Pos 8U /*!< SCB
- 553:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_BFHFNMIGN_Msk (1UL << SCB_CCR_BFHFNMIGN_Pos) /*!< SCB
- 554:Drivers/CMSIS/Include/core_cm4.h ****
- 555:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_DIV_0_TRP_Pos 4U /*!< SCB
- 556:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_DIV_0_TRP_Msk (1UL << SCB_CCR_DIV_0_TRP_Pos) /*!< SCB
- 557:Drivers/CMSIS/Include/core_cm4.h ****
- 558:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_UNALIGN_TRP_Pos 3U /*!< SCB
- 559:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_UNALIGN_TRP_Msk (1UL << SCB_CCR_UNALIGN_TRP_Pos) /*!< SCB
- 560:Drivers/CMSIS/Include/core_cm4.h ****
- 561:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_USERSETMPEND_Pos 1U /*!< SCB
- 562:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_USERSETMPEND_Msk (1UL << SCB_CCR_USERSETMPEND_Pos) /*!< SCB
- 563:Drivers/CMSIS/Include/core_cm4.h ****
- 564:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_NONBASETHRDENA_Pos 0U /*!< SCB
- 565:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_NONBASETHRDENA_Msk (1UL /*<< SCB_CCR_NONBASETHRDENA_Pos*/) /*!< SCB
- 566:Drivers/CMSIS/Include/core_cm4.h ****
- 567:Drivers/CMSIS/Include/core_cm4.h **** /* SCB System Handler Control and State Register Definitions */
- 568:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTENA_Pos 18U /*!< SCB
- 569:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTENA_Msk (1UL << SCB_SHCSR_USGFAULTENA_Pos) /*!< SCB
- 570:Drivers/CMSIS/Include/core_cm4.h ****
- 571:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTENA_Pos 17U /*!< SCB
- 572:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTENA_Msk (1UL << SCB_SHCSR_BUSFAULTENA_Pos) /*!< SCB
- 573:Drivers/CMSIS/Include/core_cm4.h ****
- 574:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTENA_Pos 16U /*!< SCB
- 575:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTENA_Msk (1UL << SCB_SHCSR_MEMFAULTENA_Pos) /*!< SCB
- 576:Drivers/CMSIS/Include/core_cm4.h ****
- 577:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLPENDED_Pos 15U /*!< SCB
- 578:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLPENDED_Msk (1UL << SCB_SHCSR_SVCALLPENDED_Pos) /*!< SCB
- 579:Drivers/CMSIS/Include/core_cm4.h ****
- 580:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTPENDED_Pos 14U /*!< SCB
- 581:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTPENDED_Msk (1UL << SCB_SHCSR_BUSFAULTPENDED_Pos) /*!< SCB
- 582:Drivers/CMSIS/Include/core_cm4.h ****
- 583:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTPENDED_Pos 13U /*!< SCB
- 584:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTPENDED_Msk (1UL << SCB_SHCSR_MEMFAULTPENDED_Pos) /*!< SCB
- 585:Drivers/CMSIS/Include/core_cm4.h ****
- 586:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTPENDED_Pos 12U /*!< SCB
- 587:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTPENDED_Msk (1UL << SCB_SHCSR_USGFAULTPENDED_Pos) /*!< SCB
- 588:Drivers/CMSIS/Include/core_cm4.h ****
- 589:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SYSTICKACT_Pos 11U /*!< SCB
- 590:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SYSTICKACT_Msk (1UL << SCB_SHCSR_SYSTICKACT_Pos) /*!< SCB
- 591:Drivers/CMSIS/Include/core_cm4.h ****
- 592:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_PENDSVACT_Pos 10U /*!< SCB
- 593:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_PENDSVACT_Msk (1UL << SCB_SHCSR_PENDSVACT_Pos) /*!< SCB
- 594:Drivers/CMSIS/Include/core_cm4.h ****
- 595:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MONITORACT_Pos 8U /*!< SCB
- 596:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MONITORACT_Msk (1UL << SCB_SHCSR_MONITORACT_Pos) /*!< SCB
- 597:Drivers/CMSIS/Include/core_cm4.h ****
- 598:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLACT_Pos 7U /*!< SCB
- 599:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLACT_Msk (1UL << SCB_SHCSR_SVCALLACT_Pos) /*!< SCB
- 600:Drivers/CMSIS/Include/core_cm4.h ****
- 601:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTACT_Pos 3U /*!< SCB
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 12
- 602:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTACT_Msk (1UL << SCB_SHCSR_USGFAULTACT_Pos) /*!< SCB
- 603:Drivers/CMSIS/Include/core_cm4.h ****
- 604:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTACT_Pos 1U /*!< SCB
- 605:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTACT_Msk (1UL << SCB_SHCSR_BUSFAULTACT_Pos) /*!< SCB
- 606:Drivers/CMSIS/Include/core_cm4.h ****
- 607:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTACT_Pos 0U /*!< SCB
- 608:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTACT_Msk (1UL /*<< SCB_SHCSR_MEMFAULTACT_Pos*/) /*!< SCB
- 609:Drivers/CMSIS/Include/core_cm4.h ****
- 610:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Configurable Fault Status Register Definitions */
- 611:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_USGFAULTSR_Pos 16U /*!< SCB
- 612:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_USGFAULTSR_Msk (0xFFFFUL << SCB_CFSR_USGFAULTSR_Pos) /*!< SCB
- 613:Drivers/CMSIS/Include/core_cm4.h ****
- 614:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BUSFAULTSR_Pos 8U /*!< SCB
- 615:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BUSFAULTSR_Msk (0xFFUL << SCB_CFSR_BUSFAULTSR_Pos) /*!< SCB
- 616:Drivers/CMSIS/Include/core_cm4.h ****
- 617:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MEMFAULTSR_Pos 0U /*!< SCB
- 618:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MEMFAULTSR_Msk (0xFFUL /*<< SCB_CFSR_MEMFAULTSR_Pos*/) /*!< SCB
- 619:Drivers/CMSIS/Include/core_cm4.h ****
- 620:Drivers/CMSIS/Include/core_cm4.h **** /* MemManage Fault Status Register (part of SCB Configurable Fault Status Register) */
- 621:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MMARVALID_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 7U) /*!< SCB
- 622:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MMARVALID_Msk (1UL << SCB_CFSR_MMARVALID_Pos) /*!< SCB
- 623:Drivers/CMSIS/Include/core_cm4.h ****
- 624:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MLSPERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 5U) /*!< SCB
- 625:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MLSPERR_Msk (1UL << SCB_CFSR_MLSPERR_Pos) /*!< SCB
- 626:Drivers/CMSIS/Include/core_cm4.h ****
- 627:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MSTKERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 4U) /*!< SCB
- 628:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MSTKERR_Msk (1UL << SCB_CFSR_MSTKERR_Pos) /*!< SCB
- 629:Drivers/CMSIS/Include/core_cm4.h ****
- 630:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MUNSTKERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 3U) /*!< SCB
- 631:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MUNSTKERR_Msk (1UL << SCB_CFSR_MUNSTKERR_Pos) /*!< SCB
- 632:Drivers/CMSIS/Include/core_cm4.h ****
- 633:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DACCVIOL_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 1U) /*!< SCB
- 634:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DACCVIOL_Msk (1UL << SCB_CFSR_DACCVIOL_Pos) /*!< SCB
- 635:Drivers/CMSIS/Include/core_cm4.h ****
- 636:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IACCVIOL_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 0U) /*!< SCB
- 637:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IACCVIOL_Msk (1UL /*<< SCB_CFSR_IACCVIOL_Pos*/) /*!< SCB
- 638:Drivers/CMSIS/Include/core_cm4.h ****
- 639:Drivers/CMSIS/Include/core_cm4.h **** /* BusFault Status Register (part of SCB Configurable Fault Status Register) */
- 640:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BFARVALID_Pos (SCB_CFSR_BUSFAULTSR_Pos + 7U) /*!< SCB
- 641:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BFARVALID_Msk (1UL << SCB_CFSR_BFARVALID_Pos) /*!< SCB
- 642:Drivers/CMSIS/Include/core_cm4.h ****
- 643:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_LSPERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 5U) /*!< SCB
- 644:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_LSPERR_Msk (1UL << SCB_CFSR_LSPERR_Pos) /*!< SCB
- 645:Drivers/CMSIS/Include/core_cm4.h ****
- 646:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_STKERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 4U) /*!< SCB
- 647:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_STKERR_Msk (1UL << SCB_CFSR_STKERR_Pos) /*!< SCB
- 648:Drivers/CMSIS/Include/core_cm4.h ****
- 649:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNSTKERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 3U) /*!< SCB
- 650:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNSTKERR_Msk (1UL << SCB_CFSR_UNSTKERR_Pos) /*!< SCB
- 651:Drivers/CMSIS/Include/core_cm4.h ****
- 652:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IMPRECISERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 2U) /*!< SCB
- 653:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IMPRECISERR_Msk (1UL << SCB_CFSR_IMPRECISERR_Pos) /*!< SCB
- 654:Drivers/CMSIS/Include/core_cm4.h ****
- 655:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_PRECISERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 1U) /*!< SCB
- 656:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_PRECISERR_Msk (1UL << SCB_CFSR_PRECISERR_Pos) /*!< SCB
- 657:Drivers/CMSIS/Include/core_cm4.h ****
- 658:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IBUSERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 0U) /*!< SCB
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 13
- 659:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IBUSERR_Msk (1UL << SCB_CFSR_IBUSERR_Pos) /*!< SCB
- 660:Drivers/CMSIS/Include/core_cm4.h ****
- 661:Drivers/CMSIS/Include/core_cm4.h **** /* UsageFault Status Register (part of SCB Configurable Fault Status Register) */
- 662:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DIVBYZERO_Pos (SCB_CFSR_USGFAULTSR_Pos + 9U) /*!< SCB
- 663:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DIVBYZERO_Msk (1UL << SCB_CFSR_DIVBYZERO_Pos) /*!< SCB
- 664:Drivers/CMSIS/Include/core_cm4.h ****
- 665:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNALIGNED_Pos (SCB_CFSR_USGFAULTSR_Pos + 8U) /*!< SCB
- 666:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNALIGNED_Msk (1UL << SCB_CFSR_UNALIGNED_Pos) /*!< SCB
- 667:Drivers/CMSIS/Include/core_cm4.h ****
- 668:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_NOCP_Pos (SCB_CFSR_USGFAULTSR_Pos + 3U) /*!< SCB
- 669:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_NOCP_Msk (1UL << SCB_CFSR_NOCP_Pos) /*!< SCB
- 670:Drivers/CMSIS/Include/core_cm4.h ****
- 671:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVPC_Pos (SCB_CFSR_USGFAULTSR_Pos + 2U) /*!< SCB
- 672:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVPC_Msk (1UL << SCB_CFSR_INVPC_Pos) /*!< SCB
- 673:Drivers/CMSIS/Include/core_cm4.h ****
- 674:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVSTATE_Pos (SCB_CFSR_USGFAULTSR_Pos + 1U) /*!< SCB
- 675:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVSTATE_Msk (1UL << SCB_CFSR_INVSTATE_Pos) /*!< SCB
- 676:Drivers/CMSIS/Include/core_cm4.h ****
- 677:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNDEFINSTR_Pos (SCB_CFSR_USGFAULTSR_Pos + 0U) /*!< SCB
- 678:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNDEFINSTR_Msk (1UL << SCB_CFSR_UNDEFINSTR_Pos) /*!< SCB
- 679:Drivers/CMSIS/Include/core_cm4.h ****
- 680:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Hard Fault Status Register Definitions */
- 681:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_DEBUGEVT_Pos 31U /*!< SCB
- 682:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_DEBUGEVT_Msk (1UL << SCB_HFSR_DEBUGEVT_Pos) /*!< SCB
- 683:Drivers/CMSIS/Include/core_cm4.h ****
- 684:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_FORCED_Pos 30U /*!< SCB
- 685:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_FORCED_Msk (1UL << SCB_HFSR_FORCED_Pos) /*!< SCB
- 686:Drivers/CMSIS/Include/core_cm4.h ****
- 687:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_VECTTBL_Pos 1U /*!< SCB
- 688:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_VECTTBL_Msk (1UL << SCB_HFSR_VECTTBL_Pos) /*!< SCB
- 689:Drivers/CMSIS/Include/core_cm4.h ****
- 690:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Debug Fault Status Register Definitions */
- 691:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_EXTERNAL_Pos 4U /*!< SCB
- 692:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_EXTERNAL_Msk (1UL << SCB_DFSR_EXTERNAL_Pos) /*!< SCB
- 693:Drivers/CMSIS/Include/core_cm4.h ****
- 694:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_VCATCH_Pos 3U /*!< SCB
- 695:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_VCATCH_Msk (1UL << SCB_DFSR_VCATCH_Pos) /*!< SCB
- 696:Drivers/CMSIS/Include/core_cm4.h ****
- 697:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_DWTTRAP_Pos 2U /*!< SCB
- 698:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_DWTTRAP_Msk (1UL << SCB_DFSR_DWTTRAP_Pos) /*!< SCB
- 699:Drivers/CMSIS/Include/core_cm4.h ****
- 700:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_BKPT_Pos 1U /*!< SCB
- 701:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_BKPT_Msk (1UL << SCB_DFSR_BKPT_Pos) /*!< SCB
- 702:Drivers/CMSIS/Include/core_cm4.h ****
- 703:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_HALTED_Pos 0U /*!< SCB
- 704:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_HALTED_Msk (1UL /*<< SCB_DFSR_HALTED_Pos*/) /*!< SCB
- 705:Drivers/CMSIS/Include/core_cm4.h ****
- 706:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_SCB */
- 707:Drivers/CMSIS/Include/core_cm4.h ****
- 708:Drivers/CMSIS/Include/core_cm4.h ****
- 709:Drivers/CMSIS/Include/core_cm4.h **** /**
- 710:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
- 711:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_SCnSCB System Controls not in SCB (SCnSCB)
- 712:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the System Control and ID Register not in the SCB
- 713:Drivers/CMSIS/Include/core_cm4.h **** @{
- 714:Drivers/CMSIS/Include/core_cm4.h **** */
- 715:Drivers/CMSIS/Include/core_cm4.h ****
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 14
- 716:Drivers/CMSIS/Include/core_cm4.h **** /**
- 717:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the System Control and ID Register not in the SCB.
- 718:Drivers/CMSIS/Include/core_cm4.h **** */
- 719:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
- 720:Drivers/CMSIS/Include/core_cm4.h **** {
- 721:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[1U];
- 722:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ICTR; /*!< Offset: 0x004 (R/ ) Interrupt Controller Type Regist
- 723:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ACTLR; /*!< Offset: 0x008 (R/W) Auxiliary Control Register */
- 724:Drivers/CMSIS/Include/core_cm4.h **** } SCnSCB_Type;
- 725:Drivers/CMSIS/Include/core_cm4.h ****
- 726:Drivers/CMSIS/Include/core_cm4.h **** /* Interrupt Controller Type Register Definitions */
- 727:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ICTR_INTLINESNUM_Pos 0U /*!< ICTR: I
- 728:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ICTR_INTLINESNUM_Msk (0xFUL /*<< SCnSCB_ICTR_INTLINESNUM_Pos*/) /*!< ICTR: I
- 729:Drivers/CMSIS/Include/core_cm4.h ****
- 730:Drivers/CMSIS/Include/core_cm4.h **** /* Auxiliary Control Register Definitions */
- 731:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISOOFP_Pos 9U /*!< ACTLR:
- 732:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISOOFP_Msk (1UL << SCnSCB_ACTLR_DISOOFP_Pos) /*!< ACTLR:
- 733:Drivers/CMSIS/Include/core_cm4.h ****
- 734:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFPCA_Pos 8U /*!< ACTLR:
- 735:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFPCA_Msk (1UL << SCnSCB_ACTLR_DISFPCA_Pos) /*!< ACTLR:
- 736:Drivers/CMSIS/Include/core_cm4.h ****
- 737:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFOLD_Pos 2U /*!< ACTLR:
- 738:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFOLD_Msk (1UL << SCnSCB_ACTLR_DISFOLD_Pos) /*!< ACTLR:
- 739:Drivers/CMSIS/Include/core_cm4.h ****
- 740:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISDEFWBUF_Pos 1U /*!< ACTLR:
- 741:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISDEFWBUF_Msk (1UL << SCnSCB_ACTLR_DISDEFWBUF_Pos) /*!< ACTLR:
- 742:Drivers/CMSIS/Include/core_cm4.h ****
- 743:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISMCYCINT_Pos 0U /*!< ACTLR:
- 744:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISMCYCINT_Msk (1UL /*<< SCnSCB_ACTLR_DISMCYCINT_Pos*/) /*!< ACTLR:
- 745:Drivers/CMSIS/Include/core_cm4.h ****
- 746:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_SCnotSCB */
- 747:Drivers/CMSIS/Include/core_cm4.h ****
- 748:Drivers/CMSIS/Include/core_cm4.h ****
- 749:Drivers/CMSIS/Include/core_cm4.h **** /**
- 750:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
- 751:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_SysTick System Tick Timer (SysTick)
- 752:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the System Timer Registers.
- 753:Drivers/CMSIS/Include/core_cm4.h **** @{
- 754:Drivers/CMSIS/Include/core_cm4.h **** */
- 755:Drivers/CMSIS/Include/core_cm4.h ****
- 756:Drivers/CMSIS/Include/core_cm4.h **** /**
- 757:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the System Timer (SysTick).
- 758:Drivers/CMSIS/Include/core_cm4.h **** */
- 759:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
- 760:Drivers/CMSIS/Include/core_cm4.h **** {
- 761:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Regis
- 762:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t LOAD; /*!< Offset: 0x004 (R/W) SysTick Reload Value Register */
- 763:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t VAL; /*!< Offset: 0x008 (R/W) SysTick Current Value Register *
- 764:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CALIB; /*!< Offset: 0x00C (R/ ) SysTick Calibration Register */
- 765:Drivers/CMSIS/Include/core_cm4.h **** } SysTick_Type;
- 766:Drivers/CMSIS/Include/core_cm4.h ****
- 767:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Control / Status Register Definitions */
- 768:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_COUNTFLAG_Pos 16U /*!< SysT
- 769:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_COUNTFLAG_Msk (1UL << SysTick_CTRL_COUNTFLAG_Pos) /*!< SysT
- 770:Drivers/CMSIS/Include/core_cm4.h ****
- 771:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_CLKSOURCE_Pos 2U /*!< SysT
- 772:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_CLKSOURCE_Msk (1UL << SysTick_CTRL_CLKSOURCE_Pos) /*!< SysT
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 15
- 773:Drivers/CMSIS/Include/core_cm4.h ****
- 774:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_TICKINT_Pos 1U /*!< SysT
- 775:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_TICKINT_Msk (1UL << SysTick_CTRL_TICKINT_Pos) /*!< SysT
- 776:Drivers/CMSIS/Include/core_cm4.h ****
- 777:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_ENABLE_Pos 0U /*!< SysT
- 778:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_ENABLE_Msk (1UL /*<< SysTick_CTRL_ENABLE_Pos*/) /*!< SysT
- 779:Drivers/CMSIS/Include/core_cm4.h ****
- 780:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Reload Register Definitions */
- 781:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_LOAD_RELOAD_Pos 0U /*!< SysT
- 782:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_LOAD_RELOAD_Msk (0xFFFFFFUL /*<< SysTick_LOAD_RELOAD_Pos*/) /*!< SysT
- 783:Drivers/CMSIS/Include/core_cm4.h ****
- 784:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Current Register Definitions */
- 785:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_VAL_CURRENT_Pos 0U /*!< SysT
- 786:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_VAL_CURRENT_Msk (0xFFFFFFUL /*<< SysTick_VAL_CURRENT_Pos*/) /*!< SysT
- 787:Drivers/CMSIS/Include/core_cm4.h ****
- 788:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Calibration Register Definitions */
- 789:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_NOREF_Pos 31U /*!< SysT
- 790:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_NOREF_Msk (1UL << SysTick_CALIB_NOREF_Pos) /*!< SysT
- 791:Drivers/CMSIS/Include/core_cm4.h ****
- 792:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_SKEW_Pos 30U /*!< SysT
- 793:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_SKEW_Msk (1UL << SysTick_CALIB_SKEW_Pos) /*!< SysT
- 794:Drivers/CMSIS/Include/core_cm4.h ****
- 795:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_TENMS_Pos 0U /*!< SysT
- 796:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_TENMS_Msk (0xFFFFFFUL /*<< SysTick_CALIB_TENMS_Pos*/) /*!< SysT
- 797:Drivers/CMSIS/Include/core_cm4.h ****
- 798:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_SysTick */
- 799:Drivers/CMSIS/Include/core_cm4.h ****
- 800:Drivers/CMSIS/Include/core_cm4.h ****
- 801:Drivers/CMSIS/Include/core_cm4.h **** /**
- 802:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
- 803:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_ITM Instrumentation Trace Macrocell (ITM)
- 804:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Instrumentation Trace Macrocell (ITM)
- 805:Drivers/CMSIS/Include/core_cm4.h **** @{
- 806:Drivers/CMSIS/Include/core_cm4.h **** */
- 807:Drivers/CMSIS/Include/core_cm4.h ****
- 808:Drivers/CMSIS/Include/core_cm4.h **** /**
- 809:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Instrumentation Trace Macrocell Register (ITM).
- 810:Drivers/CMSIS/Include/core_cm4.h **** */
- 811:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
- 812:Drivers/CMSIS/Include/core_cm4.h **** {
- 813:Drivers/CMSIS/Include/core_cm4.h **** __OM union
- 814:Drivers/CMSIS/Include/core_cm4.h **** {
- 815:Drivers/CMSIS/Include/core_cm4.h **** __OM uint8_t u8; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 8-bit */
- 816:Drivers/CMSIS/Include/core_cm4.h **** __OM uint16_t u16; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 16-bit */
- 817:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t u32; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 32-bit */
- 818:Drivers/CMSIS/Include/core_cm4.h **** } PORT [32U]; /*!< Offset: 0x000 ( /W) ITM Stimulus Port Registers */
- 819:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[864U];
- 820:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t TER; /*!< Offset: 0xE00 (R/W) ITM Trace Enable Register */
- 821:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED1[15U];
- 822:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t TPR; /*!< Offset: 0xE40 (R/W) ITM Trace Privilege Register */
- 823:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[15U];
- 824:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t TCR; /*!< Offset: 0xE80 (R/W) ITM Trace Control Register */
- 825:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED3[29U];
- 826:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t IWR; /*!< Offset: 0xEF8 ( /W) ITM Integration Write Register *
- 827:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t IRR; /*!< Offset: 0xEFC (R/ ) ITM Integration Read Register */
- 828:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t IMCR; /*!< Offset: 0xF00 (R/W) ITM Integration Mode Control Reg
- 829:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED4[43U];
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 16
- 830:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t LAR; /*!< Offset: 0xFB0 ( /W) ITM Lock Access Register */
- 831:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t LSR; /*!< Offset: 0xFB4 (R/ ) ITM Lock Status Register */
- 832:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED5[6U];
- 833:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID4; /*!< Offset: 0xFD0 (R/ ) ITM Peripheral Identification Re
- 834:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID5; /*!< Offset: 0xFD4 (R/ ) ITM Peripheral Identification Re
- 835:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID6; /*!< Offset: 0xFD8 (R/ ) ITM Peripheral Identification Re
- 836:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID7; /*!< Offset: 0xFDC (R/ ) ITM Peripheral Identification Re
- 837:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID0; /*!< Offset: 0xFE0 (R/ ) ITM Peripheral Identification Re
- 838:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID1; /*!< Offset: 0xFE4 (R/ ) ITM Peripheral Identification Re
- 839:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID2; /*!< Offset: 0xFE8 (R/ ) ITM Peripheral Identification Re
- 840:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID3; /*!< Offset: 0xFEC (R/ ) ITM Peripheral Identification Re
- 841:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID0; /*!< Offset: 0xFF0 (R/ ) ITM Component Identification Re
- 842:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID1; /*!< Offset: 0xFF4 (R/ ) ITM Component Identification Re
- 843:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID2; /*!< Offset: 0xFF8 (R/ ) ITM Component Identification Re
- 844:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID3; /*!< Offset: 0xFFC (R/ ) ITM Component Identification Re
- 845:Drivers/CMSIS/Include/core_cm4.h **** } ITM_Type;
- 846:Drivers/CMSIS/Include/core_cm4.h ****
- 847:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Trace Privilege Register Definitions */
- 848:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TPR_PRIVMASK_Pos 0U /*!< ITM
- 849:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TPR_PRIVMASK_Msk (0xFFFFFFFFUL /*<< ITM_TPR_PRIVMASK_Pos*/) /*!< ITM
- 850:Drivers/CMSIS/Include/core_cm4.h ****
- 851:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Trace Control Register Definitions */
- 852:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_BUSY_Pos 23U /*!< ITM
- 853:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_BUSY_Msk (1UL << ITM_TCR_BUSY_Pos) /*!< ITM
- 854:Drivers/CMSIS/Include/core_cm4.h ****
- 855:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TraceBusID_Pos 16U /*!< ITM
- 856:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TraceBusID_Msk (0x7FUL << ITM_TCR_TraceBusID_Pos) /*!< ITM
- 857:Drivers/CMSIS/Include/core_cm4.h ****
- 858:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_GTSFREQ_Pos 10U /*!< ITM
- 859:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_GTSFREQ_Msk (3UL << ITM_TCR_GTSFREQ_Pos) /*!< ITM
- 860:Drivers/CMSIS/Include/core_cm4.h ****
- 861:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSPrescale_Pos 8U /*!< ITM
- 862:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSPrescale_Msk (3UL << ITM_TCR_TSPrescale_Pos) /*!< ITM
- 863:Drivers/CMSIS/Include/core_cm4.h ****
- 864:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SWOENA_Pos 4U /*!< ITM
- 865:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SWOENA_Msk (1UL << ITM_TCR_SWOENA_Pos) /*!< ITM
- 866:Drivers/CMSIS/Include/core_cm4.h ****
- 867:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_DWTENA_Pos 3U /*!< ITM
- 868:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_DWTENA_Msk (1UL << ITM_TCR_DWTENA_Pos) /*!< ITM
- 869:Drivers/CMSIS/Include/core_cm4.h ****
- 870:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SYNCENA_Pos 2U /*!< ITM
- 871:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SYNCENA_Msk (1UL << ITM_TCR_SYNCENA_Pos) /*!< ITM
- 872:Drivers/CMSIS/Include/core_cm4.h ****
- 873:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSENA_Pos 1U /*!< ITM
- 874:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSENA_Msk (1UL << ITM_TCR_TSENA_Pos) /*!< ITM
- 875:Drivers/CMSIS/Include/core_cm4.h ****
- 876:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_ITMENA_Pos 0U /*!< ITM
- 877:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_ITMENA_Msk (1UL /*<< ITM_TCR_ITMENA_Pos*/) /*!< ITM
- 878:Drivers/CMSIS/Include/core_cm4.h ****
- 879:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Integration Write Register Definitions */
- 880:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IWR_ATVALIDM_Pos 0U /*!< ITM
- 881:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IWR_ATVALIDM_Msk (1UL /*<< ITM_IWR_ATVALIDM_Pos*/) /*!< ITM
- 882:Drivers/CMSIS/Include/core_cm4.h ****
- 883:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Integration Read Register Definitions */
- 884:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IRR_ATREADYM_Pos 0U /*!< ITM
- 885:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IRR_ATREADYM_Msk (1UL /*<< ITM_IRR_ATREADYM_Pos*/) /*!< ITM
- 886:Drivers/CMSIS/Include/core_cm4.h ****
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 17
- 887:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Integration Mode Control Register Definitions */
- 888:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IMCR_INTEGRATION_Pos 0U /*!< ITM
- 889:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IMCR_INTEGRATION_Msk (1UL /*<< ITM_IMCR_INTEGRATION_Pos*/) /*!< ITM
- 890:Drivers/CMSIS/Include/core_cm4.h ****
- 891:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Lock Status Register Definitions */
- 892:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_ByteAcc_Pos 2U /*!< ITM
- 893:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_ByteAcc_Msk (1UL << ITM_LSR_ByteAcc_Pos) /*!< ITM
- 894:Drivers/CMSIS/Include/core_cm4.h ****
- 895:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Access_Pos 1U /*!< ITM
- 896:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Access_Msk (1UL << ITM_LSR_Access_Pos) /*!< ITM
- 897:Drivers/CMSIS/Include/core_cm4.h ****
- 898:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Present_Pos 0U /*!< ITM
- 899:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Present_Msk (1UL /*<< ITM_LSR_Present_Pos*/) /*!< ITM
- 900:Drivers/CMSIS/Include/core_cm4.h ****
- 901:Drivers/CMSIS/Include/core_cm4.h **** /*@}*/ /* end of group CMSIS_ITM */
- 902:Drivers/CMSIS/Include/core_cm4.h ****
- 903:Drivers/CMSIS/Include/core_cm4.h ****
- 904:Drivers/CMSIS/Include/core_cm4.h **** /**
- 905:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
- 906:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_DWT Data Watchpoint and Trace (DWT)
- 907:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Data Watchpoint and Trace (DWT)
- 908:Drivers/CMSIS/Include/core_cm4.h **** @{
- 909:Drivers/CMSIS/Include/core_cm4.h **** */
- 910:Drivers/CMSIS/Include/core_cm4.h ****
- 911:Drivers/CMSIS/Include/core_cm4.h **** /**
- 912:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Data Watchpoint and Trace Register (DWT).
- 913:Drivers/CMSIS/Include/core_cm4.h **** */
- 914:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
- 915:Drivers/CMSIS/Include/core_cm4.h **** {
- 916:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) Control Register */
- 917:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CYCCNT; /*!< Offset: 0x004 (R/W) Cycle Count Register */
- 918:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CPICNT; /*!< Offset: 0x008 (R/W) CPI Count Register */
- 919:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t EXCCNT; /*!< Offset: 0x00C (R/W) Exception Overhead Count Registe
- 920:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SLEEPCNT; /*!< Offset: 0x010 (R/W) Sleep Count Register */
- 921:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t LSUCNT; /*!< Offset: 0x014 (R/W) LSU Count Register */
- 922:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FOLDCNT; /*!< Offset: 0x018 (R/W) Folded-instruction Count Registe
- 923:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PCSR; /*!< Offset: 0x01C (R/ ) Program Counter Sample Register
- 924:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP0; /*!< Offset: 0x020 (R/W) Comparator Register 0 */
- 925:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK0; /*!< Offset: 0x024 (R/W) Mask Register 0 */
- 926:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION0; /*!< Offset: 0x028 (R/W) Function Register 0 */
- 927:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[1U];
- 928:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP1; /*!< Offset: 0x030 (R/W) Comparator Register 1 */
- 929:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK1; /*!< Offset: 0x034 (R/W) Mask Register 1 */
- 930:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION1; /*!< Offset: 0x038 (R/W) Function Register 1 */
- 931:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED1[1U];
- 932:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP2; /*!< Offset: 0x040 (R/W) Comparator Register 2 */
- 933:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK2; /*!< Offset: 0x044 (R/W) Mask Register 2 */
- 934:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION2; /*!< Offset: 0x048 (R/W) Function Register 2 */
- 935:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[1U];
- 936:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP3; /*!< Offset: 0x050 (R/W) Comparator Register 3 */
- 937:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK3; /*!< Offset: 0x054 (R/W) Mask Register 3 */
- 938:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION3; /*!< Offset: 0x058 (R/W) Function Register 3 */
- 939:Drivers/CMSIS/Include/core_cm4.h **** } DWT_Type;
- 940:Drivers/CMSIS/Include/core_cm4.h ****
- 941:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Control Register Definitions */
- 942:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NUMCOMP_Pos 28U /*!< DWT CTR
- 943:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NUMCOMP_Msk (0xFUL << DWT_CTRL_NUMCOMP_Pos) /*!< DWT CTR
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 18
- 944:Drivers/CMSIS/Include/core_cm4.h ****
- 945:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOTRCPKT_Pos 27U /*!< DWT CTR
- 946:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOTRCPKT_Msk (0x1UL << DWT_CTRL_NOTRCPKT_Pos) /*!< DWT CTR
- 947:Drivers/CMSIS/Include/core_cm4.h ****
- 948:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOEXTTRIG_Pos 26U /*!< DWT CTR
- 949:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOEXTTRIG_Msk (0x1UL << DWT_CTRL_NOEXTTRIG_Pos) /*!< DWT CTR
- 950:Drivers/CMSIS/Include/core_cm4.h ****
- 951:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOCYCCNT_Pos 25U /*!< DWT CTR
- 952:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOCYCCNT_Msk (0x1UL << DWT_CTRL_NOCYCCNT_Pos) /*!< DWT CTR
- 953:Drivers/CMSIS/Include/core_cm4.h ****
- 954:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOPRFCNT_Pos 24U /*!< DWT CTR
- 955:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOPRFCNT_Msk (0x1UL << DWT_CTRL_NOPRFCNT_Pos) /*!< DWT CTR
- 956:Drivers/CMSIS/Include/core_cm4.h ****
- 957:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCEVTENA_Pos 22U /*!< DWT CTR
- 958:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCEVTENA_Msk (0x1UL << DWT_CTRL_CYCEVTENA_Pos) /*!< DWT CTR
- 959:Drivers/CMSIS/Include/core_cm4.h ****
- 960:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_FOLDEVTENA_Pos 21U /*!< DWT CTR
- 961:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_FOLDEVTENA_Msk (0x1UL << DWT_CTRL_FOLDEVTENA_Pos) /*!< DWT CTR
- 962:Drivers/CMSIS/Include/core_cm4.h ****
- 963:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_LSUEVTENA_Pos 20U /*!< DWT CTR
- 964:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_LSUEVTENA_Msk (0x1UL << DWT_CTRL_LSUEVTENA_Pos) /*!< DWT CTR
- 965:Drivers/CMSIS/Include/core_cm4.h ****
- 966:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SLEEPEVTENA_Pos 19U /*!< DWT CTR
- 967:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SLEEPEVTENA_Msk (0x1UL << DWT_CTRL_SLEEPEVTENA_Pos) /*!< DWT CTR
- 968:Drivers/CMSIS/Include/core_cm4.h ****
- 969:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCEVTENA_Pos 18U /*!< DWT CTR
- 970:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCEVTENA_Msk (0x1UL << DWT_CTRL_EXCEVTENA_Pos) /*!< DWT CTR
- 971:Drivers/CMSIS/Include/core_cm4.h ****
- 972:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CPIEVTENA_Pos 17U /*!< DWT CTR
- 973:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CPIEVTENA_Msk (0x1UL << DWT_CTRL_CPIEVTENA_Pos) /*!< DWT CTR
- 974:Drivers/CMSIS/Include/core_cm4.h ****
- 975:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCTRCENA_Pos 16U /*!< DWT CTR
- 976:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCTRCENA_Msk (0x1UL << DWT_CTRL_EXCTRCENA_Pos) /*!< DWT CTR
- 977:Drivers/CMSIS/Include/core_cm4.h ****
- 978:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_PCSAMPLENA_Pos 12U /*!< DWT CTR
- 979:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_PCSAMPLENA_Msk (0x1UL << DWT_CTRL_PCSAMPLENA_Pos) /*!< DWT CTR
- 980:Drivers/CMSIS/Include/core_cm4.h ****
- 981:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SYNCTAP_Pos 10U /*!< DWT CTR
- 982:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SYNCTAP_Msk (0x3UL << DWT_CTRL_SYNCTAP_Pos) /*!< DWT CTR
- 983:Drivers/CMSIS/Include/core_cm4.h ****
- 984:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCTAP_Pos 9U /*!< DWT CTR
- 985:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCTAP_Msk (0x1UL << DWT_CTRL_CYCTAP_Pos) /*!< DWT CTR
- 986:Drivers/CMSIS/Include/core_cm4.h ****
- 987:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTINIT_Pos 5U /*!< DWT CTR
- 988:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTINIT_Msk (0xFUL << DWT_CTRL_POSTINIT_Pos) /*!< DWT CTR
- 989:Drivers/CMSIS/Include/core_cm4.h ****
- 990:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTPRESET_Pos 1U /*!< DWT CTR
- 991:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTPRESET_Msk (0xFUL << DWT_CTRL_POSTPRESET_Pos) /*!< DWT CTR
- 992:Drivers/CMSIS/Include/core_cm4.h ****
- 993:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCCNTENA_Pos 0U /*!< DWT CTR
- 994:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCCNTENA_Msk (0x1UL /*<< DWT_CTRL_CYCCNTENA_Pos*/) /*!< DWT CTR
- 995:Drivers/CMSIS/Include/core_cm4.h ****
- 996:Drivers/CMSIS/Include/core_cm4.h **** /* DWT CPI Count Register Definitions */
- 997:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CPICNT_CPICNT_Pos 0U /*!< DWT CPI
- 998:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CPICNT_CPICNT_Msk (0xFFUL /*<< DWT_CPICNT_CPICNT_Pos*/) /*!< DWT CPI
- 999:Drivers/CMSIS/Include/core_cm4.h ****
- 1000:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Exception Overhead Count Register Definitions */
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 19
- 1001:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_EXCCNT_EXCCNT_Pos 0U /*!< DWT EXC
- 1002:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_EXCCNT_EXCCNT_Msk (0xFFUL /*<< DWT_EXCCNT_EXCCNT_Pos*/) /*!< DWT EXC
- 1003:Drivers/CMSIS/Include/core_cm4.h ****
- 1004:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Sleep Count Register Definitions */
- 1005:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_SLEEPCNT_SLEEPCNT_Pos 0U /*!< DWT SLE
- 1006:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_SLEEPCNT_SLEEPCNT_Msk (0xFFUL /*<< DWT_SLEEPCNT_SLEEPCNT_Pos*/) /*!< DWT SLE
- 1007:Drivers/CMSIS/Include/core_cm4.h ****
- 1008:Drivers/CMSIS/Include/core_cm4.h **** /* DWT LSU Count Register Definitions */
- 1009:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_LSUCNT_LSUCNT_Pos 0U /*!< DWT LSU
- 1010:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_LSUCNT_LSUCNT_Msk (0xFFUL /*<< DWT_LSUCNT_LSUCNT_Pos*/) /*!< DWT LSU
- 1011:Drivers/CMSIS/Include/core_cm4.h ****
- 1012:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Folded-instruction Count Register Definitions */
- 1013:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FOLDCNT_FOLDCNT_Pos 0U /*!< DWT FOL
- 1014:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FOLDCNT_FOLDCNT_Msk (0xFFUL /*<< DWT_FOLDCNT_FOLDCNT_Pos*/) /*!< DWT FOL
- 1015:Drivers/CMSIS/Include/core_cm4.h ****
- 1016:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Comparator Mask Register Definitions */
- 1017:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_MASK_MASK_Pos 0U /*!< DWT MAS
- 1018:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_MASK_MASK_Msk (0x1FUL /*<< DWT_MASK_MASK_Pos*/) /*!< DWT MAS
- 1019:Drivers/CMSIS/Include/core_cm4.h ****
- 1020:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Comparator Function Register Definitions */
- 1021:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_MATCHED_Pos 24U /*!< DWT FUN
- 1022:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_MATCHED_Msk (0x1UL << DWT_FUNCTION_MATCHED_Pos) /*!< DWT FUN
- 1023:Drivers/CMSIS/Include/core_cm4.h ****
- 1024:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR1_Pos 16U /*!< DWT FUN
- 1025:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR1_Msk (0xFUL << DWT_FUNCTION_DATAVADDR1_Pos) /*!< DWT FUN
- 1026:Drivers/CMSIS/Include/core_cm4.h ****
- 1027:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR0_Pos 12U /*!< DWT FUN
- 1028:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR0_Msk (0xFUL << DWT_FUNCTION_DATAVADDR0_Pos) /*!< DWT FUN
- 1029:Drivers/CMSIS/Include/core_cm4.h ****
- 1030:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVSIZE_Pos 10U /*!< DWT FUN
- 1031:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVSIZE_Msk (0x3UL << DWT_FUNCTION_DATAVSIZE_Pos) /*!< DWT FUN
- 1032:Drivers/CMSIS/Include/core_cm4.h ****
- 1033:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_LNK1ENA_Pos 9U /*!< DWT FUN
- 1034:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_LNK1ENA_Msk (0x1UL << DWT_FUNCTION_LNK1ENA_Pos) /*!< DWT FUN
- 1035:Drivers/CMSIS/Include/core_cm4.h ****
- 1036:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVMATCH_Pos 8U /*!< DWT FUN
- 1037:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVMATCH_Msk (0x1UL << DWT_FUNCTION_DATAVMATCH_Pos) /*!< DWT FUN
- 1038:Drivers/CMSIS/Include/core_cm4.h ****
- 1039:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_CYCMATCH_Pos 7U /*!< DWT FUN
- 1040:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_CYCMATCH_Msk (0x1UL << DWT_FUNCTION_CYCMATCH_Pos) /*!< DWT FUN
- 1041:Drivers/CMSIS/Include/core_cm4.h ****
- 1042:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_EMITRANGE_Pos 5U /*!< DWT FUN
- 1043:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_EMITRANGE_Msk (0x1UL << DWT_FUNCTION_EMITRANGE_Pos) /*!< DWT FUN
- 1044:Drivers/CMSIS/Include/core_cm4.h ****
- 1045:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_FUNCTION_Pos 0U /*!< DWT FUN
- 1046:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_FUNCTION_Msk (0xFUL /*<< DWT_FUNCTION_FUNCTION_Pos*/) /*!< DWT FUN
- 1047:Drivers/CMSIS/Include/core_cm4.h ****
- 1048:Drivers/CMSIS/Include/core_cm4.h **** /*@}*/ /* end of group CMSIS_DWT */
- 1049:Drivers/CMSIS/Include/core_cm4.h ****
- 1050:Drivers/CMSIS/Include/core_cm4.h ****
- 1051:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1052:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
- 1053:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_TPI Trace Port Interface (TPI)
- 1054:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Trace Port Interface (TPI)
- 1055:Drivers/CMSIS/Include/core_cm4.h **** @{
- 1056:Drivers/CMSIS/Include/core_cm4.h **** */
- 1057:Drivers/CMSIS/Include/core_cm4.h ****
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 20
- 1058:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1059:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Trace Port Interface Register (TPI).
- 1060:Drivers/CMSIS/Include/core_cm4.h **** */
- 1061:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
- 1062:Drivers/CMSIS/Include/core_cm4.h **** {
- 1063:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t SSPSR; /*!< Offset: 0x000 (R/ ) Supported Parallel Port Size Reg
- 1064:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CSPSR; /*!< Offset: 0x004 (R/W) Current Parallel Port Size Regis
- 1065:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[2U];
- 1066:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ACPR; /*!< Offset: 0x010 (R/W) Asynchronous Clock Prescaler Reg
- 1067:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED1[55U];
- 1068:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SPPR; /*!< Offset: 0x0F0 (R/W) Selected Pin Protocol Register *
- 1069:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[131U];
- 1070:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FFSR; /*!< Offset: 0x300 (R/ ) Formatter and Flush Status Regis
- 1071:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FFCR; /*!< Offset: 0x304 (R/W) Formatter and Flush Control Regi
- 1072:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FSCR; /*!< Offset: 0x308 (R/ ) Formatter Synchronization Counte
- 1073:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED3[759U];
- 1074:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t TRIGGER; /*!< Offset: 0xEE8 (R/ ) TRIGGER Register */
- 1075:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FIFO0; /*!< Offset: 0xEEC (R/ ) Integration ETM Data */
- 1076:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ITATBCTR2; /*!< Offset: 0xEF0 (R/ ) ITATBCTR2 */
- 1077:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED4[1U];
- 1078:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ITATBCTR0; /*!< Offset: 0xEF8 (R/ ) ITATBCTR0 */
- 1079:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FIFO1; /*!< Offset: 0xEFC (R/ ) Integration ITM Data */
- 1080:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ITCTRL; /*!< Offset: 0xF00 (R/W) Integration Mode Control */
- 1081:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED5[39U];
- 1082:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CLAIMSET; /*!< Offset: 0xFA0 (R/W) Claim tag set */
- 1083:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CLAIMCLR; /*!< Offset: 0xFA4 (R/W) Claim tag clear */
- 1084:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED7[8U];
- 1085:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t DEVID; /*!< Offset: 0xFC8 (R/ ) TPIU_DEVID */
- 1086:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t DEVTYPE; /*!< Offset: 0xFCC (R/ ) TPIU_DEVTYPE */
- 1087:Drivers/CMSIS/Include/core_cm4.h **** } TPI_Type;
- 1088:Drivers/CMSIS/Include/core_cm4.h ****
- 1089:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Asynchronous Clock Prescaler Register Definitions */
- 1090:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ACPR_PRESCALER_Pos 0U /*!< TPI ACP
- 1091:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ACPR_PRESCALER_Msk (0x1FFFUL /*<< TPI_ACPR_PRESCALER_Pos*/) /*!< TPI ACP
- 1092:Drivers/CMSIS/Include/core_cm4.h ****
- 1093:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Selected Pin Protocol Register Definitions */
- 1094:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_SPPR_TXMODE_Pos 0U /*!< TPI SPP
- 1095:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_SPPR_TXMODE_Msk (0x3UL /*<< TPI_SPPR_TXMODE_Pos*/) /*!< TPI SPP
- 1096:Drivers/CMSIS/Include/core_cm4.h ****
- 1097:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Formatter and Flush Status Register Definitions */
- 1098:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtNonStop_Pos 3U /*!< TPI FFS
- 1099:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtNonStop_Msk (0x1UL << TPI_FFSR_FtNonStop_Pos) /*!< TPI FFS
- 1100:Drivers/CMSIS/Include/core_cm4.h ****
- 1101:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_TCPresent_Pos 2U /*!< TPI FFS
- 1102:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_TCPresent_Msk (0x1UL << TPI_FFSR_TCPresent_Pos) /*!< TPI FFS
- 1103:Drivers/CMSIS/Include/core_cm4.h ****
- 1104:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtStopped_Pos 1U /*!< TPI FFS
- 1105:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtStopped_Msk (0x1UL << TPI_FFSR_FtStopped_Pos) /*!< TPI FFS
- 1106:Drivers/CMSIS/Include/core_cm4.h ****
- 1107:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FlInProg_Pos 0U /*!< TPI FFS
- 1108:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FlInProg_Msk (0x1UL /*<< TPI_FFSR_FlInProg_Pos*/) /*!< TPI FFS
- 1109:Drivers/CMSIS/Include/core_cm4.h ****
- 1110:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Formatter and Flush Control Register Definitions */
- 1111:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_TrigIn_Pos 8U /*!< TPI FFC
- 1112:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_TrigIn_Msk (0x1UL << TPI_FFCR_TrigIn_Pos) /*!< TPI FFC
- 1113:Drivers/CMSIS/Include/core_cm4.h ****
- 1114:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_EnFCont_Pos 1U /*!< TPI FFC
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 21
- 1115:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_EnFCont_Msk (0x1UL << TPI_FFCR_EnFCont_Pos) /*!< TPI FFC
- 1116:Drivers/CMSIS/Include/core_cm4.h ****
- 1117:Drivers/CMSIS/Include/core_cm4.h **** /* TPI TRIGGER Register Definitions */
- 1118:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_TRIGGER_TRIGGER_Pos 0U /*!< TPI TRI
- 1119:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_TRIGGER_TRIGGER_Msk (0x1UL /*<< TPI_TRIGGER_TRIGGER_Pos*/) /*!< TPI TRI
- 1120:Drivers/CMSIS/Include/core_cm4.h ****
- 1121:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Integration ETM Data Register Definitions (FIFO0) */
- 1122:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_ATVALID_Pos 29U /*!< TPI FIF
- 1123:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_ATVALID_Msk (0x3UL << TPI_FIFO0_ITM_ATVALID_Pos) /*!< TPI FIF
- 1124:Drivers/CMSIS/Include/core_cm4.h ****
- 1125:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_bytecount_Pos 27U /*!< TPI FIF
- 1126:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_bytecount_Msk (0x3UL << TPI_FIFO0_ITM_bytecount_Pos) /*!< TPI FIF
- 1127:Drivers/CMSIS/Include/core_cm4.h ****
- 1128:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_ATVALID_Pos 26U /*!< TPI FIF
- 1129:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_ATVALID_Msk (0x3UL << TPI_FIFO0_ETM_ATVALID_Pos) /*!< TPI FIF
- 1130:Drivers/CMSIS/Include/core_cm4.h ****
- 1131:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_bytecount_Pos 24U /*!< TPI FIF
- 1132:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_bytecount_Msk (0x3UL << TPI_FIFO0_ETM_bytecount_Pos) /*!< TPI FIF
- 1133:Drivers/CMSIS/Include/core_cm4.h ****
- 1134:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM2_Pos 16U /*!< TPI FIF
- 1135:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM2_Msk (0xFFUL << TPI_FIFO0_ETM2_Pos) /*!< TPI FIF
- 1136:Drivers/CMSIS/Include/core_cm4.h ****
- 1137:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM1_Pos 8U /*!< TPI FIF
- 1138:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM1_Msk (0xFFUL << TPI_FIFO0_ETM1_Pos) /*!< TPI FIF
- 1139:Drivers/CMSIS/Include/core_cm4.h ****
- 1140:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM0_Pos 0U /*!< TPI FIF
- 1141:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM0_Msk (0xFFUL /*<< TPI_FIFO0_ETM0_Pos*/) /*!< TPI FIF
- 1142:Drivers/CMSIS/Include/core_cm4.h ****
- 1143:Drivers/CMSIS/Include/core_cm4.h **** /* TPI ITATBCTR2 Register Definitions */
- 1144:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY2_Pos 0U /*!< TPI ITA
- 1145:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY2_Msk (0x1UL /*<< TPI_ITATBCTR2_ATREADY2_Pos*/) /*!< TPI ITA
- 1146:Drivers/CMSIS/Include/core_cm4.h ****
- 1147:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY1_Pos 0U /*!< TPI ITA
- 1148:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY1_Msk (0x1UL /*<< TPI_ITATBCTR2_ATREADY1_Pos*/) /*!< TPI ITA
- 1149:Drivers/CMSIS/Include/core_cm4.h ****
- 1150:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Integration ITM Data Register Definitions (FIFO1) */
- 1151:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_ATVALID_Pos 29U /*!< TPI FIF
- 1152:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_ATVALID_Msk (0x3UL << TPI_FIFO1_ITM_ATVALID_Pos) /*!< TPI FIF
- 1153:Drivers/CMSIS/Include/core_cm4.h ****
- 1154:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_bytecount_Pos 27U /*!< TPI FIF
- 1155:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_bytecount_Msk (0x3UL << TPI_FIFO1_ITM_bytecount_Pos) /*!< TPI FIF
- 1156:Drivers/CMSIS/Include/core_cm4.h ****
- 1157:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_ATVALID_Pos 26U /*!< TPI FIF
- 1158:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_ATVALID_Msk (0x3UL << TPI_FIFO1_ETM_ATVALID_Pos) /*!< TPI FIF
- 1159:Drivers/CMSIS/Include/core_cm4.h ****
- 1160:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_bytecount_Pos 24U /*!< TPI FIF
- 1161:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_bytecount_Msk (0x3UL << TPI_FIFO1_ETM_bytecount_Pos) /*!< TPI FIF
- 1162:Drivers/CMSIS/Include/core_cm4.h ****
- 1163:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM2_Pos 16U /*!< TPI FIF
- 1164:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM2_Msk (0xFFUL << TPI_FIFO1_ITM2_Pos) /*!< TPI FIF
- 1165:Drivers/CMSIS/Include/core_cm4.h ****
- 1166:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM1_Pos 8U /*!< TPI FIF
- 1167:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM1_Msk (0xFFUL << TPI_FIFO1_ITM1_Pos) /*!< TPI FIF
- 1168:Drivers/CMSIS/Include/core_cm4.h ****
- 1169:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM0_Pos 0U /*!< TPI FIF
- 1170:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM0_Msk (0xFFUL /*<< TPI_FIFO1_ITM0_Pos*/) /*!< TPI FIF
- 1171:Drivers/CMSIS/Include/core_cm4.h ****
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 22
- 1172:Drivers/CMSIS/Include/core_cm4.h **** /* TPI ITATBCTR0 Register Definitions */
- 1173:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY2_Pos 0U /*!< TPI ITA
- 1174:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY2_Msk (0x1UL /*<< TPI_ITATBCTR0_ATREADY2_Pos*/) /*!< TPI ITA
- 1175:Drivers/CMSIS/Include/core_cm4.h ****
- 1176:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY1_Pos 0U /*!< TPI ITA
- 1177:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY1_Msk (0x1UL /*<< TPI_ITATBCTR0_ATREADY1_Pos*/) /*!< TPI ITA
- 1178:Drivers/CMSIS/Include/core_cm4.h ****
- 1179:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Integration Mode Control Register Definitions */
- 1180:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITCTRL_Mode_Pos 0U /*!< TPI ITC
- 1181:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITCTRL_Mode_Msk (0x3UL /*<< TPI_ITCTRL_Mode_Pos*/) /*!< TPI ITC
- 1182:Drivers/CMSIS/Include/core_cm4.h ****
- 1183:Drivers/CMSIS/Include/core_cm4.h **** /* TPI DEVID Register Definitions */
- 1184:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NRZVALID_Pos 11U /*!< TPI DEV
- 1185:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NRZVALID_Msk (0x1UL << TPI_DEVID_NRZVALID_Pos) /*!< TPI DEV
- 1186:Drivers/CMSIS/Include/core_cm4.h ****
- 1187:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MANCVALID_Pos 10U /*!< TPI DEV
- 1188:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MANCVALID_Msk (0x1UL << TPI_DEVID_MANCVALID_Pos) /*!< TPI DEV
- 1189:Drivers/CMSIS/Include/core_cm4.h ****
- 1190:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_PTINVALID_Pos 9U /*!< TPI DEV
- 1191:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_PTINVALID_Msk (0x1UL << TPI_DEVID_PTINVALID_Pos) /*!< TPI DEV
- 1192:Drivers/CMSIS/Include/core_cm4.h ****
- 1193:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MinBufSz_Pos 6U /*!< TPI DEV
- 1194:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MinBufSz_Msk (0x7UL << TPI_DEVID_MinBufSz_Pos) /*!< TPI DEV
- 1195:Drivers/CMSIS/Include/core_cm4.h ****
- 1196:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_AsynClkIn_Pos 5U /*!< TPI DEV
- 1197:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_AsynClkIn_Msk (0x1UL << TPI_DEVID_AsynClkIn_Pos) /*!< TPI DEV
- 1198:Drivers/CMSIS/Include/core_cm4.h ****
- 1199:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NrTraceInput_Pos 0U /*!< TPI DEV
- 1200:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NrTraceInput_Msk (0x1FUL /*<< TPI_DEVID_NrTraceInput_Pos*/) /*!< TPI DEV
- 1201:Drivers/CMSIS/Include/core_cm4.h ****
- 1202:Drivers/CMSIS/Include/core_cm4.h **** /* TPI DEVTYPE Register Definitions */
- 1203:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_SubType_Pos 4U /*!< TPI DEV
- 1204:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_SubType_Msk (0xFUL /*<< TPI_DEVTYPE_SubType_Pos*/) /*!< TPI DEV
- 1205:Drivers/CMSIS/Include/core_cm4.h ****
- 1206:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_MajorType_Pos 0U /*!< TPI DEV
- 1207:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_MajorType_Msk (0xFUL << TPI_DEVTYPE_MajorType_Pos) /*!< TPI DEV
- 1208:Drivers/CMSIS/Include/core_cm4.h ****
- 1209:Drivers/CMSIS/Include/core_cm4.h **** /*@}*/ /* end of group CMSIS_TPI */
- 1210:Drivers/CMSIS/Include/core_cm4.h ****
- 1211:Drivers/CMSIS/Include/core_cm4.h ****
- 1212:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
- 1213:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1214:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
- 1215:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_MPU Memory Protection Unit (MPU)
- 1216:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Memory Protection Unit (MPU)
- 1217:Drivers/CMSIS/Include/core_cm4.h **** @{
- 1218:Drivers/CMSIS/Include/core_cm4.h **** */
- 1219:Drivers/CMSIS/Include/core_cm4.h ****
- 1220:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1221:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Memory Protection Unit (MPU).
- 1222:Drivers/CMSIS/Include/core_cm4.h **** */
- 1223:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
- 1224:Drivers/CMSIS/Include/core_cm4.h **** {
- 1225:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t TYPE; /*!< Offset: 0x000 (R/ ) MPU Type Register */
- 1226:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CTRL; /*!< Offset: 0x004 (R/W) MPU Control Register */
- 1227:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RNR; /*!< Offset: 0x008 (R/W) MPU Region RNRber Register */
- 1228:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR; /*!< Offset: 0x00C (R/W) MPU Region Base Address Register
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 23
- 1229:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR; /*!< Offset: 0x010 (R/W) MPU Region Attribute and Size Re
- 1230:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR_A1; /*!< Offset: 0x014 (R/W) MPU Alias 1 Region Base Address
- 1231:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR_A1; /*!< Offset: 0x018 (R/W) MPU Alias 1 Region Attribute and
- 1232:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR_A2; /*!< Offset: 0x01C (R/W) MPU Alias 2 Region Base Address
- 1233:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR_A2; /*!< Offset: 0x020 (R/W) MPU Alias 2 Region Attribute and
- 1234:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR_A3; /*!< Offset: 0x024 (R/W) MPU Alias 3 Region Base Address
- 1235:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR_A3; /*!< Offset: 0x028 (R/W) MPU Alias 3 Region Attribute and
- 1236:Drivers/CMSIS/Include/core_cm4.h **** } MPU_Type;
- 1237:Drivers/CMSIS/Include/core_cm4.h ****
- 1238:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_RALIASES 4U
- 1239:Drivers/CMSIS/Include/core_cm4.h ****
- 1240:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Type Register Definitions */
- 1241:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_IREGION_Pos 16U /*!< MPU
- 1242:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_IREGION_Msk (0xFFUL << MPU_TYPE_IREGION_Pos) /*!< MPU
- 1243:Drivers/CMSIS/Include/core_cm4.h ****
- 1244:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_DREGION_Pos 8U /*!< MPU
- 1245:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_DREGION_Msk (0xFFUL << MPU_TYPE_DREGION_Pos) /*!< MPU
- 1246:Drivers/CMSIS/Include/core_cm4.h ****
- 1247:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_SEPARATE_Pos 0U /*!< MPU
- 1248:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_SEPARATE_Msk (1UL /*<< MPU_TYPE_SEPARATE_Pos*/) /*!< MPU
- 1249:Drivers/CMSIS/Include/core_cm4.h ****
- 1250:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Control Register Definitions */
- 1251:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_PRIVDEFENA_Pos 2U /*!< MPU
- 1252:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_PRIVDEFENA_Msk (1UL << MPU_CTRL_PRIVDEFENA_Pos) /*!< MPU
- 1253:Drivers/CMSIS/Include/core_cm4.h ****
- 1254:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_HFNMIENA_Pos 1U /*!< MPU
- 1255:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_HFNMIENA_Msk (1UL << MPU_CTRL_HFNMIENA_Pos) /*!< MPU
- 1256:Drivers/CMSIS/Include/core_cm4.h ****
- 1257:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_ENABLE_Pos 0U /*!< MPU
- 1258:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_ENABLE_Msk (1UL /*<< MPU_CTRL_ENABLE_Pos*/) /*!< MPU
- 1259:Drivers/CMSIS/Include/core_cm4.h ****
- 1260:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Region Number Register Definitions */
- 1261:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RNR_REGION_Pos 0U /*!< MPU
- 1262:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RNR_REGION_Msk (0xFFUL /*<< MPU_RNR_REGION_Pos*/) /*!< MPU
- 1263:Drivers/CMSIS/Include/core_cm4.h ****
- 1264:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Region Base Address Register Definitions */
- 1265:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_ADDR_Pos 5U /*!< MPU
- 1266:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_ADDR_Msk (0x7FFFFFFUL << MPU_RBAR_ADDR_Pos) /*!< MPU
- 1267:Drivers/CMSIS/Include/core_cm4.h ****
- 1268:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_VALID_Pos 4U /*!< MPU
- 1269:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_VALID_Msk (1UL << MPU_RBAR_VALID_Pos) /*!< MPU
- 1270:Drivers/CMSIS/Include/core_cm4.h ****
- 1271:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_REGION_Pos 0U /*!< MPU
- 1272:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_REGION_Msk (0xFUL /*<< MPU_RBAR_REGION_Pos*/) /*!< MPU
- 1273:Drivers/CMSIS/Include/core_cm4.h ****
- 1274:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Region Attribute and Size Register Definitions */
- 1275:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ATTRS_Pos 16U /*!< MPU
- 1276:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ATTRS_Msk (0xFFFFUL << MPU_RASR_ATTRS_Pos) /*!< MPU
- 1277:Drivers/CMSIS/Include/core_cm4.h ****
- 1278:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_XN_Pos 28U /*!< MPU
- 1279:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_XN_Msk (1UL << MPU_RASR_XN_Pos) /*!< MPU
- 1280:Drivers/CMSIS/Include/core_cm4.h ****
- 1281:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_AP_Pos 24U /*!< MPU
- 1282:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_AP_Msk (0x7UL << MPU_RASR_AP_Pos) /*!< MPU
- 1283:Drivers/CMSIS/Include/core_cm4.h ****
- 1284:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_TEX_Pos 19U /*!< MPU
- 1285:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_TEX_Msk (0x7UL << MPU_RASR_TEX_Pos) /*!< MPU
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 24
- 1286:Drivers/CMSIS/Include/core_cm4.h ****
- 1287:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_S_Pos 18U /*!< MPU
- 1288:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_S_Msk (1UL << MPU_RASR_S_Pos) /*!< MPU
- 1289:Drivers/CMSIS/Include/core_cm4.h ****
- 1290:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_C_Pos 17U /*!< MPU
- 1291:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_C_Msk (1UL << MPU_RASR_C_Pos) /*!< MPU
- 1292:Drivers/CMSIS/Include/core_cm4.h ****
- 1293:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_B_Pos 16U /*!< MPU
- 1294:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_B_Msk (1UL << MPU_RASR_B_Pos) /*!< MPU
- 1295:Drivers/CMSIS/Include/core_cm4.h ****
- 1296:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SRD_Pos 8U /*!< MPU
- 1297:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SRD_Msk (0xFFUL << MPU_RASR_SRD_Pos) /*!< MPU
- 1298:Drivers/CMSIS/Include/core_cm4.h ****
- 1299:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SIZE_Pos 1U /*!< MPU
- 1300:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SIZE_Msk (0x1FUL << MPU_RASR_SIZE_Pos) /*!< MPU
- 1301:Drivers/CMSIS/Include/core_cm4.h ****
- 1302:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ENABLE_Pos 0U /*!< MPU
- 1303:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ENABLE_Msk (1UL /*<< MPU_RASR_ENABLE_Pos*/) /*!< MPU
- 1304:Drivers/CMSIS/Include/core_cm4.h ****
- 1305:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_MPU */
- 1306:Drivers/CMSIS/Include/core_cm4.h **** #endif /* defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U) */
- 1307:Drivers/CMSIS/Include/core_cm4.h ****
- 1308:Drivers/CMSIS/Include/core_cm4.h ****
- 1309:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1310:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
- 1311:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_FPU Floating Point Unit (FPU)
- 1312:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Floating Point Unit (FPU)
- 1313:Drivers/CMSIS/Include/core_cm4.h **** @{
- 1314:Drivers/CMSIS/Include/core_cm4.h **** */
- 1315:Drivers/CMSIS/Include/core_cm4.h ****
- 1316:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1317:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Floating Point Unit (FPU).
- 1318:Drivers/CMSIS/Include/core_cm4.h **** */
- 1319:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
- 1320:Drivers/CMSIS/Include/core_cm4.h **** {
- 1321:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[1U];
- 1322:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FPCCR; /*!< Offset: 0x004 (R/W) Floating-Point Context Control R
- 1323:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FPCAR; /*!< Offset: 0x008 (R/W) Floating-Point Context Address R
- 1324:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FPDSCR; /*!< Offset: 0x00C (R/W) Floating-Point Default Status Co
- 1325:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t MVFR0; /*!< Offset: 0x010 (R/ ) Media and FP Feature Register 0
- 1326:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t MVFR1; /*!< Offset: 0x014 (R/ ) Media and FP Feature Register 1
- 1327:Drivers/CMSIS/Include/core_cm4.h **** } FPU_Type;
- 1328:Drivers/CMSIS/Include/core_cm4.h ****
- 1329:Drivers/CMSIS/Include/core_cm4.h **** /* Floating-Point Context Control Register Definitions */
- 1330:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_ASPEN_Pos 31U /*!< FPCC
- 1331:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_ASPEN_Msk (1UL << FPU_FPCCR_ASPEN_Pos) /*!< FPCC
- 1332:Drivers/CMSIS/Include/core_cm4.h ****
- 1333:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPEN_Pos 30U /*!< FPCC
- 1334:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPEN_Msk (1UL << FPU_FPCCR_LSPEN_Pos) /*!< FPCC
- 1335:Drivers/CMSIS/Include/core_cm4.h ****
- 1336:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MONRDY_Pos 8U /*!< FPCC
- 1337:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MONRDY_Msk (1UL << FPU_FPCCR_MONRDY_Pos) /*!< FPCC
- 1338:Drivers/CMSIS/Include/core_cm4.h ****
- 1339:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_BFRDY_Pos 6U /*!< FPCC
- 1340:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_BFRDY_Msk (1UL << FPU_FPCCR_BFRDY_Pos) /*!< FPCC
- 1341:Drivers/CMSIS/Include/core_cm4.h ****
- 1342:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MMRDY_Pos 5U /*!< FPCC
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 25
- 1343:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MMRDY_Msk (1UL << FPU_FPCCR_MMRDY_Pos) /*!< FPCC
- 1344:Drivers/CMSIS/Include/core_cm4.h ****
- 1345:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_HFRDY_Pos 4U /*!< FPCC
- 1346:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_HFRDY_Msk (1UL << FPU_FPCCR_HFRDY_Pos) /*!< FPCC
- 1347:Drivers/CMSIS/Include/core_cm4.h ****
- 1348:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_THREAD_Pos 3U /*!< FPCC
- 1349:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_THREAD_Msk (1UL << FPU_FPCCR_THREAD_Pos) /*!< FPCC
- 1350:Drivers/CMSIS/Include/core_cm4.h ****
- 1351:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_USER_Pos 1U /*!< FPCC
- 1352:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_USER_Msk (1UL << FPU_FPCCR_USER_Pos) /*!< FPCC
- 1353:Drivers/CMSIS/Include/core_cm4.h ****
- 1354:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPACT_Pos 0U /*!< FPCC
- 1355:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPACT_Msk (1UL /*<< FPU_FPCCR_LSPACT_Pos*/) /*!< FPCC
- 1356:Drivers/CMSIS/Include/core_cm4.h ****
- 1357:Drivers/CMSIS/Include/core_cm4.h **** /* Floating-Point Context Address Register Definitions */
- 1358:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCAR_ADDRESS_Pos 3U /*!< FPCA
- 1359:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCAR_ADDRESS_Msk (0x1FFFFFFFUL << FPU_FPCAR_ADDRESS_Pos) /*!< FPCA
- 1360:Drivers/CMSIS/Include/core_cm4.h ****
- 1361:Drivers/CMSIS/Include/core_cm4.h **** /* Floating-Point Default Status Control Register Definitions */
- 1362:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_AHP_Pos 26U /*!< FPDS
- 1363:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_AHP_Msk (1UL << FPU_FPDSCR_AHP_Pos) /*!< FPDS
- 1364:Drivers/CMSIS/Include/core_cm4.h ****
- 1365:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_DN_Pos 25U /*!< FPDS
- 1366:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_DN_Msk (1UL << FPU_FPDSCR_DN_Pos) /*!< FPDS
- 1367:Drivers/CMSIS/Include/core_cm4.h ****
- 1368:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_FZ_Pos 24U /*!< FPDS
- 1369:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_FZ_Msk (1UL << FPU_FPDSCR_FZ_Pos) /*!< FPDS
- 1370:Drivers/CMSIS/Include/core_cm4.h ****
- 1371:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_RMode_Pos 22U /*!< FPDS
- 1372:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_RMode_Msk (3UL << FPU_FPDSCR_RMode_Pos) /*!< FPDS
- 1373:Drivers/CMSIS/Include/core_cm4.h ****
- 1374:Drivers/CMSIS/Include/core_cm4.h **** /* Media and FP Feature Register 0 Definitions */
- 1375:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_rounding_modes_Pos 28U /*!< MVFR
- 1376:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_rounding_modes_Msk (0xFUL << FPU_MVFR0_FP_rounding_modes_Pos) /*!< MVFR
- 1377:Drivers/CMSIS/Include/core_cm4.h ****
- 1378:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Short_vectors_Pos 24U /*!< MVFR
- 1379:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Short_vectors_Msk (0xFUL << FPU_MVFR0_Short_vectors_Pos) /*!< MVFR
- 1380:Drivers/CMSIS/Include/core_cm4.h ****
- 1381:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Square_root_Pos 20U /*!< MVFR
- 1382:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Square_root_Msk (0xFUL << FPU_MVFR0_Square_root_Pos) /*!< MVFR
- 1383:Drivers/CMSIS/Include/core_cm4.h ****
- 1384:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Divide_Pos 16U /*!< MVFR
- 1385:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Divide_Msk (0xFUL << FPU_MVFR0_Divide_Pos) /*!< MVFR
- 1386:Drivers/CMSIS/Include/core_cm4.h ****
- 1387:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_excep_trapping_Pos 12U /*!< MVFR
- 1388:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_excep_trapping_Msk (0xFUL << FPU_MVFR0_FP_excep_trapping_Pos) /*!< MVFR
- 1389:Drivers/CMSIS/Include/core_cm4.h ****
- 1390:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Double_precision_Pos 8U /*!< MVFR
- 1391:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Double_precision_Msk (0xFUL << FPU_MVFR0_Double_precision_Pos) /*!< MVFR
- 1392:Drivers/CMSIS/Include/core_cm4.h ****
- 1393:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Single_precision_Pos 4U /*!< MVFR
- 1394:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Single_precision_Msk (0xFUL << FPU_MVFR0_Single_precision_Pos) /*!< MVFR
- 1395:Drivers/CMSIS/Include/core_cm4.h ****
- 1396:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_A_SIMD_registers_Pos 0U /*!< MVFR
- 1397:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_A_SIMD_registers_Msk (0xFUL /*<< FPU_MVFR0_A_SIMD_registers_Pos*/) /*!< MVFR
- 1398:Drivers/CMSIS/Include/core_cm4.h ****
- 1399:Drivers/CMSIS/Include/core_cm4.h **** /* Media and FP Feature Register 1 Definitions */
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 26
- 1400:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_fused_MAC_Pos 28U /*!< MVFR
- 1401:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_fused_MAC_Msk (0xFUL << FPU_MVFR1_FP_fused_MAC_Pos) /*!< MVFR
- 1402:Drivers/CMSIS/Include/core_cm4.h ****
- 1403:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_HPFP_Pos 24U /*!< MVFR
- 1404:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_HPFP_Msk (0xFUL << FPU_MVFR1_FP_HPFP_Pos) /*!< MVFR
- 1405:Drivers/CMSIS/Include/core_cm4.h ****
- 1406:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_D_NaN_mode_Pos 4U /*!< MVFR
- 1407:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_D_NaN_mode_Msk (0xFUL << FPU_MVFR1_D_NaN_mode_Pos) /*!< MVFR
- 1408:Drivers/CMSIS/Include/core_cm4.h ****
- 1409:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FtZ_mode_Pos 0U /*!< MVFR
- 1410:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FtZ_mode_Msk (0xFUL /*<< FPU_MVFR1_FtZ_mode_Pos*/) /*!< MVFR
- 1411:Drivers/CMSIS/Include/core_cm4.h ****
- 1412:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_FPU */
- 1413:Drivers/CMSIS/Include/core_cm4.h ****
- 1414:Drivers/CMSIS/Include/core_cm4.h ****
- 1415:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1416:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
- 1417:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_CoreDebug Core Debug Registers (CoreDebug)
- 1418:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Core Debug Registers
- 1419:Drivers/CMSIS/Include/core_cm4.h **** @{
- 1420:Drivers/CMSIS/Include/core_cm4.h **** */
- 1421:Drivers/CMSIS/Include/core_cm4.h ****
- 1422:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1423:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Core Debug Register (CoreDebug).
- 1424:Drivers/CMSIS/Include/core_cm4.h **** */
- 1425:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
- 1426:Drivers/CMSIS/Include/core_cm4.h **** {
- 1427:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DHCSR; /*!< Offset: 0x000 (R/W) Debug Halting Control and Status
- 1428:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t DCRSR; /*!< Offset: 0x004 ( /W) Debug Core Register Selector Reg
- 1429:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DCRDR; /*!< Offset: 0x008 (R/W) Debug Core Register Data Registe
- 1430:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DEMCR; /*!< Offset: 0x00C (R/W) Debug Exception and Monitor Cont
- 1431:Drivers/CMSIS/Include/core_cm4.h **** } CoreDebug_Type;
- 1432:Drivers/CMSIS/Include/core_cm4.h ****
- 1433:Drivers/CMSIS/Include/core_cm4.h **** /* Debug Halting Control and Status Register Definitions */
- 1434:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_DBGKEY_Pos 16U /*!< Core
- 1435:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_DBGKEY_Msk (0xFFFFUL << CoreDebug_DHCSR_DBGKEY_Pos) /*!< Core
- 1436:Drivers/CMSIS/Include/core_cm4.h ****
- 1437:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RESET_ST_Pos 25U /*!< Core
- 1438:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RESET_ST_Msk (1UL << CoreDebug_DHCSR_S_RESET_ST_Pos) /*!< Core
- 1439:Drivers/CMSIS/Include/core_cm4.h ****
- 1440:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RETIRE_ST_Pos 24U /*!< Core
- 1441:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RETIRE_ST_Msk (1UL << CoreDebug_DHCSR_S_RETIRE_ST_Pos) /*!< Core
- 1442:Drivers/CMSIS/Include/core_cm4.h ****
- 1443:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_LOCKUP_Pos 19U /*!< Core
- 1444:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_LOCKUP_Msk (1UL << CoreDebug_DHCSR_S_LOCKUP_Pos) /*!< Core
- 1445:Drivers/CMSIS/Include/core_cm4.h ****
- 1446:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_SLEEP_Pos 18U /*!< Core
- 1447:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_SLEEP_Msk (1UL << CoreDebug_DHCSR_S_SLEEP_Pos) /*!< Core
- 1448:Drivers/CMSIS/Include/core_cm4.h ****
- 1449:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_HALT_Pos 17U /*!< Core
- 1450:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_HALT_Msk (1UL << CoreDebug_DHCSR_S_HALT_Pos) /*!< Core
- 1451:Drivers/CMSIS/Include/core_cm4.h ****
- 1452:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_REGRDY_Pos 16U /*!< Core
- 1453:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_REGRDY_Msk (1UL << CoreDebug_DHCSR_S_REGRDY_Pos) /*!< Core
- 1454:Drivers/CMSIS/Include/core_cm4.h ****
- 1455:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_SNAPSTALL_Pos 5U /*!< Core
- 1456:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_SNAPSTALL_Msk (1UL << CoreDebug_DHCSR_C_SNAPSTALL_Pos) /*!< Core
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 27
- 1457:Drivers/CMSIS/Include/core_cm4.h ****
- 1458:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_MASKINTS_Pos 3U /*!< Core
- 1459:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_MASKINTS_Msk (1UL << CoreDebug_DHCSR_C_MASKINTS_Pos) /*!< Core
- 1460:Drivers/CMSIS/Include/core_cm4.h ****
- 1461:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_STEP_Pos 2U /*!< Core
- 1462:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_STEP_Msk (1UL << CoreDebug_DHCSR_C_STEP_Pos) /*!< Core
- 1463:Drivers/CMSIS/Include/core_cm4.h ****
- 1464:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_HALT_Pos 1U /*!< Core
- 1465:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_HALT_Msk (1UL << CoreDebug_DHCSR_C_HALT_Pos) /*!< Core
- 1466:Drivers/CMSIS/Include/core_cm4.h ****
- 1467:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_DEBUGEN_Pos 0U /*!< Core
- 1468:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_DEBUGEN_Msk (1UL /*<< CoreDebug_DHCSR_C_DEBUGEN_Pos*/) /*!< Core
- 1469:Drivers/CMSIS/Include/core_cm4.h ****
- 1470:Drivers/CMSIS/Include/core_cm4.h **** /* Debug Core Register Selector Register Definitions */
- 1471:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGWnR_Pos 16U /*!< Core
- 1472:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGWnR_Msk (1UL << CoreDebug_DCRSR_REGWnR_Pos) /*!< Core
- 1473:Drivers/CMSIS/Include/core_cm4.h ****
- 1474:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGSEL_Pos 0U /*!< Core
- 1475:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGSEL_Msk (0x1FUL /*<< CoreDebug_DCRSR_REGSEL_Pos*/) /*!< Core
- 1476:Drivers/CMSIS/Include/core_cm4.h ****
- 1477:Drivers/CMSIS/Include/core_cm4.h **** /* Debug Exception and Monitor Control Register Definitions */
- 1478:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_TRCENA_Pos 24U /*!< Core
- 1479:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_TRCENA_Msk (1UL << CoreDebug_DEMCR_TRCENA_Pos) /*!< Core
- 1480:Drivers/CMSIS/Include/core_cm4.h ****
- 1481:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_REQ_Pos 19U /*!< Core
- 1482:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_REQ_Msk (1UL << CoreDebug_DEMCR_MON_REQ_Pos) /*!< Core
- 1483:Drivers/CMSIS/Include/core_cm4.h ****
- 1484:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_STEP_Pos 18U /*!< Core
- 1485:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_STEP_Msk (1UL << CoreDebug_DEMCR_MON_STEP_Pos) /*!< Core
- 1486:Drivers/CMSIS/Include/core_cm4.h ****
- 1487:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_PEND_Pos 17U /*!< Core
- 1488:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_PEND_Msk (1UL << CoreDebug_DEMCR_MON_PEND_Pos) /*!< Core
- 1489:Drivers/CMSIS/Include/core_cm4.h ****
- 1490:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_EN_Pos 16U /*!< Core
- 1491:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_EN_Msk (1UL << CoreDebug_DEMCR_MON_EN_Pos) /*!< Core
- 1492:Drivers/CMSIS/Include/core_cm4.h ****
- 1493:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_HARDERR_Pos 10U /*!< Core
- 1494:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_HARDERR_Msk (1UL << CoreDebug_DEMCR_VC_HARDERR_Pos) /*!< Core
- 1495:Drivers/CMSIS/Include/core_cm4.h ****
- 1496:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_INTERR_Pos 9U /*!< Core
- 1497:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_INTERR_Msk (1UL << CoreDebug_DEMCR_VC_INTERR_Pos) /*!< Core
- 1498:Drivers/CMSIS/Include/core_cm4.h ****
- 1499:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_BUSERR_Pos 8U /*!< Core
- 1500:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_BUSERR_Msk (1UL << CoreDebug_DEMCR_VC_BUSERR_Pos) /*!< Core
- 1501:Drivers/CMSIS/Include/core_cm4.h ****
- 1502:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_STATERR_Pos 7U /*!< Core
- 1503:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_STATERR_Msk (1UL << CoreDebug_DEMCR_VC_STATERR_Pos) /*!< Core
- 1504:Drivers/CMSIS/Include/core_cm4.h ****
- 1505:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CHKERR_Pos 6U /*!< Core
- 1506:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CHKERR_Msk (1UL << CoreDebug_DEMCR_VC_CHKERR_Pos) /*!< Core
- 1507:Drivers/CMSIS/Include/core_cm4.h ****
- 1508:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_NOCPERR_Pos 5U /*!< Core
- 1509:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_NOCPERR_Msk (1UL << CoreDebug_DEMCR_VC_NOCPERR_Pos) /*!< Core
- 1510:Drivers/CMSIS/Include/core_cm4.h ****
- 1511:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_MMERR_Pos 4U /*!< Core
- 1512:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_MMERR_Msk (1UL << CoreDebug_DEMCR_VC_MMERR_Pos) /*!< Core
- 1513:Drivers/CMSIS/Include/core_cm4.h ****
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 28
- 1514:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CORERESET_Pos 0U /*!< Core
- 1515:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CORERESET_Msk (1UL /*<< CoreDebug_DEMCR_VC_CORERESET_Pos*/) /*!< Core
- 1516:Drivers/CMSIS/Include/core_cm4.h ****
- 1517:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_CoreDebug */
- 1518:Drivers/CMSIS/Include/core_cm4.h ****
- 1519:Drivers/CMSIS/Include/core_cm4.h ****
- 1520:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1521:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
- 1522:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_core_bitfield Core register bit field macros
- 1523:Drivers/CMSIS/Include/core_cm4.h **** \brief Macros for use with bit field definitions (xxx_Pos, xxx_Msk).
- 1524:Drivers/CMSIS/Include/core_cm4.h **** @{
- 1525:Drivers/CMSIS/Include/core_cm4.h **** */
- 1526:Drivers/CMSIS/Include/core_cm4.h ****
- 1527:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1528:Drivers/CMSIS/Include/core_cm4.h **** \brief Mask and shift a bit field value for use in a register bit range.
- 1529:Drivers/CMSIS/Include/core_cm4.h **** \param[in] field Name of the register bit field.
- 1530:Drivers/CMSIS/Include/core_cm4.h **** \param[in] value Value of the bit field. This parameter is interpreted as an uint32_t type.
- 1531:Drivers/CMSIS/Include/core_cm4.h **** \return Masked and shifted value.
- 1532:Drivers/CMSIS/Include/core_cm4.h **** */
- 1533:Drivers/CMSIS/Include/core_cm4.h **** #define _VAL2FLD(field, value) (((uint32_t)(value) << field ## _Pos) & field ## _Msk)
- 1534:Drivers/CMSIS/Include/core_cm4.h ****
- 1535:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1536:Drivers/CMSIS/Include/core_cm4.h **** \brief Mask and shift a register value to extract a bit filed value.
- 1537:Drivers/CMSIS/Include/core_cm4.h **** \param[in] field Name of the register bit field.
- 1538:Drivers/CMSIS/Include/core_cm4.h **** \param[in] value Value of register. This parameter is interpreted as an uint32_t type.
- 1539:Drivers/CMSIS/Include/core_cm4.h **** \return Masked and shifted bit field value.
- 1540:Drivers/CMSIS/Include/core_cm4.h **** */
- 1541:Drivers/CMSIS/Include/core_cm4.h **** #define _FLD2VAL(field, value) (((uint32_t)(value) & field ## _Msk) >> field ## _Pos)
- 1542:Drivers/CMSIS/Include/core_cm4.h ****
- 1543:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_core_bitfield */
- 1544:Drivers/CMSIS/Include/core_cm4.h ****
- 1545:Drivers/CMSIS/Include/core_cm4.h ****
- 1546:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1547:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
- 1548:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_core_base Core Definitions
- 1549:Drivers/CMSIS/Include/core_cm4.h **** \brief Definitions for base addresses, unions, and structures.
- 1550:Drivers/CMSIS/Include/core_cm4.h **** @{
- 1551:Drivers/CMSIS/Include/core_cm4.h **** */
- 1552:Drivers/CMSIS/Include/core_cm4.h ****
- 1553:Drivers/CMSIS/Include/core_cm4.h **** /* Memory mapping of Core Hardware */
- 1554:Drivers/CMSIS/Include/core_cm4.h **** #define SCS_BASE (0xE000E000UL) /*!< System Control Space Bas
- 1555:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_BASE (0xE0000000UL) /*!< ITM Base Address */
- 1556:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_BASE (0xE0001000UL) /*!< DWT Base Address */
- 1557:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_BASE (0xE0040000UL) /*!< TPI Base Address */
- 1558:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_BASE (0xE000EDF0UL) /*!< Core Debug Base Address
- 1559:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_BASE (SCS_BASE + 0x0010UL) /*!< SysTick Base Address */
- 1560:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_BASE (SCS_BASE + 0x0100UL) /*!< NVIC Base Address */
- 1561:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_BASE (SCS_BASE + 0x0D00UL) /*!< System Control Block Bas
- 1562:Drivers/CMSIS/Include/core_cm4.h ****
- 1563:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB ((SCnSCB_Type *) SCS_BASE ) /*!< System control Register
- 1564:Drivers/CMSIS/Include/core_cm4.h **** #define SCB ((SCB_Type *) SCB_BASE ) /*!< SCB configuration struct
- 1565:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st
- 1566:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC ((NVIC_Type *) NVIC_BASE ) /*!< NVIC configuration struc
- 1567:Drivers/CMSIS/Include/core_cm4.h **** #define ITM ((ITM_Type *) ITM_BASE ) /*!< ITM configuration struct
- 1568:Drivers/CMSIS/Include/core_cm4.h **** #define DWT ((DWT_Type *) DWT_BASE ) /*!< DWT configuration struct
- 1569:Drivers/CMSIS/Include/core_cm4.h **** #define TPI ((TPI_Type *) TPI_BASE ) /*!< TPI configuration struct
- 1570:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug ((CoreDebug_Type *) CoreDebug_BASE) /*!< Core Debug configuration
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 29
- 1571:Drivers/CMSIS/Include/core_cm4.h ****
- 1572:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
- 1573:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_BASE (SCS_BASE + 0x0D90UL) /*!< Memory Protection Unit *
- 1574:Drivers/CMSIS/Include/core_cm4.h **** #define MPU ((MPU_Type *) MPU_BASE ) /*!< Memory Protection Unit *
- 1575:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 1576:Drivers/CMSIS/Include/core_cm4.h ****
- 1577:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_BASE (SCS_BASE + 0x0F30UL) /*!< Floating Point Unit */
- 1578:Drivers/CMSIS/Include/core_cm4.h **** #define FPU ((FPU_Type *) FPU_BASE ) /*!< Floating Point Unit */
- 1579:Drivers/CMSIS/Include/core_cm4.h ****
- 1580:Drivers/CMSIS/Include/core_cm4.h **** /*@} */
- 1581:Drivers/CMSIS/Include/core_cm4.h ****
- 1582:Drivers/CMSIS/Include/core_cm4.h ****
- 1583:Drivers/CMSIS/Include/core_cm4.h ****
- 1584:Drivers/CMSIS/Include/core_cm4.h **** /*******************************************************************************
- 1585:Drivers/CMSIS/Include/core_cm4.h **** * Hardware Abstraction Layer
- 1586:Drivers/CMSIS/Include/core_cm4.h **** Core Function Interface contains:
- 1587:Drivers/CMSIS/Include/core_cm4.h **** - Core NVIC Functions
- 1588:Drivers/CMSIS/Include/core_cm4.h **** - Core SysTick Functions
- 1589:Drivers/CMSIS/Include/core_cm4.h **** - Core Debug Functions
- 1590:Drivers/CMSIS/Include/core_cm4.h **** - Core Register Access Functions
- 1591:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
- 1592:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1593:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_FunctionInterface Functions and Instructions Reference
- 1594:Drivers/CMSIS/Include/core_cm4.h **** */
- 1595:Drivers/CMSIS/Include/core_cm4.h ****
- 1596:Drivers/CMSIS/Include/core_cm4.h ****
- 1597:Drivers/CMSIS/Include/core_cm4.h ****
- 1598:Drivers/CMSIS/Include/core_cm4.h **** /* ########################## NVIC functions #################################### */
- 1599:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1600:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_Core_FunctionInterface
- 1601:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_NVICFunctions NVIC Functions
- 1602:Drivers/CMSIS/Include/core_cm4.h **** \brief Functions that manage interrupts and exceptions via the NVIC.
- 1603:Drivers/CMSIS/Include/core_cm4.h **** @{
- 1604:Drivers/CMSIS/Include/core_cm4.h **** */
- 1605:Drivers/CMSIS/Include/core_cm4.h ****
- 1606:Drivers/CMSIS/Include/core_cm4.h **** #ifdef CMSIS_NVIC_VIRTUAL
- 1607:Drivers/CMSIS/Include/core_cm4.h **** #ifndef CMSIS_NVIC_VIRTUAL_HEADER_FILE
- 1608:Drivers/CMSIS/Include/core_cm4.h **** #define CMSIS_NVIC_VIRTUAL_HEADER_FILE "cmsis_nvic_virtual.h"
- 1609:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 1610:Drivers/CMSIS/Include/core_cm4.h **** #include CMSIS_NVIC_VIRTUAL_HEADER_FILE
- 1611:Drivers/CMSIS/Include/core_cm4.h **** #else
- 1612:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetPriorityGrouping __NVIC_SetPriorityGrouping
- 1613:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetPriorityGrouping __NVIC_GetPriorityGrouping
- 1614:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_EnableIRQ __NVIC_EnableIRQ
- 1615:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetEnableIRQ __NVIC_GetEnableIRQ
- 1616:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_DisableIRQ __NVIC_DisableIRQ
- 1617:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetPendingIRQ __NVIC_GetPendingIRQ
- 1618:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetPendingIRQ __NVIC_SetPendingIRQ
- 1619:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_ClearPendingIRQ __NVIC_ClearPendingIRQ
- 1620:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetActive __NVIC_GetActive
- 1621:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetPriority __NVIC_SetPriority
- 1622:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetPriority __NVIC_GetPriority
- 1623:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SystemReset __NVIC_SystemReset
- 1624:Drivers/CMSIS/Include/core_cm4.h **** #endif /* CMSIS_NVIC_VIRTUAL */
- 1625:Drivers/CMSIS/Include/core_cm4.h ****
- 1626:Drivers/CMSIS/Include/core_cm4.h **** #ifdef CMSIS_VECTAB_VIRTUAL
- 1627:Drivers/CMSIS/Include/core_cm4.h **** #ifndef CMSIS_VECTAB_VIRTUAL_HEADER_FILE
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 30
- 1628:Drivers/CMSIS/Include/core_cm4.h **** #define CMSIS_VECTAB_VIRTUAL_HEADER_FILE "cmsis_vectab_virtual.h"
- 1629:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 1630:Drivers/CMSIS/Include/core_cm4.h **** #include CMSIS_VECTAB_VIRTUAL_HEADER_FILE
- 1631:Drivers/CMSIS/Include/core_cm4.h **** #else
- 1632:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetVector __NVIC_SetVector
- 1633:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetVector __NVIC_GetVector
- 1634:Drivers/CMSIS/Include/core_cm4.h **** #endif /* (CMSIS_VECTAB_VIRTUAL) */
- 1635:Drivers/CMSIS/Include/core_cm4.h ****
- 1636:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_USER_IRQ_OFFSET 16
- 1637:Drivers/CMSIS/Include/core_cm4.h ****
- 1638:Drivers/CMSIS/Include/core_cm4.h ****
- 1639:Drivers/CMSIS/Include/core_cm4.h **** /* The following EXC_RETURN values are saved the LR on exception entry */
- 1640:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_HANDLER (0xFFFFFFF1UL) /* return to Handler mode, uses MSP after ret
- 1641:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_MSP (0xFFFFFFF9UL) /* return to Thread mode, uses MSP after retu
- 1642:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_PSP (0xFFFFFFFDUL) /* return to Thread mode, uses PSP after retu
- 1643:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_HANDLER_FPU (0xFFFFFFE1UL) /* return to Handler mode, uses MSP after ret
- 1644:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_MSP_FPU (0xFFFFFFE9UL) /* return to Thread mode, uses MSP after retu
- 1645:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_PSP_FPU (0xFFFFFFEDUL) /* return to Thread mode, uses PSP after retu
- 1646:Drivers/CMSIS/Include/core_cm4.h ****
- 1647:Drivers/CMSIS/Include/core_cm4.h ****
- 1648:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1649:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Priority Grouping
- 1650:Drivers/CMSIS/Include/core_cm4.h **** \details Sets the priority grouping field using the required unlock sequence.
- 1651:Drivers/CMSIS/Include/core_cm4.h **** The parameter PriorityGroup is assigned to the field SCB->AIRCR [10:8] PRIGROUP field.
- 1652:Drivers/CMSIS/Include/core_cm4.h **** Only values from 0..7 are used.
- 1653:Drivers/CMSIS/Include/core_cm4.h **** In case of a conflict between priority grouping and available
- 1654:Drivers/CMSIS/Include/core_cm4.h **** priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
- 1655:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PriorityGroup Priority grouping field.
- 1656:Drivers/CMSIS/Include/core_cm4.h **** */
- 1657:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
- 1658:Drivers/CMSIS/Include/core_cm4.h **** {
- 28 .loc 1 1658 1
- 29 .cfi_startproc
- 30 @ args = 0, pretend = 0, frame = 16
- 31 @ frame_needed = 1, uses_anonymous_args = 0
- 32 @ link register save eliminated.
- 33 0000 80B4 push {r7}
- 34 .LCFI0:
- 35 .cfi_def_cfa_offset 4
- 36 .cfi_offset 7, -4
- 37 0002 85B0 sub sp, sp, #20
- 38 .LCFI1:
- 39 .cfi_def_cfa_offset 24
- 40 0004 00AF add r7, sp, #0
- 41 .LCFI2:
- 42 .cfi_def_cfa_register 7
- 43 0006 7860 str r0, [r7, #4]
- 1659:Drivers/CMSIS/Include/core_cm4.h **** uint32_t reg_value;
- 1660:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 a
- 44 .loc 1 1660 12
- 45 0008 7B68 ldr r3, [r7, #4]
- 46 000a 03F00703 and r3, r3, #7
- 47 000e FB60 str r3, [r7, #12]
- 1661:Drivers/CMSIS/Include/core_cm4.h ****
- 1662:Drivers/CMSIS/Include/core_cm4.h **** reg_value = SCB->AIRCR; /* read old register
- 48 .loc 1 1662 20
- 49 0010 0C4B ldr r3, .L2
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 31
- 50 .loc 1 1662 14
- 51 0012 DB68 ldr r3, [r3, #12]
- 52 0014 BB60 str r3, [r7, #8]
- 1663:Drivers/CMSIS/Include/core_cm4.h **** reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to chan
- 53 .loc 1 1663 13
- 54 0016 BA68 ldr r2, [r7, #8]
- 55 0018 4FF6FF03 movw r3, #63743
- 56 001c 1340 ands r3, r3, r2
- 57 001e BB60 str r3, [r7, #8]
- 1664:Drivers/CMSIS/Include/core_cm4.h **** reg_value = (reg_value |
- 1665:Drivers/CMSIS/Include/core_cm4.h **** ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
- 1666:Drivers/CMSIS/Include/core_cm4.h **** (PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key a
- 58 .loc 1 1666 35
- 59 0020 FB68 ldr r3, [r7, #12]
- 60 0022 1A02 lsls r2, r3, #8
- 1665:Drivers/CMSIS/Include/core_cm4.h **** (PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key a
- 61 .loc 1 1665 62
- 62 0024 BB68 ldr r3, [r7, #8]
- 63 0026 1343 orrs r3, r3, r2
- 1664:Drivers/CMSIS/Include/core_cm4.h **** reg_value = (reg_value |
- 64 .loc 1 1664 14
- 65 0028 43F0BF63 orr r3, r3, #100139008
- 66 002c 43F40033 orr r3, r3, #131072
- 67 0030 BB60 str r3, [r7, #8]
- 1667:Drivers/CMSIS/Include/core_cm4.h **** SCB->AIRCR = reg_value;
- 68 .loc 1 1667 6
- 69 0032 044A ldr r2, .L2
- 70 .loc 1 1667 14
- 71 0034 BB68 ldr r3, [r7, #8]
- 72 0036 D360 str r3, [r2, #12]
- 1668:Drivers/CMSIS/Include/core_cm4.h **** }
- 73 .loc 1 1668 1
- 74 0038 00BF nop
- 75 003a 1437 adds r7, r7, #20
- 76 .LCFI3:
- 77 .cfi_def_cfa_offset 4
- 78 003c BD46 mov sp, r7
- 79 .LCFI4:
- 80 .cfi_def_cfa_register 13
- 81 @ sp needed
- 82 003e 5DF8047B ldr r7, [sp], #4
- 83 .LCFI5:
- 84 .cfi_restore 7
- 85 .cfi_def_cfa_offset 0
- 86 0042 7047 bx lr
- 87 .L3:
- 88 .align 2
- 89 .L2:
- 90 0044 00ED00E0 .word -536810240
- 91 .cfi_endproc
- 92 .LFE102:
- 94 .section .text.__NVIC_GetPriorityGrouping,"ax",%progbits
- 95 .align 1
- 96 .syntax unified
- 97 .thumb
- 98 .thumb_func
- 100 __NVIC_GetPriorityGrouping:
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 32
- 101 .LFB103:
- 1669:Drivers/CMSIS/Include/core_cm4.h ****
- 1670:Drivers/CMSIS/Include/core_cm4.h ****
- 1671:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1672:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Priority Grouping
- 1673:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the priority grouping field from the NVIC Interrupt Controller.
- 1674:Drivers/CMSIS/Include/core_cm4.h **** \return Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field).
- 1675:Drivers/CMSIS/Include/core_cm4.h **** */
- 1676:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetPriorityGrouping(void)
- 1677:Drivers/CMSIS/Include/core_cm4.h **** {
- 102 .loc 1 1677 1
- 103 .cfi_startproc
- 104 @ args = 0, pretend = 0, frame = 0
- 105 @ frame_needed = 1, uses_anonymous_args = 0
- 106 @ link register save eliminated.
- 107 0000 80B4 push {r7}
- 108 .LCFI6:
- 109 .cfi_def_cfa_offset 4
- 110 .cfi_offset 7, -4
- 111 0002 00AF add r7, sp, #0
- 112 .LCFI7:
- 113 .cfi_def_cfa_register 7
- 1678:Drivers/CMSIS/Include/core_cm4.h **** return ((uint32_t)((SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) >> SCB_AIRCR_PRIGROUP_Pos));
- 114 .loc 1 1678 26
- 115 0004 044B ldr r3, .L6
- 116 0006 DB68 ldr r3, [r3, #12]
- 117 .loc 1 1678 11
- 118 0008 1B0A lsrs r3, r3, #8
- 119 000a 03F00703 and r3, r3, #7
- 1679:Drivers/CMSIS/Include/core_cm4.h **** }
- 120 .loc 1 1679 1
- 121 000e 1846 mov r0, r3
- 122 0010 BD46 mov sp, r7
- 123 .LCFI8:
- 124 .cfi_def_cfa_register 13
- 125 @ sp needed
- 126 0012 5DF8047B ldr r7, [sp], #4
- 127 .LCFI9:
- 128 .cfi_restore 7
- 129 .cfi_def_cfa_offset 0
- 130 0016 7047 bx lr
- 131 .L7:
- 132 .align 2
- 133 .L6:
- 134 0018 00ED00E0 .word -536810240
- 135 .cfi_endproc
- 136 .LFE103:
- 138 .section .text.__NVIC_EnableIRQ,"ax",%progbits
- 139 .align 1
- 140 .syntax unified
- 141 .thumb
- 142 .thumb_func
- 144 __NVIC_EnableIRQ:
- 145 .LFB104:
- 1680:Drivers/CMSIS/Include/core_cm4.h ****
- 1681:Drivers/CMSIS/Include/core_cm4.h ****
- 1682:Drivers/CMSIS/Include/core_cm4.h **** /**
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 33
- 1683:Drivers/CMSIS/Include/core_cm4.h **** \brief Enable Interrupt
- 1684:Drivers/CMSIS/Include/core_cm4.h **** \details Enables a device specific interrupt in the NVIC interrupt controller.
- 1685:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
- 1686:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
- 1687:Drivers/CMSIS/Include/core_cm4.h **** */
- 1688:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn)
- 1689:Drivers/CMSIS/Include/core_cm4.h **** {
- 146 .loc 1 1689 1
- 147 .cfi_startproc
- 148 @ args = 0, pretend = 0, frame = 8
- 149 @ frame_needed = 1, uses_anonymous_args = 0
- 150 @ link register save eliminated.
- 151 0000 80B4 push {r7}
- 152 .LCFI10:
- 153 .cfi_def_cfa_offset 4
- 154 .cfi_offset 7, -4
- 155 0002 83B0 sub sp, sp, #12
- 156 .LCFI11:
- 157 .cfi_def_cfa_offset 16
- 158 0004 00AF add r7, sp, #0
- 159 .LCFI12:
- 160 .cfi_def_cfa_register 7
- 161 0006 0346 mov r3, r0
- 162 0008 FB71 strb r3, [r7, #7]
- 1690:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
- 163 .loc 1 1690 6
- 164 000a 97F90730 ldrsb r3, [r7, #7]
- 165 000e 002B cmp r3, #0
- 166 0010 0BDB blt .L10
- 1691:Drivers/CMSIS/Include/core_cm4.h **** {
- 1692:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
- 167 .loc 1 1692 81
- 168 0012 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
- 169 0014 03F01F02 and r2, r3, #31
- 170 .loc 1 1692 9
- 171 0018 0749 ldr r1, .L11
- 172 .loc 1 1692 18
- 173 001a 97F90730 ldrsb r3, [r7, #7]
- 174 .loc 1 1692 34
- 175 001e 5B09 lsrs r3, r3, #5
- 176 .loc 1 1692 45
- 177 0020 0120 movs r0, #1
- 178 0022 00FA02F2 lsl r2, r0, r2
- 179 .loc 1 1692 43
- 180 0026 41F82320 str r2, [r1, r3, lsl #2]
- 181 .L10:
- 1693:Drivers/CMSIS/Include/core_cm4.h **** }
- 1694:Drivers/CMSIS/Include/core_cm4.h **** }
- 182 .loc 1 1694 1
- 183 002a 00BF nop
- 184 002c 0C37 adds r7, r7, #12
- 185 .LCFI13:
- 186 .cfi_def_cfa_offset 4
- 187 002e BD46 mov sp, r7
- 188 .LCFI14:
- 189 .cfi_def_cfa_register 13
- 190 @ sp needed
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 34
- 191 0030 5DF8047B ldr r7, [sp], #4
- 192 .LCFI15:
- 193 .cfi_restore 7
- 194 .cfi_def_cfa_offset 0
- 195 0034 7047 bx lr
- 196 .L12:
- 197 0036 00BF .align 2
- 198 .L11:
- 199 0038 00E100E0 .word -536813312
- 200 .cfi_endproc
- 201 .LFE104:
- 203 .section .text.__NVIC_DisableIRQ,"ax",%progbits
- 204 .align 1
- 205 .syntax unified
- 206 .thumb
- 207 .thumb_func
- 209 __NVIC_DisableIRQ:
- 210 .LFB106:
- 1695:Drivers/CMSIS/Include/core_cm4.h ****
- 1696:Drivers/CMSIS/Include/core_cm4.h ****
- 1697:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1698:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Interrupt Enable status
- 1699:Drivers/CMSIS/Include/core_cm4.h **** \details Returns a device specific interrupt enable status from the NVIC interrupt controller.
- 1700:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
- 1701:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Interrupt is not enabled.
- 1702:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Interrupt is enabled.
- 1703:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
- 1704:Drivers/CMSIS/Include/core_cm4.h **** */
- 1705:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn)
- 1706:Drivers/CMSIS/Include/core_cm4.h **** {
- 1707:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
- 1708:Drivers/CMSIS/Include/core_cm4.h **** {
- 1709:Drivers/CMSIS/Include/core_cm4.h **** return((uint32_t)(((NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
- 1710:Drivers/CMSIS/Include/core_cm4.h **** }
- 1711:Drivers/CMSIS/Include/core_cm4.h **** else
- 1712:Drivers/CMSIS/Include/core_cm4.h **** {
- 1713:Drivers/CMSIS/Include/core_cm4.h **** return(0U);
- 1714:Drivers/CMSIS/Include/core_cm4.h **** }
- 1715:Drivers/CMSIS/Include/core_cm4.h **** }
- 1716:Drivers/CMSIS/Include/core_cm4.h ****
- 1717:Drivers/CMSIS/Include/core_cm4.h ****
- 1718:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1719:Drivers/CMSIS/Include/core_cm4.h **** \brief Disable Interrupt
- 1720:Drivers/CMSIS/Include/core_cm4.h **** \details Disables a device specific interrupt in the NVIC interrupt controller.
- 1721:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
- 1722:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
- 1723:Drivers/CMSIS/Include/core_cm4.h **** */
- 1724:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_DisableIRQ(IRQn_Type IRQn)
- 1725:Drivers/CMSIS/Include/core_cm4.h **** {
- 211 .loc 1 1725 1
- 212 .cfi_startproc
- 213 @ args = 0, pretend = 0, frame = 8
- 214 @ frame_needed = 1, uses_anonymous_args = 0
- 215 @ link register save eliminated.
- 216 0000 80B4 push {r7}
- 217 .LCFI16:
- 218 .cfi_def_cfa_offset 4
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 35
- 219 .cfi_offset 7, -4
- 220 0002 83B0 sub sp, sp, #12
- 221 .LCFI17:
- 222 .cfi_def_cfa_offset 16
- 223 0004 00AF add r7, sp, #0
- 224 .LCFI18:
- 225 .cfi_def_cfa_register 7
- 226 0006 0346 mov r3, r0
- 227 0008 FB71 strb r3, [r7, #7]
- 1726:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
- 228 .loc 1 1726 6
- 229 000a 97F90730 ldrsb r3, [r7, #7]
- 230 000e 002B cmp r3, #0
- 231 0010 12DB blt .L15
- 1727:Drivers/CMSIS/Include/core_cm4.h **** {
- 1728:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ICER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
- 232 .loc 1 1728 81
- 233 0012 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
- 234 0014 03F01F02 and r2, r3, #31
- 235 .loc 1 1728 9
- 236 0018 0A49 ldr r1, .L16
- 237 .loc 1 1728 18
- 238 001a 97F90730 ldrsb r3, [r7, #7]
- 239 .loc 1 1728 34
- 240 001e 5B09 lsrs r3, r3, #5
- 241 .loc 1 1728 45
- 242 0020 0120 movs r0, #1
- 243 0022 00FA02F2 lsl r2, r0, r2
- 244 .loc 1 1728 43
- 245 0026 2033 adds r3, r3, #32
- 246 0028 41F82320 str r2, [r1, r3, lsl #2]
- 247 .LBB10:
- 248 .LBB11:
- 249 .file 2 "Drivers/CMSIS/Include/cmsis_gcc.h"
- 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
- 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
- 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
- 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.0.4
- 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 09. April 2018
- 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
- 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
- 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
- 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
- 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
- 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
- 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
- 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
- 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
- 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
- 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
- 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 36
- 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
- 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
- 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
- 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
- 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
- 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
- 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
- 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
- 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
- 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
- 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
- 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
- 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
- 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
- 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
- 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
- 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
- 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
- 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
- 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
- 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
- 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
- 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
- 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
- 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
- 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
- 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
- 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
- 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
- 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
- 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
- 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
- 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
- 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
- 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 37
- 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
- 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
- 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
- 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
- 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
- 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
- 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
- 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
- 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
- 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
- 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
- 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
- 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
- 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
- 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
- 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 116:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 117:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 118:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
- 119:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
- 120:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
- 121:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
- 122:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
- 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
- 127:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 128:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 129:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
- 130:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
- 132:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 133:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 135:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 136:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
- 137:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 38
- 138:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 139:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 140:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
- 141:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 142:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
- 143:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 144:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 145:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 146:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 147:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
- 148:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
- 149:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
- 150:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 151:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
- 152:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 153:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 154:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 155:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
- 156:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 157:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 158:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 159:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 160:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 161:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 162:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
- 163:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
- 164:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
- 165:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 166:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
- 167:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 168:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 169:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 170:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
- 171:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 172:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 174:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 175:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 176:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 177:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
- 178:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
- 179:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
- 180:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 181:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
- 182:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 183:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
- 184:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 185:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 186:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 187:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 188:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 189:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
- 190:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
- 191:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
- 192:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 193:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
- 194:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 39
- 195:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
- 196:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 197:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 198:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 199:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 200:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 201:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
- 202:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
- 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
- 204:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 205:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
- 206:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 207:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 208:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
- 210:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 211:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 212:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 213:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 214:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
- 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
- 217:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
- 218:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 219:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
- 220:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 221:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 222:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 223:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
- 224:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 225:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 226:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 227:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
- 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
- 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
- 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
- 234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 236:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
- 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 240:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 241:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 242:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 243:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
- 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
- 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
- 246:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 247:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
- 248:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 249:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 250:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 251:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 40
- 252:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 253:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 254:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 255:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 256:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 257:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
- 259:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
- 260:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
- 261:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
- 263:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 264:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 265:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 266:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
- 267:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 268:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 269:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 270:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 271:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 272:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 273:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
- 274:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
- 275:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
- 276:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 277:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
- 278:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 279:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
- 280:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 281:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 282:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 283:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 284:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 285:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
- 286:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
- 287:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
- 288:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 289:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
- 290:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 291:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
- 292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 293:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 294:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 295:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 296:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
- 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
- 299:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
- 300:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 301:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
- 302:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 303:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 304:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 305:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
- 306:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 307:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 308:Drivers/CMSIS/Include/cmsis_gcc.h ****
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 41
- 309:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 310:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 311:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
- 313:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
- 314:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
- 315:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 316:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
- 317:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 318:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 319:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 320:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
- 321:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 322:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 324:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 325:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 326:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
- 328:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
- 329:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
- 330:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 331:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
- 332:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
- 334:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 335:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 336:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 337:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 338:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 339:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
- 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
- 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
- 342:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 343:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
- 344:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 345:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
- 346:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 347:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 348:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 349:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
- 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
- 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
- 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
- 357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 358:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 359:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 360:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
- 361:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 362:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 363:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 364:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 365:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 42
- 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
- 367:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
- 368:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
- 369:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 370:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
- 371:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
- 373:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 374:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 375:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 376:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 377:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 378:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
- 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
- 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
- 381:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 382:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
- 383:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 384:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 385:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 386:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
- 387:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 388:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 389:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 390:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 391:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 392:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 393:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
- 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
- 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
- 396:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 397:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
- 398:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 399:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 400:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 401:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
- 402:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 403:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 405:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 406:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 407:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
- 409:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
- 410:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
- 411:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
- 413:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 414:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
- 415:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 416:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 417:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 418:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 419:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask (non-secure)
- 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Priority Mask Register when in secure state.
- 422:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 43
- 423:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 424:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PRIMASK_NS(uint32_t priMask)
- 425:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 426:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask_ns, %0" : : "r" (priMask) : "memory");
- 427:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 428:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 429:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 430:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 431:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
- 432:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
- 433:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
- 434:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable FIQ
- 436:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables FIQ interrupts by clearing the F-bit in the CPSR.
- 437:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 438:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_fault_irq(void)
- 440:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 441:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie f" : : : "memory");
- 442:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 443:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 444:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 445:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable FIQ
- 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables FIQ interrupts by setting the F-bit in the CPSR.
- 448:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 449:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 450:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_fault_irq(void)
- 451:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 452:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid f" : : : "memory");
- 453:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 454:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 455:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 456:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 457:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority
- 458:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Base Priority register.
- 459:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
- 460:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 461:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_BASEPRI(void)
- 462:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 463:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 464:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 465:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri" : "=r" (result) );
- 466:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 467:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 468:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 469:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 470:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 471:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 472:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority (non-secure)
- 473:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Base Priority register when in secure state.
- 474:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
- 475:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 476:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_BASEPRI_NS(void)
- 477:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 478:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 479:Drivers/CMSIS/Include/cmsis_gcc.h ****
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 44
- 480:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri_ns" : "=r" (result) );
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 483:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 484:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 485:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 486:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 487:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority
- 488:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register.
- 489:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
- 490:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 491:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI(uint32_t basePri)
- 492:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 493:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri, %0" : : "r" (basePri) : "memory");
- 494:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 495:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 496:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 497:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 498:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 499:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority (non-secure)
- 500:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Base Priority register when in secure state.
- 501:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
- 502:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 503:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_BASEPRI_NS(uint32_t basePri)
- 504:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 505:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_ns, %0" : : "r" (basePri) : "memory");
- 506:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 507:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 508:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 509:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 510:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 511:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority with condition
- 512:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register only if BASEPRI masking is disable
- 513:Drivers/CMSIS/Include/cmsis_gcc.h **** or the new value increases the BASEPRI priority level.
- 514:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
- 515:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 516:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI_MAX(uint32_t basePri)
- 517:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 518:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_max, %0" : : "r" (basePri) : "memory");
- 519:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 520:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 521:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 522:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 523:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask
- 524:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Fault Mask register.
- 525:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
- 526:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 527:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FAULTMASK(void)
- 528:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 529:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 530:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 531:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask" : "=r" (result) );
- 532:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 533:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 534:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 535:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 536:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 45
- 537:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 538:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask (non-secure)
- 539:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Fault Mask register when in secure state.
- 540:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
- 541:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 542:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_FAULTMASK_NS(void)
- 543:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 544:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 545:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 546:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask_ns" : "=r" (result) );
- 547:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 548:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 549:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 550:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 551:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 552:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 553:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask
- 554:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Fault Mask register.
- 555:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
- 556:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 557:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FAULTMASK(uint32_t faultMask)
- 558:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 559:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory");
- 560:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 561:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 562:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 563:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 564:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 565:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask (non-secure)
- 566:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Fault Mask register when in secure state.
- 567:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
- 568:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 569:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_FAULTMASK_NS(uint32_t faultMask)
- 570:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 571:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask_ns, %0" : : "r" (faultMask) : "memory");
- 572:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 573:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 574:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 575:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
- 576:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
- 577:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) */
- 578:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 579:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 580:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
- 581:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) )
- 582:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 583:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 584:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit
- 585:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 586:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
- 587:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
- 588:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 589:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer Limit (PSPLIM).
- 590:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
- 591:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 592:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSPLIM(void)
- 593:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 46
- 594:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
- 595:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
- 596:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
- 597:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
- 598:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 599:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 600:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim" : "=r" (result) );
- 601:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
- 602:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 603:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 604:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 605:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3))
- 606:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 607:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit (non-secure)
- 608:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 609:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
- 610:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 611:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in
- 612:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
- 613:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 614:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSPLIM_NS(void)
- 615:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 616:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
- 617:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
- 618:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
- 619:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 620:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 621:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim_ns" : "=r" (result) );
- 622:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
- 623:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 624:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 625:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 626:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 627:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 628:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 629:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer Limit
- 630:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 631:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
- 632:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
- 633:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 634:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer Limit (PSPLIM).
- 635:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
- 636:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 637:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSPLIM(uint32_t ProcStackPtrLimit)
- 638:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 639:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
- 640:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
- 641:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
- 642:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
- 643:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 644:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim, %0" : : "r" (ProcStackPtrLimit));
- 645:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 646:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 647:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 648:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 649:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 650:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 47
- 651:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
- 652:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 653:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
- 654:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 655:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in s
- 656:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
- 657:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 658:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSPLIM_NS(uint32_t ProcStackPtrLimit)
- 659:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 660:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
- 661:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
- 662:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
- 663:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 664:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim_ns, %0\n" : : "r" (ProcStackPtrLimit));
- 665:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 666:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 667:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 668:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 669:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 670:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 671:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit
- 672:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 673:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
- 674:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
- 675:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 676:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer Limit (MSPLIM).
- 677:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
- 678:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 679:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSPLIM(void)
- 680:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 681:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
- 682:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
- 683:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
- 684:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
- 685:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 686:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 687:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim" : "=r" (result) );
- 688:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
- 689:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 690:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 691:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 692:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 693:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 694:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 695:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit (non-secure)
- 696:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 697:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
- 698:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 699:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in sec
- 700:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
- 701:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 702:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSPLIM_NS(void)
- 703:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 704:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
- 705:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
- 706:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
- 707:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 48
- 708:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 709:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim_ns" : "=r" (result) );
- 710:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
- 711:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 712:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 713:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 714:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 715:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 716:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 717:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit
- 718:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 719:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
- 720:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
- 721:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 722:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer Limit (MSPLIM).
- 723:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer Limit value to set
- 724:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 725:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSPLIM(uint32_t MainStackPtrLimit)
- 726:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 727:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
- 728:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
- 729:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
- 730:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
- 731:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 732:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim, %0" : : "r" (MainStackPtrLimit));
- 733:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 734:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 735:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 736:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 737:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 738:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 739:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit (non-secure)
- 740:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 741:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
- 742:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 743:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secu
- 744:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer value to set
- 745:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 746:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSPLIM_NS(uint32_t MainStackPtrLimit)
- 747:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 748:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
- 749:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
- 750:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
- 751:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 752:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim_ns, %0" : : "r" (MainStackPtrLimit));
- 753:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 754:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 755:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 756:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 757:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
- 758:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) */
- 759:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 760:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 761:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 762:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get FPSCR
- 763:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Floating Point Status/Control register.
- 764:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Floating Point Status/Control register value
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 49
- 765:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 766:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FPSCR(void)
- 767:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 768:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
- 769:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
- 770:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_get_fpscr)
- 771:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
- 772:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
- 773:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
- 774:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_arm_get_fpscr();
- 775:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 776:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 777:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 778:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMRS %0, fpscr" : "=r" (result) );
- 779:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 780:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 781:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 782:Drivers/CMSIS/Include/cmsis_gcc.h **** return(0U);
- 783:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 784:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 785:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 786:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 787:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 788:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set FPSCR
- 789:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Floating Point Status/Control register.
- 790:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] fpscr Floating Point Status/Control value to set
- 791:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 792:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FPSCR(uint32_t fpscr)
- 793:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 794:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
- 795:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
- 796:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_set_fpscr)
- 797:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
- 798:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
- 799:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
- 800:Drivers/CMSIS/Include/cmsis_gcc.h **** __builtin_arm_set_fpscr(fpscr);
- 801:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 802:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc", "memory");
- 803:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 804:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 805:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)fpscr;
- 806:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 807:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 808:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 809:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 810:Drivers/CMSIS/Include/cmsis_gcc.h **** /*@} end of CMSIS_Core_RegAccFunctions */
- 811:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 812:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 813:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################## Core Instruction Access ######################### */
- 814:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
- 815:Drivers/CMSIS/Include/cmsis_gcc.h **** Access to dedicated instructions
- 816:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
- 817:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 818:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 819:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Define macros for porting to both thumb1 and thumb2.
- 820:Drivers/CMSIS/Include/cmsis_gcc.h **** * For thumb1, use low register (r0-r7), specified by constraint "l"
- 821:Drivers/CMSIS/Include/cmsis_gcc.h **** * Otherwise, use general registers, specified by constraint "r" */
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 50
- 822:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined (__thumb__) && !defined (__thumb2__)
- 823:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=l" (r)
- 824:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+l" (r)
- 825:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "l" (r)
- 826:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 827:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=r" (r)
- 828:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+r" (r)
- 829:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "r" (r)
- 830:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 831:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 832:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 833:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief No Operation
- 834:Drivers/CMSIS/Include/cmsis_gcc.h **** \details No Operation does nothing. This instruction can be used for code alignment purposes.
- 835:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 836:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NOP() __ASM volatile ("nop")
- 837:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 838:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 839:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Interrupt
- 840:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Interrupt is a hint instruction that suspends execution until one of a number o
- 841:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 842:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFI() __ASM volatile ("wfi")
- 843:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 844:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 845:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 846:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Event
- 847:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Event is a hint instruction that permits the processor to enter
- 848:Drivers/CMSIS/Include/cmsis_gcc.h **** a low-power state until one of a number of events occurs.
- 849:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 850:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFE() __ASM volatile ("wfe")
- 851:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 852:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 853:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 854:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Send Event
- 855:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Send Event is a hint instruction. It causes an event to be signaled to the CPU.
- 856:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 857:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __SEV() __ASM volatile ("sev")
- 858:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 859:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 860:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 861:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Instruction Synchronization Barrier
- 862:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Instruction Synchronization Barrier flushes the pipeline in the processor,
- 863:Drivers/CMSIS/Include/cmsis_gcc.h **** so that all instructions following the ISB are fetched from cache or memory,
- 864:Drivers/CMSIS/Include/cmsis_gcc.h **** after the instruction has been completed.
- 865:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 866:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __ISB(void)
- 867:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 868:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("isb 0xF":::"memory");
- 869:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 870:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 871:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 872:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 873:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Synchronization Barrier
- 874:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Acts as a special kind of Data Memory Barrier.
- 875:Drivers/CMSIS/Include/cmsis_gcc.h **** It completes when all explicit memory accesses before this instruction complete.
- 876:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 877:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DSB(void)
- 878:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 51
- 879:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dsb 0xF":::"memory");
- 250 .loc 2 879 3
- 251 .syntax unified
- 252 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 253 002c BFF34F8F dsb 0xF
- 254 @ 0 "" 2
- 880:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 255 .loc 2 880 1
- 256 .thumb
- 257 .syntax unified
- 258 0030 00BF nop
- 259 .LBE11:
- 260 .LBE10:
- 261 .LBB12:
- 262 .LBB13:
- 868:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 263 .loc 2 868 3
- 264 .syntax unified
- 265 @ 868 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 266 0032 BFF36F8F isb 0xF
- 267 @ 0 "" 2
- 869:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 268 .loc 2 869 1
- 269 .thumb
- 270 .syntax unified
- 271 0036 00BF nop
- 272 .L15:
- 273 .LBE13:
- 274 .LBE12:
- 1729:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
- 1730:Drivers/CMSIS/Include/core_cm4.h **** __ISB();
- 1731:Drivers/CMSIS/Include/core_cm4.h **** }
- 1732:Drivers/CMSIS/Include/core_cm4.h **** }
- 275 .loc 1 1732 1
- 276 0038 00BF nop
- 277 003a 0C37 adds r7, r7, #12
- 278 .LCFI19:
- 279 .cfi_def_cfa_offset 4
- 280 003c BD46 mov sp, r7
- 281 .LCFI20:
- 282 .cfi_def_cfa_register 13
- 283 @ sp needed
- 284 003e 5DF8047B ldr r7, [sp], #4
- 285 .LCFI21:
- 286 .cfi_restore 7
- 287 .cfi_def_cfa_offset 0
- 288 0042 7047 bx lr
- 289 .L17:
- 290 .align 2
- 291 .L16:
- 292 0044 00E100E0 .word -536813312
- 293 .cfi_endproc
- 294 .LFE106:
- 296 .section .text.__NVIC_GetPendingIRQ,"ax",%progbits
- 297 .align 1
- 298 .syntax unified
- 299 .thumb
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 52
- 300 .thumb_func
- 302 __NVIC_GetPendingIRQ:
- 303 .LFB107:
- 1733:Drivers/CMSIS/Include/core_cm4.h ****
- 1734:Drivers/CMSIS/Include/core_cm4.h ****
- 1735:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1736:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Pending Interrupt
- 1737:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the NVIC pending register and returns the pending bit for the specified device spe
- 1738:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
- 1739:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Interrupt status is not pending.
- 1740:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Interrupt status is pending.
- 1741:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
- 1742:Drivers/CMSIS/Include/core_cm4.h **** */
- 1743:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetPendingIRQ(IRQn_Type IRQn)
- 1744:Drivers/CMSIS/Include/core_cm4.h **** {
- 304 .loc 1 1744 1
- 305 .cfi_startproc
- 306 @ args = 0, pretend = 0, frame = 8
- 307 @ frame_needed = 1, uses_anonymous_args = 0
- 308 @ link register save eliminated.
- 309 0000 80B4 push {r7}
- 310 .LCFI22:
- 311 .cfi_def_cfa_offset 4
- 312 .cfi_offset 7, -4
- 313 0002 83B0 sub sp, sp, #12
- 314 .LCFI23:
- 315 .cfi_def_cfa_offset 16
- 316 0004 00AF add r7, sp, #0
- 317 .LCFI24:
- 318 .cfi_def_cfa_register 7
- 319 0006 0346 mov r3, r0
- 320 0008 FB71 strb r3, [r7, #7]
- 1745:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
- 321 .loc 1 1745 6
- 322 000a 97F90730 ldrsb r3, [r7, #7]
- 323 000e 002B cmp r3, #0
- 324 0010 0EDB blt .L19
- 1746:Drivers/CMSIS/Include/core_cm4.h **** {
- 1747:Drivers/CMSIS/Include/core_cm4.h **** return((uint32_t)(((NVIC->ISPR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
- 325 .loc 1 1747 29
- 326 0012 0B4A ldr r2, .L21
- 327 .loc 1 1747 38
- 328 0014 97F90730 ldrsb r3, [r7, #7]
- 329 .loc 1 1747 54
- 330 0018 5B09 lsrs r3, r3, #5
- 331 .loc 1 1747 35
- 332 001a 4033 adds r3, r3, #64
- 333 001c 52F82320 ldr r2, [r2, r3, lsl #2]
- 334 .loc 1 1747 91
- 335 0020 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
- 336 0022 03F01F03 and r3, r3, #31
- 337 .loc 1 1747 103
- 338 0026 22FA03F3 lsr r3, r2, r3
- 339 .loc 1 1747 12
- 340 002a 03F00103 and r3, r3, #1
- 341 002e 00E0 b .L20
- 342 .L19:
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 53
- 1748:Drivers/CMSIS/Include/core_cm4.h **** }
- 1749:Drivers/CMSIS/Include/core_cm4.h **** else
- 1750:Drivers/CMSIS/Include/core_cm4.h **** {
- 1751:Drivers/CMSIS/Include/core_cm4.h **** return(0U);
- 343 .loc 1 1751 11
- 344 0030 0023 movs r3, #0
- 345 .L20:
- 1752:Drivers/CMSIS/Include/core_cm4.h **** }
- 1753:Drivers/CMSIS/Include/core_cm4.h **** }
- 346 .loc 1 1753 1
- 347 0032 1846 mov r0, r3
- 348 0034 0C37 adds r7, r7, #12
- 349 .LCFI25:
- 350 .cfi_def_cfa_offset 4
- 351 0036 BD46 mov sp, r7
- 352 .LCFI26:
- 353 .cfi_def_cfa_register 13
- 354 @ sp needed
- 355 0038 5DF8047B ldr r7, [sp], #4
- 356 .LCFI27:
- 357 .cfi_restore 7
- 358 .cfi_def_cfa_offset 0
- 359 003c 7047 bx lr
- 360 .L22:
- 361 003e 00BF .align 2
- 362 .L21:
- 363 0040 00E100E0 .word -536813312
- 364 .cfi_endproc
- 365 .LFE107:
- 367 .section .text.__NVIC_SetPendingIRQ,"ax",%progbits
- 368 .align 1
- 369 .syntax unified
- 370 .thumb
- 371 .thumb_func
- 373 __NVIC_SetPendingIRQ:
- 374 .LFB108:
- 1754:Drivers/CMSIS/Include/core_cm4.h ****
- 1755:Drivers/CMSIS/Include/core_cm4.h ****
- 1756:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1757:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Pending Interrupt
- 1758:Drivers/CMSIS/Include/core_cm4.h **** \details Sets the pending bit of a device specific interrupt in the NVIC pending register.
- 1759:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
- 1760:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
- 1761:Drivers/CMSIS/Include/core_cm4.h **** */
- 1762:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetPendingIRQ(IRQn_Type IRQn)
- 1763:Drivers/CMSIS/Include/core_cm4.h **** {
- 375 .loc 1 1763 1
- 376 .cfi_startproc
- 377 @ args = 0, pretend = 0, frame = 8
- 378 @ frame_needed = 1, uses_anonymous_args = 0
- 379 @ link register save eliminated.
- 380 0000 80B4 push {r7}
- 381 .LCFI28:
- 382 .cfi_def_cfa_offset 4
- 383 .cfi_offset 7, -4
- 384 0002 83B0 sub sp, sp, #12
- 385 .LCFI29:
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 54
- 386 .cfi_def_cfa_offset 16
- 387 0004 00AF add r7, sp, #0
- 388 .LCFI30:
- 389 .cfi_def_cfa_register 7
- 390 0006 0346 mov r3, r0
- 391 0008 FB71 strb r3, [r7, #7]
- 1764:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
- 392 .loc 1 1764 6
- 393 000a 97F90730 ldrsb r3, [r7, #7]
- 394 000e 002B cmp r3, #0
- 395 0010 0CDB blt .L25
- 1765:Drivers/CMSIS/Include/core_cm4.h **** {
- 1766:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ISPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
- 396 .loc 1 1766 81
- 397 0012 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
- 398 0014 03F01F02 and r2, r3, #31
- 399 .loc 1 1766 9
- 400 0018 0749 ldr r1, .L26
- 401 .loc 1 1766 18
- 402 001a 97F90730 ldrsb r3, [r7, #7]
- 403 .loc 1 1766 34
- 404 001e 5B09 lsrs r3, r3, #5
- 405 .loc 1 1766 45
- 406 0020 0120 movs r0, #1
- 407 0022 00FA02F2 lsl r2, r0, r2
- 408 .loc 1 1766 43
- 409 0026 4033 adds r3, r3, #64
- 410 0028 41F82320 str r2, [r1, r3, lsl #2]
- 411 .L25:
- 1767:Drivers/CMSIS/Include/core_cm4.h **** }
- 1768:Drivers/CMSIS/Include/core_cm4.h **** }
- 412 .loc 1 1768 1
- 413 002c 00BF nop
- 414 002e 0C37 adds r7, r7, #12
- 415 .LCFI31:
- 416 .cfi_def_cfa_offset 4
- 417 0030 BD46 mov sp, r7
- 418 .LCFI32:
- 419 .cfi_def_cfa_register 13
- 420 @ sp needed
- 421 0032 5DF8047B ldr r7, [sp], #4
- 422 .LCFI33:
- 423 .cfi_restore 7
- 424 .cfi_def_cfa_offset 0
- 425 0036 7047 bx lr
- 426 .L27:
- 427 .align 2
- 428 .L26:
- 429 0038 00E100E0 .word -536813312
- 430 .cfi_endproc
- 431 .LFE108:
- 433 .section .text.__NVIC_ClearPendingIRQ,"ax",%progbits
- 434 .align 1
- 435 .syntax unified
- 436 .thumb
- 437 .thumb_func
- 439 __NVIC_ClearPendingIRQ:
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 55
- 440 .LFB109:
- 1769:Drivers/CMSIS/Include/core_cm4.h ****
- 1770:Drivers/CMSIS/Include/core_cm4.h ****
- 1771:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1772:Drivers/CMSIS/Include/core_cm4.h **** \brief Clear Pending Interrupt
- 1773:Drivers/CMSIS/Include/core_cm4.h **** \details Clears the pending bit of a device specific interrupt in the NVIC pending register.
- 1774:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
- 1775:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
- 1776:Drivers/CMSIS/Include/core_cm4.h **** */
- 1777:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_ClearPendingIRQ(IRQn_Type IRQn)
- 1778:Drivers/CMSIS/Include/core_cm4.h **** {
- 441 .loc 1 1778 1
- 442 .cfi_startproc
- 443 @ args = 0, pretend = 0, frame = 8
- 444 @ frame_needed = 1, uses_anonymous_args = 0
- 445 @ link register save eliminated.
- 446 0000 80B4 push {r7}
- 447 .LCFI34:
- 448 .cfi_def_cfa_offset 4
- 449 .cfi_offset 7, -4
- 450 0002 83B0 sub sp, sp, #12
- 451 .LCFI35:
- 452 .cfi_def_cfa_offset 16
- 453 0004 00AF add r7, sp, #0
- 454 .LCFI36:
- 455 .cfi_def_cfa_register 7
- 456 0006 0346 mov r3, r0
- 457 0008 FB71 strb r3, [r7, #7]
- 1779:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
- 458 .loc 1 1779 6
- 459 000a 97F90730 ldrsb r3, [r7, #7]
- 460 000e 002B cmp r3, #0
- 461 0010 0CDB blt .L30
- 1780:Drivers/CMSIS/Include/core_cm4.h **** {
- 1781:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ICPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
- 462 .loc 1 1781 81
- 463 0012 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
- 464 0014 03F01F02 and r2, r3, #31
- 465 .loc 1 1781 9
- 466 0018 0749 ldr r1, .L31
- 467 .loc 1 1781 18
- 468 001a 97F90730 ldrsb r3, [r7, #7]
- 469 .loc 1 1781 34
- 470 001e 5B09 lsrs r3, r3, #5
- 471 .loc 1 1781 45
- 472 0020 0120 movs r0, #1
- 473 0022 00FA02F2 lsl r2, r0, r2
- 474 .loc 1 1781 43
- 475 0026 6033 adds r3, r3, #96
- 476 0028 41F82320 str r2, [r1, r3, lsl #2]
- 477 .L30:
- 1782:Drivers/CMSIS/Include/core_cm4.h **** }
- 1783:Drivers/CMSIS/Include/core_cm4.h **** }
- 478 .loc 1 1783 1
- 479 002c 00BF nop
- 480 002e 0C37 adds r7, r7, #12
- 481 .LCFI37:
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 56
- 482 .cfi_def_cfa_offset 4
- 483 0030 BD46 mov sp, r7
- 484 .LCFI38:
- 485 .cfi_def_cfa_register 13
- 486 @ sp needed
- 487 0032 5DF8047B ldr r7, [sp], #4
- 488 .LCFI39:
- 489 .cfi_restore 7
- 490 .cfi_def_cfa_offset 0
- 491 0036 7047 bx lr
- 492 .L32:
- 493 .align 2
- 494 .L31:
- 495 0038 00E100E0 .word -536813312
- 496 .cfi_endproc
- 497 .LFE109:
- 499 .section .text.__NVIC_GetActive,"ax",%progbits
- 500 .align 1
- 501 .syntax unified
- 502 .thumb
- 503 .thumb_func
- 505 __NVIC_GetActive:
- 506 .LFB110:
- 1784:Drivers/CMSIS/Include/core_cm4.h ****
- 1785:Drivers/CMSIS/Include/core_cm4.h ****
- 1786:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1787:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Active Interrupt
- 1788:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the active register in the NVIC and returns the active bit for the device specific
- 1789:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
- 1790:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Interrupt status is not active.
- 1791:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Interrupt status is active.
- 1792:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
- 1793:Drivers/CMSIS/Include/core_cm4.h **** */
- 1794:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetActive(IRQn_Type IRQn)
- 1795:Drivers/CMSIS/Include/core_cm4.h **** {
- 507 .loc 1 1795 1
- 508 .cfi_startproc
- 509 @ args = 0, pretend = 0, frame = 8
- 510 @ frame_needed = 1, uses_anonymous_args = 0
- 511 @ link register save eliminated.
- 512 0000 80B4 push {r7}
- 513 .LCFI40:
- 514 .cfi_def_cfa_offset 4
- 515 .cfi_offset 7, -4
- 516 0002 83B0 sub sp, sp, #12
- 517 .LCFI41:
- 518 .cfi_def_cfa_offset 16
- 519 0004 00AF add r7, sp, #0
- 520 .LCFI42:
- 521 .cfi_def_cfa_register 7
- 522 0006 0346 mov r3, r0
- 523 0008 FB71 strb r3, [r7, #7]
- 1796:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
- 524 .loc 1 1796 6
- 525 000a 97F90730 ldrsb r3, [r7, #7]
- 526 000e 002B cmp r3, #0
- 527 0010 0EDB blt .L34
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 57
- 1797:Drivers/CMSIS/Include/core_cm4.h **** {
- 1798:Drivers/CMSIS/Include/core_cm4.h **** return((uint32_t)(((NVIC->IABR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
- 528 .loc 1 1798 29
- 529 0012 0B4A ldr r2, .L36
- 530 .loc 1 1798 38
- 531 0014 97F90730 ldrsb r3, [r7, #7]
- 532 .loc 1 1798 54
- 533 0018 5B09 lsrs r3, r3, #5
- 534 .loc 1 1798 35
- 535 001a 8033 adds r3, r3, #128
- 536 001c 52F82320 ldr r2, [r2, r3, lsl #2]
- 537 .loc 1 1798 91
- 538 0020 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
- 539 0022 03F01F03 and r3, r3, #31
- 540 .loc 1 1798 103
- 541 0026 22FA03F3 lsr r3, r2, r3
- 542 .loc 1 1798 12
- 543 002a 03F00103 and r3, r3, #1
- 544 002e 00E0 b .L35
- 545 .L34:
- 1799:Drivers/CMSIS/Include/core_cm4.h **** }
- 1800:Drivers/CMSIS/Include/core_cm4.h **** else
- 1801:Drivers/CMSIS/Include/core_cm4.h **** {
- 1802:Drivers/CMSIS/Include/core_cm4.h **** return(0U);
- 546 .loc 1 1802 11
- 547 0030 0023 movs r3, #0
- 548 .L35:
- 1803:Drivers/CMSIS/Include/core_cm4.h **** }
- 1804:Drivers/CMSIS/Include/core_cm4.h **** }
- 549 .loc 1 1804 1
- 550 0032 1846 mov r0, r3
- 551 0034 0C37 adds r7, r7, #12
- 552 .LCFI43:
- 553 .cfi_def_cfa_offset 4
- 554 0036 BD46 mov sp, r7
- 555 .LCFI44:
- 556 .cfi_def_cfa_register 13
- 557 @ sp needed
- 558 0038 5DF8047B ldr r7, [sp], #4
- 559 .LCFI45:
- 560 .cfi_restore 7
- 561 .cfi_def_cfa_offset 0
- 562 003c 7047 bx lr
- 563 .L37:
- 564 003e 00BF .align 2
- 565 .L36:
- 566 0040 00E100E0 .word -536813312
- 567 .cfi_endproc
- 568 .LFE110:
- 570 .section .text.__NVIC_SetPriority,"ax",%progbits
- 571 .align 1
- 572 .syntax unified
- 573 .thumb
- 574 .thumb_func
- 576 __NVIC_SetPriority:
- 577 .LFB111:
- 1805:Drivers/CMSIS/Include/core_cm4.h ****
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 58
- 1806:Drivers/CMSIS/Include/core_cm4.h ****
- 1807:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1808:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Interrupt Priority
- 1809:Drivers/CMSIS/Include/core_cm4.h **** \details Sets the priority of a device specific interrupt or a processor exception.
- 1810:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
- 1811:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
- 1812:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number.
- 1813:Drivers/CMSIS/Include/core_cm4.h **** \param [in] priority Priority to set.
- 1814:Drivers/CMSIS/Include/core_cm4.h **** \note The priority cannot be set for every processor exception.
- 1815:Drivers/CMSIS/Include/core_cm4.h **** */
- 1816:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
- 1817:Drivers/CMSIS/Include/core_cm4.h **** {
- 578 .loc 1 1817 1
- 579 .cfi_startproc
- 580 @ args = 0, pretend = 0, frame = 8
- 581 @ frame_needed = 1, uses_anonymous_args = 0
- 582 @ link register save eliminated.
- 583 0000 80B4 push {r7}
- 584 .LCFI46:
- 585 .cfi_def_cfa_offset 4
- 586 .cfi_offset 7, -4
- 587 0002 83B0 sub sp, sp, #12
- 588 .LCFI47:
- 589 .cfi_def_cfa_offset 16
- 590 0004 00AF add r7, sp, #0
- 591 .LCFI48:
- 592 .cfi_def_cfa_register 7
- 593 0006 0346 mov r3, r0
- 594 0008 3960 str r1, [r7]
- 595 000a FB71 strb r3, [r7, #7]
- 1818:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
- 596 .loc 1 1818 6
- 597 000c 97F90730 ldrsb r3, [r7, #7]
- 598 0010 002B cmp r3, #0
- 599 0012 0ADB blt .L39
- 1819:Drivers/CMSIS/Include/core_cm4.h **** {
- 1820:Drivers/CMSIS/Include/core_cm4.h **** NVIC->IP[((uint32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (u
- 600 .loc 1 1820 48
- 601 0014 3B68 ldr r3, [r7]
- 602 0016 DAB2 uxtb r2, r3
- 603 .loc 1 1820 9
- 604 0018 0C49 ldr r1, .L42
- 605 .loc 1 1820 15
- 606 001a 97F90730 ldrsb r3, [r7, #7]
- 607 .loc 1 1820 48
- 608 001e 1201 lsls r2, r2, #4
- 609 0020 D2B2 uxtb r2, r2
- 610 .loc 1 1820 46
- 611 0022 0B44 add r3, r3, r1
- 612 0024 83F80023 strb r2, [r3, #768]
- 1821:Drivers/CMSIS/Include/core_cm4.h **** }
- 1822:Drivers/CMSIS/Include/core_cm4.h **** else
- 1823:Drivers/CMSIS/Include/core_cm4.h **** {
- 1824:Drivers/CMSIS/Include/core_cm4.h **** SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (u
- 1825:Drivers/CMSIS/Include/core_cm4.h **** }
- 1826:Drivers/CMSIS/Include/core_cm4.h **** }
- 613 .loc 1 1826 1
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 59
- 614 0028 0AE0 b .L41
- 615 .L39:
- 1824:Drivers/CMSIS/Include/core_cm4.h **** }
- 616 .loc 1 1824 48
- 617 002a 3B68 ldr r3, [r7]
- 618 002c DAB2 uxtb r2, r3
- 1824:Drivers/CMSIS/Include/core_cm4.h **** }
- 619 .loc 1 1824 8
- 620 002e 0849 ldr r1, .L42+4
- 1824:Drivers/CMSIS/Include/core_cm4.h **** }
- 621 .loc 1 1824 32
- 622 0030 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
- 623 0032 03F00F03 and r3, r3, #15
- 1824:Drivers/CMSIS/Include/core_cm4.h **** }
- 624 .loc 1 1824 40
- 625 0036 043B subs r3, r3, #4
- 1824:Drivers/CMSIS/Include/core_cm4.h **** }
- 626 .loc 1 1824 48
- 627 0038 1201 lsls r2, r2, #4
- 628 003a D2B2 uxtb r2, r2
- 1824:Drivers/CMSIS/Include/core_cm4.h **** }
- 629 .loc 1 1824 46
- 630 003c 0B44 add r3, r3, r1
- 631 003e 1A76 strb r2, [r3, #24]
- 632 .L41:
- 633 .loc 1 1826 1
- 634 0040 00BF nop
- 635 0042 0C37 adds r7, r7, #12
- 636 .LCFI49:
- 637 .cfi_def_cfa_offset 4
- 638 0044 BD46 mov sp, r7
- 639 .LCFI50:
- 640 .cfi_def_cfa_register 13
- 641 @ sp needed
- 642 0046 5DF8047B ldr r7, [sp], #4
- 643 .LCFI51:
- 644 .cfi_restore 7
- 645 .cfi_def_cfa_offset 0
- 646 004a 7047 bx lr
- 647 .L43:
- 648 .align 2
- 649 .L42:
- 650 004c 00E100E0 .word -536813312
- 651 0050 00ED00E0 .word -536810240
- 652 .cfi_endproc
- 653 .LFE111:
- 655 .section .text.__NVIC_GetPriority,"ax",%progbits
- 656 .align 1
- 657 .syntax unified
- 658 .thumb
- 659 .thumb_func
- 661 __NVIC_GetPriority:
- 662 .LFB112:
- 1827:Drivers/CMSIS/Include/core_cm4.h ****
- 1828:Drivers/CMSIS/Include/core_cm4.h ****
- 1829:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1830:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Interrupt Priority
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 60
- 1831:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the priority of a device specific interrupt or a processor exception.
- 1832:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
- 1833:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
- 1834:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number.
- 1835:Drivers/CMSIS/Include/core_cm4.h **** \return Interrupt Priority.
- 1836:Drivers/CMSIS/Include/core_cm4.h **** Value is aligned automatically to the implemented priority bits of the microc
- 1837:Drivers/CMSIS/Include/core_cm4.h **** */
- 1838:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetPriority(IRQn_Type IRQn)
- 1839:Drivers/CMSIS/Include/core_cm4.h **** {
- 663 .loc 1 1839 1
- 664 .cfi_startproc
- 665 @ args = 0, pretend = 0, frame = 8
- 666 @ frame_needed = 1, uses_anonymous_args = 0
- 667 @ link register save eliminated.
- 668 0000 80B4 push {r7}
- 669 .LCFI52:
- 670 .cfi_def_cfa_offset 4
- 671 .cfi_offset 7, -4
- 672 0002 83B0 sub sp, sp, #12
- 673 .LCFI53:
- 674 .cfi_def_cfa_offset 16
- 675 0004 00AF add r7, sp, #0
- 676 .LCFI54:
- 677 .cfi_def_cfa_register 7
- 678 0006 0346 mov r3, r0
- 679 0008 FB71 strb r3, [r7, #7]
- 1840:Drivers/CMSIS/Include/core_cm4.h ****
- 1841:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
- 680 .loc 1 1841 6
- 681 000a 97F90730 ldrsb r3, [r7, #7]
- 682 000e 002B cmp r3, #0
- 683 0010 09DB blt .L45
- 1842:Drivers/CMSIS/Include/core_cm4.h **** {
- 1843:Drivers/CMSIS/Include/core_cm4.h **** return(((uint32_t)NVIC->IP[((uint32_t)IRQn)] >> (8U - __NVIC_PRIO_BITS)));
- 684 .loc 1 1843 27
- 685 0012 0D4A ldr r2, .L47
- 686 .loc 1 1843 33
- 687 0014 97F90730 ldrsb r3, [r7, #7]
- 688 .loc 1 1843 31
- 689 0018 1344 add r3, r3, r2
- 690 001a 93F80033 ldrb r3, [r3, #768]
- 691 001e DBB2 uxtb r3, r3
- 692 .loc 1 1843 64
- 693 0020 1B09 lsrs r3, r3, #4
- 694 0022 DBB2 uxtb r3, r3
- 695 0024 09E0 b .L46
- 696 .L45:
- 1844:Drivers/CMSIS/Include/core_cm4.h **** }
- 1845:Drivers/CMSIS/Include/core_cm4.h **** else
- 1846:Drivers/CMSIS/Include/core_cm4.h **** {
- 1847:Drivers/CMSIS/Include/core_cm4.h **** return(((uint32_t)SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] >> (8U - __NVIC_PRIO_BITS)));
- 697 .loc 1 1847 26
- 698 0026 094A ldr r2, .L47+4
- 699 .loc 1 1847 50
- 700 0028 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
- 701 002a 03F00F03 and r3, r3, #15
- 702 .loc 1 1847 58
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 61
- 703 002e 043B subs r3, r3, #4
- 704 .loc 1 1847 31
- 705 0030 1344 add r3, r3, r2
- 706 0032 1B7E ldrb r3, [r3, #24]
- 707 0034 DBB2 uxtb r3, r3
- 708 .loc 1 1847 64
- 709 0036 1B09 lsrs r3, r3, #4
- 710 0038 DBB2 uxtb r3, r3
- 711 .L46:
- 1848:Drivers/CMSIS/Include/core_cm4.h **** }
- 1849:Drivers/CMSIS/Include/core_cm4.h **** }
- 712 .loc 1 1849 1
- 713 003a 1846 mov r0, r3
- 714 003c 0C37 adds r7, r7, #12
- 715 .LCFI55:
- 716 .cfi_def_cfa_offset 4
- 717 003e BD46 mov sp, r7
- 718 .LCFI56:
- 719 .cfi_def_cfa_register 13
- 720 @ sp needed
- 721 0040 5DF8047B ldr r7, [sp], #4
- 722 .LCFI57:
- 723 .cfi_restore 7
- 724 .cfi_def_cfa_offset 0
- 725 0044 7047 bx lr
- 726 .L48:
- 727 0046 00BF .align 2
- 728 .L47:
- 729 0048 00E100E0 .word -536813312
- 730 004c 00ED00E0 .word -536810240
- 731 .cfi_endproc
- 732 .LFE112:
- 734 .section .text.NVIC_EncodePriority,"ax",%progbits
- 735 .align 1
- 736 .syntax unified
- 737 .thumb
- 738 .thumb_func
- 740 NVIC_EncodePriority:
- 741 .LFB113:
- 1850:Drivers/CMSIS/Include/core_cm4.h ****
- 1851:Drivers/CMSIS/Include/core_cm4.h ****
- 1852:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1853:Drivers/CMSIS/Include/core_cm4.h **** \brief Encode Priority
- 1854:Drivers/CMSIS/Include/core_cm4.h **** \details Encodes the priority for an interrupt with the given priority group,
- 1855:Drivers/CMSIS/Include/core_cm4.h **** preemptive priority value, and subpriority value.
- 1856:Drivers/CMSIS/Include/core_cm4.h **** In case of a conflict between priority grouping and available
- 1857:Drivers/CMSIS/Include/core_cm4.h **** priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
- 1858:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PriorityGroup Used priority group.
- 1859:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PreemptPriority Preemptive priority value (starting from 0).
- 1860:Drivers/CMSIS/Include/core_cm4.h **** \param [in] SubPriority Subpriority value (starting from 0).
- 1861:Drivers/CMSIS/Include/core_cm4.h **** \return Encoded priority. Value can be used in the function \ref NVIC_SetP
- 1862:Drivers/CMSIS/Include/core_cm4.h **** */
- 1863:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uin
- 1864:Drivers/CMSIS/Include/core_cm4.h **** {
- 742 .loc 1 1864 1
- 743 .cfi_startproc
- 744 @ args = 0, pretend = 0, frame = 32
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 62
- 745 @ frame_needed = 1, uses_anonymous_args = 0
- 746 @ link register save eliminated.
- 747 0000 80B4 push {r7}
- 748 .LCFI58:
- 749 .cfi_def_cfa_offset 4
- 750 .cfi_offset 7, -4
- 751 0002 89B0 sub sp, sp, #36
- 752 .LCFI59:
- 753 .cfi_def_cfa_offset 40
- 754 0004 00AF add r7, sp, #0
- 755 .LCFI60:
- 756 .cfi_def_cfa_register 7
- 757 0006 F860 str r0, [r7, #12]
- 758 0008 B960 str r1, [r7, #8]
- 759 000a 7A60 str r2, [r7, #4]
- 1865:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used
- 760 .loc 1 1865 12
- 761 000c FB68 ldr r3, [r7, #12]
- 762 000e 03F00703 and r3, r3, #7
- 763 0012 FB61 str r3, [r7, #28]
- 1866:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PreemptPriorityBits;
- 1867:Drivers/CMSIS/Include/core_cm4.h **** uint32_t SubPriorityBits;
- 1868:Drivers/CMSIS/Include/core_cm4.h ****
- 1869:Drivers/CMSIS/Include/core_cm4.h **** PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NV
- 764 .loc 1 1869 31
- 765 0014 FB69 ldr r3, [r7, #28]
- 766 0016 C3F10703 rsb r3, r3, #7
- 767 .loc 1 1869 23
- 768 001a 042B cmp r3, #4
- 769 001c 28BF it cs
- 770 001e 0423 movcs r3, #4
- 771 0020 BB61 str r3, [r7, #24]
- 1870:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
- 772 .loc 1 1870 44
- 773 0022 FB69 ldr r3, [r7, #28]
- 774 0024 0433 adds r3, r3, #4
- 775 .loc 1 1870 109
- 776 0026 062B cmp r3, #6
- 777 0028 02D9 bls .L50
- 778 .loc 1 1870 109 is_stmt 0 discriminator 1
- 779 002a FB69 ldr r3, [r7, #28]
- 780 002c 033B subs r3, r3, #3
- 781 002e 00E0 b .L51
- 782 .L50:
- 783 .loc 1 1870 109 discriminator 2
- 784 0030 0023 movs r3, #0
- 785 .L51:
- 786 .loc 1 1870 23 is_stmt 1 discriminator 4
- 787 0032 7B61 str r3, [r7, #20]
- 1871:Drivers/CMSIS/Include/core_cm4.h ****
- 1872:Drivers/CMSIS/Include/core_cm4.h **** return (
- 1873:Drivers/CMSIS/Include/core_cm4.h **** ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits
- 788 .loc 1 1873 30 discriminator 4
- 789 0034 4FF0FF32 mov r2, #-1
- 790 0038 BB69 ldr r3, [r7, #24]
- 791 003a 02FA03F3 lsl r3, r2, r3
- 792 003e DA43 mvns r2, r3
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 63
- 793 0040 BB68 ldr r3, [r7, #8]
- 794 0042 1A40 ands r2, r2, r3
- 795 .loc 1 1873 82 discriminator 4
- 796 0044 7B69 ldr r3, [r7, #20]
- 797 0046 9A40 lsls r2, r2, r3
- 1874:Drivers/CMSIS/Include/core_cm4.h **** ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
- 798 .loc 1 1874 30 discriminator 4
- 799 0048 4FF0FF31 mov r1, #-1
- 800 004c 7B69 ldr r3, [r7, #20]
- 801 004e 01FA03F3 lsl r3, r1, r3
- 802 0052 D943 mvns r1, r3
- 803 0054 7B68 ldr r3, [r7, #4]
- 804 0056 0B40 ands r3, r3, r1
- 1873:Drivers/CMSIS/Include/core_cm4.h **** ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
- 805 .loc 1 1873 102 discriminator 4
- 806 0058 1343 orrs r3, r3, r2
- 1875:Drivers/CMSIS/Include/core_cm4.h **** );
- 1876:Drivers/CMSIS/Include/core_cm4.h **** }
- 807 .loc 1 1876 1 discriminator 4
- 808 005a 1846 mov r0, r3
- 809 005c 2437 adds r7, r7, #36
- 810 .LCFI61:
- 811 .cfi_def_cfa_offset 4
- 812 005e BD46 mov sp, r7
- 813 .LCFI62:
- 814 .cfi_def_cfa_register 13
- 815 @ sp needed
- 816 0060 5DF8047B ldr r7, [sp], #4
- 817 .LCFI63:
- 818 .cfi_restore 7
- 819 .cfi_def_cfa_offset 0
- 820 0064 7047 bx lr
- 821 .cfi_endproc
- 822 .LFE113:
- 824 .section .text.NVIC_DecodePriority,"ax",%progbits
- 825 .align 1
- 826 .syntax unified
- 827 .thumb
- 828 .thumb_func
- 830 NVIC_DecodePriority:
- 831 .LFB114:
- 1877:Drivers/CMSIS/Include/core_cm4.h ****
- 1878:Drivers/CMSIS/Include/core_cm4.h ****
- 1879:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1880:Drivers/CMSIS/Include/core_cm4.h **** \brief Decode Priority
- 1881:Drivers/CMSIS/Include/core_cm4.h **** \details Decodes an interrupt priority value with a given priority group to
- 1882:Drivers/CMSIS/Include/core_cm4.h **** preemptive priority value and subpriority value.
- 1883:Drivers/CMSIS/Include/core_cm4.h **** In case of a conflict between priority grouping and available
- 1884:Drivers/CMSIS/Include/core_cm4.h **** priority bits (__NVIC_PRIO_BITS) the smallest possible priority group is set.
- 1885:Drivers/CMSIS/Include/core_cm4.h **** \param [in] Priority Priority value, which can be retrieved with the function \ref NVIC
- 1886:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PriorityGroup Used priority group.
- 1887:Drivers/CMSIS/Include/core_cm4.h **** \param [out] pPreemptPriority Preemptive priority value (starting from 0).
- 1888:Drivers/CMSIS/Include/core_cm4.h **** \param [out] pSubPriority Subpriority value (starting from 0).
- 1889:Drivers/CMSIS/Include/core_cm4.h **** */
- 1890:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* cons
- 1891:Drivers/CMSIS/Include/core_cm4.h **** {
- 832 .loc 1 1891 1
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 64
- 833 .cfi_startproc
- 834 @ args = 0, pretend = 0, frame = 32
- 835 @ frame_needed = 1, uses_anonymous_args = 0
- 836 @ link register save eliminated.
- 837 0000 80B4 push {r7}
- 838 .LCFI64:
- 839 .cfi_def_cfa_offset 4
- 840 .cfi_offset 7, -4
- 841 0002 89B0 sub sp, sp, #36
- 842 .LCFI65:
- 843 .cfi_def_cfa_offset 40
- 844 0004 00AF add r7, sp, #0
- 845 .LCFI66:
- 846 .cfi_def_cfa_register 7
- 847 0006 F860 str r0, [r7, #12]
- 848 0008 B960 str r1, [r7, #8]
- 849 000a 7A60 str r2, [r7, #4]
- 850 000c 3B60 str r3, [r7]
- 1892:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used
- 851 .loc 1 1892 12
- 852 000e BB68 ldr r3, [r7, #8]
- 853 0010 03F00703 and r3, r3, #7
- 854 0014 FB61 str r3, [r7, #28]
- 1893:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PreemptPriorityBits;
- 1894:Drivers/CMSIS/Include/core_cm4.h **** uint32_t SubPriorityBits;
- 1895:Drivers/CMSIS/Include/core_cm4.h ****
- 1896:Drivers/CMSIS/Include/core_cm4.h **** PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NV
- 855 .loc 1 1896 31
- 856 0016 FB69 ldr r3, [r7, #28]
- 857 0018 C3F10703 rsb r3, r3, #7
- 858 .loc 1 1896 23
- 859 001c 042B cmp r3, #4
- 860 001e 28BF it cs
- 861 0020 0423 movcs r3, #4
- 862 0022 BB61 str r3, [r7, #24]
- 1897:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
- 863 .loc 1 1897 44
- 864 0024 FB69 ldr r3, [r7, #28]
- 865 0026 0433 adds r3, r3, #4
- 866 .loc 1 1897 109
- 867 0028 062B cmp r3, #6
- 868 002a 02D9 bls .L54
- 869 .loc 1 1897 109 is_stmt 0 discriminator 1
- 870 002c FB69 ldr r3, [r7, #28]
- 871 002e 033B subs r3, r3, #3
- 872 0030 00E0 b .L55
- 873 .L54:
- 874 .loc 1 1897 109 discriminator 2
- 875 0032 0023 movs r3, #0
- 876 .L55:
- 877 .loc 1 1897 23 is_stmt 1 discriminator 4
- 878 0034 7B61 str r3, [r7, #20]
- 1898:Drivers/CMSIS/Include/core_cm4.h ****
- 1899:Drivers/CMSIS/Include/core_cm4.h **** *pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1
- 879 .loc 1 1899 33 discriminator 4
- 880 0036 FA68 ldr r2, [r7, #12]
- 881 0038 7B69 ldr r3, [r7, #20]
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 65
- 882 003a DA40 lsrs r2, r2, r3
- 883 .loc 1 1899 53 discriminator 4
- 884 003c 4FF0FF31 mov r1, #-1
- 885 0040 BB69 ldr r3, [r7, #24]
- 886 0042 01FA03F3 lsl r3, r1, r3
- 887 0046 DB43 mvns r3, r3
- 888 0048 1A40 ands r2, r2, r3
- 889 .loc 1 1899 21 discriminator 4
- 890 004a 7B68 ldr r3, [r7, #4]
- 891 004c 1A60 str r2, [r3]
- 1900:Drivers/CMSIS/Include/core_cm4.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
- 892 .loc 1 1900 53 discriminator 4
- 893 004e 4FF0FF32 mov r2, #-1
- 894 0052 7B69 ldr r3, [r7, #20]
- 895 0054 02FA03F3 lsl r3, r2, r3
- 896 0058 DA43 mvns r2, r3
- 897 005a FB68 ldr r3, [r7, #12]
- 898 005c 1A40 ands r2, r2, r3
- 899 .loc 1 1900 21 discriminator 4
- 900 005e 3B68 ldr r3, [r7]
- 901 0060 1A60 str r2, [r3]
- 1901:Drivers/CMSIS/Include/core_cm4.h **** }
- 902 .loc 1 1901 1 discriminator 4
- 903 0062 00BF nop
- 904 0064 2437 adds r7, r7, #36
- 905 .LCFI67:
- 906 .cfi_def_cfa_offset 4
- 907 0066 BD46 mov sp, r7
- 908 .LCFI68:
- 909 .cfi_def_cfa_register 13
- 910 @ sp needed
- 911 0068 5DF8047B ldr r7, [sp], #4
- 912 .LCFI69:
- 913 .cfi_restore 7
- 914 .cfi_def_cfa_offset 0
- 915 006c 7047 bx lr
- 916 .cfi_endproc
- 917 .LFE114:
- 919 .section .text.__NVIC_SystemReset,"ax",%progbits
- 920 .align 1
- 921 .syntax unified
- 922 .thumb
- 923 .thumb_func
- 925 __NVIC_SystemReset:
- 926 .LFB117:
- 1902:Drivers/CMSIS/Include/core_cm4.h ****
- 1903:Drivers/CMSIS/Include/core_cm4.h ****
- 1904:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1905:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Interrupt Vector
- 1906:Drivers/CMSIS/Include/core_cm4.h **** \details Sets an interrupt vector in SRAM based interrupt vector table.
- 1907:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
- 1908:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
- 1909:Drivers/CMSIS/Include/core_cm4.h **** VTOR must been relocated to SRAM before.
- 1910:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number
- 1911:Drivers/CMSIS/Include/core_cm4.h **** \param [in] vector Address of interrupt handler function
- 1912:Drivers/CMSIS/Include/core_cm4.h **** */
- 1913:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector)
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 66
- 1914:Drivers/CMSIS/Include/core_cm4.h **** {
- 1915:Drivers/CMSIS/Include/core_cm4.h **** uint32_t *vectors = (uint32_t *)SCB->VTOR;
- 1916:Drivers/CMSIS/Include/core_cm4.h **** vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET] = vector;
- 1917:Drivers/CMSIS/Include/core_cm4.h **** }
- 1918:Drivers/CMSIS/Include/core_cm4.h ****
- 1919:Drivers/CMSIS/Include/core_cm4.h ****
- 1920:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1921:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Interrupt Vector
- 1922:Drivers/CMSIS/Include/core_cm4.h **** \details Reads an interrupt vector from interrupt vector table.
- 1923:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
- 1924:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
- 1925:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number.
- 1926:Drivers/CMSIS/Include/core_cm4.h **** \return Address of interrupt handler function
- 1927:Drivers/CMSIS/Include/core_cm4.h **** */
- 1928:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetVector(IRQn_Type IRQn)
- 1929:Drivers/CMSIS/Include/core_cm4.h **** {
- 1930:Drivers/CMSIS/Include/core_cm4.h **** uint32_t *vectors = (uint32_t *)SCB->VTOR;
- 1931:Drivers/CMSIS/Include/core_cm4.h **** return vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET];
- 1932:Drivers/CMSIS/Include/core_cm4.h **** }
- 1933:Drivers/CMSIS/Include/core_cm4.h ****
- 1934:Drivers/CMSIS/Include/core_cm4.h ****
- 1935:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1936:Drivers/CMSIS/Include/core_cm4.h **** \brief System Reset
- 1937:Drivers/CMSIS/Include/core_cm4.h **** \details Initiates a system reset request to reset the MCU.
- 1938:Drivers/CMSIS/Include/core_cm4.h **** */
- 1939:Drivers/CMSIS/Include/core_cm4.h **** __NO_RETURN __STATIC_INLINE void __NVIC_SystemReset(void)
- 1940:Drivers/CMSIS/Include/core_cm4.h **** {
- 927 .loc 1 1940 1
- 928 .cfi_startproc
- 929 @ args = 0, pretend = 0, frame = 0
- 930 @ frame_needed = 1, uses_anonymous_args = 0
- 931 @ link register save eliminated.
- 932 0000 80B4 push {r7}
- 933 .LCFI70:
- 934 .cfi_def_cfa_offset 4
- 935 .cfi_offset 7, -4
- 936 0002 00AF add r7, sp, #0
- 937 .LCFI71:
- 938 .cfi_def_cfa_register 7
- 939 .LBB14:
- 940 .LBB15:
- 879:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 941 .loc 2 879 3
- 942 .syntax unified
- 943 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 944 0004 BFF34F8F dsb 0xF
- 945 @ 0 "" 2
- 946 .loc 2 880 1
- 947 .thumb
- 948 .syntax unified
- 949 0008 00BF nop
- 950 .LBE15:
- 951 .LBE14:
- 1941:Drivers/CMSIS/Include/core_cm4.h **** __DSB(); /* Ensure all outstanding memor
- 1942:Drivers/CMSIS/Include/core_cm4.h **** buffered write are completed
- 1943:Drivers/CMSIS/Include/core_cm4.h **** SCB->AIRCR = (uint32_t)((0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
- 1944:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 67
- 952 .loc 1 1944 32
- 953 000a 064B ldr r3, .L58
- 954 000c DB68 ldr r3, [r3, #12]
- 955 .loc 1 1944 40
- 956 000e 03F4E062 and r2, r3, #1792
- 1943:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
- 957 .loc 1 1943 6
- 958 0012 0449 ldr r1, .L58
- 1943:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
- 959 .loc 1 1943 17
- 960 0014 044B ldr r3, .L58+4
- 961 0016 1343 orrs r3, r3, r2
- 1943:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
- 962 .loc 1 1943 15
- 963 0018 CB60 str r3, [r1, #12]
- 964 .LBB16:
- 965 .LBB17:
- 879:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 966 .loc 2 879 3
- 967 .syntax unified
- 968 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 969 001a BFF34F8F dsb 0xF
- 970 @ 0 "" 2
- 971 .loc 2 880 1
- 972 .thumb
- 973 .syntax unified
- 974 001e 00BF nop
- 975 .L57:
- 976 .LBE17:
- 977 .LBE16:
- 1945:Drivers/CMSIS/Include/core_cm4.h **** SCB_AIRCR_SYSRESETREQ_Msk ); /* Keep priority group unchange
- 1946:Drivers/CMSIS/Include/core_cm4.h **** __DSB(); /* Ensure completion of memory
- 1947:Drivers/CMSIS/Include/core_cm4.h ****
- 1948:Drivers/CMSIS/Include/core_cm4.h **** for(;;) /* wait until reset */
- 1949:Drivers/CMSIS/Include/core_cm4.h **** {
- 1950:Drivers/CMSIS/Include/core_cm4.h **** __NOP();
- 978 .loc 1 1950 5 discriminator 1
- 979 .syntax unified
- 980 @ 1950 "Drivers/CMSIS/Include/core_cm4.h" 1
- 981 0020 00BF nop
- 982 @ 0 "" 2
- 983 .thumb
- 984 .syntax unified
- 985 0022 FDE7 b .L57
- 986 .L59:
- 987 .align 2
- 988 .L58:
- 989 0024 00ED00E0 .word -536810240
- 990 0028 0400FA05 .word 100270084
- 991 .cfi_endproc
- 992 .LFE117:
- 994 .section .text.SysTick_Config,"ax",%progbits
- 995 .align 1
- 996 .syntax unified
- 997 .thumb
- 998 .thumb_func
- 1000 SysTick_Config:
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 68
- 1001 .LFB126:
- 1951:Drivers/CMSIS/Include/core_cm4.h **** }
- 1952:Drivers/CMSIS/Include/core_cm4.h **** }
- 1953:Drivers/CMSIS/Include/core_cm4.h ****
- 1954:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of CMSIS_Core_NVICFunctions */
- 1955:Drivers/CMSIS/Include/core_cm4.h ****
- 1956:Drivers/CMSIS/Include/core_cm4.h **** /* ########################## MPU functions #################################### */
- 1957:Drivers/CMSIS/Include/core_cm4.h ****
- 1958:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
- 1959:Drivers/CMSIS/Include/core_cm4.h ****
- 1960:Drivers/CMSIS/Include/core_cm4.h **** #include "mpu_armv7.h"
- 1961:Drivers/CMSIS/Include/core_cm4.h ****
- 1962:Drivers/CMSIS/Include/core_cm4.h **** #endif
- 1963:Drivers/CMSIS/Include/core_cm4.h ****
- 1964:Drivers/CMSIS/Include/core_cm4.h ****
- 1965:Drivers/CMSIS/Include/core_cm4.h **** /* ########################## FPU functions #################################### */
- 1966:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1967:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_Core_FunctionInterface
- 1968:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_FpuFunctions FPU Functions
- 1969:Drivers/CMSIS/Include/core_cm4.h **** \brief Function that provides FPU type.
- 1970:Drivers/CMSIS/Include/core_cm4.h **** @{
- 1971:Drivers/CMSIS/Include/core_cm4.h **** */
- 1972:Drivers/CMSIS/Include/core_cm4.h ****
- 1973:Drivers/CMSIS/Include/core_cm4.h **** /**
- 1974:Drivers/CMSIS/Include/core_cm4.h **** \brief get FPU type
- 1975:Drivers/CMSIS/Include/core_cm4.h **** \details returns the FPU type
- 1976:Drivers/CMSIS/Include/core_cm4.h **** \returns
- 1977:Drivers/CMSIS/Include/core_cm4.h **** - \b 0: No FPU
- 1978:Drivers/CMSIS/Include/core_cm4.h **** - \b 1: Single precision FPU
- 1979:Drivers/CMSIS/Include/core_cm4.h **** - \b 2: Double + Single precision FPU
- 1980:Drivers/CMSIS/Include/core_cm4.h **** */
- 1981:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t SCB_GetFPUType(void)
- 1982:Drivers/CMSIS/Include/core_cm4.h **** {
- 1983:Drivers/CMSIS/Include/core_cm4.h **** uint32_t mvfr0;
- 1984:Drivers/CMSIS/Include/core_cm4.h ****
- 1985:Drivers/CMSIS/Include/core_cm4.h **** mvfr0 = FPU->MVFR0;
- 1986:Drivers/CMSIS/Include/core_cm4.h **** if ((mvfr0 & (FPU_MVFR0_Single_precision_Msk | FPU_MVFR0_Double_precision_Msk)) == 0x020U)
- 1987:Drivers/CMSIS/Include/core_cm4.h **** {
- 1988:Drivers/CMSIS/Include/core_cm4.h **** return 1U; /* Single precision FPU */
- 1989:Drivers/CMSIS/Include/core_cm4.h **** }
- 1990:Drivers/CMSIS/Include/core_cm4.h **** else
- 1991:Drivers/CMSIS/Include/core_cm4.h **** {
- 1992:Drivers/CMSIS/Include/core_cm4.h **** return 0U; /* No FPU */
- 1993:Drivers/CMSIS/Include/core_cm4.h **** }
- 1994:Drivers/CMSIS/Include/core_cm4.h **** }
- 1995:Drivers/CMSIS/Include/core_cm4.h ****
- 1996:Drivers/CMSIS/Include/core_cm4.h ****
- 1997:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of CMSIS_Core_FpuFunctions */
- 1998:Drivers/CMSIS/Include/core_cm4.h ****
- 1999:Drivers/CMSIS/Include/core_cm4.h ****
- 2000:Drivers/CMSIS/Include/core_cm4.h ****
- 2001:Drivers/CMSIS/Include/core_cm4.h **** /* ################################## SysTick function ########################################
- 2002:Drivers/CMSIS/Include/core_cm4.h **** /**
- 2003:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_Core_FunctionInterface
- 2004:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_SysTickFunctions SysTick Functions
- 2005:Drivers/CMSIS/Include/core_cm4.h **** \brief Functions that configure the System.
- 2006:Drivers/CMSIS/Include/core_cm4.h **** @{
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 69
- 2007:Drivers/CMSIS/Include/core_cm4.h **** */
- 2008:Drivers/CMSIS/Include/core_cm4.h ****
- 2009:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__Vendor_SysTickConfig) && (__Vendor_SysTickConfig == 0U)
- 2010:Drivers/CMSIS/Include/core_cm4.h ****
- 2011:Drivers/CMSIS/Include/core_cm4.h **** /**
- 2012:Drivers/CMSIS/Include/core_cm4.h **** \brief System Tick Configuration
- 2013:Drivers/CMSIS/Include/core_cm4.h **** \details Initializes the System Timer and its interrupt, and starts the System Tick Timer.
- 2014:Drivers/CMSIS/Include/core_cm4.h **** Counter is in free running mode to generate periodic interrupts.
- 2015:Drivers/CMSIS/Include/core_cm4.h **** \param [in] ticks Number of ticks between two interrupts.
- 2016:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Function succeeded.
- 2017:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Function failed.
- 2018:Drivers/CMSIS/Include/core_cm4.h **** \note When the variable <b>__Vendor_SysTickConfig</b> is set to 1, then the
- 2019:Drivers/CMSIS/Include/core_cm4.h **** function <b>SysTick_Config</b> is not included. In this case, the file <b><i>device</i>.
- 2020:Drivers/CMSIS/Include/core_cm4.h **** must contain a vendor-specific implementation of this function.
- 2021:Drivers/CMSIS/Include/core_cm4.h **** */
- 2022:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
- 2023:Drivers/CMSIS/Include/core_cm4.h **** {
- 1002 .loc 1 2023 1
- 1003 .cfi_startproc
- 1004 @ args = 0, pretend = 0, frame = 8
- 1005 @ frame_needed = 1, uses_anonymous_args = 0
- 1006 0000 80B5 push {r7, lr}
- 1007 .LCFI72:
- 1008 .cfi_def_cfa_offset 8
- 1009 .cfi_offset 7, -8
- 1010 .cfi_offset 14, -4
- 1011 0002 82B0 sub sp, sp, #8
- 1012 .LCFI73:
- 1013 .cfi_def_cfa_offset 16
- 1014 0004 00AF add r7, sp, #0
- 1015 .LCFI74:
- 1016 .cfi_def_cfa_register 7
- 1017 0006 7860 str r0, [r7, #4]
- 2024:Drivers/CMSIS/Include/core_cm4.h **** if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk)
- 1018 .loc 1 2024 14
- 1019 0008 7B68 ldr r3, [r7, #4]
- 1020 000a 013B subs r3, r3, #1
- 1021 .loc 1 2024 6
- 1022 000c B3F1807F cmp r3, #16777216
- 1023 0010 01D3 bcc .L61
- 2025:Drivers/CMSIS/Include/core_cm4.h **** {
- 2026:Drivers/CMSIS/Include/core_cm4.h **** return (1UL); /* Reload value impossible */
- 1024 .loc 1 2026 12
- 1025 0012 0123 movs r3, #1
- 1026 0014 0FE0 b .L62
- 1027 .L61:
- 2027:Drivers/CMSIS/Include/core_cm4.h **** }
- 2028:Drivers/CMSIS/Include/core_cm4.h ****
- 2029:Drivers/CMSIS/Include/core_cm4.h **** SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
- 1028 .loc 1 2029 10
- 1029 0016 0A4A ldr r2, .L63
- 1030 .loc 1 2029 20
- 1031 0018 7B68 ldr r3, [r7, #4]
- 1032 001a 013B subs r3, r3, #1
- 1033 .loc 1 2029 18
- 1034 001c 5360 str r3, [r2, #4]
- 2030:Drivers/CMSIS/Include/core_cm4.h **** NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Int
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 70
- 1035 .loc 1 2030 3
- 1036 001e 0F21 movs r1, #15
- 1037 0020 4FF0FF30 mov r0, #-1
- 1038 0024 FFF7FEFF bl __NVIC_SetPriority
- 2031:Drivers/CMSIS/Include/core_cm4.h **** SysTick->VAL = 0UL; /* Load the SysTick Counter Val
- 1039 .loc 1 2031 10
- 1040 0028 054B ldr r3, .L63
- 1041 .loc 1 2031 18
- 1042 002a 0022 movs r2, #0
- 1043 002c 9A60 str r2, [r3, #8]
- 2032:Drivers/CMSIS/Include/core_cm4.h **** SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
- 1044 .loc 1 2032 10
- 1045 002e 044B ldr r3, .L63
- 1046 .loc 1 2032 18
- 1047 0030 0722 movs r2, #7
- 1048 0032 1A60 str r2, [r3]
- 2033:Drivers/CMSIS/Include/core_cm4.h **** SysTick_CTRL_TICKINT_Msk |
- 2034:Drivers/CMSIS/Include/core_cm4.h **** SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTi
- 2035:Drivers/CMSIS/Include/core_cm4.h **** return (0UL); /* Function successful */
- 1049 .loc 1 2035 10
- 1050 0034 0023 movs r3, #0
- 1051 .L62:
- 2036:Drivers/CMSIS/Include/core_cm4.h **** }
- 1052 .loc 1 2036 1
- 1053 0036 1846 mov r0, r3
- 1054 0038 0837 adds r7, r7, #8
- 1055 .LCFI75:
- 1056 .cfi_def_cfa_offset 8
- 1057 003a BD46 mov sp, r7
- 1058 .LCFI76:
- 1059 .cfi_def_cfa_register 13
- 1060 @ sp needed
- 1061 003c 80BD pop {r7, pc}
- 1062 .L64:
- 1063 003e 00BF .align 2
- 1064 .L63:
- 1065 0040 10E000E0 .word -536813552
- 1066 .cfi_endproc
- 1067 .LFE126:
- 1069 .section .rodata
- 1070 .align 2
- 1071 .LC0:
- 1072 0000 44726976 .ascii "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cort"
- 1072 6572732F
- 1072 53544D33
- 1072 32463378
- 1072 785F4841
- 1073 0033 65782E63 .ascii "ex.c\000"
- 1073 00
- 1074 .section .text.HAL_NVIC_SetPriorityGrouping,"ax",%progbits
- 1075 .align 1
- 1076 .global HAL_NVIC_SetPriorityGrouping
- 1077 .syntax unified
- 1078 .thumb
- 1079 .thumb_func
- 1081 HAL_NVIC_SetPriorityGrouping:
- 1082 .LFB130:
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 71
- 1083 .file 3 "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c"
- 1:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 2:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ******************************************************************************
- 3:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @file stm32f3xx_hal_cortex.c
- 4:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @author MCD Application Team
- 5:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief CORTEX HAL module driver.
- 6:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * functionalities of the CORTEX:
- 8:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * + Initialization and de-initialization functions
- 9:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * + Peripheral Control functions
- 10:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *
- 11:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @verbatim
- 12:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ==============================================================================
- 13:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ##### How to use this driver #####
- 14:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ==============================================================================
- 15:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 16:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** [..]
- 17:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *** How to configure Interrupts using CORTEX HAL driver ***
- 18:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ===========================================================
- 19:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** [..]
- 20:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** This section provides functions allowing to configure the NVIC interrupts (IRQ).
- 21:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** The Cortex-M4 exceptions are managed by CMSIS functions.
- 22:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 23:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (#) Configure the NVIC Priority Grouping using HAL_NVIC_SetPriorityGrouping() function
- 24:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 25:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (#) Configure the priority of the selected IRQ Channels using HAL_NVIC_SetPriority()
- 26:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 27:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (#) Enable the selected IRQ Channels using HAL_NVIC_EnableIRQ()
- 28:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 29:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 30:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** -@- When the NVIC_PRIORITYGROUP_0 is selected, IRQ pre-emption is no more possible.
- 31:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** The pending IRQ priority will be managed only by the sub priority.
- 32:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 33:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** -@- IRQ priority order (sorted by highest to lowest priority):
- 34:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (+@) Lowest pre-emption priority
- 35:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (+@) Lowest sub priority
- 36:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (+@) Lowest hardware priority (IRQ number)
- 37:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 38:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** [..]
- 39:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *** How to configure Systick using CORTEX HAL driver ***
- 40:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ========================================================
- 41:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** [..]
- 42:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** Setup SysTick Timer for time base
- 43:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 44:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (+) The HAL_SYSTICK_Config()function calls the SysTick_Config() function which
- 45:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** is a CMSIS function that:
- 46:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Configures the SysTick Reload register with value passed as function parameter.
- 47:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Configures the SysTick IRQ priority to the lowest value (0x0FU).
- 48:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Resets the SysTick Counter register.
- 49:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Configures the SysTick Counter clock source to be Core Clock Source (HCLK).
- 50:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Enables the SysTick Interrupt.
- 51:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Starts the SysTick Counter.
- 52:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 53:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (+) You can change the SysTick Clock source to be HCLK_Div8 by calling the macro
- 54:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** __HAL_CORTEX_SYSTICKCLK_CONFIG(SYSTICK_CLKSOURCE_HCLK_DIV8) just after the
- 55:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** HAL_SYSTICK_Config() function call. The __HAL_CORTEX_SYSTICKCLK_CONFIG() macro is defined
- 56:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** inside the stm32f3xx_hal_cortex.h file.
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 72
- 57:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 58:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (+) You can change the SysTick IRQ priority by calling the
- 59:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** HAL_NVIC_SetPriority(SysTick_IRQn,...) function just after the HAL_SYSTICK_Config() function
- 60:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** call. The HAL_NVIC_SetPriority() call the NVIC_SetPriority() function which is a CMSIS funct
- 61:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 62:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (+) To adjust the SysTick time base, use the following formula:
- 63:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 64:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** Reload Value = SysTick Counter Clock (Hz) x Desired Time base (s)
- 65:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Reload Value is the parameter to be passed for HAL_SYSTICK_Config() function
- 66:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Reload Value should not exceed 0xFFFFFF
- 67:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 68:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** @endverbatim
- 69:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ******************************************************************************
- 70:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @attention
- 71:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *
- 72:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * Copyright (c) 2016 STMicroelectronics.
- 73:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * All rights reserved.
- 74:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *
- 75:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This software is licensed under terms that can be found in the LICENSE file in
- 76:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * the root directory of this software component.
- 77:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
- 78:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *
- 79:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ******************************************************************************
- 80:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 81:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 82:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /*
- 83:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** Additional Tables: CORTEX_NVIC_Priority_Table
- 84:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** The table below gives the allowed values of the pre-emption priority and subpriority according
- 85:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** to the Priority Grouping configuration performed by HAL_NVIC_SetPriorityGrouping() function
- 86:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ============================================================================================
- 87:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_PriorityGroup | NVIC_IRQChannelPreemptionPriority | NVIC_IRQChannelSubPriority |
- 88:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ============================================================================================
- 89:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_PRIORITYGROUP_0 | 0 | 0U-15 |
- 90:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** | | | 4
- 91:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** --------------------------------------------------------------------------------------------
- 92:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_PRIORITYGROUP_1 | 0U-1 | 0U-7 |
- 93:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** | | | 3
- 94:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** --------------------------------------------------------------------------------------------
- 95:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_PRIORITYGROUP_2 | 0U-3 | 0U-3 |
- 96:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** | | | 2
- 97:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** --------------------------------------------------------------------------------------------
- 98:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_PRIORITYGROUP_3 | 0U-7 | 0U-1 |
- 99:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** | | | 1
- 100:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** --------------------------------------------------------------------------------------------
- 101:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_PRIORITYGROUP_4 | 0U-15 | 0 |
- 102:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** | | | 0
- 103:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ============================================================================================
- 104:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 105:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 106:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 107:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Includes ------------------------------------------------------------------*/
- 108:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** #include "stm32f3xx_hal.h"
- 109:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 110:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /** @addtogroup STM32F3xx_HAL_Driver
- 111:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @{
- 112:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 113:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 73
- 114:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /** @defgroup CORTEX CORTEX
- 115:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief CORTEX CORTEX HAL module driver
- 116:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @{
- 117:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 118:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 119:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** #ifdef HAL_CORTEX_MODULE_ENABLED
- 120:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 121:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Private typedef -----------------------------------------------------------*/
- 122:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Private define ------------------------------------------------------------*/
- 123:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Private macro -------------------------------------------------------------*/
- 124:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Private variables ---------------------------------------------------------*/
- 125:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Private function prototypes -----------------------------------------------*/
- 126:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Exported functions ---------------------------------------------------------*/
- 127:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 128:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions CORTEX Exported Functions
- 129:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @{
- 130:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 131:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 132:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 133:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions_Group1 Initialization and de-initialization functions
- 134:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Initialization and Configuration functions
- 135:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *
- 136:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** @verbatim
- 137:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ==============================================================================
- 138:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ##### Initialization and de-initialization functions #####
- 139:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ==============================================================================
- 140:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** [..]
- 141:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** This section provides the CORTEX HAL driver functions allowing to configure Interrupts
- 142:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** Systick functionalities
- 143:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 144:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** @endverbatim
- 145:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @{
- 146:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 147:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 148:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 149:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 150:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Sets the priority grouping field (pre-emption priority and subpriority)
- 151:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * using the required unlock sequence.
- 152:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param PriorityGroup The priority grouping bits length.
- 153:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be one of the following values:
- 154:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_0: 0 bits for pre-emption priority
- 155:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 4 bits for subpriority
- 156:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_1: 1 bits for pre-emption priority
- 157:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 3 bits for subpriority
- 158:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_2: 2 bits for pre-emption priority
- 159:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 2 bits for subpriority
- 160:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_3: 3 bits for pre-emption priority
- 161:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 1 bits for subpriority
- 162:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_4: 4 bits for pre-emption priority
- 163:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 0 bits for subpriority
- 164:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @note When the NVIC_PriorityGroup_0 is selected, IRQ pre-emption is no more possible.
- 165:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * The pending IRQ priority will be managed only by the subpriority.
- 166:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 167:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
- 169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 1084 .loc 3 169 1
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 74
- 1085 .cfi_startproc
- 1086 @ args = 0, pretend = 0, frame = 8
- 1087 @ frame_needed = 1, uses_anonymous_args = 0
- 1088 0000 80B5 push {r7, lr}
- 1089 .LCFI77:
- 1090 .cfi_def_cfa_offset 8
- 1091 .cfi_offset 7, -8
- 1092 .cfi_offset 14, -4
- 1093 0002 82B0 sub sp, sp, #8
- 1094 .LCFI78:
- 1095 .cfi_def_cfa_offset 16
- 1096 0004 00AF add r7, sp, #0
- 1097 .LCFI79:
- 1098 .cfi_def_cfa_register 7
- 1099 0006 7860 str r0, [r7, #4]
- 170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
- 171:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup));
- 1100 .loc 3 171 3
- 1101 0008 7B68 ldr r3, [r7, #4]
- 1102 000a 072B cmp r3, #7
- 1103 000c 0FD0 beq .L66
- 1104 .loc 3 171 3 is_stmt 0 discriminator 1
- 1105 000e 7B68 ldr r3, [r7, #4]
- 1106 0010 062B cmp r3, #6
- 1107 0012 0CD0 beq .L66
- 1108 .loc 3 171 3 discriminator 2
- 1109 0014 7B68 ldr r3, [r7, #4]
- 1110 0016 052B cmp r3, #5
- 1111 0018 09D0 beq .L66
- 1112 .loc 3 171 3 discriminator 3
- 1113 001a 7B68 ldr r3, [r7, #4]
- 1114 001c 042B cmp r3, #4
- 1115 001e 06D0 beq .L66
- 1116 .loc 3 171 3 discriminator 4
- 1117 0020 7B68 ldr r3, [r7, #4]
- 1118 0022 032B cmp r3, #3
- 1119 0024 03D0 beq .L66
- 1120 .loc 3 171 3 discriminator 5
- 1121 0026 AB21 movs r1, #171
- 1122 0028 0448 ldr r0, .L67
- 1123 002a FFF7FEFF bl assert_failed
- 1124 .L66:
- 172:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 173:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Set the PRIGROUP[10:8] bits according to the PriorityGroup parameter value */
- 174:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_SetPriorityGrouping(PriorityGroup);
- 1125 .loc 3 174 3 is_stmt 1
- 1126 002e 7868 ldr r0, [r7, #4]
- 1127 0030 FFF7FEFF bl __NVIC_SetPriorityGrouping
- 175:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 1128 .loc 3 175 1
- 1129 0034 00BF nop
- 1130 0036 0837 adds r7, r7, #8
- 1131 .LCFI80:
- 1132 .cfi_def_cfa_offset 8
- 1133 0038 BD46 mov sp, r7
- 1134 .LCFI81:
- 1135 .cfi_def_cfa_register 13
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 75
- 1136 @ sp needed
- 1137 003a 80BD pop {r7, pc}
- 1138 .L68:
- 1139 .align 2
- 1140 .L67:
- 1141 003c 00000000 .word .LC0
- 1142 .cfi_endproc
- 1143 .LFE130:
- 1145 .section .text.HAL_NVIC_SetPriority,"ax",%progbits
- 1146 .align 1
- 1147 .global HAL_NVIC_SetPriority
- 1148 .syntax unified
- 1149 .thumb
- 1150 .thumb_func
- 1152 HAL_NVIC_SetPriority:
- 1153 .LFB131:
- 176:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 177:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 178:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Sets the priority of an interrupt.
- 179:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
- 180:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 181:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 182:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param PreemptPriority The pre-emption priority for the IRQn channel.
- 183:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be a value between 0 and 15 as described in the table CORTEX_NVIC_Pr
- 184:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * A lower priority value indicates a higher priority
- 185:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param SubPriority the subpriority level for the IRQ channel.
- 186:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be a value between 0 and 15 as described in the table CORTEX_NVIC_Pr
- 187:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * A lower priority value indicates a higher priority.
- 188:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 189:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 190:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
- 191:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 1154 .loc 3 191 1
- 1155 .cfi_startproc
- 1156 @ args = 0, pretend = 0, frame = 24
- 1157 @ frame_needed = 1, uses_anonymous_args = 0
- 1158 0000 80B5 push {r7, lr}
- 1159 .LCFI82:
- 1160 .cfi_def_cfa_offset 8
- 1161 .cfi_offset 7, -8
- 1162 .cfi_offset 14, -4
- 1163 0002 86B0 sub sp, sp, #24
- 1164 .LCFI83:
- 1165 .cfi_def_cfa_offset 32
- 1166 0004 00AF add r7, sp, #0
- 1167 .LCFI84:
- 1168 .cfi_def_cfa_register 7
- 1169 0006 0346 mov r3, r0
- 1170 0008 B960 str r1, [r7, #8]
- 1171 000a 7A60 str r2, [r7, #4]
- 1172 000c FB73 strb r3, [r7, #15]
- 192:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** uint32_t prioritygroup = 0x00U;
- 1173 .loc 3 192 12
- 1174 000e 0023 movs r3, #0
- 1175 0010 7B61 str r3, [r7, #20]
- 193:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 194:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 76
- 195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_SUB_PRIORITY(SubPriority));
- 1176 .loc 3 195 3
- 1177 0012 7B68 ldr r3, [r7, #4]
- 1178 0014 0F2B cmp r3, #15
- 1179 0016 03D9 bls .L70
- 1180 .loc 3 195 3 is_stmt 0 discriminator 1
- 1181 0018 C321 movs r1, #195
- 1182 001a 0E48 ldr r0, .L72
- 1183 001c FFF7FEFF bl assert_failed
- 1184 .L70:
- 196:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority));
- 1185 .loc 3 196 3 is_stmt 1
- 1186 0020 BB68 ldr r3, [r7, #8]
- 1187 0022 0F2B cmp r3, #15
- 1188 0024 03D9 bls .L71
- 1189 .loc 3 196 3 is_stmt 0 discriminator 1
- 1190 0026 C421 movs r1, #196
- 1191 0028 0A48 ldr r0, .L72
- 1192 002a FFF7FEFF bl assert_failed
- 1193 .L71:
- 197:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 198:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** prioritygroup = NVIC_GetPriorityGrouping();
- 1194 .loc 3 198 19 is_stmt 1
- 1195 002e FFF7FEFF bl __NVIC_GetPriorityGrouping
- 1196 0032 7861 str r0, [r7, #20]
- 199:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 200:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_SetPriority(IRQn, NVIC_EncodePriority(prioritygroup, PreemptPriority, SubPriority));
- 1197 .loc 3 200 3
- 1198 0034 7A68 ldr r2, [r7, #4]
- 1199 0036 B968 ldr r1, [r7, #8]
- 1200 0038 7869 ldr r0, [r7, #20]
- 1201 003a FFF7FEFF bl NVIC_EncodePriority
- 1202 003e 0246 mov r2, r0
- 1203 0040 97F90F30 ldrsb r3, [r7, #15]
- 1204 0044 1146 mov r1, r2
- 1205 0046 1846 mov r0, r3
- 1206 0048 FFF7FEFF bl __NVIC_SetPriority
- 201:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 1207 .loc 3 201 1
- 1208 004c 00BF nop
- 1209 004e 1837 adds r7, r7, #24
- 1210 .LCFI85:
- 1211 .cfi_def_cfa_offset 8
- 1212 0050 BD46 mov sp, r7
- 1213 .LCFI86:
- 1214 .cfi_def_cfa_register 13
- 1215 @ sp needed
- 1216 0052 80BD pop {r7, pc}
- 1217 .L73:
- 1218 .align 2
- 1219 .L72:
- 1220 0054 00000000 .word .LC0
- 1221 .cfi_endproc
- 1222 .LFE131:
- 1224 .section .text.HAL_NVIC_EnableIRQ,"ax",%progbits
- 1225 .align 1
- 1226 .global HAL_NVIC_EnableIRQ
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 77
- 1227 .syntax unified
- 1228 .thumb
- 1229 .thumb_func
- 1231 HAL_NVIC_EnableIRQ:
- 1232 .LFB132:
- 202:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 203:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 204:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Enables a device specific interrupt in the NVIC interrupt controller.
- 205:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @note To configure interrupts priority correctly, the NVIC_PriorityGroupConfig()
- 206:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * function should be called before.
- 207:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
- 208:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 209:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 210:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 211:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 212:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_EnableIRQ(IRQn_Type IRQn)
- 213:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 1233 .loc 3 213 1
- 1234 .cfi_startproc
- 1235 @ args = 0, pretend = 0, frame = 8
- 1236 @ frame_needed = 1, uses_anonymous_args = 0
- 1237 0000 80B5 push {r7, lr}
- 1238 .LCFI87:
- 1239 .cfi_def_cfa_offset 8
- 1240 .cfi_offset 7, -8
- 1241 .cfi_offset 14, -4
- 1242 0002 82B0 sub sp, sp, #8
- 1243 .LCFI88:
- 1244 .cfi_def_cfa_offset 16
- 1245 0004 00AF add r7, sp, #0
- 1246 .LCFI89:
- 1247 .cfi_def_cfa_register 7
- 1248 0006 0346 mov r3, r0
- 1249 0008 FB71 strb r3, [r7, #7]
- 214:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
- 215:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
- 1250 .loc 3 215 3
- 1251 000a 97F90730 ldrsb r3, [r7, #7]
- 1252 000e 002B cmp r3, #0
- 1253 0010 03DA bge .L75
- 1254 .loc 3 215 3 is_stmt 0 discriminator 1
- 1255 0012 D721 movs r1, #215
- 1256 0014 0548 ldr r0, .L76
- 1257 0016 FFF7FEFF bl assert_failed
- 1258 .L75:
- 216:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 217:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Enable interrupt */
- 218:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_EnableIRQ(IRQn);
- 1259 .loc 3 218 3 is_stmt 1
- 1260 001a 97F90730 ldrsb r3, [r7, #7]
- 1261 001e 1846 mov r0, r3
- 1262 0020 FFF7FEFF bl __NVIC_EnableIRQ
- 219:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 1263 .loc 3 219 1
- 1264 0024 00BF nop
- 1265 0026 0837 adds r7, r7, #8
- 1266 .LCFI90:
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 78
- 1267 .cfi_def_cfa_offset 8
- 1268 0028 BD46 mov sp, r7
- 1269 .LCFI91:
- 1270 .cfi_def_cfa_register 13
- 1271 @ sp needed
- 1272 002a 80BD pop {r7, pc}
- 1273 .L77:
- 1274 .align 2
- 1275 .L76:
- 1276 002c 00000000 .word .LC0
- 1277 .cfi_endproc
- 1278 .LFE132:
- 1280 .section .text.HAL_NVIC_DisableIRQ,"ax",%progbits
- 1281 .align 1
- 1282 .global HAL_NVIC_DisableIRQ
- 1283 .syntax unified
- 1284 .thumb
- 1285 .thumb_func
- 1287 HAL_NVIC_DisableIRQ:
- 1288 .LFB133:
- 220:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 221:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 222:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Disables a device specific interrupt in the NVIC interrupt controller.
- 223:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
- 224:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 225:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 227:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 228:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_DisableIRQ(IRQn_Type IRQn)
- 229:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 1289 .loc 3 229 1
- 1290 .cfi_startproc
- 1291 @ args = 0, pretend = 0, frame = 8
- 1292 @ frame_needed = 1, uses_anonymous_args = 0
- 1293 0000 80B5 push {r7, lr}
- 1294 .LCFI92:
- 1295 .cfi_def_cfa_offset 8
- 1296 .cfi_offset 7, -8
- 1297 .cfi_offset 14, -4
- 1298 0002 82B0 sub sp, sp, #8
- 1299 .LCFI93:
- 1300 .cfi_def_cfa_offset 16
- 1301 0004 00AF add r7, sp, #0
- 1302 .LCFI94:
- 1303 .cfi_def_cfa_register 7
- 1304 0006 0346 mov r3, r0
- 1305 0008 FB71 strb r3, [r7, #7]
- 230:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
- 231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
- 1306 .loc 3 231 3
- 1307 000a 97F90730 ldrsb r3, [r7, #7]
- 1308 000e 002B cmp r3, #0
- 1309 0010 03DA bge .L79
- 1310 .loc 3 231 3 is_stmt 0 discriminator 1
- 1311 0012 E721 movs r1, #231
- 1312 0014 0548 ldr r0, .L80
- 1313 0016 FFF7FEFF bl assert_failed
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 79
- 1314 .L79:
- 232:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 233:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Disable interrupt */
- 234:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_DisableIRQ(IRQn);
- 1315 .loc 3 234 3 is_stmt 1
- 1316 001a 97F90730 ldrsb r3, [r7, #7]
- 1317 001e 1846 mov r0, r3
- 1318 0020 FFF7FEFF bl __NVIC_DisableIRQ
- 235:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 1319 .loc 3 235 1
- 1320 0024 00BF nop
- 1321 0026 0837 adds r7, r7, #8
- 1322 .LCFI95:
- 1323 .cfi_def_cfa_offset 8
- 1324 0028 BD46 mov sp, r7
- 1325 .LCFI96:
- 1326 .cfi_def_cfa_register 13
- 1327 @ sp needed
- 1328 002a 80BD pop {r7, pc}
- 1329 .L81:
- 1330 .align 2
- 1331 .L80:
- 1332 002c 00000000 .word .LC0
- 1333 .cfi_endproc
- 1334 .LFE133:
- 1336 .section .text.HAL_NVIC_SystemReset,"ax",%progbits
- 1337 .align 1
- 1338 .global HAL_NVIC_SystemReset
- 1339 .syntax unified
- 1340 .thumb
- 1341 .thumb_func
- 1343 HAL_NVIC_SystemReset:
- 1344 .LFB134:
- 236:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 237:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 238:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Initiates a system reset request to reset the MCU.
- 239:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 240:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 241:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_SystemReset(void)
- 242:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 1345 .loc 3 242 1
- 1346 .cfi_startproc
- 1347 @ args = 0, pretend = 0, frame = 0
- 1348 @ frame_needed = 1, uses_anonymous_args = 0
- 1349 0000 80B5 push {r7, lr}
- 1350 .LCFI97:
- 1351 .cfi_def_cfa_offset 8
- 1352 .cfi_offset 7, -8
- 1353 .cfi_offset 14, -4
- 1354 0002 00AF add r7, sp, #0
- 1355 .LCFI98:
- 1356 .cfi_def_cfa_register 7
- 243:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* System Reset */
- 244:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_SystemReset();
- 1357 .loc 3 244 3
- 1358 0004 FFF7FEFF bl __NVIC_SystemReset
- 1359 .cfi_endproc
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 80
- 1360 .LFE134:
- 1362 .section .text.HAL_SYSTICK_Config,"ax",%progbits
- 1363 .align 1
- 1364 .global HAL_SYSTICK_Config
- 1365 .syntax unified
- 1366 .thumb
- 1367 .thumb_func
- 1369 HAL_SYSTICK_Config:
- 1370 .LFB135:
- 245:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 246:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 248:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Initializes the System Timer and its interrupt, and starts the System Tick Timer.
- 249:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * Counter is in free running mode to generate periodic interrupts.
- 250:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param TicksNumb Specifies the ticks Number of ticks between two interrupts.
- 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval status: - 0 Function succeeded.
- 252:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * - 1 Function failed.
- 253:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 254:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb)
- 255:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 1371 .loc 3 255 1
- 1372 .cfi_startproc
- 1373 @ args = 0, pretend = 0, frame = 8
- 1374 @ frame_needed = 1, uses_anonymous_args = 0
- 1375 0000 80B5 push {r7, lr}
- 1376 .LCFI99:
- 1377 .cfi_def_cfa_offset 8
- 1378 .cfi_offset 7, -8
- 1379 .cfi_offset 14, -4
- 1380 0002 82B0 sub sp, sp, #8
- 1381 .LCFI100:
- 1382 .cfi_def_cfa_offset 16
- 1383 0004 00AF add r7, sp, #0
- 1384 .LCFI101:
- 1385 .cfi_def_cfa_register 7
- 1386 0006 7860 str r0, [r7, #4]
- 256:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** return SysTick_Config(TicksNumb);
- 1387 .loc 3 256 11
- 1388 0008 7868 ldr r0, [r7, #4]
- 1389 000a FFF7FEFF bl SysTick_Config
- 1390 000e 0346 mov r3, r0
- 257:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 1391 .loc 3 257 1
- 1392 0010 1846 mov r0, r3
- 1393 0012 0837 adds r7, r7, #8
- 1394 .LCFI102:
- 1395 .cfi_def_cfa_offset 8
- 1396 0014 BD46 mov sp, r7
- 1397 .LCFI103:
- 1398 .cfi_def_cfa_register 13
- 1399 @ sp needed
- 1400 0016 80BD pop {r7, pc}
- 1401 .cfi_endproc
- 1402 .LFE135:
- 1404 .section .text.HAL_MPU_Disable,"ax",%progbits
- 1405 .align 1
- 1406 .global HAL_MPU_Disable
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 81
- 1407 .syntax unified
- 1408 .thumb
- 1409 .thumb_func
- 1411 HAL_MPU_Disable:
- 1412 .LFB136:
- 258:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 259:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @}
- 260:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 261:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 262:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions_Group2 Peripheral Control functions
- 263:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Cortex control functions
- 264:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *
- 265:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** @verbatim
- 266:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ==============================================================================
- 267:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ##### Peripheral Control functions #####
- 268:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ==============================================================================
- 269:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** [..]
- 270:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** This subsection provides a set of functions allowing to control the CORTEX
- 271:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (NVIC, SYSTICK, MPU) functionalities.
- 272:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 273:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 274:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** @endverbatim
- 275:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @{
- 276:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 277:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 278:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** #if (__MPU_PRESENT == 1U)
- 279:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 280:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 281:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Disables the MPU also clears the HFNMIENA bit (ARM recommendation)
- 282:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 283:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 284:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_MPU_Disable(void)
- 285:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 1413 .loc 3 285 1
- 1414 .cfi_startproc
- 1415 @ args = 0, pretend = 0, frame = 0
- 1416 @ frame_needed = 1, uses_anonymous_args = 0
- 1417 @ link register save eliminated.
- 1418 0000 80B4 push {r7}
- 1419 .LCFI104:
- 1420 .cfi_def_cfa_offset 4
- 1421 .cfi_offset 7, -4
- 1422 0002 00AF add r7, sp, #0
- 1423 .LCFI105:
- 1424 .cfi_def_cfa_register 7
- 286:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Disable fault exceptions */
- 287:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** SCB->SHCSR &= ~SCB_SHCSR_MEMFAULTENA_Msk;
- 1425 .loc 3 287 14
- 1426 0004 064B ldr r3, .L86
- 1427 0006 5B6A ldr r3, [r3, #36]
- 1428 0008 054A ldr r2, .L86
- 1429 000a 23F48033 bic r3, r3, #65536
- 1430 000e 5362 str r3, [r2, #36]
- 288:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 289:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Disable the MPU */
- 290:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->CTRL = 0U;
- 1431 .loc 3 290 6
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 82
- 1432 0010 044B ldr r3, .L86+4
- 1433 .loc 3 290 13
- 1434 0012 0022 movs r2, #0
- 1435 0014 5A60 str r2, [r3, #4]
- 291:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 1436 .loc 3 291 1
- 1437 0016 00BF nop
- 1438 0018 BD46 mov sp, r7
- 1439 .LCFI106:
- 1440 .cfi_def_cfa_register 13
- 1441 @ sp needed
- 1442 001a 5DF8047B ldr r7, [sp], #4
- 1443 .LCFI107:
- 1444 .cfi_restore 7
- 1445 .cfi_def_cfa_offset 0
- 1446 001e 7047 bx lr
- 1447 .L87:
- 1448 .align 2
- 1449 .L86:
- 1450 0020 00ED00E0 .word -536810240
- 1451 0024 90ED00E0 .word -536810096
- 1452 .cfi_endproc
- 1453 .LFE136:
- 1455 .section .text.HAL_MPU_Enable,"ax",%progbits
- 1456 .align 1
- 1457 .global HAL_MPU_Enable
- 1458 .syntax unified
- 1459 .thumb
- 1460 .thumb_func
- 1462 HAL_MPU_Enable:
- 1463 .LFB137:
- 292:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 293:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 294:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Enables the MPU
- 295:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param MPU_Control Specifies the control mode of the MPU during hard fault,
- 296:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * NMI, FAULTMASK and privileged access to the default memory
- 297:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be one of the following values:
- 298:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg MPU_HFNMI_PRIVDEF_NONE
- 299:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg MPU_HARDFAULT_NMI
- 300:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg MPU_PRIVILEGED_DEFAULT
- 301:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg MPU_HFNMI_PRIVDEF
- 302:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 303:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 304:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_MPU_Enable(uint32_t MPU_Control)
- 305:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 1464 .loc 3 305 1
- 1465 .cfi_startproc
- 1466 @ args = 0, pretend = 0, frame = 8
- 1467 @ frame_needed = 1, uses_anonymous_args = 0
- 1468 @ link register save eliminated.
- 1469 0000 80B4 push {r7}
- 1470 .LCFI108:
- 1471 .cfi_def_cfa_offset 4
- 1472 .cfi_offset 7, -4
- 1473 0002 83B0 sub sp, sp, #12
- 1474 .LCFI109:
- 1475 .cfi_def_cfa_offset 16
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 83
- 1476 0004 00AF add r7, sp, #0
- 1477 .LCFI110:
- 1478 .cfi_def_cfa_register 7
- 1479 0006 7860 str r0, [r7, #4]
- 306:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Enable the MPU */
- 307:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->CTRL = MPU_Control | MPU_CTRL_ENABLE_Msk;
- 1480 .loc 3 307 6
- 1481 0008 084A ldr r2, .L89
- 1482 .loc 3 307 29
- 1483 000a 7B68 ldr r3, [r7, #4]
- 1484 000c 43F00103 orr r3, r3, #1
- 1485 .loc 3 307 15
- 1486 0010 5360 str r3, [r2, #4]
- 308:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 309:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Enable fault exceptions */
- 310:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** SCB->SHCSR |= SCB_SHCSR_MEMFAULTENA_Msk;
- 1487 .loc 3 310 14
- 1488 0012 074B ldr r3, .L89+4
- 1489 0014 5B6A ldr r3, [r3, #36]
- 1490 0016 064A ldr r2, .L89+4
- 1491 0018 43F48033 orr r3, r3, #65536
- 1492 001c 5362 str r3, [r2, #36]
- 311:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 1493 .loc 3 311 1
- 1494 001e 00BF nop
- 1495 0020 0C37 adds r7, r7, #12
- 1496 .LCFI111:
- 1497 .cfi_def_cfa_offset 4
- 1498 0022 BD46 mov sp, r7
- 1499 .LCFI112:
- 1500 .cfi_def_cfa_register 13
- 1501 @ sp needed
- 1502 0024 5DF8047B ldr r7, [sp], #4
- 1503 .LCFI113:
- 1504 .cfi_restore 7
- 1505 .cfi_def_cfa_offset 0
- 1506 0028 7047 bx lr
- 1507 .L90:
- 1508 002a 00BF .align 2
- 1509 .L89:
- 1510 002c 90ED00E0 .word -536810096
- 1511 0030 00ED00E0 .word -536810240
- 1512 .cfi_endproc
- 1513 .LFE137:
- 1515 .section .text.HAL_MPU_EnableRegion,"ax",%progbits
- 1516 .align 1
- 1517 .global HAL_MPU_EnableRegion
- 1518 .syntax unified
- 1519 .thumb
- 1520 .thumb_func
- 1522 HAL_MPU_EnableRegion:
- 1523 .LFB138:
- 312:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 313:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 314:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Enables the MPU Region.
- 315:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 316:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 84
- 317:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_MPU_EnableRegion(uint32_t RegionNumber)
- 318:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 1524 .loc 3 318 1
- 1525 .cfi_startproc
- 1526 @ args = 0, pretend = 0, frame = 8
- 1527 @ frame_needed = 1, uses_anonymous_args = 0
- 1528 0000 80B5 push {r7, lr}
- 1529 .LCFI114:
- 1530 .cfi_def_cfa_offset 8
- 1531 .cfi_offset 7, -8
- 1532 .cfi_offset 14, -4
- 1533 0002 82B0 sub sp, sp, #8
- 1534 .LCFI115:
- 1535 .cfi_def_cfa_offset 16
- 1536 0004 00AF add r7, sp, #0
- 1537 .LCFI116:
- 1538 .cfi_def_cfa_register 7
- 1539 0006 7860 str r0, [r7, #4]
- 319:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
- 320:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_NUMBER(RegionNumber));
- 1540 .loc 3 320 3
- 1541 0008 7B68 ldr r3, [r7, #4]
- 1542 000a 002B cmp r3, #0
- 1543 000c 19D0 beq .L92
- 1544 .loc 3 320 3 is_stmt 0 discriminator 1
- 1545 000e 7B68 ldr r3, [r7, #4]
- 1546 0010 012B cmp r3, #1
- 1547 0012 16D0 beq .L92
- 1548 .loc 3 320 3 discriminator 2
- 1549 0014 7B68 ldr r3, [r7, #4]
- 1550 0016 022B cmp r3, #2
- 1551 0018 13D0 beq .L92
- 1552 .loc 3 320 3 discriminator 3
- 1553 001a 7B68 ldr r3, [r7, #4]
- 1554 001c 032B cmp r3, #3
- 1555 001e 10D0 beq .L92
- 1556 .loc 3 320 3 discriminator 4
- 1557 0020 7B68 ldr r3, [r7, #4]
- 1558 0022 042B cmp r3, #4
- 1559 0024 0DD0 beq .L92
- 1560 .loc 3 320 3 discriminator 5
- 1561 0026 7B68 ldr r3, [r7, #4]
- 1562 0028 052B cmp r3, #5
- 1563 002a 0AD0 beq .L92
- 1564 .loc 3 320 3 discriminator 6
- 1565 002c 7B68 ldr r3, [r7, #4]
- 1566 002e 062B cmp r3, #6
- 1567 0030 07D0 beq .L92
- 1568 .loc 3 320 3 discriminator 7
- 1569 0032 7B68 ldr r3, [r7, #4]
- 1570 0034 072B cmp r3, #7
- 1571 0036 04D0 beq .L92
- 1572 .loc 3 320 3 discriminator 8
- 1573 0038 4FF4A071 mov r1, #320
- 1574 003c 0748 ldr r0, .L93
- 1575 003e FFF7FEFF bl assert_failed
- 1576 .L92:
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 85
- 321:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 322:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Set the Region number */
- 323:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->RNR = RegionNumber;
- 1577 .loc 3 323 6 is_stmt 1
- 1578 0042 074A ldr r2, .L93+4
- 1579 .loc 3 323 12
- 1580 0044 7B68 ldr r3, [r7, #4]
- 1581 0046 9360 str r3, [r2, #8]
- 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 325:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Enable the Region */
- 326:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** SET_BIT(MPU->RASR, MPU_RASR_ENABLE_Msk);
- 1582 .loc 3 326 3
- 1583 0048 054B ldr r3, .L93+4
- 1584 004a 1B69 ldr r3, [r3, #16]
- 1585 004c 044A ldr r2, .L93+4
- 1586 004e 43F00103 orr r3, r3, #1
- 1587 0052 1361 str r3, [r2, #16]
- 327:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 1588 .loc 3 327 1
- 1589 0054 00BF nop
- 1590 0056 0837 adds r7, r7, #8
- 1591 .LCFI117:
- 1592 .cfi_def_cfa_offset 8
- 1593 0058 BD46 mov sp, r7
- 1594 .LCFI118:
- 1595 .cfi_def_cfa_register 13
- 1596 @ sp needed
- 1597 005a 80BD pop {r7, pc}
- 1598 .L94:
- 1599 .align 2
- 1600 .L93:
- 1601 005c 00000000 .word .LC0
- 1602 0060 90ED00E0 .word -536810096
- 1603 .cfi_endproc
- 1604 .LFE138:
- 1606 .section .text.HAL_MPU_DisableRegion,"ax",%progbits
- 1607 .align 1
- 1608 .global HAL_MPU_DisableRegion
- 1609 .syntax unified
- 1610 .thumb
- 1611 .thumb_func
- 1613 HAL_MPU_DisableRegion:
- 1614 .LFB139:
- 328:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 329:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 330:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Disables the MPU Region.
- 331:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 332:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 333:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_MPU_DisableRegion(uint32_t RegionNumber)
- 334:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 1615 .loc 3 334 1
- 1616 .cfi_startproc
- 1617 @ args = 0, pretend = 0, frame = 8
- 1618 @ frame_needed = 1, uses_anonymous_args = 0
- 1619 0000 80B5 push {r7, lr}
- 1620 .LCFI119:
- 1621 .cfi_def_cfa_offset 8
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 86
- 1622 .cfi_offset 7, -8
- 1623 .cfi_offset 14, -4
- 1624 0002 82B0 sub sp, sp, #8
- 1625 .LCFI120:
- 1626 .cfi_def_cfa_offset 16
- 1627 0004 00AF add r7, sp, #0
- 1628 .LCFI121:
- 1629 .cfi_def_cfa_register 7
- 1630 0006 7860 str r0, [r7, #4]
- 335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
- 336:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_NUMBER(RegionNumber));
- 1631 .loc 3 336 3
- 1632 0008 7B68 ldr r3, [r7, #4]
- 1633 000a 002B cmp r3, #0
- 1634 000c 19D0 beq .L96
- 1635 .loc 3 336 3 is_stmt 0 discriminator 1
- 1636 000e 7B68 ldr r3, [r7, #4]
- 1637 0010 012B cmp r3, #1
- 1638 0012 16D0 beq .L96
- 1639 .loc 3 336 3 discriminator 2
- 1640 0014 7B68 ldr r3, [r7, #4]
- 1641 0016 022B cmp r3, #2
- 1642 0018 13D0 beq .L96
- 1643 .loc 3 336 3 discriminator 3
- 1644 001a 7B68 ldr r3, [r7, #4]
- 1645 001c 032B cmp r3, #3
- 1646 001e 10D0 beq .L96
- 1647 .loc 3 336 3 discriminator 4
- 1648 0020 7B68 ldr r3, [r7, #4]
- 1649 0022 042B cmp r3, #4
- 1650 0024 0DD0 beq .L96
- 1651 .loc 3 336 3 discriminator 5
- 1652 0026 7B68 ldr r3, [r7, #4]
- 1653 0028 052B cmp r3, #5
- 1654 002a 0AD0 beq .L96
- 1655 .loc 3 336 3 discriminator 6
- 1656 002c 7B68 ldr r3, [r7, #4]
- 1657 002e 062B cmp r3, #6
- 1658 0030 07D0 beq .L96
- 1659 .loc 3 336 3 discriminator 7
- 1660 0032 7B68 ldr r3, [r7, #4]
- 1661 0034 072B cmp r3, #7
- 1662 0036 04D0 beq .L96
- 1663 .loc 3 336 3 discriminator 8
- 1664 0038 4FF4A871 mov r1, #336
- 1665 003c 0748 ldr r0, .L97
- 1666 003e FFF7FEFF bl assert_failed
- 1667 .L96:
- 337:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 338:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Set the Region number */
- 339:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->RNR = RegionNumber;
- 1668 .loc 3 339 6 is_stmt 1
- 1669 0042 074A ldr r2, .L97+4
- 1670 .loc 3 339 12
- 1671 0044 7B68 ldr r3, [r7, #4]
- 1672 0046 9360 str r3, [r2, #8]
- 340:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 87
- 341:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Disable the Region */
- 342:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** CLEAR_BIT(MPU->RASR, MPU_RASR_ENABLE_Msk);
- 1673 .loc 3 342 3
- 1674 0048 054B ldr r3, .L97+4
- 1675 004a 1B69 ldr r3, [r3, #16]
- 1676 004c 044A ldr r2, .L97+4
- 1677 004e 23F00103 bic r3, r3, #1
- 1678 0052 1361 str r3, [r2, #16]
- 343:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 1679 .loc 3 343 1
- 1680 0054 00BF nop
- 1681 0056 0837 adds r7, r7, #8
- 1682 .LCFI122:
- 1683 .cfi_def_cfa_offset 8
- 1684 0058 BD46 mov sp, r7
- 1685 .LCFI123:
- 1686 .cfi_def_cfa_register 13
- 1687 @ sp needed
- 1688 005a 80BD pop {r7, pc}
- 1689 .L98:
- 1690 .align 2
- 1691 .L97:
- 1692 005c 00000000 .word .LC0
- 1693 0060 90ED00E0 .word -536810096
- 1694 .cfi_endproc
- 1695 .LFE139:
- 1697 .section .text.HAL_MPU_ConfigRegion,"ax",%progbits
- 1698 .align 1
- 1699 .global HAL_MPU_ConfigRegion
- 1700 .syntax unified
- 1701 .thumb
- 1702 .thumb_func
- 1704 HAL_MPU_ConfigRegion:
- 1705 .LFB140:
- 344:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 345:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 346:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Initializes and configures the Region and the memory to be protected.
- 347:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param MPU_Init Pointer to a MPU_Region_InitTypeDef structure that contains
- 348:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * the initialization and configuration information.
- 349:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 350:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 351:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_MPU_ConfigRegion(MPU_Region_InitTypeDef *MPU_Init)
- 352:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 1706 .loc 3 352 1
- 1707 .cfi_startproc
- 1708 @ args = 0, pretend = 0, frame = 8
- 1709 @ frame_needed = 1, uses_anonymous_args = 0
- 1710 0000 80B5 push {r7, lr}
- 1711 .LCFI124:
- 1712 .cfi_def_cfa_offset 8
- 1713 .cfi_offset 7, -8
- 1714 .cfi_offset 14, -4
- 1715 0002 82B0 sub sp, sp, #8
- 1716 .LCFI125:
- 1717 .cfi_def_cfa_offset 16
- 1718 0004 00AF add r7, sp, #0
- 1719 .LCFI126:
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 88
- 1720 .cfi_def_cfa_register 7
- 1721 0006 7860 str r0, [r7, #4]
- 353:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
- 354:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_NUMBER(MPU_Init->Number));
- 1722 .loc 3 354 3
- 1723 0008 7B68 ldr r3, [r7, #4]
- 1724 000a 5B78 ldrb r3, [r3, #1] @ zero_extendqisi2
- 1725 000c 002B cmp r3, #0
- 1726 000e 20D0 beq .L100
- 1727 .loc 3 354 3 is_stmt 0 discriminator 1
- 1728 0010 7B68 ldr r3, [r7, #4]
- 1729 0012 5B78 ldrb r3, [r3, #1] @ zero_extendqisi2
- 1730 0014 012B cmp r3, #1
- 1731 0016 1CD0 beq .L100
- 1732 .loc 3 354 3 discriminator 2
- 1733 0018 7B68 ldr r3, [r7, #4]
- 1734 001a 5B78 ldrb r3, [r3, #1] @ zero_extendqisi2
- 1735 001c 022B cmp r3, #2
- 1736 001e 18D0 beq .L100
- 1737 .loc 3 354 3 discriminator 3
- 1738 0020 7B68 ldr r3, [r7, #4]
- 1739 0022 5B78 ldrb r3, [r3, #1] @ zero_extendqisi2
- 1740 0024 032B cmp r3, #3
- 1741 0026 14D0 beq .L100
- 1742 .loc 3 354 3 discriminator 4
- 1743 0028 7B68 ldr r3, [r7, #4]
- 1744 002a 5B78 ldrb r3, [r3, #1] @ zero_extendqisi2
- 1745 002c 042B cmp r3, #4
- 1746 002e 10D0 beq .L100
- 1747 .loc 3 354 3 discriminator 5
- 1748 0030 7B68 ldr r3, [r7, #4]
- 1749 0032 5B78 ldrb r3, [r3, #1] @ zero_extendqisi2
- 1750 0034 052B cmp r3, #5
- 1751 0036 0CD0 beq .L100
- 1752 .loc 3 354 3 discriminator 6
- 1753 0038 7B68 ldr r3, [r7, #4]
- 1754 003a 5B78 ldrb r3, [r3, #1] @ zero_extendqisi2
- 1755 003c 062B cmp r3, #6
- 1756 003e 08D0 beq .L100
- 1757 .loc 3 354 3 discriminator 7
- 1758 0040 7B68 ldr r3, [r7, #4]
- 1759 0042 5B78 ldrb r3, [r3, #1] @ zero_extendqisi2
- 1760 0044 072B cmp r3, #7
- 1761 0046 04D0 beq .L100
- 1762 .loc 3 354 3 discriminator 8
- 1763 0048 4FF4B171 mov r1, #354
- 1764 004c 8C48 ldr r0, .L110
- 1765 004e FFF7FEFF bl assert_failed
- 1766 .L100:
- 355:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_ENABLE(MPU_Init->Enable));
- 1767 .loc 3 355 3 is_stmt 1
- 1768 0052 7B68 ldr r3, [r7, #4]
- 1769 0054 1B78 ldrb r3, [r3] @ zero_extendqisi2
- 1770 0056 012B cmp r3, #1
- 1771 0058 08D0 beq .L101
- 1772 .loc 3 355 3 is_stmt 0 discriminator 1
- 1773 005a 7B68 ldr r3, [r7, #4]
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 89
- 1774 005c 1B78 ldrb r3, [r3] @ zero_extendqisi2
- 1775 005e 002B cmp r3, #0
- 1776 0060 04D0 beq .L101
- 1777 .loc 3 355 3 discriminator 2
- 1778 0062 40F26311 movw r1, #355
- 1779 0066 8648 ldr r0, .L110
- 1780 0068 FFF7FEFF bl assert_failed
- 1781 .L101:
- 356:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_INSTRUCTION_ACCESS(MPU_Init->DisableExec));
- 1782 .loc 3 356 3 is_stmt 1
- 1783 006c 7B68 ldr r3, [r7, #4]
- 1784 006e 1B7B ldrb r3, [r3, #12] @ zero_extendqisi2
- 1785 0070 002B cmp r3, #0
- 1786 0072 08D0 beq .L102
- 1787 .loc 3 356 3 is_stmt 0 discriminator 1
- 1788 0074 7B68 ldr r3, [r7, #4]
- 1789 0076 1B7B ldrb r3, [r3, #12] @ zero_extendqisi2
- 1790 0078 012B cmp r3, #1
- 1791 007a 04D0 beq .L102
- 1792 .loc 3 356 3 discriminator 2
- 1793 007c 4FF4B271 mov r1, #356
- 1794 0080 7F48 ldr r0, .L110
- 1795 0082 FFF7FEFF bl assert_failed
- 1796 .L102:
- 357:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_PERMISSION_ATTRIBUTE(MPU_Init->AccessPermission));
- 1797 .loc 3 357 3 is_stmt 1
- 1798 0086 7B68 ldr r3, [r7, #4]
- 1799 0088 DB7A ldrb r3, [r3, #11] @ zero_extendqisi2
- 1800 008a 002B cmp r3, #0
- 1801 008c 18D0 beq .L103
- 1802 .loc 3 357 3 is_stmt 0 discriminator 1
- 1803 008e 7B68 ldr r3, [r7, #4]
- 1804 0090 DB7A ldrb r3, [r3, #11] @ zero_extendqisi2
- 1805 0092 012B cmp r3, #1
- 1806 0094 14D0 beq .L103
- 1807 .loc 3 357 3 discriminator 2
- 1808 0096 7B68 ldr r3, [r7, #4]
- 1809 0098 DB7A ldrb r3, [r3, #11] @ zero_extendqisi2
- 1810 009a 022B cmp r3, #2
- 1811 009c 10D0 beq .L103
- 1812 .loc 3 357 3 discriminator 3
- 1813 009e 7B68 ldr r3, [r7, #4]
- 1814 00a0 DB7A ldrb r3, [r3, #11] @ zero_extendqisi2
- 1815 00a2 032B cmp r3, #3
- 1816 00a4 0CD0 beq .L103
- 1817 .loc 3 357 3 discriminator 4
- 1818 00a6 7B68 ldr r3, [r7, #4]
- 1819 00a8 DB7A ldrb r3, [r3, #11] @ zero_extendqisi2
- 1820 00aa 052B cmp r3, #5
- 1821 00ac 08D0 beq .L103
- 1822 .loc 3 357 3 discriminator 5
- 1823 00ae 7B68 ldr r3, [r7, #4]
- 1824 00b0 DB7A ldrb r3, [r3, #11] @ zero_extendqisi2
- 1825 00b2 062B cmp r3, #6
- 1826 00b4 04D0 beq .L103
- 1827 .loc 3 357 3 discriminator 6
- 1828 00b6 40F26511 movw r1, #357
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 90
- 1829 00ba 7148 ldr r0, .L110
- 1830 00bc FFF7FEFF bl assert_failed
- 1831 .L103:
- 358:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_TEX_LEVEL(MPU_Init->TypeExtField));
- 1832 .loc 3 358 3 is_stmt 1
- 1833 00c0 7B68 ldr r3, [r7, #4]
- 1834 00c2 9B7A ldrb r3, [r3, #10] @ zero_extendqisi2
- 1835 00c4 002B cmp r3, #0
- 1836 00c6 0CD0 beq .L104
- 1837 .loc 3 358 3 is_stmt 0 discriminator 1
- 1838 00c8 7B68 ldr r3, [r7, #4]
- 1839 00ca 9B7A ldrb r3, [r3, #10] @ zero_extendqisi2
- 1840 00cc 012B cmp r3, #1
- 1841 00ce 08D0 beq .L104
- 1842 .loc 3 358 3 discriminator 2
- 1843 00d0 7B68 ldr r3, [r7, #4]
- 1844 00d2 9B7A ldrb r3, [r3, #10] @ zero_extendqisi2
- 1845 00d4 022B cmp r3, #2
- 1846 00d6 04D0 beq .L104
- 1847 .loc 3 358 3 discriminator 3
- 1848 00d8 4FF4B371 mov r1, #358
- 1849 00dc 6848 ldr r0, .L110
- 1850 00de FFF7FEFF bl assert_failed
- 1851 .L104:
- 359:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_SHAREABLE(MPU_Init->IsShareable));
- 1852 .loc 3 359 3 is_stmt 1
- 1853 00e2 7B68 ldr r3, [r7, #4]
- 1854 00e4 5B7B ldrb r3, [r3, #13] @ zero_extendqisi2
- 1855 00e6 012B cmp r3, #1
- 1856 00e8 08D0 beq .L105
- 1857 .loc 3 359 3 is_stmt 0 discriminator 1
- 1858 00ea 7B68 ldr r3, [r7, #4]
- 1859 00ec 5B7B ldrb r3, [r3, #13] @ zero_extendqisi2
- 1860 00ee 002B cmp r3, #0
- 1861 00f0 04D0 beq .L105
- 1862 .loc 3 359 3 discriminator 2
- 1863 00f2 40F26711 movw r1, #359
- 1864 00f6 6248 ldr r0, .L110
- 1865 00f8 FFF7FEFF bl assert_failed
- 1866 .L105:
- 360:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_CACHEABLE(MPU_Init->IsCacheable));
- 1867 .loc 3 360 3 is_stmt 1
- 1868 00fc 7B68 ldr r3, [r7, #4]
- 1869 00fe 9B7B ldrb r3, [r3, #14] @ zero_extendqisi2
- 1870 0100 012B cmp r3, #1
- 1871 0102 08D0 beq .L106
- 1872 .loc 3 360 3 is_stmt 0 discriminator 1
- 1873 0104 7B68 ldr r3, [r7, #4]
- 1874 0106 9B7B ldrb r3, [r3, #14] @ zero_extendqisi2
- 1875 0108 002B cmp r3, #0
- 1876 010a 04D0 beq .L106
- 1877 .loc 3 360 3 discriminator 2
- 1878 010c 4FF4B471 mov r1, #360
- 1879 0110 5B48 ldr r0, .L110
- 1880 0112 FFF7FEFF bl assert_failed
- 1881 .L106:
- 361:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_BUFFERABLE(MPU_Init->IsBufferable));
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 91
- 1882 .loc 3 361 3 is_stmt 1
- 1883 0116 7B68 ldr r3, [r7, #4]
- 1884 0118 DB7B ldrb r3, [r3, #15] @ zero_extendqisi2
- 1885 011a 012B cmp r3, #1
- 1886 011c 08D0 beq .L107
- 1887 .loc 3 361 3 is_stmt 0 discriminator 1
- 1888 011e 7B68 ldr r3, [r7, #4]
- 1889 0120 DB7B ldrb r3, [r3, #15] @ zero_extendqisi2
- 1890 0122 002B cmp r3, #0
- 1891 0124 04D0 beq .L107
- 1892 .loc 3 361 3 discriminator 2
- 1893 0126 40F26911 movw r1, #361
- 1894 012a 5548 ldr r0, .L110
- 1895 012c FFF7FEFF bl assert_failed
- 1896 .L107:
- 362:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_SUB_REGION_DISABLE(MPU_Init->SubRegionDisable));
- 1897 .loc 3 362 3 is_stmt 1
- 1898 0130 7B68 ldr r3, [r7, #4]
- 1899 0132 5B7A ldrb r3, [r3, #9] @ zero_extendqisi2
- 1900 0134 FF2B cmp r3, #255
- 1901 0136 04D1 bne .L108
- 1902 .loc 3 362 3 is_stmt 0 discriminator 1
- 1903 0138 4FF4B571 mov r1, #362
- 1904 013c 5048 ldr r0, .L110
- 1905 013e FFF7FEFF bl assert_failed
- 1906 .L108:
- 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_SIZE(MPU_Init->Size));
- 1907 .loc 3 363 3 is_stmt 1
- 1908 0142 7B68 ldr r3, [r7, #4]
- 1909 0144 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1910 0146 042B cmp r3, #4
- 1911 0148 70D0 beq .L109
- 1912 .loc 3 363 3 is_stmt 0 discriminator 1
- 1913 014a 7B68 ldr r3, [r7, #4]
- 1914 014c 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1915 014e 052B cmp r3, #5
- 1916 0150 6CD0 beq .L109
- 1917 .loc 3 363 3 discriminator 2
- 1918 0152 7B68 ldr r3, [r7, #4]
- 1919 0154 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1920 0156 062B cmp r3, #6
- 1921 0158 68D0 beq .L109
- 1922 .loc 3 363 3 discriminator 3
- 1923 015a 7B68 ldr r3, [r7, #4]
- 1924 015c 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1925 015e 072B cmp r3, #7
- 1926 0160 64D0 beq .L109
- 1927 .loc 3 363 3 discriminator 4
- 1928 0162 7B68 ldr r3, [r7, #4]
- 1929 0164 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1930 0166 082B cmp r3, #8
- 1931 0168 60D0 beq .L109
- 1932 .loc 3 363 3 discriminator 5
- 1933 016a 7B68 ldr r3, [r7, #4]
- 1934 016c 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1935 016e 092B cmp r3, #9
- 1936 0170 5CD0 beq .L109
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 92
- 1937 .loc 3 363 3 discriminator 6
- 1938 0172 7B68 ldr r3, [r7, #4]
- 1939 0174 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1940 0176 0A2B cmp r3, #10
- 1941 0178 58D0 beq .L109
- 1942 .loc 3 363 3 discriminator 7
- 1943 017a 7B68 ldr r3, [r7, #4]
- 1944 017c 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1945 017e 0B2B cmp r3, #11
- 1946 0180 54D0 beq .L109
- 1947 .loc 3 363 3 discriminator 8
- 1948 0182 7B68 ldr r3, [r7, #4]
- 1949 0184 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1950 0186 0C2B cmp r3, #12
- 1951 0188 50D0 beq .L109
- 1952 .loc 3 363 3 discriminator 9
- 1953 018a 7B68 ldr r3, [r7, #4]
- 1954 018c 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1955 018e 0D2B cmp r3, #13
- 1956 0190 4CD0 beq .L109
- 1957 .loc 3 363 3 discriminator 10
- 1958 0192 7B68 ldr r3, [r7, #4]
- 1959 0194 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1960 0196 0E2B cmp r3, #14
- 1961 0198 48D0 beq .L109
- 1962 .loc 3 363 3 discriminator 11
- 1963 019a 7B68 ldr r3, [r7, #4]
- 1964 019c 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1965 019e 0F2B cmp r3, #15
- 1966 01a0 44D0 beq .L109
- 1967 .loc 3 363 3 discriminator 12
- 1968 01a2 7B68 ldr r3, [r7, #4]
- 1969 01a4 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1970 01a6 102B cmp r3, #16
- 1971 01a8 40D0 beq .L109
- 1972 .loc 3 363 3 discriminator 13
- 1973 01aa 7B68 ldr r3, [r7, #4]
- 1974 01ac 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1975 01ae 112B cmp r3, #17
- 1976 01b0 3CD0 beq .L109
- 1977 .loc 3 363 3 discriminator 14
- 1978 01b2 7B68 ldr r3, [r7, #4]
- 1979 01b4 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1980 01b6 122B cmp r3, #18
- 1981 01b8 38D0 beq .L109
- 1982 .loc 3 363 3 discriminator 15
- 1983 01ba 7B68 ldr r3, [r7, #4]
- 1984 01bc 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1985 01be 132B cmp r3, #19
- 1986 01c0 34D0 beq .L109
- 1987 .loc 3 363 3 discriminator 16
- 1988 01c2 7B68 ldr r3, [r7, #4]
- 1989 01c4 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1990 01c6 142B cmp r3, #20
- 1991 01c8 30D0 beq .L109
- 1992 .loc 3 363 3 discriminator 17
- 1993 01ca 7B68 ldr r3, [r7, #4]
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 93
- 1994 01cc 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 1995 01ce 152B cmp r3, #21
- 1996 01d0 2CD0 beq .L109
- 1997 .loc 3 363 3 discriminator 18
- 1998 01d2 7B68 ldr r3, [r7, #4]
- 1999 01d4 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 2000 01d6 162B cmp r3, #22
- 2001 01d8 28D0 beq .L109
- 2002 .loc 3 363 3 discriminator 19
- 2003 01da 7B68 ldr r3, [r7, #4]
- 2004 01dc 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 2005 01de 172B cmp r3, #23
- 2006 01e0 24D0 beq .L109
- 2007 .loc 3 363 3 discriminator 20
- 2008 01e2 7B68 ldr r3, [r7, #4]
- 2009 01e4 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 2010 01e6 182B cmp r3, #24
- 2011 01e8 20D0 beq .L109
- 2012 .loc 3 363 3 discriminator 21
- 2013 01ea 7B68 ldr r3, [r7, #4]
- 2014 01ec 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 2015 01ee 192B cmp r3, #25
- 2016 01f0 1CD0 beq .L109
- 2017 .loc 3 363 3 discriminator 22
- 2018 01f2 7B68 ldr r3, [r7, #4]
- 2019 01f4 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 2020 01f6 1A2B cmp r3, #26
- 2021 01f8 18D0 beq .L109
- 2022 .loc 3 363 3 discriminator 23
- 2023 01fa 7B68 ldr r3, [r7, #4]
- 2024 01fc 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 2025 01fe 1B2B cmp r3, #27
- 2026 0200 14D0 beq .L109
- 2027 .loc 3 363 3 discriminator 24
- 2028 0202 7B68 ldr r3, [r7, #4]
- 2029 0204 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 2030 0206 1C2B cmp r3, #28
- 2031 0208 10D0 beq .L109
- 2032 .loc 3 363 3 discriminator 25
- 2033 020a 7B68 ldr r3, [r7, #4]
- 2034 020c 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 2035 020e 1D2B cmp r3, #29
- 2036 0210 0CD0 beq .L109
- 2037 .loc 3 363 3 discriminator 26
- 2038 0212 7B68 ldr r3, [r7, #4]
- 2039 0214 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 2040 0216 1E2B cmp r3, #30
- 2041 0218 08D0 beq .L109
- 2042 .loc 3 363 3 discriminator 27
- 2043 021a 7B68 ldr r3, [r7, #4]
- 2044 021c 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 2045 021e 1F2B cmp r3, #31
- 2046 0220 04D0 beq .L109
- 2047 .loc 3 363 3 discriminator 28
- 2048 0222 40F26B11 movw r1, #363
- 2049 0226 1648 ldr r0, .L110
- 2050 0228 FFF7FEFF bl assert_failed
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 94
- 2051 .L109:
- 364:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 365:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Set the Region number */
- 366:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->RNR = MPU_Init->Number;
- 2052 .loc 3 366 22 is_stmt 1
- 2053 022c 7B68 ldr r3, [r7, #4]
- 2054 022e 5A78 ldrb r2, [r3, #1] @ zero_extendqisi2
- 2055 .loc 3 366 6
- 2056 0230 144B ldr r3, .L110+4
- 2057 .loc 3 366 12
- 2058 0232 9A60 str r2, [r3, #8]
- 367:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 368:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Disable the Region */
- 369:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** CLEAR_BIT(MPU->RASR, MPU_RASR_ENABLE_Msk);
- 2059 .loc 3 369 3
- 2060 0234 134B ldr r3, .L110+4
- 2061 0236 1B69 ldr r3, [r3, #16]
- 2062 0238 124A ldr r2, .L110+4
- 2063 023a 23F00103 bic r3, r3, #1
- 2064 023e 1361 str r3, [r2, #16]
- 370:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 371:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Apply configuration */
- 372:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->RBAR = MPU_Init->BaseAddress;
- 2065 .loc 3 372 6
- 2066 0240 104A ldr r2, .L110+4
- 2067 .loc 3 372 23
- 2068 0242 7B68 ldr r3, [r7, #4]
- 2069 0244 5B68 ldr r3, [r3, #4]
- 2070 .loc 3 372 13
- 2071 0246 D360 str r3, [r2, #12]
- 373:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->RASR = ((uint32_t)MPU_Init->DisableExec << MPU_RASR_XN_Pos) |
- 2072 .loc 3 373 34
- 2073 0248 7B68 ldr r3, [r7, #4]
- 2074 024a 1B7B ldrb r3, [r3, #12] @ zero_extendqisi2
- 2075 .loc 3 373 60
- 2076 024c 1A07 lsls r2, r3, #28
- 374:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
- 2077 .loc 3 374 34
- 2078 024e 7B68 ldr r3, [r7, #4]
- 2079 0250 DB7A ldrb r3, [r3, #11] @ zero_extendqisi2
- 2080 .loc 3 374 60
- 2081 0252 1B06 lsls r3, r3, #24
- 373:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->RASR = ((uint32_t)MPU_Init->DisableExec << MPU_RASR_XN_Pos) |
- 2082 .loc 3 373 82
- 2083 0254 1A43 orrs r2, r2, r3
- 375:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->TypeExtField << MPU_RASR_TEX_Pos) |
- 2084 .loc 3 375 34
- 2085 0256 7B68 ldr r3, [r7, #4]
- 2086 0258 9B7A ldrb r3, [r3, #10] @ zero_extendqisi2
- 2087 .loc 3 375 60
- 2088 025a DB04 lsls r3, r3, #19
- 374:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
- 2089 .loc 3 374 82
- 2090 025c 1A43 orrs r2, r2, r3
- 376:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsShareable << MPU_RASR_S_Pos) |
- 2091 .loc 3 376 34
- 2092 025e 7B68 ldr r3, [r7, #4]
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 95
- 2093 0260 5B7B ldrb r3, [r3, #13] @ zero_extendqisi2
- 2094 .loc 3 376 60
- 2095 0262 9B04 lsls r3, r3, #18
- 375:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->TypeExtField << MPU_RASR_TEX_Pos) |
- 2096 .loc 3 375 82
- 2097 0264 1A43 orrs r2, r2, r3
- 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsCacheable << MPU_RASR_C_Pos) |
- 2098 .loc 3 377 34
- 2099 0266 7B68 ldr r3, [r7, #4]
- 2100 0268 9B7B ldrb r3, [r3, #14] @ zero_extendqisi2
- 2101 .loc 3 377 60
- 2102 026a 5B04 lsls r3, r3, #17
- 376:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsShareable << MPU_RASR_S_Pos) |
- 2103 .loc 3 376 82
- 2104 026c 1A43 orrs r2, r2, r3
- 378:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsBufferable << MPU_RASR_B_Pos) |
- 2105 .loc 3 378 34
- 2106 026e 7B68 ldr r3, [r7, #4]
- 2107 0270 DB7B ldrb r3, [r3, #15] @ zero_extendqisi2
- 2108 .loc 3 378 60
- 2109 0272 1B04 lsls r3, r3, #16
- 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsCacheable << MPU_RASR_C_Pos) |
- 2110 .loc 3 377 82
- 2111 0274 1A43 orrs r2, r2, r3
- 379:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->SubRegionDisable << MPU_RASR_SRD_Pos) |
- 2112 .loc 3 379 34
- 2113 0276 7B68 ldr r3, [r7, #4]
- 2114 0278 5B7A ldrb r3, [r3, #9] @ zero_extendqisi2
- 2115 .loc 3 379 60
- 2116 027a 1B02 lsls r3, r3, #8
- 2117 027c 04E0 b .L111
- 2118 .L112:
- 2119 027e 00BF .align 2
- 2120 .L110:
- 2121 0280 00000000 .word .LC0
- 2122 0284 90ED00E0 .word -536810096
- 2123 .L111:
- 378:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsBufferable << MPU_RASR_B_Pos) |
- 2124 .loc 3 378 82
- 2125 0288 1A43 orrs r2, r2, r3
- 380:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->Size << MPU_RASR_SIZE_Pos) |
- 2126 .loc 3 380 34
- 2127 028a 7B68 ldr r3, [r7, #4]
- 2128 028c 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
- 2129 .loc 3 380 60
- 2130 028e 5B00 lsls r3, r3, #1
- 379:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->SubRegionDisable << MPU_RASR_SRD_Pos) |
- 2131 .loc 3 379 82
- 2132 0290 1343 orrs r3, r3, r2
- 381:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->Enable << MPU_RASR_ENABLE_Pos);
- 2133 .loc 3 381 34
- 2134 0292 7A68 ldr r2, [r7, #4]
- 2135 0294 1278 ldrb r2, [r2] @ zero_extendqisi2
- 2136 .loc 3 381 60
- 2137 0296 1146 mov r1, r2
- 373:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
- 2138 .loc 3 373 6
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 96
- 2139 0298 034A ldr r2, .L113
- 380:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->Size << MPU_RASR_SIZE_Pos) |
- 2140 .loc 3 380 82
- 2141 029a 0B43 orrs r3, r3, r1
- 373:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
- 2142 .loc 3 373 13
- 2143 029c 1361 str r3, [r2, #16]
- 382:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 2144 .loc 3 382 1
- 2145 029e 00BF nop
- 2146 02a0 0837 adds r7, r7, #8
- 2147 .LCFI127:
- 2148 .cfi_def_cfa_offset 8
- 2149 02a2 BD46 mov sp, r7
- 2150 .LCFI128:
- 2151 .cfi_def_cfa_register 13
- 2152 @ sp needed
- 2153 02a4 80BD pop {r7, pc}
- 2154 .L114:
- 2155 02a6 00BF .align 2
- 2156 .L113:
- 2157 02a8 90ED00E0 .word -536810096
- 2158 .cfi_endproc
- 2159 .LFE140:
- 2161 .section .text.HAL_NVIC_GetPriorityGrouping,"ax",%progbits
- 2162 .align 1
- 2163 .global HAL_NVIC_GetPriorityGrouping
- 2164 .syntax unified
- 2165 .thumb
- 2166 .thumb_func
- 2168 HAL_NVIC_GetPriorityGrouping:
- 2169 .LFB141:
- 383:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** #endif /* __MPU_PRESENT */
- 384:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 385:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 386:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Gets the priority grouping field from the NVIC Interrupt Controller.
- 387:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field)
- 388:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 389:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** uint32_t HAL_NVIC_GetPriorityGrouping(void)
- 390:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 2170 .loc 3 390 1
- 2171 .cfi_startproc
- 2172 @ args = 0, pretend = 0, frame = 0
- 2173 @ frame_needed = 1, uses_anonymous_args = 0
- 2174 0000 80B5 push {r7, lr}
- 2175 .LCFI129:
- 2176 .cfi_def_cfa_offset 8
- 2177 .cfi_offset 7, -8
- 2178 .cfi_offset 14, -4
- 2179 0002 00AF add r7, sp, #0
- 2180 .LCFI130:
- 2181 .cfi_def_cfa_register 7
- 391:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Get the PRIGROUP[10:8] field value */
- 392:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** return NVIC_GetPriorityGrouping();
- 2182 .loc 3 392 10
- 2183 0004 FFF7FEFF bl __NVIC_GetPriorityGrouping
- 2184 0008 0346 mov r3, r0
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 97
- 393:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 2185 .loc 3 393 1
- 2186 000a 1846 mov r0, r3
- 2187 000c 80BD pop {r7, pc}
- 2188 .cfi_endproc
- 2189 .LFE141:
- 2191 .section .text.HAL_NVIC_GetPriority,"ax",%progbits
- 2192 .align 1
- 2193 .global HAL_NVIC_GetPriority
- 2194 .syntax unified
- 2195 .thumb
- 2196 .thumb_func
- 2198 HAL_NVIC_GetPriority:
- 2199 .LFB142:
- 394:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 395:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 396:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Gets the priority of an interrupt.
- 397:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
- 398:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 399:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 400:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param PriorityGroup: the priority grouping bits length.
- 401:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be one of the following values:
- 402:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_0: 0 bits for pre-emption priority
- 403:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 4 bits for subpriority
- 404:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_1: 1 bits for pre-emption priority
- 405:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 3 bits for subpriority
- 406:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_2: 2 bits for pre-emption priority
- 407:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 2 bits for subpriority
- 408:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_3: 3 bits for pre-emption priority
- 409:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 1 bits for subpriority
- 410:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_4: 4 bits for pre-emption priority
- 411:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 0 bits for subpriority
- 412:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param pPreemptPriority Pointer on the Preemptive priority value (starting from 0).
- 413:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param pSubPriority Pointer on the Subpriority value (starting from 0).
- 414:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 415:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 416:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_GetPriority(IRQn_Type IRQn, uint32_t PriorityGroup, uint32_t* pPreemptPriority, uint3
- 417:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 2200 .loc 3 417 1
- 2201 .cfi_startproc
- 2202 @ args = 0, pretend = 0, frame = 16
- 2203 @ frame_needed = 1, uses_anonymous_args = 0
- 2204 0000 80B5 push {r7, lr}
- 2205 .LCFI131:
- 2206 .cfi_def_cfa_offset 8
- 2207 .cfi_offset 7, -8
- 2208 .cfi_offset 14, -4
- 2209 0002 84B0 sub sp, sp, #16
- 2210 .LCFI132:
- 2211 .cfi_def_cfa_offset 24
- 2212 0004 00AF add r7, sp, #0
- 2213 .LCFI133:
- 2214 .cfi_def_cfa_register 7
- 2215 0006 B960 str r1, [r7, #8]
- 2216 0008 7A60 str r2, [r7, #4]
- 2217 000a 3B60 str r3, [r7]
- 2218 000c 0346 mov r3, r0
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 98
- 2219 000e FB73 strb r3, [r7, #15]
- 418:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
- 419:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup));
- 2220 .loc 3 419 3
- 2221 0010 BB68 ldr r3, [r7, #8]
- 2222 0012 072B cmp r3, #7
- 2223 0014 10D0 beq .L118
- 2224 .loc 3 419 3 is_stmt 0 discriminator 1
- 2225 0016 BB68 ldr r3, [r7, #8]
- 2226 0018 062B cmp r3, #6
- 2227 001a 0DD0 beq .L118
- 2228 .loc 3 419 3 discriminator 2
- 2229 001c BB68 ldr r3, [r7, #8]
- 2230 001e 052B cmp r3, #5
- 2231 0020 0AD0 beq .L118
- 2232 .loc 3 419 3 discriminator 3
- 2233 0022 BB68 ldr r3, [r7, #8]
- 2234 0024 042B cmp r3, #4
- 2235 0026 07D0 beq .L118
- 2236 .loc 3 419 3 discriminator 4
- 2237 0028 BB68 ldr r3, [r7, #8]
- 2238 002a 032B cmp r3, #3
- 2239 002c 04D0 beq .L118
- 2240 .loc 3 419 3 discriminator 5
- 2241 002e 40F2A311 movw r1, #419
- 2242 0032 0848 ldr r0, .L119
- 2243 0034 FFF7FEFF bl assert_failed
- 2244 .L118:
- 420:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Get priority for Cortex-M system or device specific interrupts */
- 421:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_DecodePriority(NVIC_GetPriority(IRQn), PriorityGroup, pPreemptPriority, pSubPriority);
- 2245 .loc 3 421 3 is_stmt 1
- 2246 0038 97F90F30 ldrsb r3, [r7, #15]
- 2247 003c 1846 mov r0, r3
- 2248 003e FFF7FEFF bl __NVIC_GetPriority
- 2249 0042 3B68 ldr r3, [r7]
- 2250 0044 7A68 ldr r2, [r7, #4]
- 2251 0046 B968 ldr r1, [r7, #8]
- 2252 0048 FFF7FEFF bl NVIC_DecodePriority
- 422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 2253 .loc 3 422 1
- 2254 004c 00BF nop
- 2255 004e 1037 adds r7, r7, #16
- 2256 .LCFI134:
- 2257 .cfi_def_cfa_offset 8
- 2258 0050 BD46 mov sp, r7
- 2259 .LCFI135:
- 2260 .cfi_def_cfa_register 13
- 2261 @ sp needed
- 2262 0052 80BD pop {r7, pc}
- 2263 .L120:
- 2264 .align 2
- 2265 .L119:
- 2266 0054 00000000 .word .LC0
- 2267 .cfi_endproc
- 2268 .LFE142:
- 2270 .section .text.HAL_NVIC_SetPendingIRQ,"ax",%progbits
- 2271 .align 1
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 99
- 2272 .global HAL_NVIC_SetPendingIRQ
- 2273 .syntax unified
- 2274 .thumb
- 2275 .thumb_func
- 2277 HAL_NVIC_SetPendingIRQ:
- 2278 .LFB143:
- 423:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 424:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 425:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Sets Pending bit of an external interrupt.
- 426:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
- 427:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 428:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 429:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 430:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 431:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_SetPendingIRQ(IRQn_Type IRQn)
- 432:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 2279 .loc 3 432 1
- 2280 .cfi_startproc
- 2281 @ args = 0, pretend = 0, frame = 8
- 2282 @ frame_needed = 1, uses_anonymous_args = 0
- 2283 0000 80B5 push {r7, lr}
- 2284 .LCFI136:
- 2285 .cfi_def_cfa_offset 8
- 2286 .cfi_offset 7, -8
- 2287 .cfi_offset 14, -4
- 2288 0002 82B0 sub sp, sp, #8
- 2289 .LCFI137:
- 2290 .cfi_def_cfa_offset 16
- 2291 0004 00AF add r7, sp, #0
- 2292 .LCFI138:
- 2293 .cfi_def_cfa_register 7
- 2294 0006 0346 mov r3, r0
- 2295 0008 FB71 strb r3, [r7, #7]
- 433:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Set interrupt pending */
- 434:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_SetPendingIRQ(IRQn);
- 2296 .loc 3 434 3
- 2297 000a 97F90730 ldrsb r3, [r7, #7]
- 2298 000e 1846 mov r0, r3
- 2299 0010 FFF7FEFF bl __NVIC_SetPendingIRQ
- 435:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 2300 .loc 3 435 1
- 2301 0014 00BF nop
- 2302 0016 0837 adds r7, r7, #8
- 2303 .LCFI139:
- 2304 .cfi_def_cfa_offset 8
- 2305 0018 BD46 mov sp, r7
- 2306 .LCFI140:
- 2307 .cfi_def_cfa_register 13
- 2308 @ sp needed
- 2309 001a 80BD pop {r7, pc}
- 2310 .cfi_endproc
- 2311 .LFE143:
- 2313 .section .text.HAL_NVIC_GetPendingIRQ,"ax",%progbits
- 2314 .align 1
- 2315 .global HAL_NVIC_GetPendingIRQ
- 2316 .syntax unified
- 2317 .thumb
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 100
- 2318 .thumb_func
- 2320 HAL_NVIC_GetPendingIRQ:
- 2321 .LFB144:
- 436:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 437:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 438:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Gets Pending Interrupt (reads the pending register in the NVIC
- 439:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * and returns the pending bit for the specified interrupt).
- 440:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
- 441:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 443:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval status: - 0 Interrupt status is not pending.
- 444:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * - 1 Interrupt status is pending.
- 445:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 446:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** uint32_t HAL_NVIC_GetPendingIRQ(IRQn_Type IRQn)
- 447:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 2322 .loc 3 447 1
- 2323 .cfi_startproc
- 2324 @ args = 0, pretend = 0, frame = 8
- 2325 @ frame_needed = 1, uses_anonymous_args = 0
- 2326 0000 80B5 push {r7, lr}
- 2327 .LCFI141:
- 2328 .cfi_def_cfa_offset 8
- 2329 .cfi_offset 7, -8
- 2330 .cfi_offset 14, -4
- 2331 0002 82B0 sub sp, sp, #8
- 2332 .LCFI142:
- 2333 .cfi_def_cfa_offset 16
- 2334 0004 00AF add r7, sp, #0
- 2335 .LCFI143:
- 2336 .cfi_def_cfa_register 7
- 2337 0006 0346 mov r3, r0
- 2338 0008 FB71 strb r3, [r7, #7]
- 448:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Return 1 if pending else 0U */
- 449:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** return NVIC_GetPendingIRQ(IRQn);
- 2339 .loc 3 449 10
- 2340 000a 97F90730 ldrsb r3, [r7, #7]
- 2341 000e 1846 mov r0, r3
- 2342 0010 FFF7FEFF bl __NVIC_GetPendingIRQ
- 2343 0014 0346 mov r3, r0
- 450:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 2344 .loc 3 450 1
- 2345 0016 1846 mov r0, r3
- 2346 0018 0837 adds r7, r7, #8
- 2347 .LCFI144:
- 2348 .cfi_def_cfa_offset 8
- 2349 001a BD46 mov sp, r7
- 2350 .LCFI145:
- 2351 .cfi_def_cfa_register 13
- 2352 @ sp needed
- 2353 001c 80BD pop {r7, pc}
- 2354 .cfi_endproc
- 2355 .LFE144:
- 2357 .section .text.HAL_NVIC_ClearPendingIRQ,"ax",%progbits
- 2358 .align 1
- 2359 .global HAL_NVIC_ClearPendingIRQ
- 2360 .syntax unified
- 2361 .thumb
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 101
- 2362 .thumb_func
- 2364 HAL_NVIC_ClearPendingIRQ:
- 2365 .LFB145:
- 451:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 452:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 453:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Clears the pending bit of an external interrupt.
- 454:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
- 455:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 456:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 457:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 458:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 459:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_ClearPendingIRQ(IRQn_Type IRQn)
- 460:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 2366 .loc 3 460 1
- 2367 .cfi_startproc
- 2368 @ args = 0, pretend = 0, frame = 8
- 2369 @ frame_needed = 1, uses_anonymous_args = 0
- 2370 0000 80B5 push {r7, lr}
- 2371 .LCFI146:
- 2372 .cfi_def_cfa_offset 8
- 2373 .cfi_offset 7, -8
- 2374 .cfi_offset 14, -4
- 2375 0002 82B0 sub sp, sp, #8
- 2376 .LCFI147:
- 2377 .cfi_def_cfa_offset 16
- 2378 0004 00AF add r7, sp, #0
- 2379 .LCFI148:
- 2380 .cfi_def_cfa_register 7
- 2381 0006 0346 mov r3, r0
- 2382 0008 FB71 strb r3, [r7, #7]
- 461:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Clear pending interrupt */
- 462:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_ClearPendingIRQ(IRQn);
- 2383 .loc 3 462 3
- 2384 000a 97F90730 ldrsb r3, [r7, #7]
- 2385 000e 1846 mov r0, r3
- 2386 0010 FFF7FEFF bl __NVIC_ClearPendingIRQ
- 463:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 2387 .loc 3 463 1
- 2388 0014 00BF nop
- 2389 0016 0837 adds r7, r7, #8
- 2390 .LCFI149:
- 2391 .cfi_def_cfa_offset 8
- 2392 0018 BD46 mov sp, r7
- 2393 .LCFI150:
- 2394 .cfi_def_cfa_register 13
- 2395 @ sp needed
- 2396 001a 80BD pop {r7, pc}
- 2397 .cfi_endproc
- 2398 .LFE145:
- 2400 .section .text.HAL_NVIC_GetActive,"ax",%progbits
- 2401 .align 1
- 2402 .global HAL_NVIC_GetActive
- 2403 .syntax unified
- 2404 .thumb
- 2405 .thumb_func
- 2407 HAL_NVIC_GetActive:
- 2408 .LFB146:
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 102
- 464:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 465:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 466:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Gets active interrupt ( reads the active register in NVIC and returns the active bit).
- 467:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
- 468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 469:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 470:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval status: - 0 Interrupt status is not pending.
- 471:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * - 1 Interrupt status is pending.
- 472:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 473:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** uint32_t HAL_NVIC_GetActive(IRQn_Type IRQn)
- 474:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 2409 .loc 3 474 1
- 2410 .cfi_startproc
- 2411 @ args = 0, pretend = 0, frame = 8
- 2412 @ frame_needed = 1, uses_anonymous_args = 0
- 2413 0000 80B5 push {r7, lr}
- 2414 .LCFI151:
- 2415 .cfi_def_cfa_offset 8
- 2416 .cfi_offset 7, -8
- 2417 .cfi_offset 14, -4
- 2418 0002 82B0 sub sp, sp, #8
- 2419 .LCFI152:
- 2420 .cfi_def_cfa_offset 16
- 2421 0004 00AF add r7, sp, #0
- 2422 .LCFI153:
- 2423 .cfi_def_cfa_register 7
- 2424 0006 0346 mov r3, r0
- 2425 0008 FB71 strb r3, [r7, #7]
- 475:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Return 1 if active else 0U */
- 476:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** return NVIC_GetActive(IRQn);
- 2426 .loc 3 476 10
- 2427 000a 97F90730 ldrsb r3, [r7, #7]
- 2428 000e 1846 mov r0, r3
- 2429 0010 FFF7FEFF bl __NVIC_GetActive
- 2430 0014 0346 mov r3, r0
- 477:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 2431 .loc 3 477 1
- 2432 0016 1846 mov r0, r3
- 2433 0018 0837 adds r7, r7, #8
- 2434 .LCFI154:
- 2435 .cfi_def_cfa_offset 8
- 2436 001a BD46 mov sp, r7
- 2437 .LCFI155:
- 2438 .cfi_def_cfa_register 13
- 2439 @ sp needed
- 2440 001c 80BD pop {r7, pc}
- 2441 .cfi_endproc
- 2442 .LFE146:
- 2444 .section .text.HAL_SYSTICK_CLKSourceConfig,"ax",%progbits
- 2445 .align 1
- 2446 .global HAL_SYSTICK_CLKSourceConfig
- 2447 .syntax unified
- 2448 .thumb
- 2449 .thumb_func
- 2451 HAL_SYSTICK_CLKSourceConfig:
- 2452 .LFB147:
- 478:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 103
- 479:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 480:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Configures the SysTick clock source.
- 481:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param CLKSource specifies the SysTick clock source.
- 482:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be one of the following values:
- 483:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg SYSTICK_CLKSOURCE_HCLK_DIV8: AHB clock divided by 8 selected as SysTick clock
- 484:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg SYSTICK_CLKSOURCE_HCLK: AHB clock selected as SysTick clock source.
- 485:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 486:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 487:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_SYSTICK_CLKSourceConfig(uint32_t CLKSource)
- 488:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 2453 .loc 3 488 1
- 2454 .cfi_startproc
- 2455 @ args = 0, pretend = 0, frame = 8
- 2456 @ frame_needed = 1, uses_anonymous_args = 0
- 2457 0000 80B5 push {r7, lr}
- 2458 .LCFI156:
- 2459 .cfi_def_cfa_offset 8
- 2460 .cfi_offset 7, -8
- 2461 .cfi_offset 14, -4
- 2462 0002 82B0 sub sp, sp, #8
- 2463 .LCFI157:
- 2464 .cfi_def_cfa_offset 16
- 2465 0004 00AF add r7, sp, #0
- 2466 .LCFI158:
- 2467 .cfi_def_cfa_register 7
- 2468 0006 7860 str r0, [r7, #4]
- 489:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
- 490:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_SYSTICK_CLK_SOURCE(CLKSource));
- 2469 .loc 3 490 3
- 2470 0008 7B68 ldr r3, [r7, #4]
- 2471 000a 042B cmp r3, #4
- 2472 000c 07D0 beq .L128
- 2473 .loc 3 490 3 is_stmt 0 discriminator 1
- 2474 000e 7B68 ldr r3, [r7, #4]
- 2475 0010 002B cmp r3, #0
- 2476 0012 04D0 beq .L128
- 2477 .loc 3 490 3 discriminator 2
- 2478 0014 4FF4F571 mov r1, #490
- 2479 0018 0B48 ldr r0, .L132
- 2480 001a FFF7FEFF bl assert_failed
- 2481 .L128:
- 491:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** if (CLKSource == SYSTICK_CLKSOURCE_HCLK)
- 2482 .loc 3 491 6 is_stmt 1
- 2483 001e 7B68 ldr r3, [r7, #4]
- 2484 0020 042B cmp r3, #4
- 2485 0022 06D1 bne .L129
- 492:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 493:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** SysTick->CTRL |= SYSTICK_CLKSOURCE_HCLK;
- 2486 .loc 3 493 19
- 2487 0024 094B ldr r3, .L132+4
- 2488 0026 1B68 ldr r3, [r3]
- 2489 0028 084A ldr r2, .L132+4
- 2490 002a 43F00403 orr r3, r3, #4
- 2491 002e 1360 str r3, [r2]
- 494:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 495:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** else
- 496:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 104
- 497:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** SysTick->CTRL &= ~SYSTICK_CLKSOURCE_HCLK;
- 498:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 499:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 2492 .loc 3 499 1
- 2493 0030 05E0 b .L131
- 2494 .L129:
- 497:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 2495 .loc 3 497 19
- 2496 0032 064B ldr r3, .L132+4
- 2497 0034 1B68 ldr r3, [r3]
- 2498 0036 054A ldr r2, .L132+4
- 2499 0038 23F00403 bic r3, r3, #4
- 2500 003c 1360 str r3, [r2]
- 2501 .L131:
- 2502 .loc 3 499 1
- 2503 003e 00BF nop
- 2504 0040 0837 adds r7, r7, #8
- 2505 .LCFI159:
- 2506 .cfi_def_cfa_offset 8
- 2507 0042 BD46 mov sp, r7
- 2508 .LCFI160:
- 2509 .cfi_def_cfa_register 13
- 2510 @ sp needed
- 2511 0044 80BD pop {r7, pc}
- 2512 .L133:
- 2513 0046 00BF .align 2
- 2514 .L132:
- 2515 0048 00000000 .word .LC0
- 2516 004c 10E000E0 .word -536813552
- 2517 .cfi_endproc
- 2518 .LFE147:
- 2520 .section .text.HAL_SYSTICK_IRQHandler,"ax",%progbits
- 2521 .align 1
- 2522 .global HAL_SYSTICK_IRQHandler
- 2523 .syntax unified
- 2524 .thumb
- 2525 .thumb_func
- 2527 HAL_SYSTICK_IRQHandler:
- 2528 .LFB148:
- 500:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 501:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief This function handles SYSTICK interrupt request.
- 503:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 504:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 505:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_SYSTICK_IRQHandler(void)
- 506:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 2529 .loc 3 506 1
- 2530 .cfi_startproc
- 2531 @ args = 0, pretend = 0, frame = 0
- 2532 @ frame_needed = 1, uses_anonymous_args = 0
- 2533 0000 80B5 push {r7, lr}
- 2534 .LCFI161:
- 2535 .cfi_def_cfa_offset 8
- 2536 .cfi_offset 7, -8
- 2537 .cfi_offset 14, -4
- 2538 0002 00AF add r7, sp, #0
- 2539 .LCFI162:
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 105
- 2540 .cfi_def_cfa_register 7
- 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** HAL_SYSTICK_Callback();
- 2541 .loc 3 507 3
- 2542 0004 FFF7FEFF bl HAL_SYSTICK_Callback
- 508:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 2543 .loc 3 508 1
- 2544 0008 00BF nop
- 2545 000a 80BD pop {r7, pc}
- 2546 .cfi_endproc
- 2547 .LFE148:
- 2549 .section .text.HAL_SYSTICK_Callback,"ax",%progbits
- 2550 .align 1
- 2551 .weak HAL_SYSTICK_Callback
- 2552 .syntax unified
- 2553 .thumb
- 2554 .thumb_func
- 2556 HAL_SYSTICK_Callback:
- 2557 .LFB149:
- 509:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
- 510:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
- 511:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief SYSTICK callback.
- 512:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
- 513:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 514:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** __weak void HAL_SYSTICK_Callback(void)
- 515:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
- 2558 .loc 3 515 1
- 2559 .cfi_startproc
- 2560 @ args = 0, pretend = 0, frame = 0
- 2561 @ frame_needed = 1, uses_anonymous_args = 0
- 2562 @ link register save eliminated.
- 2563 0000 80B4 push {r7}
- 2564 .LCFI163:
- 2565 .cfi_def_cfa_offset 4
- 2566 .cfi_offset 7, -4
- 2567 0002 00AF add r7, sp, #0
- 2568 .LCFI164:
- 2569 .cfi_def_cfa_register 7
- 516:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* NOTE : This function Should not be modified, when the callback is needed,
- 517:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** the HAL_SYSTICK_Callback could be implemented in the user file
- 518:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
- 519:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
- 2570 .loc 3 519 1
- 2571 0004 00BF nop
- 2572 0006 BD46 mov sp, r7
- 2573 .LCFI165:
- 2574 .cfi_def_cfa_register 13
- 2575 @ sp needed
- 2576 0008 5DF8047B ldr r7, [sp], #4
- 2577 .LCFI166:
- 2578 .cfi_restore 7
- 2579 .cfi_def_cfa_offset 0
- 2580 000c 7047 bx lr
- 2581 .cfi_endproc
- 2582 .LFE149:
- 2584 .text
- 2585 .Letext0:
- 2586 .file 4 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f302xc.h"
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 106
- 2587 .file 5 "d:\\arm-gcc\\arm-none-eabi\\include\\machine\\_default_types.h"
- 2588 .file 6 "d:\\arm-gcc\\arm-none-eabi\\include\\sys\\_stdint.h"
- 2589 .file 7 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_cortex.h"
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 107
- DEFINED SYMBOLS
- *ABS*:00000000 stm32f3xx_hal_cortex.c
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:20 .text.__NVIC_SetPriorityGrouping:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:25 .text.__NVIC_SetPriorityGrouping:00000000 __NVIC_SetPriorityGrouping
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:90 .text.__NVIC_SetPriorityGrouping:00000044 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:95 .text.__NVIC_GetPriorityGrouping:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:100 .text.__NVIC_GetPriorityGrouping:00000000 __NVIC_GetPriorityGrouping
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:134 .text.__NVIC_GetPriorityGrouping:00000018 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:139 .text.__NVIC_EnableIRQ:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:144 .text.__NVIC_EnableIRQ:00000000 __NVIC_EnableIRQ
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:199 .text.__NVIC_EnableIRQ:00000038 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:204 .text.__NVIC_DisableIRQ:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:209 .text.__NVIC_DisableIRQ:00000000 __NVIC_DisableIRQ
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:292 .text.__NVIC_DisableIRQ:00000044 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:297 .text.__NVIC_GetPendingIRQ:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:302 .text.__NVIC_GetPendingIRQ:00000000 __NVIC_GetPendingIRQ
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:363 .text.__NVIC_GetPendingIRQ:00000040 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:368 .text.__NVIC_SetPendingIRQ:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:373 .text.__NVIC_SetPendingIRQ:00000000 __NVIC_SetPendingIRQ
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:429 .text.__NVIC_SetPendingIRQ:00000038 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:434 .text.__NVIC_ClearPendingIRQ:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:439 .text.__NVIC_ClearPendingIRQ:00000000 __NVIC_ClearPendingIRQ
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:495 .text.__NVIC_ClearPendingIRQ:00000038 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:500 .text.__NVIC_GetActive:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:505 .text.__NVIC_GetActive:00000000 __NVIC_GetActive
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:566 .text.__NVIC_GetActive:00000040 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:571 .text.__NVIC_SetPriority:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:576 .text.__NVIC_SetPriority:00000000 __NVIC_SetPriority
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:650 .text.__NVIC_SetPriority:0000004c $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:656 .text.__NVIC_GetPriority:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:661 .text.__NVIC_GetPriority:00000000 __NVIC_GetPriority
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:729 .text.__NVIC_GetPriority:00000048 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:735 .text.NVIC_EncodePriority:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:740 .text.NVIC_EncodePriority:00000000 NVIC_EncodePriority
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:825 .text.NVIC_DecodePriority:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:830 .text.NVIC_DecodePriority:00000000 NVIC_DecodePriority
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:920 .text.__NVIC_SystemReset:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:925 .text.__NVIC_SystemReset:00000000 __NVIC_SystemReset
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:989 .text.__NVIC_SystemReset:00000024 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:995 .text.SysTick_Config:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1000 .text.SysTick_Config:00000000 SysTick_Config
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1065 .text.SysTick_Config:00000040 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1070 .rodata:00000000 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1075 .text.HAL_NVIC_SetPriorityGrouping:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1081 .text.HAL_NVIC_SetPriorityGrouping:00000000 HAL_NVIC_SetPriorityGrouping
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1141 .text.HAL_NVIC_SetPriorityGrouping:0000003c $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1146 .text.HAL_NVIC_SetPriority:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1152 .text.HAL_NVIC_SetPriority:00000000 HAL_NVIC_SetPriority
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1220 .text.HAL_NVIC_SetPriority:00000054 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1225 .text.HAL_NVIC_EnableIRQ:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1231 .text.HAL_NVIC_EnableIRQ:00000000 HAL_NVIC_EnableIRQ
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1276 .text.HAL_NVIC_EnableIRQ:0000002c $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1281 .text.HAL_NVIC_DisableIRQ:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1287 .text.HAL_NVIC_DisableIRQ:00000000 HAL_NVIC_DisableIRQ
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1332 .text.HAL_NVIC_DisableIRQ:0000002c $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1337 .text.HAL_NVIC_SystemReset:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1343 .text.HAL_NVIC_SystemReset:00000000 HAL_NVIC_SystemReset
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s page 108
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1363 .text.HAL_SYSTICK_Config:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1369 .text.HAL_SYSTICK_Config:00000000 HAL_SYSTICK_Config
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1405 .text.HAL_MPU_Disable:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1411 .text.HAL_MPU_Disable:00000000 HAL_MPU_Disable
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1450 .text.HAL_MPU_Disable:00000020 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1456 .text.HAL_MPU_Enable:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1462 .text.HAL_MPU_Enable:00000000 HAL_MPU_Enable
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1510 .text.HAL_MPU_Enable:0000002c $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1516 .text.HAL_MPU_EnableRegion:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1522 .text.HAL_MPU_EnableRegion:00000000 HAL_MPU_EnableRegion
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1601 .text.HAL_MPU_EnableRegion:0000005c $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1607 .text.HAL_MPU_DisableRegion:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1613 .text.HAL_MPU_DisableRegion:00000000 HAL_MPU_DisableRegion
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1692 .text.HAL_MPU_DisableRegion:0000005c $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1698 .text.HAL_MPU_ConfigRegion:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:1704 .text.HAL_MPU_ConfigRegion:00000000 HAL_MPU_ConfigRegion
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2121 .text.HAL_MPU_ConfigRegion:00000280 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2125 .text.HAL_MPU_ConfigRegion:00000288 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2157 .text.HAL_MPU_ConfigRegion:000002a8 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2162 .text.HAL_NVIC_GetPriorityGrouping:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2168 .text.HAL_NVIC_GetPriorityGrouping:00000000 HAL_NVIC_GetPriorityGrouping
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2192 .text.HAL_NVIC_GetPriority:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2198 .text.HAL_NVIC_GetPriority:00000000 HAL_NVIC_GetPriority
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2266 .text.HAL_NVIC_GetPriority:00000054 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2271 .text.HAL_NVIC_SetPendingIRQ:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2277 .text.HAL_NVIC_SetPendingIRQ:00000000 HAL_NVIC_SetPendingIRQ
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2314 .text.HAL_NVIC_GetPendingIRQ:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2320 .text.HAL_NVIC_GetPendingIRQ:00000000 HAL_NVIC_GetPendingIRQ
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2358 .text.HAL_NVIC_ClearPendingIRQ:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2364 .text.HAL_NVIC_ClearPendingIRQ:00000000 HAL_NVIC_ClearPendingIRQ
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2401 .text.HAL_NVIC_GetActive:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2407 .text.HAL_NVIC_GetActive:00000000 HAL_NVIC_GetActive
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2445 .text.HAL_SYSTICK_CLKSourceConfig:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2451 .text.HAL_SYSTICK_CLKSourceConfig:00000000 HAL_SYSTICK_CLKSourceConfig
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2515 .text.HAL_SYSTICK_CLKSourceConfig:00000048 $d
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2521 .text.HAL_SYSTICK_IRQHandler:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2527 .text.HAL_SYSTICK_IRQHandler:00000000 HAL_SYSTICK_IRQHandler
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2556 .text.HAL_SYSTICK_Callback:00000000 HAL_SYSTICK_Callback
- C:\Users\zl835\AppData\Local\Temp\ccKEmGtF.s:2550 .text.HAL_SYSTICK_Callback:00000000 $t
- UNDEFINED SYMBOLS
- assert_failed
|