stm32f3xx_hal_cortex.lst 393 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573
  1. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 1
  2. 1 .cpu cortex-m4
  3. 2 .arch armv7e-m
  4. 3 .fpu fpv4-sp-d16
  5. 4 .eabi_attribute 27, 1
  6. 5 .eabi_attribute 28, 1
  7. 6 .eabi_attribute 20, 1
  8. 7 .eabi_attribute 21, 1
  9. 8 .eabi_attribute 23, 3
  10. 9 .eabi_attribute 24, 1
  11. 10 .eabi_attribute 25, 1
  12. 11 .eabi_attribute 26, 1
  13. 12 .eabi_attribute 30, 2
  14. 13 .eabi_attribute 34, 1
  15. 14 .eabi_attribute 18, 4
  16. 15 .file "stm32f3xx_hal_cortex.c"
  17. 16 .text
  18. 17 .Ltext0:
  19. 18 .cfi_sections .debug_frame
  20. 19 .section .rodata.HAL_NVIC_SetPriorityGrouping.str1.4,"aMS",%progbits,1
  21. 20 .align 2
  22. 21 .LC0:
  23. 22 0000 44726976 .ascii "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cort"
  24. 22 6572732F
  25. 22 53544D33
  26. 22 32463378
  27. 22 785F4841
  28. 23 0033 65782E63 .ascii "ex.c\000"
  29. 23 00
  30. 24 .section .text.HAL_NVIC_SetPriorityGrouping,"ax",%progbits
  31. 25 .align 1
  32. 26 .p2align 2,,3
  33. 27 .global HAL_NVIC_SetPriorityGrouping
  34. 28 .syntax unified
  35. 29 .thumb
  36. 30 .thumb_func
  37. 32 HAL_NVIC_SetPriorityGrouping:
  38. 33 .LVL0:
  39. 34 .LFB130:
  40. 35 .file 1 "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c"
  41. 1:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  42. 2:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ******************************************************************************
  43. 3:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @file stm32f3xx_hal_cortex.c
  44. 4:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @author MCD Application Team
  45. 5:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief CORTEX HAL module driver.
  46. 6:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This file provides firmware functions to manage the following
  47. 7:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * functionalities of the CORTEX:
  48. 8:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * + Initialization and de-initialization functions
  49. 9:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * + Peripheral Control functions
  50. 10:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *
  51. 11:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @verbatim
  52. 12:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ==============================================================================
  53. 13:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ##### How to use this driver #####
  54. 14:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ==============================================================================
  55. 15:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  56. 16:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** [..]
  57. 17:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *** How to configure Interrupts using CORTEX HAL driver ***
  58. 18:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ===========================================================
  59. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 2
  60. 19:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** [..]
  61. 20:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** This section provides functions allowing to configure the NVIC interrupts (IRQ).
  62. 21:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** The Cortex-M4 exceptions are managed by CMSIS functions.
  63. 22:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  64. 23:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (#) Configure the NVIC Priority Grouping using HAL_NVIC_SetPriorityGrouping() function
  65. 24:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  66. 25:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (#) Configure the priority of the selected IRQ Channels using HAL_NVIC_SetPriority()
  67. 26:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  68. 27:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (#) Enable the selected IRQ Channels using HAL_NVIC_EnableIRQ()
  69. 28:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  70. 29:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  71. 30:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** -@- When the NVIC_PRIORITYGROUP_0 is selected, IRQ pre-emption is no more possible.
  72. 31:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** The pending IRQ priority will be managed only by the sub priority.
  73. 32:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  74. 33:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** -@- IRQ priority order (sorted by highest to lowest priority):
  75. 34:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (+@) Lowest pre-emption priority
  76. 35:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (+@) Lowest sub priority
  77. 36:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (+@) Lowest hardware priority (IRQ number)
  78. 37:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  79. 38:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** [..]
  80. 39:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *** How to configure Systick using CORTEX HAL driver ***
  81. 40:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ========================================================
  82. 41:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** [..]
  83. 42:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** Setup SysTick Timer for time base
  84. 43:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  85. 44:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (+) The HAL_SYSTICK_Config()function calls the SysTick_Config() function which
  86. 45:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** is a CMSIS function that:
  87. 46:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Configures the SysTick Reload register with value passed as function parameter.
  88. 47:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Configures the SysTick IRQ priority to the lowest value (0x0FU).
  89. 48:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Resets the SysTick Counter register.
  90. 49:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Configures the SysTick Counter clock source to be Core Clock Source (HCLK).
  91. 50:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Enables the SysTick Interrupt.
  92. 51:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Starts the SysTick Counter.
  93. 52:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  94. 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
  95. 54:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** __HAL_CORTEX_SYSTICKCLK_CONFIG(SYSTICK_CLKSOURCE_HCLK_DIV8) just after the
  96. 55:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** HAL_SYSTICK_Config() function call. The __HAL_CORTEX_SYSTICKCLK_CONFIG() macro is defined
  97. 56:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** inside the stm32f3xx_hal_cortex.h file.
  98. 57:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  99. 58:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (+) You can change the SysTick IRQ priority by calling the
  100. 59:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** HAL_NVIC_SetPriority(SysTick_IRQn,...) function just after the HAL_SYSTICK_Config() function
  101. 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
  102. 61:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  103. 62:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (+) To adjust the SysTick time base, use the following formula:
  104. 63:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  105. 64:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** Reload Value = SysTick Counter Clock (Hz) x Desired Time base (s)
  106. 65:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Reload Value is the parameter to be passed for HAL_SYSTICK_Config() function
  107. 66:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (++) Reload Value should not exceed 0xFFFFFF
  108. 67:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  109. 68:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** @endverbatim
  110. 69:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ******************************************************************************
  111. 70:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @attention
  112. 71:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *
  113. 72:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * Copyright (c) 2016 STMicroelectronics.
  114. 73:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * All rights reserved.
  115. 74:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *
  116. 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
  117. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 3
  118. 76:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * the root directory of this software component.
  119. 77:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  120. 78:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *
  121. 79:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ******************************************************************************
  122. 80:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  123. 81:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  124. 82:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /*
  125. 83:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** Additional Tables: CORTEX_NVIC_Priority_Table
  126. 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
  127. 85:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** to the Priority Grouping configuration performed by HAL_NVIC_SetPriorityGrouping() function
  128. 86:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ============================================================================================
  129. 87:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_PriorityGroup | NVIC_IRQChannelPreemptionPriority | NVIC_IRQChannelSubPriority |
  130. 88:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ============================================================================================
  131. 89:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_PRIORITYGROUP_0 | 0 | 0U-15 |
  132. 90:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** | | | 4
  133. 91:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** --------------------------------------------------------------------------------------------
  134. 92:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_PRIORITYGROUP_1 | 0U-1 | 0U-7 |
  135. 93:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** | | | 3
  136. 94:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** --------------------------------------------------------------------------------------------
  137. 95:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_PRIORITYGROUP_2 | 0U-3 | 0U-3 |
  138. 96:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** | | | 2
  139. 97:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** --------------------------------------------------------------------------------------------
  140. 98:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_PRIORITYGROUP_3 | 0U-7 | 0U-1 |
  141. 99:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** | | | 1
  142. 100:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** --------------------------------------------------------------------------------------------
  143. 101:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_PRIORITYGROUP_4 | 0U-15 | 0 |
  144. 102:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** | | | 0
  145. 103:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ============================================================================================
  146. 104:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  147. 105:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  148. 106:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  149. 107:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Includes ------------------------------------------------------------------*/
  150. 108:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** #include "stm32f3xx_hal.h"
  151. 109:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  152. 110:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /** @addtogroup STM32F3xx_HAL_Driver
  153. 111:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @{
  154. 112:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  155. 113:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  156. 114:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /** @defgroup CORTEX CORTEX
  157. 115:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief CORTEX CORTEX HAL module driver
  158. 116:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @{
  159. 117:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  160. 118:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  161. 119:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** #ifdef HAL_CORTEX_MODULE_ENABLED
  162. 120:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  163. 121:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Private typedef -----------------------------------------------------------*/
  164. 122:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Private define ------------------------------------------------------------*/
  165. 123:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Private macro -------------------------------------------------------------*/
  166. 124:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Private variables ---------------------------------------------------------*/
  167. 125:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Private function prototypes -----------------------------------------------*/
  168. 126:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Exported functions ---------------------------------------------------------*/
  169. 127:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  170. 128:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions CORTEX Exported Functions
  171. 129:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @{
  172. 130:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  173. 131:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  174. 132:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  175. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 4
  176. 133:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions_Group1 Initialization and de-initialization functions
  177. 134:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Initialization and Configuration functions
  178. 135:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *
  179. 136:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** @verbatim
  180. 137:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ==============================================================================
  181. 138:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ##### Initialization and de-initialization functions #####
  182. 139:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ==============================================================================
  183. 140:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** [..]
  184. 141:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** This section provides the CORTEX HAL driver functions allowing to configure Interrupts
  185. 142:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** Systick functionalities
  186. 143:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  187. 144:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** @endverbatim
  188. 145:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @{
  189. 146:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  190. 147:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  191. 148:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  192. 149:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  193. 150:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Sets the priority grouping field (pre-emption priority and subpriority)
  194. 151:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * using the required unlock sequence.
  195. 152:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param PriorityGroup The priority grouping bits length.
  196. 153:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be one of the following values:
  197. 154:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_0: 0 bits for pre-emption priority
  198. 155:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 4 bits for subpriority
  199. 156:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_1: 1 bits for pre-emption priority
  200. 157:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 3 bits for subpriority
  201. 158:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_2: 2 bits for pre-emption priority
  202. 159:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 2 bits for subpriority
  203. 160:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_3: 3 bits for pre-emption priority
  204. 161:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 1 bits for subpriority
  205. 162:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_4: 4 bits for pre-emption priority
  206. 163:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 0 bits for subpriority
  207. 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.
  208. 165:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * The pending IRQ priority will be managed only by the subpriority.
  209. 166:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  210. 167:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  211. 168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
  212. 169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  213. 36 .loc 1 169 1 view -0
  214. 37 .cfi_startproc
  215. 38 @ args = 0, pretend = 0, frame = 0
  216. 39 @ frame_needed = 0, uses_anonymous_args = 0
  217. 170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  218. 171:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup));
  219. 40 .loc 1 171 3 view .LVU1
  220. 41 0000 C31E subs r3, r0, #3
  221. 42 0002 042B cmp r3, #4
  222. 169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  223. 43 .loc 1 169 1 is_stmt 0 view .LVU2
  224. 44 0004 10B5 push {r4, lr}
  225. 45 .LCFI0:
  226. 46 .cfi_def_cfa_offset 8
  227. 47 .cfi_offset 4, -8
  228. 48 .cfi_offset 14, -4
  229. 169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  230. 49 .loc 1 169 1 view .LVU3
  231. 50 0006 0446 mov r4, r0
  232. 51 .loc 1 171 3 view .LVU4
  233. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 5
  234. 52 0008 0ED8 bhi .L5
  235. 53 .LVL1:
  236. 54 .L2:
  237. 172:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  238. 173:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Set the PRIGROUP[10:8] bits according to the PriorityGroup parameter value */
  239. 174:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_SetPriorityGrouping(PriorityGroup);
  240. 55 .loc 1 174 3 is_stmt 1 view .LVU5
  241. 56 .LBB32:
  242. 57 .LBI32:
  243. 58 .file 2 "Drivers/CMSIS/Include/core_cm4.h"
  244. 1:Drivers/CMSIS/Include/core_cm4.h **** /**************************************************************************//**
  245. 2:Drivers/CMSIS/Include/core_cm4.h **** * @file core_cm4.h
  246. 3:Drivers/CMSIS/Include/core_cm4.h **** * @brief CMSIS Cortex-M4 Core Peripheral Access Layer Header File
  247. 4:Drivers/CMSIS/Include/core_cm4.h **** * @version V5.0.8
  248. 5:Drivers/CMSIS/Include/core_cm4.h **** * @date 04. June 2018
  249. 6:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
  250. 7:Drivers/CMSIS/Include/core_cm4.h **** /*
  251. 8:Drivers/CMSIS/Include/core_cm4.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
  252. 9:Drivers/CMSIS/Include/core_cm4.h **** *
  253. 10:Drivers/CMSIS/Include/core_cm4.h **** * SPDX-License-Identifier: Apache-2.0
  254. 11:Drivers/CMSIS/Include/core_cm4.h **** *
  255. 12:Drivers/CMSIS/Include/core_cm4.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
  256. 13:Drivers/CMSIS/Include/core_cm4.h **** * not use this file except in compliance with the License.
  257. 14:Drivers/CMSIS/Include/core_cm4.h **** * You may obtain a copy of the License at
  258. 15:Drivers/CMSIS/Include/core_cm4.h **** *
  259. 16:Drivers/CMSIS/Include/core_cm4.h **** * www.apache.org/licenses/LICENSE-2.0
  260. 17:Drivers/CMSIS/Include/core_cm4.h **** *
  261. 18:Drivers/CMSIS/Include/core_cm4.h **** * Unless required by applicable law or agreed to in writing, software
  262. 19:Drivers/CMSIS/Include/core_cm4.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  263. 20:Drivers/CMSIS/Include/core_cm4.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  264. 21:Drivers/CMSIS/Include/core_cm4.h **** * See the License for the specific language governing permissions and
  265. 22:Drivers/CMSIS/Include/core_cm4.h **** * limitations under the License.
  266. 23:Drivers/CMSIS/Include/core_cm4.h **** */
  267. 24:Drivers/CMSIS/Include/core_cm4.h ****
  268. 25:Drivers/CMSIS/Include/core_cm4.h **** #if defined ( __ICCARM__ )
  269. 26:Drivers/CMSIS/Include/core_cm4.h **** #pragma system_include /* treat file as system include file for MISRA check */
  270. 27:Drivers/CMSIS/Include/core_cm4.h **** #elif defined (__clang__)
  271. 28:Drivers/CMSIS/Include/core_cm4.h **** #pragma clang system_header /* treat file as system include file */
  272. 29:Drivers/CMSIS/Include/core_cm4.h **** #endif
  273. 30:Drivers/CMSIS/Include/core_cm4.h ****
  274. 31:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CORE_CM4_H_GENERIC
  275. 32:Drivers/CMSIS/Include/core_cm4.h **** #define __CORE_CM4_H_GENERIC
  276. 33:Drivers/CMSIS/Include/core_cm4.h ****
  277. 34:Drivers/CMSIS/Include/core_cm4.h **** #include <stdint.h>
  278. 35:Drivers/CMSIS/Include/core_cm4.h ****
  279. 36:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
  280. 37:Drivers/CMSIS/Include/core_cm4.h **** extern "C" {
  281. 38:Drivers/CMSIS/Include/core_cm4.h **** #endif
  282. 39:Drivers/CMSIS/Include/core_cm4.h ****
  283. 40:Drivers/CMSIS/Include/core_cm4.h **** /**
  284. 41:Drivers/CMSIS/Include/core_cm4.h **** \page CMSIS_MISRA_Exceptions MISRA-C:2004 Compliance Exceptions
  285. 42:Drivers/CMSIS/Include/core_cm4.h **** CMSIS violates the following MISRA-C:2004 rules:
  286. 43:Drivers/CMSIS/Include/core_cm4.h ****
  287. 44:Drivers/CMSIS/Include/core_cm4.h **** \li Required Rule 8.5, object/function definition in header file.<br>
  288. 45:Drivers/CMSIS/Include/core_cm4.h **** Function definitions in header files are used to allow 'inlining'.
  289. 46:Drivers/CMSIS/Include/core_cm4.h ****
  290. 47:Drivers/CMSIS/Include/core_cm4.h **** \li Required Rule 18.4, declaration of union type or object of union type: '{...}'.<br>
  291. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 6
  292. 48:Drivers/CMSIS/Include/core_cm4.h **** Unions are used for effective representation of core registers.
  293. 49:Drivers/CMSIS/Include/core_cm4.h ****
  294. 50:Drivers/CMSIS/Include/core_cm4.h **** \li Advisory Rule 19.7, Function-like macro defined.<br>
  295. 51:Drivers/CMSIS/Include/core_cm4.h **** Function-like macros are used to allow more efficient code.
  296. 52:Drivers/CMSIS/Include/core_cm4.h **** */
  297. 53:Drivers/CMSIS/Include/core_cm4.h ****
  298. 54:Drivers/CMSIS/Include/core_cm4.h ****
  299. 55:Drivers/CMSIS/Include/core_cm4.h **** /*******************************************************************************
  300. 56:Drivers/CMSIS/Include/core_cm4.h **** * CMSIS definitions
  301. 57:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
  302. 58:Drivers/CMSIS/Include/core_cm4.h **** /**
  303. 59:Drivers/CMSIS/Include/core_cm4.h **** \ingroup Cortex_M4
  304. 60:Drivers/CMSIS/Include/core_cm4.h **** @{
  305. 61:Drivers/CMSIS/Include/core_cm4.h **** */
  306. 62:Drivers/CMSIS/Include/core_cm4.h ****
  307. 63:Drivers/CMSIS/Include/core_cm4.h **** #include "cmsis_version.h"
  308. 64:Drivers/CMSIS/Include/core_cm4.h ****
  309. 65:Drivers/CMSIS/Include/core_cm4.h **** /* CMSIS CM4 definitions */
  310. 66:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_CMSIS_VERSION_MAIN (__CM_CMSIS_VERSION_MAIN) /*!< \deprecated [31:16] C
  311. 67:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_CMSIS_VERSION_SUB (__CM_CMSIS_VERSION_SUB) /*!< \deprecated [15:0] C
  312. 68:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_CMSIS_VERSION ((__CM4_CMSIS_VERSION_MAIN << 16U) | \
  313. 69:Drivers/CMSIS/Include/core_cm4.h **** __CM4_CMSIS_VERSION_SUB ) /*!< \deprecated CMSIS HAL
  314. 70:Drivers/CMSIS/Include/core_cm4.h ****
  315. 71:Drivers/CMSIS/Include/core_cm4.h **** #define __CORTEX_M (4U) /*!< Cortex-M Core */
  316. 72:Drivers/CMSIS/Include/core_cm4.h ****
  317. 73:Drivers/CMSIS/Include/core_cm4.h **** /** __FPU_USED indicates whether an FPU is used or not.
  318. 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
  319. 75:Drivers/CMSIS/Include/core_cm4.h **** */
  320. 76:Drivers/CMSIS/Include/core_cm4.h **** #if defined ( __CC_ARM )
  321. 77:Drivers/CMSIS/Include/core_cm4.h **** #if defined __TARGET_FPU_VFP
  322. 78:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  323. 79:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  324. 80:Drivers/CMSIS/Include/core_cm4.h **** #else
  325. 81:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  326. 82:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  327. 83:Drivers/CMSIS/Include/core_cm4.h **** #endif
  328. 84:Drivers/CMSIS/Include/core_cm4.h **** #else
  329. 85:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  330. 86:Drivers/CMSIS/Include/core_cm4.h **** #endif
  331. 87:Drivers/CMSIS/Include/core_cm4.h ****
  332. 88:Drivers/CMSIS/Include/core_cm4.h **** #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
  333. 89:Drivers/CMSIS/Include/core_cm4.h **** #if defined __ARM_PCS_VFP
  334. 90:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  335. 91:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  336. 92:Drivers/CMSIS/Include/core_cm4.h **** #else
  337. 93:Drivers/CMSIS/Include/core_cm4.h **** #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESEN
  338. 94:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  339. 95:Drivers/CMSIS/Include/core_cm4.h **** #endif
  340. 96:Drivers/CMSIS/Include/core_cm4.h **** #else
  341. 97:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  342. 98:Drivers/CMSIS/Include/core_cm4.h **** #endif
  343. 99:Drivers/CMSIS/Include/core_cm4.h ****
  344. 100:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __GNUC__ )
  345. 101:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__VFP_FP__) && !defined(__SOFTFP__)
  346. 102:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  347. 103:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  348. 104:Drivers/CMSIS/Include/core_cm4.h **** #else
  349. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 7
  350. 105:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  351. 106:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  352. 107:Drivers/CMSIS/Include/core_cm4.h **** #endif
  353. 108:Drivers/CMSIS/Include/core_cm4.h **** #else
  354. 109:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  355. 110:Drivers/CMSIS/Include/core_cm4.h **** #endif
  356. 111:Drivers/CMSIS/Include/core_cm4.h ****
  357. 112:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __ICCARM__ )
  358. 113:Drivers/CMSIS/Include/core_cm4.h **** #if defined __ARMVFP__
  359. 114:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  360. 115:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  361. 116:Drivers/CMSIS/Include/core_cm4.h **** #else
  362. 117:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  363. 118:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  364. 119:Drivers/CMSIS/Include/core_cm4.h **** #endif
  365. 120:Drivers/CMSIS/Include/core_cm4.h **** #else
  366. 121:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  367. 122:Drivers/CMSIS/Include/core_cm4.h **** #endif
  368. 123:Drivers/CMSIS/Include/core_cm4.h ****
  369. 124:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __TI_ARM__ )
  370. 125:Drivers/CMSIS/Include/core_cm4.h **** #if defined __TI_VFP_SUPPORT__
  371. 126:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  372. 127:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  373. 128:Drivers/CMSIS/Include/core_cm4.h **** #else
  374. 129:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  375. 130:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  376. 131:Drivers/CMSIS/Include/core_cm4.h **** #endif
  377. 132:Drivers/CMSIS/Include/core_cm4.h **** #else
  378. 133:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  379. 134:Drivers/CMSIS/Include/core_cm4.h **** #endif
  380. 135:Drivers/CMSIS/Include/core_cm4.h ****
  381. 136:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __TASKING__ )
  382. 137:Drivers/CMSIS/Include/core_cm4.h **** #if defined __FPU_VFP__
  383. 138:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  384. 139:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  385. 140:Drivers/CMSIS/Include/core_cm4.h **** #else
  386. 141:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  387. 142:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  388. 143:Drivers/CMSIS/Include/core_cm4.h **** #endif
  389. 144:Drivers/CMSIS/Include/core_cm4.h **** #else
  390. 145:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  391. 146:Drivers/CMSIS/Include/core_cm4.h **** #endif
  392. 147:Drivers/CMSIS/Include/core_cm4.h ****
  393. 148:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __CSMC__ )
  394. 149:Drivers/CMSIS/Include/core_cm4.h **** #if ( __CSMC__ & 0x400U)
  395. 150:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  396. 151:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  397. 152:Drivers/CMSIS/Include/core_cm4.h **** #else
  398. 153:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  399. 154:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  400. 155:Drivers/CMSIS/Include/core_cm4.h **** #endif
  401. 156:Drivers/CMSIS/Include/core_cm4.h **** #else
  402. 157:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  403. 158:Drivers/CMSIS/Include/core_cm4.h **** #endif
  404. 159:Drivers/CMSIS/Include/core_cm4.h ****
  405. 160:Drivers/CMSIS/Include/core_cm4.h **** #endif
  406. 161:Drivers/CMSIS/Include/core_cm4.h ****
  407. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 8
  408. 162:Drivers/CMSIS/Include/core_cm4.h **** #include "cmsis_compiler.h" /* CMSIS compiler specific defines */
  409. 163:Drivers/CMSIS/Include/core_cm4.h ****
  410. 164:Drivers/CMSIS/Include/core_cm4.h ****
  411. 165:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
  412. 166:Drivers/CMSIS/Include/core_cm4.h **** }
  413. 167:Drivers/CMSIS/Include/core_cm4.h **** #endif
  414. 168:Drivers/CMSIS/Include/core_cm4.h ****
  415. 169:Drivers/CMSIS/Include/core_cm4.h **** #endif /* __CORE_CM4_H_GENERIC */
  416. 170:Drivers/CMSIS/Include/core_cm4.h ****
  417. 171:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CMSIS_GENERIC
  418. 172:Drivers/CMSIS/Include/core_cm4.h ****
  419. 173:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CORE_CM4_H_DEPENDANT
  420. 174:Drivers/CMSIS/Include/core_cm4.h **** #define __CORE_CM4_H_DEPENDANT
  421. 175:Drivers/CMSIS/Include/core_cm4.h ****
  422. 176:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
  423. 177:Drivers/CMSIS/Include/core_cm4.h **** extern "C" {
  424. 178:Drivers/CMSIS/Include/core_cm4.h **** #endif
  425. 179:Drivers/CMSIS/Include/core_cm4.h ****
  426. 180:Drivers/CMSIS/Include/core_cm4.h **** /* check device defines and use defaults */
  427. 181:Drivers/CMSIS/Include/core_cm4.h **** #if defined __CHECK_DEVICE_DEFINES
  428. 182:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CM4_REV
  429. 183:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_REV 0x0000U
  430. 184:Drivers/CMSIS/Include/core_cm4.h **** #warning "__CM4_REV not defined in device header file; using default!"
  431. 185:Drivers/CMSIS/Include/core_cm4.h **** #endif
  432. 186:Drivers/CMSIS/Include/core_cm4.h ****
  433. 187:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __FPU_PRESENT
  434. 188:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_PRESENT 0U
  435. 189:Drivers/CMSIS/Include/core_cm4.h **** #warning "__FPU_PRESENT not defined in device header file; using default!"
  436. 190:Drivers/CMSIS/Include/core_cm4.h **** #endif
  437. 191:Drivers/CMSIS/Include/core_cm4.h ****
  438. 192:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __MPU_PRESENT
  439. 193:Drivers/CMSIS/Include/core_cm4.h **** #define __MPU_PRESENT 0U
  440. 194:Drivers/CMSIS/Include/core_cm4.h **** #warning "__MPU_PRESENT not defined in device header file; using default!"
  441. 195:Drivers/CMSIS/Include/core_cm4.h **** #endif
  442. 196:Drivers/CMSIS/Include/core_cm4.h ****
  443. 197:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __NVIC_PRIO_BITS
  444. 198:Drivers/CMSIS/Include/core_cm4.h **** #define __NVIC_PRIO_BITS 3U
  445. 199:Drivers/CMSIS/Include/core_cm4.h **** #warning "__NVIC_PRIO_BITS not defined in device header file; using default!"
  446. 200:Drivers/CMSIS/Include/core_cm4.h **** #endif
  447. 201:Drivers/CMSIS/Include/core_cm4.h ****
  448. 202:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __Vendor_SysTickConfig
  449. 203:Drivers/CMSIS/Include/core_cm4.h **** #define __Vendor_SysTickConfig 0U
  450. 204:Drivers/CMSIS/Include/core_cm4.h **** #warning "__Vendor_SysTickConfig not defined in device header file; using default!"
  451. 205:Drivers/CMSIS/Include/core_cm4.h **** #endif
  452. 206:Drivers/CMSIS/Include/core_cm4.h **** #endif
  453. 207:Drivers/CMSIS/Include/core_cm4.h ****
  454. 208:Drivers/CMSIS/Include/core_cm4.h **** /* IO definitions (access restrictions to peripheral registers) */
  455. 209:Drivers/CMSIS/Include/core_cm4.h **** /**
  456. 210:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_glob_defs CMSIS Global Defines
  457. 211:Drivers/CMSIS/Include/core_cm4.h ****
  458. 212:Drivers/CMSIS/Include/core_cm4.h **** <strong>IO Type Qualifiers</strong> are used
  459. 213:Drivers/CMSIS/Include/core_cm4.h **** \li to specify the access to peripheral variables.
  460. 214:Drivers/CMSIS/Include/core_cm4.h **** \li for automatic generation of peripheral register debug information.
  461. 215:Drivers/CMSIS/Include/core_cm4.h **** */
  462. 216:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
  463. 217:Drivers/CMSIS/Include/core_cm4.h **** #define __I volatile /*!< Defines 'read only' permissions */
  464. 218:Drivers/CMSIS/Include/core_cm4.h **** #else
  465. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 9
  466. 219:Drivers/CMSIS/Include/core_cm4.h **** #define __I volatile const /*!< Defines 'read only' permissions */
  467. 220:Drivers/CMSIS/Include/core_cm4.h **** #endif
  468. 221:Drivers/CMSIS/Include/core_cm4.h **** #define __O volatile /*!< Defines 'write only' permissions */
  469. 222:Drivers/CMSIS/Include/core_cm4.h **** #define __IO volatile /*!< Defines 'read / write' permissions */
  470. 223:Drivers/CMSIS/Include/core_cm4.h ****
  471. 224:Drivers/CMSIS/Include/core_cm4.h **** /* following defines should be used for structure members */
  472. 225:Drivers/CMSIS/Include/core_cm4.h **** #define __IM volatile const /*! Defines 'read only' structure member permissions */
  473. 226:Drivers/CMSIS/Include/core_cm4.h **** #define __OM volatile /*! Defines 'write only' structure member permissions */
  474. 227:Drivers/CMSIS/Include/core_cm4.h **** #define __IOM volatile /*! Defines 'read / write' structure member permissions */
  475. 228:Drivers/CMSIS/Include/core_cm4.h ****
  476. 229:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group Cortex_M4 */
  477. 230:Drivers/CMSIS/Include/core_cm4.h ****
  478. 231:Drivers/CMSIS/Include/core_cm4.h ****
  479. 232:Drivers/CMSIS/Include/core_cm4.h ****
  480. 233:Drivers/CMSIS/Include/core_cm4.h **** /*******************************************************************************
  481. 234:Drivers/CMSIS/Include/core_cm4.h **** * Register Abstraction
  482. 235:Drivers/CMSIS/Include/core_cm4.h **** Core Register contain:
  483. 236:Drivers/CMSIS/Include/core_cm4.h **** - Core Register
  484. 237:Drivers/CMSIS/Include/core_cm4.h **** - Core NVIC Register
  485. 238:Drivers/CMSIS/Include/core_cm4.h **** - Core SCB Register
  486. 239:Drivers/CMSIS/Include/core_cm4.h **** - Core SysTick Register
  487. 240:Drivers/CMSIS/Include/core_cm4.h **** - Core Debug Register
  488. 241:Drivers/CMSIS/Include/core_cm4.h **** - Core MPU Register
  489. 242:Drivers/CMSIS/Include/core_cm4.h **** - Core FPU Register
  490. 243:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
  491. 244:Drivers/CMSIS/Include/core_cm4.h **** /**
  492. 245:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_core_register Defines and Type Definitions
  493. 246:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions and defines for Cortex-M processor based devices.
  494. 247:Drivers/CMSIS/Include/core_cm4.h **** */
  495. 248:Drivers/CMSIS/Include/core_cm4.h ****
  496. 249:Drivers/CMSIS/Include/core_cm4.h **** /**
  497. 250:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  498. 251:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_CORE Status and Control Registers
  499. 252:Drivers/CMSIS/Include/core_cm4.h **** \brief Core Register type definitions.
  500. 253:Drivers/CMSIS/Include/core_cm4.h **** @{
  501. 254:Drivers/CMSIS/Include/core_cm4.h **** */
  502. 255:Drivers/CMSIS/Include/core_cm4.h ****
  503. 256:Drivers/CMSIS/Include/core_cm4.h **** /**
  504. 257:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Application Program Status Register (APSR).
  505. 258:Drivers/CMSIS/Include/core_cm4.h **** */
  506. 259:Drivers/CMSIS/Include/core_cm4.h **** typedef union
  507. 260:Drivers/CMSIS/Include/core_cm4.h **** {
  508. 261:Drivers/CMSIS/Include/core_cm4.h **** struct
  509. 262:Drivers/CMSIS/Include/core_cm4.h **** {
  510. 263:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:16; /*!< bit: 0..15 Reserved */
  511. 264:Drivers/CMSIS/Include/core_cm4.h **** uint32_t GE:4; /*!< bit: 16..19 Greater than or Equal flags */
  512. 265:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved1:7; /*!< bit: 20..26 Reserved */
  513. 266:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Q:1; /*!< bit: 27 Saturation condition flag */
  514. 267:Drivers/CMSIS/Include/core_cm4.h **** uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
  515. 268:Drivers/CMSIS/Include/core_cm4.h **** uint32_t C:1; /*!< bit: 29 Carry condition code flag */
  516. 269:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
  517. 270:Drivers/CMSIS/Include/core_cm4.h **** uint32_t N:1; /*!< bit: 31 Negative condition code flag */
  518. 271:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
  519. 272:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
  520. 273:Drivers/CMSIS/Include/core_cm4.h **** } APSR_Type;
  521. 274:Drivers/CMSIS/Include/core_cm4.h ****
  522. 275:Drivers/CMSIS/Include/core_cm4.h **** /* APSR Register Definitions */
  523. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 10
  524. 276:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_N_Pos 31U /*!< APSR
  525. 277:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_N_Msk (1UL << APSR_N_Pos) /*!< APSR
  526. 278:Drivers/CMSIS/Include/core_cm4.h ****
  527. 279:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Z_Pos 30U /*!< APSR
  528. 280:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Z_Msk (1UL << APSR_Z_Pos) /*!< APSR
  529. 281:Drivers/CMSIS/Include/core_cm4.h ****
  530. 282:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_C_Pos 29U /*!< APSR
  531. 283:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_C_Msk (1UL << APSR_C_Pos) /*!< APSR
  532. 284:Drivers/CMSIS/Include/core_cm4.h ****
  533. 285:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_V_Pos 28U /*!< APSR
  534. 286:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_V_Msk (1UL << APSR_V_Pos) /*!< APSR
  535. 287:Drivers/CMSIS/Include/core_cm4.h ****
  536. 288:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Q_Pos 27U /*!< APSR
  537. 289:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Q_Msk (1UL << APSR_Q_Pos) /*!< APSR
  538. 290:Drivers/CMSIS/Include/core_cm4.h ****
  539. 291:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_GE_Pos 16U /*!< APSR
  540. 292:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_GE_Msk (0xFUL << APSR_GE_Pos) /*!< APSR
  541. 293:Drivers/CMSIS/Include/core_cm4.h ****
  542. 294:Drivers/CMSIS/Include/core_cm4.h ****
  543. 295:Drivers/CMSIS/Include/core_cm4.h **** /**
  544. 296:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Interrupt Program Status Register (IPSR).
  545. 297:Drivers/CMSIS/Include/core_cm4.h **** */
  546. 298:Drivers/CMSIS/Include/core_cm4.h **** typedef union
  547. 299:Drivers/CMSIS/Include/core_cm4.h **** {
  548. 300:Drivers/CMSIS/Include/core_cm4.h **** struct
  549. 301:Drivers/CMSIS/Include/core_cm4.h **** {
  550. 302:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
  551. 303:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:23; /*!< bit: 9..31 Reserved */
  552. 304:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
  553. 305:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
  554. 306:Drivers/CMSIS/Include/core_cm4.h **** } IPSR_Type;
  555. 307:Drivers/CMSIS/Include/core_cm4.h ****
  556. 308:Drivers/CMSIS/Include/core_cm4.h **** /* IPSR Register Definitions */
  557. 309:Drivers/CMSIS/Include/core_cm4.h **** #define IPSR_ISR_Pos 0U /*!< IPSR
  558. 310:Drivers/CMSIS/Include/core_cm4.h **** #define IPSR_ISR_Msk (0x1FFUL /*<< IPSR_ISR_Pos*/) /*!< IPSR
  559. 311:Drivers/CMSIS/Include/core_cm4.h ****
  560. 312:Drivers/CMSIS/Include/core_cm4.h ****
  561. 313:Drivers/CMSIS/Include/core_cm4.h **** /**
  562. 314:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Special-Purpose Program Status Registers (xPSR).
  563. 315:Drivers/CMSIS/Include/core_cm4.h **** */
  564. 316:Drivers/CMSIS/Include/core_cm4.h **** typedef union
  565. 317:Drivers/CMSIS/Include/core_cm4.h **** {
  566. 318:Drivers/CMSIS/Include/core_cm4.h **** struct
  567. 319:Drivers/CMSIS/Include/core_cm4.h **** {
  568. 320:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
  569. 321:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:1; /*!< bit: 9 Reserved */
  570. 322:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ICI_IT_1:6; /*!< bit: 10..15 ICI/IT part 1 */
  571. 323:Drivers/CMSIS/Include/core_cm4.h **** uint32_t GE:4; /*!< bit: 16..19 Greater than or Equal flags */
  572. 324:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved1:4; /*!< bit: 20..23 Reserved */
  573. 325:Drivers/CMSIS/Include/core_cm4.h **** uint32_t T:1; /*!< bit: 24 Thumb bit */
  574. 326:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ICI_IT_2:2; /*!< bit: 25..26 ICI/IT part 2 */
  575. 327:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Q:1; /*!< bit: 27 Saturation condition flag */
  576. 328:Drivers/CMSIS/Include/core_cm4.h **** uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
  577. 329:Drivers/CMSIS/Include/core_cm4.h **** uint32_t C:1; /*!< bit: 29 Carry condition code flag */
  578. 330:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
  579. 331:Drivers/CMSIS/Include/core_cm4.h **** uint32_t N:1; /*!< bit: 31 Negative condition code flag */
  580. 332:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
  581. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 11
  582. 333:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
  583. 334:Drivers/CMSIS/Include/core_cm4.h **** } xPSR_Type;
  584. 335:Drivers/CMSIS/Include/core_cm4.h ****
  585. 336:Drivers/CMSIS/Include/core_cm4.h **** /* xPSR Register Definitions */
  586. 337:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_N_Pos 31U /*!< xPSR
  587. 338:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_N_Msk (1UL << xPSR_N_Pos) /*!< xPSR
  588. 339:Drivers/CMSIS/Include/core_cm4.h ****
  589. 340:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Z_Pos 30U /*!< xPSR
  590. 341:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Z_Msk (1UL << xPSR_Z_Pos) /*!< xPSR
  591. 342:Drivers/CMSIS/Include/core_cm4.h ****
  592. 343:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_C_Pos 29U /*!< xPSR
  593. 344:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_C_Msk (1UL << xPSR_C_Pos) /*!< xPSR
  594. 345:Drivers/CMSIS/Include/core_cm4.h ****
  595. 346:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_V_Pos 28U /*!< xPSR
  596. 347:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_V_Msk (1UL << xPSR_V_Pos) /*!< xPSR
  597. 348:Drivers/CMSIS/Include/core_cm4.h ****
  598. 349:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Q_Pos 27U /*!< xPSR
  599. 350:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Q_Msk (1UL << xPSR_Q_Pos) /*!< xPSR
  600. 351:Drivers/CMSIS/Include/core_cm4.h ****
  601. 352:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_2_Pos 25U /*!< xPSR
  602. 353:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_2_Msk (3UL << xPSR_ICI_IT_2_Pos) /*!< xPSR
  603. 354:Drivers/CMSIS/Include/core_cm4.h ****
  604. 355:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_T_Pos 24U /*!< xPSR
  605. 356:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_T_Msk (1UL << xPSR_T_Pos) /*!< xPSR
  606. 357:Drivers/CMSIS/Include/core_cm4.h ****
  607. 358:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_GE_Pos 16U /*!< xPSR
  608. 359:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_GE_Msk (0xFUL << xPSR_GE_Pos) /*!< xPSR
  609. 360:Drivers/CMSIS/Include/core_cm4.h ****
  610. 361:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_1_Pos 10U /*!< xPSR
  611. 362:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_1_Msk (0x3FUL << xPSR_ICI_IT_1_Pos) /*!< xPSR
  612. 363:Drivers/CMSIS/Include/core_cm4.h ****
  613. 364:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ISR_Pos 0U /*!< xPSR
  614. 365:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ISR_Msk (0x1FFUL /*<< xPSR_ISR_Pos*/) /*!< xPSR
  615. 366:Drivers/CMSIS/Include/core_cm4.h ****
  616. 367:Drivers/CMSIS/Include/core_cm4.h ****
  617. 368:Drivers/CMSIS/Include/core_cm4.h **** /**
  618. 369:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Control Registers (CONTROL).
  619. 370:Drivers/CMSIS/Include/core_cm4.h **** */
  620. 371:Drivers/CMSIS/Include/core_cm4.h **** typedef union
  621. 372:Drivers/CMSIS/Include/core_cm4.h **** {
  622. 373:Drivers/CMSIS/Include/core_cm4.h **** struct
  623. 374:Drivers/CMSIS/Include/core_cm4.h **** {
  624. 375:Drivers/CMSIS/Include/core_cm4.h **** uint32_t nPRIV:1; /*!< bit: 0 Execution privilege in Thread mode */
  625. 376:Drivers/CMSIS/Include/core_cm4.h **** uint32_t SPSEL:1; /*!< bit: 1 Stack to be used */
  626. 377:Drivers/CMSIS/Include/core_cm4.h **** uint32_t FPCA:1; /*!< bit: 2 FP extension active flag */
  627. 378:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:29; /*!< bit: 3..31 Reserved */
  628. 379:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
  629. 380:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
  630. 381:Drivers/CMSIS/Include/core_cm4.h **** } CONTROL_Type;
  631. 382:Drivers/CMSIS/Include/core_cm4.h ****
  632. 383:Drivers/CMSIS/Include/core_cm4.h **** /* CONTROL Register Definitions */
  633. 384:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_FPCA_Pos 2U /*!< CONT
  634. 385:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_FPCA_Msk (1UL << CONTROL_FPCA_Pos) /*!< CONT
  635. 386:Drivers/CMSIS/Include/core_cm4.h ****
  636. 387:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_SPSEL_Pos 1U /*!< CONT
  637. 388:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_SPSEL_Msk (1UL << CONTROL_SPSEL_Pos) /*!< CONT
  638. 389:Drivers/CMSIS/Include/core_cm4.h ****
  639. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 12
  640. 390:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_nPRIV_Pos 0U /*!< CONT
  641. 391:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_nPRIV_Msk (1UL /*<< CONTROL_nPRIV_Pos*/) /*!< CONT
  642. 392:Drivers/CMSIS/Include/core_cm4.h ****
  643. 393:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_CORE */
  644. 394:Drivers/CMSIS/Include/core_cm4.h ****
  645. 395:Drivers/CMSIS/Include/core_cm4.h ****
  646. 396:Drivers/CMSIS/Include/core_cm4.h **** /**
  647. 397:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  648. 398:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_NVIC Nested Vectored Interrupt Controller (NVIC)
  649. 399:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the NVIC Registers
  650. 400:Drivers/CMSIS/Include/core_cm4.h **** @{
  651. 401:Drivers/CMSIS/Include/core_cm4.h **** */
  652. 402:Drivers/CMSIS/Include/core_cm4.h ****
  653. 403:Drivers/CMSIS/Include/core_cm4.h **** /**
  654. 404:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Nested Vectored Interrupt Controller (NVIC).
  655. 405:Drivers/CMSIS/Include/core_cm4.h **** */
  656. 406:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  657. 407:Drivers/CMSIS/Include/core_cm4.h **** {
  658. 408:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ISER[8U]; /*!< Offset: 0x000 (R/W) Interrupt Set Enable Register */
  659. 409:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[24U];
  660. 410:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ICER[8U]; /*!< Offset: 0x080 (R/W) Interrupt Clear Enable Register
  661. 411:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RSERVED1[24U];
  662. 412:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ISPR[8U]; /*!< Offset: 0x100 (R/W) Interrupt Set Pending Register *
  663. 413:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[24U];
  664. 414:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ICPR[8U]; /*!< Offset: 0x180 (R/W) Interrupt Clear Pending Register
  665. 415:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED3[24U];
  666. 416:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t IABR[8U]; /*!< Offset: 0x200 (R/W) Interrupt Active bit Register */
  667. 417:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED4[56U];
  668. 418:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint8_t IP[240U]; /*!< Offset: 0x300 (R/W) Interrupt Priority Register (8Bi
  669. 419:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED5[644U];
  670. 420:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t STIR; /*!< Offset: 0xE00 ( /W) Software Trigger Interrupt Regis
  671. 421:Drivers/CMSIS/Include/core_cm4.h **** } NVIC_Type;
  672. 422:Drivers/CMSIS/Include/core_cm4.h ****
  673. 423:Drivers/CMSIS/Include/core_cm4.h **** /* Software Triggered Interrupt Register Definitions */
  674. 424:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_STIR_INTID_Pos 0U /*!< STIR: I
  675. 425:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_STIR_INTID_Msk (0x1FFUL /*<< NVIC_STIR_INTID_Pos*/) /*!< STIR: I
  676. 426:Drivers/CMSIS/Include/core_cm4.h ****
  677. 427:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_NVIC */
  678. 428:Drivers/CMSIS/Include/core_cm4.h ****
  679. 429:Drivers/CMSIS/Include/core_cm4.h ****
  680. 430:Drivers/CMSIS/Include/core_cm4.h **** /**
  681. 431:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  682. 432:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_SCB System Control Block (SCB)
  683. 433:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the System Control Block Registers
  684. 434:Drivers/CMSIS/Include/core_cm4.h **** @{
  685. 435:Drivers/CMSIS/Include/core_cm4.h **** */
  686. 436:Drivers/CMSIS/Include/core_cm4.h ****
  687. 437:Drivers/CMSIS/Include/core_cm4.h **** /**
  688. 438:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the System Control Block (SCB).
  689. 439:Drivers/CMSIS/Include/core_cm4.h **** */
  690. 440:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  691. 441:Drivers/CMSIS/Include/core_cm4.h **** {
  692. 442:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CPUID; /*!< Offset: 0x000 (R/ ) CPUID Base Register */
  693. 443:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ICSR; /*!< Offset: 0x004 (R/W) Interrupt Control and State Regi
  694. 444:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t VTOR; /*!< Offset: 0x008 (R/W) Vector Table Offset Register */
  695. 445:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t AIRCR; /*!< Offset: 0x00C (R/W) Application Interrupt and Reset
  696. 446:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SCR; /*!< Offset: 0x010 (R/W) System Control Register */
  697. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 13
  698. 447:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CCR; /*!< Offset: 0x014 (R/W) Configuration Control Register *
  699. 448:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint8_t SHP[12U]; /*!< Offset: 0x018 (R/W) System Handlers Priority Registe
  700. 449:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SHCSR; /*!< Offset: 0x024 (R/W) System Handler Control and State
  701. 450:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CFSR; /*!< Offset: 0x028 (R/W) Configurable Fault Status Regist
  702. 451:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t HFSR; /*!< Offset: 0x02C (R/W) HardFault Status Register */
  703. 452:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DFSR; /*!< Offset: 0x030 (R/W) Debug Fault Status Register */
  704. 453:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MMFAR; /*!< Offset: 0x034 (R/W) MemManage Fault Address Register
  705. 454:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t BFAR; /*!< Offset: 0x038 (R/W) BusFault Address Register */
  706. 455:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t AFSR; /*!< Offset: 0x03C (R/W) Auxiliary Fault Status Register
  707. 456:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PFR[2U]; /*!< Offset: 0x040 (R/ ) Processor Feature Register */
  708. 457:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t DFR; /*!< Offset: 0x048 (R/ ) Debug Feature Register */
  709. 458:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ADR; /*!< Offset: 0x04C (R/ ) Auxiliary Feature Register */
  710. 459:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t MMFR[4U]; /*!< Offset: 0x050 (R/ ) Memory Model Feature Register */
  711. 460:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ISAR[5U]; /*!< Offset: 0x060 (R/ ) Instruction Set Attributes Regis
  712. 461:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[5U];
  713. 462:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CPACR; /*!< Offset: 0x088 (R/W) Coprocessor Access Control Regis
  714. 463:Drivers/CMSIS/Include/core_cm4.h **** } SCB_Type;
  715. 464:Drivers/CMSIS/Include/core_cm4.h ****
  716. 465:Drivers/CMSIS/Include/core_cm4.h **** /* SCB CPUID Register Definitions */
  717. 466:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_IMPLEMENTER_Pos 24U /*!< SCB
  718. 467:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_IMPLEMENTER_Msk (0xFFUL << SCB_CPUID_IMPLEMENTER_Pos) /*!< SCB
  719. 468:Drivers/CMSIS/Include/core_cm4.h ****
  720. 469:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_VARIANT_Pos 20U /*!< SCB
  721. 470:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_VARIANT_Msk (0xFUL << SCB_CPUID_VARIANT_Pos) /*!< SCB
  722. 471:Drivers/CMSIS/Include/core_cm4.h ****
  723. 472:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_ARCHITECTURE_Pos 16U /*!< SCB
  724. 473:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_ARCHITECTURE_Msk (0xFUL << SCB_CPUID_ARCHITECTURE_Pos) /*!< SCB
  725. 474:Drivers/CMSIS/Include/core_cm4.h ****
  726. 475:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_PARTNO_Pos 4U /*!< SCB
  727. 476:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_PARTNO_Msk (0xFFFUL << SCB_CPUID_PARTNO_Pos) /*!< SCB
  728. 477:Drivers/CMSIS/Include/core_cm4.h ****
  729. 478:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_REVISION_Pos 0U /*!< SCB
  730. 479:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_REVISION_Msk (0xFUL /*<< SCB_CPUID_REVISION_Pos*/) /*!< SCB
  731. 480:Drivers/CMSIS/Include/core_cm4.h ****
  732. 481:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Interrupt Control State Register Definitions */
  733. 482:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_NMIPENDSET_Pos 31U /*!< SCB
  734. 483:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_NMIPENDSET_Msk (1UL << SCB_ICSR_NMIPENDSET_Pos) /*!< SCB
  735. 484:Drivers/CMSIS/Include/core_cm4.h ****
  736. 485:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVSET_Pos 28U /*!< SCB
  737. 486:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVSET_Msk (1UL << SCB_ICSR_PENDSVSET_Pos) /*!< SCB
  738. 487:Drivers/CMSIS/Include/core_cm4.h ****
  739. 488:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVCLR_Pos 27U /*!< SCB
  740. 489:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVCLR_Msk (1UL << SCB_ICSR_PENDSVCLR_Pos) /*!< SCB
  741. 490:Drivers/CMSIS/Include/core_cm4.h ****
  742. 491:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTSET_Pos 26U /*!< SCB
  743. 492:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTSET_Msk (1UL << SCB_ICSR_PENDSTSET_Pos) /*!< SCB
  744. 493:Drivers/CMSIS/Include/core_cm4.h ****
  745. 494:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTCLR_Pos 25U /*!< SCB
  746. 495:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTCLR_Msk (1UL << SCB_ICSR_PENDSTCLR_Pos) /*!< SCB
  747. 496:Drivers/CMSIS/Include/core_cm4.h ****
  748. 497:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPREEMPT_Pos 23U /*!< SCB
  749. 498:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPREEMPT_Msk (1UL << SCB_ICSR_ISRPREEMPT_Pos) /*!< SCB
  750. 499:Drivers/CMSIS/Include/core_cm4.h ****
  751. 500:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPENDING_Pos 22U /*!< SCB
  752. 501:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPENDING_Msk (1UL << SCB_ICSR_ISRPENDING_Pos) /*!< SCB
  753. 502:Drivers/CMSIS/Include/core_cm4.h ****
  754. 503:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTPENDING_Pos 12U /*!< SCB
  755. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 14
  756. 504:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTPENDING_Msk (0x1FFUL << SCB_ICSR_VECTPENDING_Pos) /*!< SCB
  757. 505:Drivers/CMSIS/Include/core_cm4.h ****
  758. 506:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_RETTOBASE_Pos 11U /*!< SCB
  759. 507:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_RETTOBASE_Msk (1UL << SCB_ICSR_RETTOBASE_Pos) /*!< SCB
  760. 508:Drivers/CMSIS/Include/core_cm4.h ****
  761. 509:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTACTIVE_Pos 0U /*!< SCB
  762. 510:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTACTIVE_Msk (0x1FFUL /*<< SCB_ICSR_VECTACTIVE_Pos*/) /*!< SCB
  763. 511:Drivers/CMSIS/Include/core_cm4.h ****
  764. 512:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Vector Table Offset Register Definitions */
  765. 513:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_VTOR_TBLOFF_Pos 7U /*!< SCB
  766. 514:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_VTOR_TBLOFF_Msk (0x1FFFFFFUL << SCB_VTOR_TBLOFF_Pos) /*!< SCB
  767. 515:Drivers/CMSIS/Include/core_cm4.h ****
  768. 516:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Application Interrupt and Reset Control Register Definitions */
  769. 517:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEY_Pos 16U /*!< SCB
  770. 518:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEY_Msk (0xFFFFUL << SCB_AIRCR_VECTKEY_Pos) /*!< SCB
  771. 519:Drivers/CMSIS/Include/core_cm4.h ****
  772. 520:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEYSTAT_Pos 16U /*!< SCB
  773. 521:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEYSTAT_Msk (0xFFFFUL << SCB_AIRCR_VECTKEYSTAT_Pos) /*!< SCB
  774. 522:Drivers/CMSIS/Include/core_cm4.h ****
  775. 523:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_ENDIANESS_Pos 15U /*!< SCB
  776. 524:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_ENDIANESS_Msk (1UL << SCB_AIRCR_ENDIANESS_Pos) /*!< SCB
  777. 525:Drivers/CMSIS/Include/core_cm4.h ****
  778. 526:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_PRIGROUP_Pos 8U /*!< SCB
  779. 527:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_PRIGROUP_Msk (7UL << SCB_AIRCR_PRIGROUP_Pos) /*!< SCB
  780. 528:Drivers/CMSIS/Include/core_cm4.h ****
  781. 529:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_SYSRESETREQ_Pos 2U /*!< SCB
  782. 530:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_SYSRESETREQ_Msk (1UL << SCB_AIRCR_SYSRESETREQ_Pos) /*!< SCB
  783. 531:Drivers/CMSIS/Include/core_cm4.h ****
  784. 532:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTCLRACTIVE_Pos 1U /*!< SCB
  785. 533:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTCLRACTIVE_Msk (1UL << SCB_AIRCR_VECTCLRACTIVE_Pos) /*!< SCB
  786. 534:Drivers/CMSIS/Include/core_cm4.h ****
  787. 535:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTRESET_Pos 0U /*!< SCB
  788. 536:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTRESET_Msk (1UL /*<< SCB_AIRCR_VECTRESET_Pos*/) /*!< SCB
  789. 537:Drivers/CMSIS/Include/core_cm4.h ****
  790. 538:Drivers/CMSIS/Include/core_cm4.h **** /* SCB System Control Register Definitions */
  791. 539:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SEVONPEND_Pos 4U /*!< SCB
  792. 540:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SEVONPEND_Msk (1UL << SCB_SCR_SEVONPEND_Pos) /*!< SCB
  793. 541:Drivers/CMSIS/Include/core_cm4.h ****
  794. 542:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPDEEP_Pos 2U /*!< SCB
  795. 543:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPDEEP_Msk (1UL << SCB_SCR_SLEEPDEEP_Pos) /*!< SCB
  796. 544:Drivers/CMSIS/Include/core_cm4.h ****
  797. 545:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPONEXIT_Pos 1U /*!< SCB
  798. 546:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPONEXIT_Msk (1UL << SCB_SCR_SLEEPONEXIT_Pos) /*!< SCB
  799. 547:Drivers/CMSIS/Include/core_cm4.h ****
  800. 548:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Configuration Control Register Definitions */
  801. 549:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_STKALIGN_Pos 9U /*!< SCB
  802. 550:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_STKALIGN_Msk (1UL << SCB_CCR_STKALIGN_Pos) /*!< SCB
  803. 551:Drivers/CMSIS/Include/core_cm4.h ****
  804. 552:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_BFHFNMIGN_Pos 8U /*!< SCB
  805. 553:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_BFHFNMIGN_Msk (1UL << SCB_CCR_BFHFNMIGN_Pos) /*!< SCB
  806. 554:Drivers/CMSIS/Include/core_cm4.h ****
  807. 555:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_DIV_0_TRP_Pos 4U /*!< SCB
  808. 556:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_DIV_0_TRP_Msk (1UL << SCB_CCR_DIV_0_TRP_Pos) /*!< SCB
  809. 557:Drivers/CMSIS/Include/core_cm4.h ****
  810. 558:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_UNALIGN_TRP_Pos 3U /*!< SCB
  811. 559:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_UNALIGN_TRP_Msk (1UL << SCB_CCR_UNALIGN_TRP_Pos) /*!< SCB
  812. 560:Drivers/CMSIS/Include/core_cm4.h ****
  813. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 15
  814. 561:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_USERSETMPEND_Pos 1U /*!< SCB
  815. 562:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_USERSETMPEND_Msk (1UL << SCB_CCR_USERSETMPEND_Pos) /*!< SCB
  816. 563:Drivers/CMSIS/Include/core_cm4.h ****
  817. 564:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_NONBASETHRDENA_Pos 0U /*!< SCB
  818. 565:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_NONBASETHRDENA_Msk (1UL /*<< SCB_CCR_NONBASETHRDENA_Pos*/) /*!< SCB
  819. 566:Drivers/CMSIS/Include/core_cm4.h ****
  820. 567:Drivers/CMSIS/Include/core_cm4.h **** /* SCB System Handler Control and State Register Definitions */
  821. 568:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTENA_Pos 18U /*!< SCB
  822. 569:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTENA_Msk (1UL << SCB_SHCSR_USGFAULTENA_Pos) /*!< SCB
  823. 570:Drivers/CMSIS/Include/core_cm4.h ****
  824. 571:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTENA_Pos 17U /*!< SCB
  825. 572:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTENA_Msk (1UL << SCB_SHCSR_BUSFAULTENA_Pos) /*!< SCB
  826. 573:Drivers/CMSIS/Include/core_cm4.h ****
  827. 574:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTENA_Pos 16U /*!< SCB
  828. 575:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTENA_Msk (1UL << SCB_SHCSR_MEMFAULTENA_Pos) /*!< SCB
  829. 576:Drivers/CMSIS/Include/core_cm4.h ****
  830. 577:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLPENDED_Pos 15U /*!< SCB
  831. 578:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLPENDED_Msk (1UL << SCB_SHCSR_SVCALLPENDED_Pos) /*!< SCB
  832. 579:Drivers/CMSIS/Include/core_cm4.h ****
  833. 580:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTPENDED_Pos 14U /*!< SCB
  834. 581:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTPENDED_Msk (1UL << SCB_SHCSR_BUSFAULTPENDED_Pos) /*!< SCB
  835. 582:Drivers/CMSIS/Include/core_cm4.h ****
  836. 583:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTPENDED_Pos 13U /*!< SCB
  837. 584:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTPENDED_Msk (1UL << SCB_SHCSR_MEMFAULTPENDED_Pos) /*!< SCB
  838. 585:Drivers/CMSIS/Include/core_cm4.h ****
  839. 586:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTPENDED_Pos 12U /*!< SCB
  840. 587:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTPENDED_Msk (1UL << SCB_SHCSR_USGFAULTPENDED_Pos) /*!< SCB
  841. 588:Drivers/CMSIS/Include/core_cm4.h ****
  842. 589:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SYSTICKACT_Pos 11U /*!< SCB
  843. 590:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SYSTICKACT_Msk (1UL << SCB_SHCSR_SYSTICKACT_Pos) /*!< SCB
  844. 591:Drivers/CMSIS/Include/core_cm4.h ****
  845. 592:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_PENDSVACT_Pos 10U /*!< SCB
  846. 593:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_PENDSVACT_Msk (1UL << SCB_SHCSR_PENDSVACT_Pos) /*!< SCB
  847. 594:Drivers/CMSIS/Include/core_cm4.h ****
  848. 595:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MONITORACT_Pos 8U /*!< SCB
  849. 596:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MONITORACT_Msk (1UL << SCB_SHCSR_MONITORACT_Pos) /*!< SCB
  850. 597:Drivers/CMSIS/Include/core_cm4.h ****
  851. 598:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLACT_Pos 7U /*!< SCB
  852. 599:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLACT_Msk (1UL << SCB_SHCSR_SVCALLACT_Pos) /*!< SCB
  853. 600:Drivers/CMSIS/Include/core_cm4.h ****
  854. 601:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTACT_Pos 3U /*!< SCB
  855. 602:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTACT_Msk (1UL << SCB_SHCSR_USGFAULTACT_Pos) /*!< SCB
  856. 603:Drivers/CMSIS/Include/core_cm4.h ****
  857. 604:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTACT_Pos 1U /*!< SCB
  858. 605:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTACT_Msk (1UL << SCB_SHCSR_BUSFAULTACT_Pos) /*!< SCB
  859. 606:Drivers/CMSIS/Include/core_cm4.h ****
  860. 607:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTACT_Pos 0U /*!< SCB
  861. 608:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTACT_Msk (1UL /*<< SCB_SHCSR_MEMFAULTACT_Pos*/) /*!< SCB
  862. 609:Drivers/CMSIS/Include/core_cm4.h ****
  863. 610:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Configurable Fault Status Register Definitions */
  864. 611:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_USGFAULTSR_Pos 16U /*!< SCB
  865. 612:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_USGFAULTSR_Msk (0xFFFFUL << SCB_CFSR_USGFAULTSR_Pos) /*!< SCB
  866. 613:Drivers/CMSIS/Include/core_cm4.h ****
  867. 614:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BUSFAULTSR_Pos 8U /*!< SCB
  868. 615:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BUSFAULTSR_Msk (0xFFUL << SCB_CFSR_BUSFAULTSR_Pos) /*!< SCB
  869. 616:Drivers/CMSIS/Include/core_cm4.h ****
  870. 617:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MEMFAULTSR_Pos 0U /*!< SCB
  871. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 16
  872. 618:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MEMFAULTSR_Msk (0xFFUL /*<< SCB_CFSR_MEMFAULTSR_Pos*/) /*!< SCB
  873. 619:Drivers/CMSIS/Include/core_cm4.h ****
  874. 620:Drivers/CMSIS/Include/core_cm4.h **** /* MemManage Fault Status Register (part of SCB Configurable Fault Status Register) */
  875. 621:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MMARVALID_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 7U) /*!< SCB
  876. 622:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MMARVALID_Msk (1UL << SCB_CFSR_MMARVALID_Pos) /*!< SCB
  877. 623:Drivers/CMSIS/Include/core_cm4.h ****
  878. 624:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MLSPERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 5U) /*!< SCB
  879. 625:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MLSPERR_Msk (1UL << SCB_CFSR_MLSPERR_Pos) /*!< SCB
  880. 626:Drivers/CMSIS/Include/core_cm4.h ****
  881. 627:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MSTKERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 4U) /*!< SCB
  882. 628:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MSTKERR_Msk (1UL << SCB_CFSR_MSTKERR_Pos) /*!< SCB
  883. 629:Drivers/CMSIS/Include/core_cm4.h ****
  884. 630:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MUNSTKERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 3U) /*!< SCB
  885. 631:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MUNSTKERR_Msk (1UL << SCB_CFSR_MUNSTKERR_Pos) /*!< SCB
  886. 632:Drivers/CMSIS/Include/core_cm4.h ****
  887. 633:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DACCVIOL_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 1U) /*!< SCB
  888. 634:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DACCVIOL_Msk (1UL << SCB_CFSR_DACCVIOL_Pos) /*!< SCB
  889. 635:Drivers/CMSIS/Include/core_cm4.h ****
  890. 636:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IACCVIOL_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 0U) /*!< SCB
  891. 637:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IACCVIOL_Msk (1UL /*<< SCB_CFSR_IACCVIOL_Pos*/) /*!< SCB
  892. 638:Drivers/CMSIS/Include/core_cm4.h ****
  893. 639:Drivers/CMSIS/Include/core_cm4.h **** /* BusFault Status Register (part of SCB Configurable Fault Status Register) */
  894. 640:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BFARVALID_Pos (SCB_CFSR_BUSFAULTSR_Pos + 7U) /*!< SCB
  895. 641:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BFARVALID_Msk (1UL << SCB_CFSR_BFARVALID_Pos) /*!< SCB
  896. 642:Drivers/CMSIS/Include/core_cm4.h ****
  897. 643:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_LSPERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 5U) /*!< SCB
  898. 644:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_LSPERR_Msk (1UL << SCB_CFSR_LSPERR_Pos) /*!< SCB
  899. 645:Drivers/CMSIS/Include/core_cm4.h ****
  900. 646:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_STKERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 4U) /*!< SCB
  901. 647:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_STKERR_Msk (1UL << SCB_CFSR_STKERR_Pos) /*!< SCB
  902. 648:Drivers/CMSIS/Include/core_cm4.h ****
  903. 649:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNSTKERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 3U) /*!< SCB
  904. 650:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNSTKERR_Msk (1UL << SCB_CFSR_UNSTKERR_Pos) /*!< SCB
  905. 651:Drivers/CMSIS/Include/core_cm4.h ****
  906. 652:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IMPRECISERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 2U) /*!< SCB
  907. 653:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IMPRECISERR_Msk (1UL << SCB_CFSR_IMPRECISERR_Pos) /*!< SCB
  908. 654:Drivers/CMSIS/Include/core_cm4.h ****
  909. 655:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_PRECISERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 1U) /*!< SCB
  910. 656:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_PRECISERR_Msk (1UL << SCB_CFSR_PRECISERR_Pos) /*!< SCB
  911. 657:Drivers/CMSIS/Include/core_cm4.h ****
  912. 658:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IBUSERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 0U) /*!< SCB
  913. 659:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IBUSERR_Msk (1UL << SCB_CFSR_IBUSERR_Pos) /*!< SCB
  914. 660:Drivers/CMSIS/Include/core_cm4.h ****
  915. 661:Drivers/CMSIS/Include/core_cm4.h **** /* UsageFault Status Register (part of SCB Configurable Fault Status Register) */
  916. 662:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DIVBYZERO_Pos (SCB_CFSR_USGFAULTSR_Pos + 9U) /*!< SCB
  917. 663:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DIVBYZERO_Msk (1UL << SCB_CFSR_DIVBYZERO_Pos) /*!< SCB
  918. 664:Drivers/CMSIS/Include/core_cm4.h ****
  919. 665:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNALIGNED_Pos (SCB_CFSR_USGFAULTSR_Pos + 8U) /*!< SCB
  920. 666:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNALIGNED_Msk (1UL << SCB_CFSR_UNALIGNED_Pos) /*!< SCB
  921. 667:Drivers/CMSIS/Include/core_cm4.h ****
  922. 668:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_NOCP_Pos (SCB_CFSR_USGFAULTSR_Pos + 3U) /*!< SCB
  923. 669:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_NOCP_Msk (1UL << SCB_CFSR_NOCP_Pos) /*!< SCB
  924. 670:Drivers/CMSIS/Include/core_cm4.h ****
  925. 671:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVPC_Pos (SCB_CFSR_USGFAULTSR_Pos + 2U) /*!< SCB
  926. 672:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVPC_Msk (1UL << SCB_CFSR_INVPC_Pos) /*!< SCB
  927. 673:Drivers/CMSIS/Include/core_cm4.h ****
  928. 674:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVSTATE_Pos (SCB_CFSR_USGFAULTSR_Pos + 1U) /*!< SCB
  929. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 17
  930. 675:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVSTATE_Msk (1UL << SCB_CFSR_INVSTATE_Pos) /*!< SCB
  931. 676:Drivers/CMSIS/Include/core_cm4.h ****
  932. 677:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNDEFINSTR_Pos (SCB_CFSR_USGFAULTSR_Pos + 0U) /*!< SCB
  933. 678:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNDEFINSTR_Msk (1UL << SCB_CFSR_UNDEFINSTR_Pos) /*!< SCB
  934. 679:Drivers/CMSIS/Include/core_cm4.h ****
  935. 680:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Hard Fault Status Register Definitions */
  936. 681:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_DEBUGEVT_Pos 31U /*!< SCB
  937. 682:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_DEBUGEVT_Msk (1UL << SCB_HFSR_DEBUGEVT_Pos) /*!< SCB
  938. 683:Drivers/CMSIS/Include/core_cm4.h ****
  939. 684:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_FORCED_Pos 30U /*!< SCB
  940. 685:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_FORCED_Msk (1UL << SCB_HFSR_FORCED_Pos) /*!< SCB
  941. 686:Drivers/CMSIS/Include/core_cm4.h ****
  942. 687:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_VECTTBL_Pos 1U /*!< SCB
  943. 688:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_VECTTBL_Msk (1UL << SCB_HFSR_VECTTBL_Pos) /*!< SCB
  944. 689:Drivers/CMSIS/Include/core_cm4.h ****
  945. 690:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Debug Fault Status Register Definitions */
  946. 691:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_EXTERNAL_Pos 4U /*!< SCB
  947. 692:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_EXTERNAL_Msk (1UL << SCB_DFSR_EXTERNAL_Pos) /*!< SCB
  948. 693:Drivers/CMSIS/Include/core_cm4.h ****
  949. 694:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_VCATCH_Pos 3U /*!< SCB
  950. 695:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_VCATCH_Msk (1UL << SCB_DFSR_VCATCH_Pos) /*!< SCB
  951. 696:Drivers/CMSIS/Include/core_cm4.h ****
  952. 697:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_DWTTRAP_Pos 2U /*!< SCB
  953. 698:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_DWTTRAP_Msk (1UL << SCB_DFSR_DWTTRAP_Pos) /*!< SCB
  954. 699:Drivers/CMSIS/Include/core_cm4.h ****
  955. 700:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_BKPT_Pos 1U /*!< SCB
  956. 701:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_BKPT_Msk (1UL << SCB_DFSR_BKPT_Pos) /*!< SCB
  957. 702:Drivers/CMSIS/Include/core_cm4.h ****
  958. 703:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_HALTED_Pos 0U /*!< SCB
  959. 704:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_HALTED_Msk (1UL /*<< SCB_DFSR_HALTED_Pos*/) /*!< SCB
  960. 705:Drivers/CMSIS/Include/core_cm4.h ****
  961. 706:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_SCB */
  962. 707:Drivers/CMSIS/Include/core_cm4.h ****
  963. 708:Drivers/CMSIS/Include/core_cm4.h ****
  964. 709:Drivers/CMSIS/Include/core_cm4.h **** /**
  965. 710:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  966. 711:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_SCnSCB System Controls not in SCB (SCnSCB)
  967. 712:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the System Control and ID Register not in the SCB
  968. 713:Drivers/CMSIS/Include/core_cm4.h **** @{
  969. 714:Drivers/CMSIS/Include/core_cm4.h **** */
  970. 715:Drivers/CMSIS/Include/core_cm4.h ****
  971. 716:Drivers/CMSIS/Include/core_cm4.h **** /**
  972. 717:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the System Control and ID Register not in the SCB.
  973. 718:Drivers/CMSIS/Include/core_cm4.h **** */
  974. 719:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  975. 720:Drivers/CMSIS/Include/core_cm4.h **** {
  976. 721:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[1U];
  977. 722:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ICTR; /*!< Offset: 0x004 (R/ ) Interrupt Controller Type Regist
  978. 723:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ACTLR; /*!< Offset: 0x008 (R/W) Auxiliary Control Register */
  979. 724:Drivers/CMSIS/Include/core_cm4.h **** } SCnSCB_Type;
  980. 725:Drivers/CMSIS/Include/core_cm4.h ****
  981. 726:Drivers/CMSIS/Include/core_cm4.h **** /* Interrupt Controller Type Register Definitions */
  982. 727:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ICTR_INTLINESNUM_Pos 0U /*!< ICTR: I
  983. 728:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ICTR_INTLINESNUM_Msk (0xFUL /*<< SCnSCB_ICTR_INTLINESNUM_Pos*/) /*!< ICTR: I
  984. 729:Drivers/CMSIS/Include/core_cm4.h ****
  985. 730:Drivers/CMSIS/Include/core_cm4.h **** /* Auxiliary Control Register Definitions */
  986. 731:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISOOFP_Pos 9U /*!< ACTLR:
  987. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 18
  988. 732:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISOOFP_Msk (1UL << SCnSCB_ACTLR_DISOOFP_Pos) /*!< ACTLR:
  989. 733:Drivers/CMSIS/Include/core_cm4.h ****
  990. 734:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFPCA_Pos 8U /*!< ACTLR:
  991. 735:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFPCA_Msk (1UL << SCnSCB_ACTLR_DISFPCA_Pos) /*!< ACTLR:
  992. 736:Drivers/CMSIS/Include/core_cm4.h ****
  993. 737:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFOLD_Pos 2U /*!< ACTLR:
  994. 738:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFOLD_Msk (1UL << SCnSCB_ACTLR_DISFOLD_Pos) /*!< ACTLR:
  995. 739:Drivers/CMSIS/Include/core_cm4.h ****
  996. 740:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISDEFWBUF_Pos 1U /*!< ACTLR:
  997. 741:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISDEFWBUF_Msk (1UL << SCnSCB_ACTLR_DISDEFWBUF_Pos) /*!< ACTLR:
  998. 742:Drivers/CMSIS/Include/core_cm4.h ****
  999. 743:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISMCYCINT_Pos 0U /*!< ACTLR:
  1000. 744:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISMCYCINT_Msk (1UL /*<< SCnSCB_ACTLR_DISMCYCINT_Pos*/) /*!< ACTLR:
  1001. 745:Drivers/CMSIS/Include/core_cm4.h ****
  1002. 746:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_SCnotSCB */
  1003. 747:Drivers/CMSIS/Include/core_cm4.h ****
  1004. 748:Drivers/CMSIS/Include/core_cm4.h ****
  1005. 749:Drivers/CMSIS/Include/core_cm4.h **** /**
  1006. 750:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1007. 751:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_SysTick System Tick Timer (SysTick)
  1008. 752:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the System Timer Registers.
  1009. 753:Drivers/CMSIS/Include/core_cm4.h **** @{
  1010. 754:Drivers/CMSIS/Include/core_cm4.h **** */
  1011. 755:Drivers/CMSIS/Include/core_cm4.h ****
  1012. 756:Drivers/CMSIS/Include/core_cm4.h **** /**
  1013. 757:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the System Timer (SysTick).
  1014. 758:Drivers/CMSIS/Include/core_cm4.h **** */
  1015. 759:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1016. 760:Drivers/CMSIS/Include/core_cm4.h **** {
  1017. 761:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Regis
  1018. 762:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t LOAD; /*!< Offset: 0x004 (R/W) SysTick Reload Value Register */
  1019. 763:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t VAL; /*!< Offset: 0x008 (R/W) SysTick Current Value Register *
  1020. 764:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CALIB; /*!< Offset: 0x00C (R/ ) SysTick Calibration Register */
  1021. 765:Drivers/CMSIS/Include/core_cm4.h **** } SysTick_Type;
  1022. 766:Drivers/CMSIS/Include/core_cm4.h ****
  1023. 767:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Control / Status Register Definitions */
  1024. 768:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_COUNTFLAG_Pos 16U /*!< SysT
  1025. 769:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_COUNTFLAG_Msk (1UL << SysTick_CTRL_COUNTFLAG_Pos) /*!< SysT
  1026. 770:Drivers/CMSIS/Include/core_cm4.h ****
  1027. 771:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_CLKSOURCE_Pos 2U /*!< SysT
  1028. 772:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_CLKSOURCE_Msk (1UL << SysTick_CTRL_CLKSOURCE_Pos) /*!< SysT
  1029. 773:Drivers/CMSIS/Include/core_cm4.h ****
  1030. 774:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_TICKINT_Pos 1U /*!< SysT
  1031. 775:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_TICKINT_Msk (1UL << SysTick_CTRL_TICKINT_Pos) /*!< SysT
  1032. 776:Drivers/CMSIS/Include/core_cm4.h ****
  1033. 777:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_ENABLE_Pos 0U /*!< SysT
  1034. 778:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_ENABLE_Msk (1UL /*<< SysTick_CTRL_ENABLE_Pos*/) /*!< SysT
  1035. 779:Drivers/CMSIS/Include/core_cm4.h ****
  1036. 780:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Reload Register Definitions */
  1037. 781:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_LOAD_RELOAD_Pos 0U /*!< SysT
  1038. 782:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_LOAD_RELOAD_Msk (0xFFFFFFUL /*<< SysTick_LOAD_RELOAD_Pos*/) /*!< SysT
  1039. 783:Drivers/CMSIS/Include/core_cm4.h ****
  1040. 784:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Current Register Definitions */
  1041. 785:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_VAL_CURRENT_Pos 0U /*!< SysT
  1042. 786:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_VAL_CURRENT_Msk (0xFFFFFFUL /*<< SysTick_VAL_CURRENT_Pos*/) /*!< SysT
  1043. 787:Drivers/CMSIS/Include/core_cm4.h ****
  1044. 788:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Calibration Register Definitions */
  1045. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 19
  1046. 789:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_NOREF_Pos 31U /*!< SysT
  1047. 790:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_NOREF_Msk (1UL << SysTick_CALIB_NOREF_Pos) /*!< SysT
  1048. 791:Drivers/CMSIS/Include/core_cm4.h ****
  1049. 792:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_SKEW_Pos 30U /*!< SysT
  1050. 793:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_SKEW_Msk (1UL << SysTick_CALIB_SKEW_Pos) /*!< SysT
  1051. 794:Drivers/CMSIS/Include/core_cm4.h ****
  1052. 795:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_TENMS_Pos 0U /*!< SysT
  1053. 796:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_TENMS_Msk (0xFFFFFFUL /*<< SysTick_CALIB_TENMS_Pos*/) /*!< SysT
  1054. 797:Drivers/CMSIS/Include/core_cm4.h ****
  1055. 798:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_SysTick */
  1056. 799:Drivers/CMSIS/Include/core_cm4.h ****
  1057. 800:Drivers/CMSIS/Include/core_cm4.h ****
  1058. 801:Drivers/CMSIS/Include/core_cm4.h **** /**
  1059. 802:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1060. 803:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_ITM Instrumentation Trace Macrocell (ITM)
  1061. 804:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Instrumentation Trace Macrocell (ITM)
  1062. 805:Drivers/CMSIS/Include/core_cm4.h **** @{
  1063. 806:Drivers/CMSIS/Include/core_cm4.h **** */
  1064. 807:Drivers/CMSIS/Include/core_cm4.h ****
  1065. 808:Drivers/CMSIS/Include/core_cm4.h **** /**
  1066. 809:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Instrumentation Trace Macrocell Register (ITM).
  1067. 810:Drivers/CMSIS/Include/core_cm4.h **** */
  1068. 811:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1069. 812:Drivers/CMSIS/Include/core_cm4.h **** {
  1070. 813:Drivers/CMSIS/Include/core_cm4.h **** __OM union
  1071. 814:Drivers/CMSIS/Include/core_cm4.h **** {
  1072. 815:Drivers/CMSIS/Include/core_cm4.h **** __OM uint8_t u8; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 8-bit */
  1073. 816:Drivers/CMSIS/Include/core_cm4.h **** __OM uint16_t u16; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 16-bit */
  1074. 817:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t u32; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 32-bit */
  1075. 818:Drivers/CMSIS/Include/core_cm4.h **** } PORT [32U]; /*!< Offset: 0x000 ( /W) ITM Stimulus Port Registers */
  1076. 819:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[864U];
  1077. 820:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t TER; /*!< Offset: 0xE00 (R/W) ITM Trace Enable Register */
  1078. 821:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED1[15U];
  1079. 822:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t TPR; /*!< Offset: 0xE40 (R/W) ITM Trace Privilege Register */
  1080. 823:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[15U];
  1081. 824:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t TCR; /*!< Offset: 0xE80 (R/W) ITM Trace Control Register */
  1082. 825:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED3[29U];
  1083. 826:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t IWR; /*!< Offset: 0xEF8 ( /W) ITM Integration Write Register *
  1084. 827:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t IRR; /*!< Offset: 0xEFC (R/ ) ITM Integration Read Register */
  1085. 828:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t IMCR; /*!< Offset: 0xF00 (R/W) ITM Integration Mode Control Reg
  1086. 829:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED4[43U];
  1087. 830:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t LAR; /*!< Offset: 0xFB0 ( /W) ITM Lock Access Register */
  1088. 831:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t LSR; /*!< Offset: 0xFB4 (R/ ) ITM Lock Status Register */
  1089. 832:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED5[6U];
  1090. 833:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID4; /*!< Offset: 0xFD0 (R/ ) ITM Peripheral Identification Re
  1091. 834:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID5; /*!< Offset: 0xFD4 (R/ ) ITM Peripheral Identification Re
  1092. 835:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID6; /*!< Offset: 0xFD8 (R/ ) ITM Peripheral Identification Re
  1093. 836:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID7; /*!< Offset: 0xFDC (R/ ) ITM Peripheral Identification Re
  1094. 837:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID0; /*!< Offset: 0xFE0 (R/ ) ITM Peripheral Identification Re
  1095. 838:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID1; /*!< Offset: 0xFE4 (R/ ) ITM Peripheral Identification Re
  1096. 839:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID2; /*!< Offset: 0xFE8 (R/ ) ITM Peripheral Identification Re
  1097. 840:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID3; /*!< Offset: 0xFEC (R/ ) ITM Peripheral Identification Re
  1098. 841:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID0; /*!< Offset: 0xFF0 (R/ ) ITM Component Identification Re
  1099. 842:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID1; /*!< Offset: 0xFF4 (R/ ) ITM Component Identification Re
  1100. 843:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID2; /*!< Offset: 0xFF8 (R/ ) ITM Component Identification Re
  1101. 844:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID3; /*!< Offset: 0xFFC (R/ ) ITM Component Identification Re
  1102. 845:Drivers/CMSIS/Include/core_cm4.h **** } ITM_Type;
  1103. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 20
  1104. 846:Drivers/CMSIS/Include/core_cm4.h ****
  1105. 847:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Trace Privilege Register Definitions */
  1106. 848:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TPR_PRIVMASK_Pos 0U /*!< ITM
  1107. 849:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TPR_PRIVMASK_Msk (0xFFFFFFFFUL /*<< ITM_TPR_PRIVMASK_Pos*/) /*!< ITM
  1108. 850:Drivers/CMSIS/Include/core_cm4.h ****
  1109. 851:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Trace Control Register Definitions */
  1110. 852:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_BUSY_Pos 23U /*!< ITM
  1111. 853:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_BUSY_Msk (1UL << ITM_TCR_BUSY_Pos) /*!< ITM
  1112. 854:Drivers/CMSIS/Include/core_cm4.h ****
  1113. 855:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TraceBusID_Pos 16U /*!< ITM
  1114. 856:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TraceBusID_Msk (0x7FUL << ITM_TCR_TraceBusID_Pos) /*!< ITM
  1115. 857:Drivers/CMSIS/Include/core_cm4.h ****
  1116. 858:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_GTSFREQ_Pos 10U /*!< ITM
  1117. 859:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_GTSFREQ_Msk (3UL << ITM_TCR_GTSFREQ_Pos) /*!< ITM
  1118. 860:Drivers/CMSIS/Include/core_cm4.h ****
  1119. 861:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSPrescale_Pos 8U /*!< ITM
  1120. 862:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSPrescale_Msk (3UL << ITM_TCR_TSPrescale_Pos) /*!< ITM
  1121. 863:Drivers/CMSIS/Include/core_cm4.h ****
  1122. 864:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SWOENA_Pos 4U /*!< ITM
  1123. 865:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SWOENA_Msk (1UL << ITM_TCR_SWOENA_Pos) /*!< ITM
  1124. 866:Drivers/CMSIS/Include/core_cm4.h ****
  1125. 867:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_DWTENA_Pos 3U /*!< ITM
  1126. 868:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_DWTENA_Msk (1UL << ITM_TCR_DWTENA_Pos) /*!< ITM
  1127. 869:Drivers/CMSIS/Include/core_cm4.h ****
  1128. 870:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SYNCENA_Pos 2U /*!< ITM
  1129. 871:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SYNCENA_Msk (1UL << ITM_TCR_SYNCENA_Pos) /*!< ITM
  1130. 872:Drivers/CMSIS/Include/core_cm4.h ****
  1131. 873:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSENA_Pos 1U /*!< ITM
  1132. 874:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSENA_Msk (1UL << ITM_TCR_TSENA_Pos) /*!< ITM
  1133. 875:Drivers/CMSIS/Include/core_cm4.h ****
  1134. 876:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_ITMENA_Pos 0U /*!< ITM
  1135. 877:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_ITMENA_Msk (1UL /*<< ITM_TCR_ITMENA_Pos*/) /*!< ITM
  1136. 878:Drivers/CMSIS/Include/core_cm4.h ****
  1137. 879:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Integration Write Register Definitions */
  1138. 880:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IWR_ATVALIDM_Pos 0U /*!< ITM
  1139. 881:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IWR_ATVALIDM_Msk (1UL /*<< ITM_IWR_ATVALIDM_Pos*/) /*!< ITM
  1140. 882:Drivers/CMSIS/Include/core_cm4.h ****
  1141. 883:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Integration Read Register Definitions */
  1142. 884:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IRR_ATREADYM_Pos 0U /*!< ITM
  1143. 885:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IRR_ATREADYM_Msk (1UL /*<< ITM_IRR_ATREADYM_Pos*/) /*!< ITM
  1144. 886:Drivers/CMSIS/Include/core_cm4.h ****
  1145. 887:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Integration Mode Control Register Definitions */
  1146. 888:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IMCR_INTEGRATION_Pos 0U /*!< ITM
  1147. 889:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IMCR_INTEGRATION_Msk (1UL /*<< ITM_IMCR_INTEGRATION_Pos*/) /*!< ITM
  1148. 890:Drivers/CMSIS/Include/core_cm4.h ****
  1149. 891:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Lock Status Register Definitions */
  1150. 892:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_ByteAcc_Pos 2U /*!< ITM
  1151. 893:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_ByteAcc_Msk (1UL << ITM_LSR_ByteAcc_Pos) /*!< ITM
  1152. 894:Drivers/CMSIS/Include/core_cm4.h ****
  1153. 895:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Access_Pos 1U /*!< ITM
  1154. 896:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Access_Msk (1UL << ITM_LSR_Access_Pos) /*!< ITM
  1155. 897:Drivers/CMSIS/Include/core_cm4.h ****
  1156. 898:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Present_Pos 0U /*!< ITM
  1157. 899:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Present_Msk (1UL /*<< ITM_LSR_Present_Pos*/) /*!< ITM
  1158. 900:Drivers/CMSIS/Include/core_cm4.h ****
  1159. 901:Drivers/CMSIS/Include/core_cm4.h **** /*@}*/ /* end of group CMSIS_ITM */
  1160. 902:Drivers/CMSIS/Include/core_cm4.h ****
  1161. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 21
  1162. 903:Drivers/CMSIS/Include/core_cm4.h ****
  1163. 904:Drivers/CMSIS/Include/core_cm4.h **** /**
  1164. 905:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1165. 906:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_DWT Data Watchpoint and Trace (DWT)
  1166. 907:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Data Watchpoint and Trace (DWT)
  1167. 908:Drivers/CMSIS/Include/core_cm4.h **** @{
  1168. 909:Drivers/CMSIS/Include/core_cm4.h **** */
  1169. 910:Drivers/CMSIS/Include/core_cm4.h ****
  1170. 911:Drivers/CMSIS/Include/core_cm4.h **** /**
  1171. 912:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Data Watchpoint and Trace Register (DWT).
  1172. 913:Drivers/CMSIS/Include/core_cm4.h **** */
  1173. 914:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1174. 915:Drivers/CMSIS/Include/core_cm4.h **** {
  1175. 916:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) Control Register */
  1176. 917:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CYCCNT; /*!< Offset: 0x004 (R/W) Cycle Count Register */
  1177. 918:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CPICNT; /*!< Offset: 0x008 (R/W) CPI Count Register */
  1178. 919:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t EXCCNT; /*!< Offset: 0x00C (R/W) Exception Overhead Count Registe
  1179. 920:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SLEEPCNT; /*!< Offset: 0x010 (R/W) Sleep Count Register */
  1180. 921:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t LSUCNT; /*!< Offset: 0x014 (R/W) LSU Count Register */
  1181. 922:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FOLDCNT; /*!< Offset: 0x018 (R/W) Folded-instruction Count Registe
  1182. 923:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PCSR; /*!< Offset: 0x01C (R/ ) Program Counter Sample Register
  1183. 924:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP0; /*!< Offset: 0x020 (R/W) Comparator Register 0 */
  1184. 925:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK0; /*!< Offset: 0x024 (R/W) Mask Register 0 */
  1185. 926:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION0; /*!< Offset: 0x028 (R/W) Function Register 0 */
  1186. 927:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[1U];
  1187. 928:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP1; /*!< Offset: 0x030 (R/W) Comparator Register 1 */
  1188. 929:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK1; /*!< Offset: 0x034 (R/W) Mask Register 1 */
  1189. 930:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION1; /*!< Offset: 0x038 (R/W) Function Register 1 */
  1190. 931:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED1[1U];
  1191. 932:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP2; /*!< Offset: 0x040 (R/W) Comparator Register 2 */
  1192. 933:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK2; /*!< Offset: 0x044 (R/W) Mask Register 2 */
  1193. 934:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION2; /*!< Offset: 0x048 (R/W) Function Register 2 */
  1194. 935:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[1U];
  1195. 936:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP3; /*!< Offset: 0x050 (R/W) Comparator Register 3 */
  1196. 937:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK3; /*!< Offset: 0x054 (R/W) Mask Register 3 */
  1197. 938:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION3; /*!< Offset: 0x058 (R/W) Function Register 3 */
  1198. 939:Drivers/CMSIS/Include/core_cm4.h **** } DWT_Type;
  1199. 940:Drivers/CMSIS/Include/core_cm4.h ****
  1200. 941:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Control Register Definitions */
  1201. 942:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NUMCOMP_Pos 28U /*!< DWT CTR
  1202. 943:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NUMCOMP_Msk (0xFUL << DWT_CTRL_NUMCOMP_Pos) /*!< DWT CTR
  1203. 944:Drivers/CMSIS/Include/core_cm4.h ****
  1204. 945:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOTRCPKT_Pos 27U /*!< DWT CTR
  1205. 946:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOTRCPKT_Msk (0x1UL << DWT_CTRL_NOTRCPKT_Pos) /*!< DWT CTR
  1206. 947:Drivers/CMSIS/Include/core_cm4.h ****
  1207. 948:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOEXTTRIG_Pos 26U /*!< DWT CTR
  1208. 949:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOEXTTRIG_Msk (0x1UL << DWT_CTRL_NOEXTTRIG_Pos) /*!< DWT CTR
  1209. 950:Drivers/CMSIS/Include/core_cm4.h ****
  1210. 951:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOCYCCNT_Pos 25U /*!< DWT CTR
  1211. 952:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOCYCCNT_Msk (0x1UL << DWT_CTRL_NOCYCCNT_Pos) /*!< DWT CTR
  1212. 953:Drivers/CMSIS/Include/core_cm4.h ****
  1213. 954:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOPRFCNT_Pos 24U /*!< DWT CTR
  1214. 955:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOPRFCNT_Msk (0x1UL << DWT_CTRL_NOPRFCNT_Pos) /*!< DWT CTR
  1215. 956:Drivers/CMSIS/Include/core_cm4.h ****
  1216. 957:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCEVTENA_Pos 22U /*!< DWT CTR
  1217. 958:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCEVTENA_Msk (0x1UL << DWT_CTRL_CYCEVTENA_Pos) /*!< DWT CTR
  1218. 959:Drivers/CMSIS/Include/core_cm4.h ****
  1219. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 22
  1220. 960:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_FOLDEVTENA_Pos 21U /*!< DWT CTR
  1221. 961:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_FOLDEVTENA_Msk (0x1UL << DWT_CTRL_FOLDEVTENA_Pos) /*!< DWT CTR
  1222. 962:Drivers/CMSIS/Include/core_cm4.h ****
  1223. 963:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_LSUEVTENA_Pos 20U /*!< DWT CTR
  1224. 964:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_LSUEVTENA_Msk (0x1UL << DWT_CTRL_LSUEVTENA_Pos) /*!< DWT CTR
  1225. 965:Drivers/CMSIS/Include/core_cm4.h ****
  1226. 966:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SLEEPEVTENA_Pos 19U /*!< DWT CTR
  1227. 967:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SLEEPEVTENA_Msk (0x1UL << DWT_CTRL_SLEEPEVTENA_Pos) /*!< DWT CTR
  1228. 968:Drivers/CMSIS/Include/core_cm4.h ****
  1229. 969:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCEVTENA_Pos 18U /*!< DWT CTR
  1230. 970:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCEVTENA_Msk (0x1UL << DWT_CTRL_EXCEVTENA_Pos) /*!< DWT CTR
  1231. 971:Drivers/CMSIS/Include/core_cm4.h ****
  1232. 972:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CPIEVTENA_Pos 17U /*!< DWT CTR
  1233. 973:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CPIEVTENA_Msk (0x1UL << DWT_CTRL_CPIEVTENA_Pos) /*!< DWT CTR
  1234. 974:Drivers/CMSIS/Include/core_cm4.h ****
  1235. 975:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCTRCENA_Pos 16U /*!< DWT CTR
  1236. 976:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCTRCENA_Msk (0x1UL << DWT_CTRL_EXCTRCENA_Pos) /*!< DWT CTR
  1237. 977:Drivers/CMSIS/Include/core_cm4.h ****
  1238. 978:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_PCSAMPLENA_Pos 12U /*!< DWT CTR
  1239. 979:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_PCSAMPLENA_Msk (0x1UL << DWT_CTRL_PCSAMPLENA_Pos) /*!< DWT CTR
  1240. 980:Drivers/CMSIS/Include/core_cm4.h ****
  1241. 981:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SYNCTAP_Pos 10U /*!< DWT CTR
  1242. 982:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SYNCTAP_Msk (0x3UL << DWT_CTRL_SYNCTAP_Pos) /*!< DWT CTR
  1243. 983:Drivers/CMSIS/Include/core_cm4.h ****
  1244. 984:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCTAP_Pos 9U /*!< DWT CTR
  1245. 985:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCTAP_Msk (0x1UL << DWT_CTRL_CYCTAP_Pos) /*!< DWT CTR
  1246. 986:Drivers/CMSIS/Include/core_cm4.h ****
  1247. 987:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTINIT_Pos 5U /*!< DWT CTR
  1248. 988:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTINIT_Msk (0xFUL << DWT_CTRL_POSTINIT_Pos) /*!< DWT CTR
  1249. 989:Drivers/CMSIS/Include/core_cm4.h ****
  1250. 990:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTPRESET_Pos 1U /*!< DWT CTR
  1251. 991:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTPRESET_Msk (0xFUL << DWT_CTRL_POSTPRESET_Pos) /*!< DWT CTR
  1252. 992:Drivers/CMSIS/Include/core_cm4.h ****
  1253. 993:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCCNTENA_Pos 0U /*!< DWT CTR
  1254. 994:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCCNTENA_Msk (0x1UL /*<< DWT_CTRL_CYCCNTENA_Pos*/) /*!< DWT CTR
  1255. 995:Drivers/CMSIS/Include/core_cm4.h ****
  1256. 996:Drivers/CMSIS/Include/core_cm4.h **** /* DWT CPI Count Register Definitions */
  1257. 997:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CPICNT_CPICNT_Pos 0U /*!< DWT CPI
  1258. 998:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CPICNT_CPICNT_Msk (0xFFUL /*<< DWT_CPICNT_CPICNT_Pos*/) /*!< DWT CPI
  1259. 999:Drivers/CMSIS/Include/core_cm4.h ****
  1260. 1000:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Exception Overhead Count Register Definitions */
  1261. 1001:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_EXCCNT_EXCCNT_Pos 0U /*!< DWT EXC
  1262. 1002:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_EXCCNT_EXCCNT_Msk (0xFFUL /*<< DWT_EXCCNT_EXCCNT_Pos*/) /*!< DWT EXC
  1263. 1003:Drivers/CMSIS/Include/core_cm4.h ****
  1264. 1004:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Sleep Count Register Definitions */
  1265. 1005:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_SLEEPCNT_SLEEPCNT_Pos 0U /*!< DWT SLE
  1266. 1006:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_SLEEPCNT_SLEEPCNT_Msk (0xFFUL /*<< DWT_SLEEPCNT_SLEEPCNT_Pos*/) /*!< DWT SLE
  1267. 1007:Drivers/CMSIS/Include/core_cm4.h ****
  1268. 1008:Drivers/CMSIS/Include/core_cm4.h **** /* DWT LSU Count Register Definitions */
  1269. 1009:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_LSUCNT_LSUCNT_Pos 0U /*!< DWT LSU
  1270. 1010:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_LSUCNT_LSUCNT_Msk (0xFFUL /*<< DWT_LSUCNT_LSUCNT_Pos*/) /*!< DWT LSU
  1271. 1011:Drivers/CMSIS/Include/core_cm4.h ****
  1272. 1012:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Folded-instruction Count Register Definitions */
  1273. 1013:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FOLDCNT_FOLDCNT_Pos 0U /*!< DWT FOL
  1274. 1014:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FOLDCNT_FOLDCNT_Msk (0xFFUL /*<< DWT_FOLDCNT_FOLDCNT_Pos*/) /*!< DWT FOL
  1275. 1015:Drivers/CMSIS/Include/core_cm4.h ****
  1276. 1016:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Comparator Mask Register Definitions */
  1277. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 23
  1278. 1017:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_MASK_MASK_Pos 0U /*!< DWT MAS
  1279. 1018:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_MASK_MASK_Msk (0x1FUL /*<< DWT_MASK_MASK_Pos*/) /*!< DWT MAS
  1280. 1019:Drivers/CMSIS/Include/core_cm4.h ****
  1281. 1020:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Comparator Function Register Definitions */
  1282. 1021:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_MATCHED_Pos 24U /*!< DWT FUN
  1283. 1022:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_MATCHED_Msk (0x1UL << DWT_FUNCTION_MATCHED_Pos) /*!< DWT FUN
  1284. 1023:Drivers/CMSIS/Include/core_cm4.h ****
  1285. 1024:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR1_Pos 16U /*!< DWT FUN
  1286. 1025:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR1_Msk (0xFUL << DWT_FUNCTION_DATAVADDR1_Pos) /*!< DWT FUN
  1287. 1026:Drivers/CMSIS/Include/core_cm4.h ****
  1288. 1027:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR0_Pos 12U /*!< DWT FUN
  1289. 1028:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR0_Msk (0xFUL << DWT_FUNCTION_DATAVADDR0_Pos) /*!< DWT FUN
  1290. 1029:Drivers/CMSIS/Include/core_cm4.h ****
  1291. 1030:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVSIZE_Pos 10U /*!< DWT FUN
  1292. 1031:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVSIZE_Msk (0x3UL << DWT_FUNCTION_DATAVSIZE_Pos) /*!< DWT FUN
  1293. 1032:Drivers/CMSIS/Include/core_cm4.h ****
  1294. 1033:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_LNK1ENA_Pos 9U /*!< DWT FUN
  1295. 1034:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_LNK1ENA_Msk (0x1UL << DWT_FUNCTION_LNK1ENA_Pos) /*!< DWT FUN
  1296. 1035:Drivers/CMSIS/Include/core_cm4.h ****
  1297. 1036:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVMATCH_Pos 8U /*!< DWT FUN
  1298. 1037:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVMATCH_Msk (0x1UL << DWT_FUNCTION_DATAVMATCH_Pos) /*!< DWT FUN
  1299. 1038:Drivers/CMSIS/Include/core_cm4.h ****
  1300. 1039:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_CYCMATCH_Pos 7U /*!< DWT FUN
  1301. 1040:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_CYCMATCH_Msk (0x1UL << DWT_FUNCTION_CYCMATCH_Pos) /*!< DWT FUN
  1302. 1041:Drivers/CMSIS/Include/core_cm4.h ****
  1303. 1042:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_EMITRANGE_Pos 5U /*!< DWT FUN
  1304. 1043:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_EMITRANGE_Msk (0x1UL << DWT_FUNCTION_EMITRANGE_Pos) /*!< DWT FUN
  1305. 1044:Drivers/CMSIS/Include/core_cm4.h ****
  1306. 1045:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_FUNCTION_Pos 0U /*!< DWT FUN
  1307. 1046:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_FUNCTION_Msk (0xFUL /*<< DWT_FUNCTION_FUNCTION_Pos*/) /*!< DWT FUN
  1308. 1047:Drivers/CMSIS/Include/core_cm4.h ****
  1309. 1048:Drivers/CMSIS/Include/core_cm4.h **** /*@}*/ /* end of group CMSIS_DWT */
  1310. 1049:Drivers/CMSIS/Include/core_cm4.h ****
  1311. 1050:Drivers/CMSIS/Include/core_cm4.h ****
  1312. 1051:Drivers/CMSIS/Include/core_cm4.h **** /**
  1313. 1052:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1314. 1053:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_TPI Trace Port Interface (TPI)
  1315. 1054:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Trace Port Interface (TPI)
  1316. 1055:Drivers/CMSIS/Include/core_cm4.h **** @{
  1317. 1056:Drivers/CMSIS/Include/core_cm4.h **** */
  1318. 1057:Drivers/CMSIS/Include/core_cm4.h ****
  1319. 1058:Drivers/CMSIS/Include/core_cm4.h **** /**
  1320. 1059:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Trace Port Interface Register (TPI).
  1321. 1060:Drivers/CMSIS/Include/core_cm4.h **** */
  1322. 1061:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1323. 1062:Drivers/CMSIS/Include/core_cm4.h **** {
  1324. 1063:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t SSPSR; /*!< Offset: 0x000 (R/ ) Supported Parallel Port Size Reg
  1325. 1064:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CSPSR; /*!< Offset: 0x004 (R/W) Current Parallel Port Size Regis
  1326. 1065:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[2U];
  1327. 1066:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ACPR; /*!< Offset: 0x010 (R/W) Asynchronous Clock Prescaler Reg
  1328. 1067:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED1[55U];
  1329. 1068:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SPPR; /*!< Offset: 0x0F0 (R/W) Selected Pin Protocol Register *
  1330. 1069:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[131U];
  1331. 1070:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FFSR; /*!< Offset: 0x300 (R/ ) Formatter and Flush Status Regis
  1332. 1071:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FFCR; /*!< Offset: 0x304 (R/W) Formatter and Flush Control Regi
  1333. 1072:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FSCR; /*!< Offset: 0x308 (R/ ) Formatter Synchronization Counte
  1334. 1073:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED3[759U];
  1335. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 24
  1336. 1074:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t TRIGGER; /*!< Offset: 0xEE8 (R/ ) TRIGGER Register */
  1337. 1075:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FIFO0; /*!< Offset: 0xEEC (R/ ) Integration ETM Data */
  1338. 1076:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ITATBCTR2; /*!< Offset: 0xEF0 (R/ ) ITATBCTR2 */
  1339. 1077:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED4[1U];
  1340. 1078:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ITATBCTR0; /*!< Offset: 0xEF8 (R/ ) ITATBCTR0 */
  1341. 1079:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FIFO1; /*!< Offset: 0xEFC (R/ ) Integration ITM Data */
  1342. 1080:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ITCTRL; /*!< Offset: 0xF00 (R/W) Integration Mode Control */
  1343. 1081:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED5[39U];
  1344. 1082:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CLAIMSET; /*!< Offset: 0xFA0 (R/W) Claim tag set */
  1345. 1083:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CLAIMCLR; /*!< Offset: 0xFA4 (R/W) Claim tag clear */
  1346. 1084:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED7[8U];
  1347. 1085:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t DEVID; /*!< Offset: 0xFC8 (R/ ) TPIU_DEVID */
  1348. 1086:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t DEVTYPE; /*!< Offset: 0xFCC (R/ ) TPIU_DEVTYPE */
  1349. 1087:Drivers/CMSIS/Include/core_cm4.h **** } TPI_Type;
  1350. 1088:Drivers/CMSIS/Include/core_cm4.h ****
  1351. 1089:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Asynchronous Clock Prescaler Register Definitions */
  1352. 1090:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ACPR_PRESCALER_Pos 0U /*!< TPI ACP
  1353. 1091:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ACPR_PRESCALER_Msk (0x1FFFUL /*<< TPI_ACPR_PRESCALER_Pos*/) /*!< TPI ACP
  1354. 1092:Drivers/CMSIS/Include/core_cm4.h ****
  1355. 1093:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Selected Pin Protocol Register Definitions */
  1356. 1094:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_SPPR_TXMODE_Pos 0U /*!< TPI SPP
  1357. 1095:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_SPPR_TXMODE_Msk (0x3UL /*<< TPI_SPPR_TXMODE_Pos*/) /*!< TPI SPP
  1358. 1096:Drivers/CMSIS/Include/core_cm4.h ****
  1359. 1097:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Formatter and Flush Status Register Definitions */
  1360. 1098:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtNonStop_Pos 3U /*!< TPI FFS
  1361. 1099:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtNonStop_Msk (0x1UL << TPI_FFSR_FtNonStop_Pos) /*!< TPI FFS
  1362. 1100:Drivers/CMSIS/Include/core_cm4.h ****
  1363. 1101:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_TCPresent_Pos 2U /*!< TPI FFS
  1364. 1102:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_TCPresent_Msk (0x1UL << TPI_FFSR_TCPresent_Pos) /*!< TPI FFS
  1365. 1103:Drivers/CMSIS/Include/core_cm4.h ****
  1366. 1104:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtStopped_Pos 1U /*!< TPI FFS
  1367. 1105:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtStopped_Msk (0x1UL << TPI_FFSR_FtStopped_Pos) /*!< TPI FFS
  1368. 1106:Drivers/CMSIS/Include/core_cm4.h ****
  1369. 1107:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FlInProg_Pos 0U /*!< TPI FFS
  1370. 1108:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FlInProg_Msk (0x1UL /*<< TPI_FFSR_FlInProg_Pos*/) /*!< TPI FFS
  1371. 1109:Drivers/CMSIS/Include/core_cm4.h ****
  1372. 1110:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Formatter and Flush Control Register Definitions */
  1373. 1111:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_TrigIn_Pos 8U /*!< TPI FFC
  1374. 1112:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_TrigIn_Msk (0x1UL << TPI_FFCR_TrigIn_Pos) /*!< TPI FFC
  1375. 1113:Drivers/CMSIS/Include/core_cm4.h ****
  1376. 1114:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_EnFCont_Pos 1U /*!< TPI FFC
  1377. 1115:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_EnFCont_Msk (0x1UL << TPI_FFCR_EnFCont_Pos) /*!< TPI FFC
  1378. 1116:Drivers/CMSIS/Include/core_cm4.h ****
  1379. 1117:Drivers/CMSIS/Include/core_cm4.h **** /* TPI TRIGGER Register Definitions */
  1380. 1118:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_TRIGGER_TRIGGER_Pos 0U /*!< TPI TRI
  1381. 1119:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_TRIGGER_TRIGGER_Msk (0x1UL /*<< TPI_TRIGGER_TRIGGER_Pos*/) /*!< TPI TRI
  1382. 1120:Drivers/CMSIS/Include/core_cm4.h ****
  1383. 1121:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Integration ETM Data Register Definitions (FIFO0) */
  1384. 1122:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_ATVALID_Pos 29U /*!< TPI FIF
  1385. 1123:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_ATVALID_Msk (0x3UL << TPI_FIFO0_ITM_ATVALID_Pos) /*!< TPI FIF
  1386. 1124:Drivers/CMSIS/Include/core_cm4.h ****
  1387. 1125:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_bytecount_Pos 27U /*!< TPI FIF
  1388. 1126:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_bytecount_Msk (0x3UL << TPI_FIFO0_ITM_bytecount_Pos) /*!< TPI FIF
  1389. 1127:Drivers/CMSIS/Include/core_cm4.h ****
  1390. 1128:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_ATVALID_Pos 26U /*!< TPI FIF
  1391. 1129:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_ATVALID_Msk (0x3UL << TPI_FIFO0_ETM_ATVALID_Pos) /*!< TPI FIF
  1392. 1130:Drivers/CMSIS/Include/core_cm4.h ****
  1393. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 25
  1394. 1131:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_bytecount_Pos 24U /*!< TPI FIF
  1395. 1132:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_bytecount_Msk (0x3UL << TPI_FIFO0_ETM_bytecount_Pos) /*!< TPI FIF
  1396. 1133:Drivers/CMSIS/Include/core_cm4.h ****
  1397. 1134:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM2_Pos 16U /*!< TPI FIF
  1398. 1135:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM2_Msk (0xFFUL << TPI_FIFO0_ETM2_Pos) /*!< TPI FIF
  1399. 1136:Drivers/CMSIS/Include/core_cm4.h ****
  1400. 1137:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM1_Pos 8U /*!< TPI FIF
  1401. 1138:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM1_Msk (0xFFUL << TPI_FIFO0_ETM1_Pos) /*!< TPI FIF
  1402. 1139:Drivers/CMSIS/Include/core_cm4.h ****
  1403. 1140:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM0_Pos 0U /*!< TPI FIF
  1404. 1141:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM0_Msk (0xFFUL /*<< TPI_FIFO0_ETM0_Pos*/) /*!< TPI FIF
  1405. 1142:Drivers/CMSIS/Include/core_cm4.h ****
  1406. 1143:Drivers/CMSIS/Include/core_cm4.h **** /* TPI ITATBCTR2 Register Definitions */
  1407. 1144:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY2_Pos 0U /*!< TPI ITA
  1408. 1145:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY2_Msk (0x1UL /*<< TPI_ITATBCTR2_ATREADY2_Pos*/) /*!< TPI ITA
  1409. 1146:Drivers/CMSIS/Include/core_cm4.h ****
  1410. 1147:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY1_Pos 0U /*!< TPI ITA
  1411. 1148:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY1_Msk (0x1UL /*<< TPI_ITATBCTR2_ATREADY1_Pos*/) /*!< TPI ITA
  1412. 1149:Drivers/CMSIS/Include/core_cm4.h ****
  1413. 1150:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Integration ITM Data Register Definitions (FIFO1) */
  1414. 1151:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_ATVALID_Pos 29U /*!< TPI FIF
  1415. 1152:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_ATVALID_Msk (0x3UL << TPI_FIFO1_ITM_ATVALID_Pos) /*!< TPI FIF
  1416. 1153:Drivers/CMSIS/Include/core_cm4.h ****
  1417. 1154:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_bytecount_Pos 27U /*!< TPI FIF
  1418. 1155:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_bytecount_Msk (0x3UL << TPI_FIFO1_ITM_bytecount_Pos) /*!< TPI FIF
  1419. 1156:Drivers/CMSIS/Include/core_cm4.h ****
  1420. 1157:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_ATVALID_Pos 26U /*!< TPI FIF
  1421. 1158:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_ATVALID_Msk (0x3UL << TPI_FIFO1_ETM_ATVALID_Pos) /*!< TPI FIF
  1422. 1159:Drivers/CMSIS/Include/core_cm4.h ****
  1423. 1160:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_bytecount_Pos 24U /*!< TPI FIF
  1424. 1161:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_bytecount_Msk (0x3UL << TPI_FIFO1_ETM_bytecount_Pos) /*!< TPI FIF
  1425. 1162:Drivers/CMSIS/Include/core_cm4.h ****
  1426. 1163:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM2_Pos 16U /*!< TPI FIF
  1427. 1164:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM2_Msk (0xFFUL << TPI_FIFO1_ITM2_Pos) /*!< TPI FIF
  1428. 1165:Drivers/CMSIS/Include/core_cm4.h ****
  1429. 1166:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM1_Pos 8U /*!< TPI FIF
  1430. 1167:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM1_Msk (0xFFUL << TPI_FIFO1_ITM1_Pos) /*!< TPI FIF
  1431. 1168:Drivers/CMSIS/Include/core_cm4.h ****
  1432. 1169:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM0_Pos 0U /*!< TPI FIF
  1433. 1170:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM0_Msk (0xFFUL /*<< TPI_FIFO1_ITM0_Pos*/) /*!< TPI FIF
  1434. 1171:Drivers/CMSIS/Include/core_cm4.h ****
  1435. 1172:Drivers/CMSIS/Include/core_cm4.h **** /* TPI ITATBCTR0 Register Definitions */
  1436. 1173:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY2_Pos 0U /*!< TPI ITA
  1437. 1174:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY2_Msk (0x1UL /*<< TPI_ITATBCTR0_ATREADY2_Pos*/) /*!< TPI ITA
  1438. 1175:Drivers/CMSIS/Include/core_cm4.h ****
  1439. 1176:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY1_Pos 0U /*!< TPI ITA
  1440. 1177:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY1_Msk (0x1UL /*<< TPI_ITATBCTR0_ATREADY1_Pos*/) /*!< TPI ITA
  1441. 1178:Drivers/CMSIS/Include/core_cm4.h ****
  1442. 1179:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Integration Mode Control Register Definitions */
  1443. 1180:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITCTRL_Mode_Pos 0U /*!< TPI ITC
  1444. 1181:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITCTRL_Mode_Msk (0x3UL /*<< TPI_ITCTRL_Mode_Pos*/) /*!< TPI ITC
  1445. 1182:Drivers/CMSIS/Include/core_cm4.h ****
  1446. 1183:Drivers/CMSIS/Include/core_cm4.h **** /* TPI DEVID Register Definitions */
  1447. 1184:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NRZVALID_Pos 11U /*!< TPI DEV
  1448. 1185:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NRZVALID_Msk (0x1UL << TPI_DEVID_NRZVALID_Pos) /*!< TPI DEV
  1449. 1186:Drivers/CMSIS/Include/core_cm4.h ****
  1450. 1187:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MANCVALID_Pos 10U /*!< TPI DEV
  1451. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 26
  1452. 1188:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MANCVALID_Msk (0x1UL << TPI_DEVID_MANCVALID_Pos) /*!< TPI DEV
  1453. 1189:Drivers/CMSIS/Include/core_cm4.h ****
  1454. 1190:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_PTINVALID_Pos 9U /*!< TPI DEV
  1455. 1191:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_PTINVALID_Msk (0x1UL << TPI_DEVID_PTINVALID_Pos) /*!< TPI DEV
  1456. 1192:Drivers/CMSIS/Include/core_cm4.h ****
  1457. 1193:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MinBufSz_Pos 6U /*!< TPI DEV
  1458. 1194:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MinBufSz_Msk (0x7UL << TPI_DEVID_MinBufSz_Pos) /*!< TPI DEV
  1459. 1195:Drivers/CMSIS/Include/core_cm4.h ****
  1460. 1196:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_AsynClkIn_Pos 5U /*!< TPI DEV
  1461. 1197:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_AsynClkIn_Msk (0x1UL << TPI_DEVID_AsynClkIn_Pos) /*!< TPI DEV
  1462. 1198:Drivers/CMSIS/Include/core_cm4.h ****
  1463. 1199:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NrTraceInput_Pos 0U /*!< TPI DEV
  1464. 1200:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NrTraceInput_Msk (0x1FUL /*<< TPI_DEVID_NrTraceInput_Pos*/) /*!< TPI DEV
  1465. 1201:Drivers/CMSIS/Include/core_cm4.h ****
  1466. 1202:Drivers/CMSIS/Include/core_cm4.h **** /* TPI DEVTYPE Register Definitions */
  1467. 1203:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_SubType_Pos 4U /*!< TPI DEV
  1468. 1204:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_SubType_Msk (0xFUL /*<< TPI_DEVTYPE_SubType_Pos*/) /*!< TPI DEV
  1469. 1205:Drivers/CMSIS/Include/core_cm4.h ****
  1470. 1206:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_MajorType_Pos 0U /*!< TPI DEV
  1471. 1207:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_MajorType_Msk (0xFUL << TPI_DEVTYPE_MajorType_Pos) /*!< TPI DEV
  1472. 1208:Drivers/CMSIS/Include/core_cm4.h ****
  1473. 1209:Drivers/CMSIS/Include/core_cm4.h **** /*@}*/ /* end of group CMSIS_TPI */
  1474. 1210:Drivers/CMSIS/Include/core_cm4.h ****
  1475. 1211:Drivers/CMSIS/Include/core_cm4.h ****
  1476. 1212:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
  1477. 1213:Drivers/CMSIS/Include/core_cm4.h **** /**
  1478. 1214:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1479. 1215:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_MPU Memory Protection Unit (MPU)
  1480. 1216:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Memory Protection Unit (MPU)
  1481. 1217:Drivers/CMSIS/Include/core_cm4.h **** @{
  1482. 1218:Drivers/CMSIS/Include/core_cm4.h **** */
  1483. 1219:Drivers/CMSIS/Include/core_cm4.h ****
  1484. 1220:Drivers/CMSIS/Include/core_cm4.h **** /**
  1485. 1221:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Memory Protection Unit (MPU).
  1486. 1222:Drivers/CMSIS/Include/core_cm4.h **** */
  1487. 1223:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1488. 1224:Drivers/CMSIS/Include/core_cm4.h **** {
  1489. 1225:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t TYPE; /*!< Offset: 0x000 (R/ ) MPU Type Register */
  1490. 1226:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CTRL; /*!< Offset: 0x004 (R/W) MPU Control Register */
  1491. 1227:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RNR; /*!< Offset: 0x008 (R/W) MPU Region RNRber Register */
  1492. 1228:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR; /*!< Offset: 0x00C (R/W) MPU Region Base Address Register
  1493. 1229:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR; /*!< Offset: 0x010 (R/W) MPU Region Attribute and Size Re
  1494. 1230:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR_A1; /*!< Offset: 0x014 (R/W) MPU Alias 1 Region Base Address
  1495. 1231:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR_A1; /*!< Offset: 0x018 (R/W) MPU Alias 1 Region Attribute and
  1496. 1232:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR_A2; /*!< Offset: 0x01C (R/W) MPU Alias 2 Region Base Address
  1497. 1233:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR_A2; /*!< Offset: 0x020 (R/W) MPU Alias 2 Region Attribute and
  1498. 1234:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR_A3; /*!< Offset: 0x024 (R/W) MPU Alias 3 Region Base Address
  1499. 1235:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR_A3; /*!< Offset: 0x028 (R/W) MPU Alias 3 Region Attribute and
  1500. 1236:Drivers/CMSIS/Include/core_cm4.h **** } MPU_Type;
  1501. 1237:Drivers/CMSIS/Include/core_cm4.h ****
  1502. 1238:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_RALIASES 4U
  1503. 1239:Drivers/CMSIS/Include/core_cm4.h ****
  1504. 1240:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Type Register Definitions */
  1505. 1241:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_IREGION_Pos 16U /*!< MPU
  1506. 1242:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_IREGION_Msk (0xFFUL << MPU_TYPE_IREGION_Pos) /*!< MPU
  1507. 1243:Drivers/CMSIS/Include/core_cm4.h ****
  1508. 1244:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_DREGION_Pos 8U /*!< MPU
  1509. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 27
  1510. 1245:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_DREGION_Msk (0xFFUL << MPU_TYPE_DREGION_Pos) /*!< MPU
  1511. 1246:Drivers/CMSIS/Include/core_cm4.h ****
  1512. 1247:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_SEPARATE_Pos 0U /*!< MPU
  1513. 1248:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_SEPARATE_Msk (1UL /*<< MPU_TYPE_SEPARATE_Pos*/) /*!< MPU
  1514. 1249:Drivers/CMSIS/Include/core_cm4.h ****
  1515. 1250:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Control Register Definitions */
  1516. 1251:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_PRIVDEFENA_Pos 2U /*!< MPU
  1517. 1252:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_PRIVDEFENA_Msk (1UL << MPU_CTRL_PRIVDEFENA_Pos) /*!< MPU
  1518. 1253:Drivers/CMSIS/Include/core_cm4.h ****
  1519. 1254:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_HFNMIENA_Pos 1U /*!< MPU
  1520. 1255:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_HFNMIENA_Msk (1UL << MPU_CTRL_HFNMIENA_Pos) /*!< MPU
  1521. 1256:Drivers/CMSIS/Include/core_cm4.h ****
  1522. 1257:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_ENABLE_Pos 0U /*!< MPU
  1523. 1258:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_ENABLE_Msk (1UL /*<< MPU_CTRL_ENABLE_Pos*/) /*!< MPU
  1524. 1259:Drivers/CMSIS/Include/core_cm4.h ****
  1525. 1260:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Region Number Register Definitions */
  1526. 1261:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RNR_REGION_Pos 0U /*!< MPU
  1527. 1262:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RNR_REGION_Msk (0xFFUL /*<< MPU_RNR_REGION_Pos*/) /*!< MPU
  1528. 1263:Drivers/CMSIS/Include/core_cm4.h ****
  1529. 1264:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Region Base Address Register Definitions */
  1530. 1265:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_ADDR_Pos 5U /*!< MPU
  1531. 1266:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_ADDR_Msk (0x7FFFFFFUL << MPU_RBAR_ADDR_Pos) /*!< MPU
  1532. 1267:Drivers/CMSIS/Include/core_cm4.h ****
  1533. 1268:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_VALID_Pos 4U /*!< MPU
  1534. 1269:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_VALID_Msk (1UL << MPU_RBAR_VALID_Pos) /*!< MPU
  1535. 1270:Drivers/CMSIS/Include/core_cm4.h ****
  1536. 1271:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_REGION_Pos 0U /*!< MPU
  1537. 1272:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_REGION_Msk (0xFUL /*<< MPU_RBAR_REGION_Pos*/) /*!< MPU
  1538. 1273:Drivers/CMSIS/Include/core_cm4.h ****
  1539. 1274:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Region Attribute and Size Register Definitions */
  1540. 1275:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ATTRS_Pos 16U /*!< MPU
  1541. 1276:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ATTRS_Msk (0xFFFFUL << MPU_RASR_ATTRS_Pos) /*!< MPU
  1542. 1277:Drivers/CMSIS/Include/core_cm4.h ****
  1543. 1278:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_XN_Pos 28U /*!< MPU
  1544. 1279:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_XN_Msk (1UL << MPU_RASR_XN_Pos) /*!< MPU
  1545. 1280:Drivers/CMSIS/Include/core_cm4.h ****
  1546. 1281:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_AP_Pos 24U /*!< MPU
  1547. 1282:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_AP_Msk (0x7UL << MPU_RASR_AP_Pos) /*!< MPU
  1548. 1283:Drivers/CMSIS/Include/core_cm4.h ****
  1549. 1284:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_TEX_Pos 19U /*!< MPU
  1550. 1285:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_TEX_Msk (0x7UL << MPU_RASR_TEX_Pos) /*!< MPU
  1551. 1286:Drivers/CMSIS/Include/core_cm4.h ****
  1552. 1287:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_S_Pos 18U /*!< MPU
  1553. 1288:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_S_Msk (1UL << MPU_RASR_S_Pos) /*!< MPU
  1554. 1289:Drivers/CMSIS/Include/core_cm4.h ****
  1555. 1290:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_C_Pos 17U /*!< MPU
  1556. 1291:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_C_Msk (1UL << MPU_RASR_C_Pos) /*!< MPU
  1557. 1292:Drivers/CMSIS/Include/core_cm4.h ****
  1558. 1293:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_B_Pos 16U /*!< MPU
  1559. 1294:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_B_Msk (1UL << MPU_RASR_B_Pos) /*!< MPU
  1560. 1295:Drivers/CMSIS/Include/core_cm4.h ****
  1561. 1296:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SRD_Pos 8U /*!< MPU
  1562. 1297:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SRD_Msk (0xFFUL << MPU_RASR_SRD_Pos) /*!< MPU
  1563. 1298:Drivers/CMSIS/Include/core_cm4.h ****
  1564. 1299:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SIZE_Pos 1U /*!< MPU
  1565. 1300:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SIZE_Msk (0x1FUL << MPU_RASR_SIZE_Pos) /*!< MPU
  1566. 1301:Drivers/CMSIS/Include/core_cm4.h ****
  1567. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 28
  1568. 1302:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ENABLE_Pos 0U /*!< MPU
  1569. 1303:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ENABLE_Msk (1UL /*<< MPU_RASR_ENABLE_Pos*/) /*!< MPU
  1570. 1304:Drivers/CMSIS/Include/core_cm4.h ****
  1571. 1305:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_MPU */
  1572. 1306:Drivers/CMSIS/Include/core_cm4.h **** #endif /* defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U) */
  1573. 1307:Drivers/CMSIS/Include/core_cm4.h ****
  1574. 1308:Drivers/CMSIS/Include/core_cm4.h ****
  1575. 1309:Drivers/CMSIS/Include/core_cm4.h **** /**
  1576. 1310:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1577. 1311:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_FPU Floating Point Unit (FPU)
  1578. 1312:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Floating Point Unit (FPU)
  1579. 1313:Drivers/CMSIS/Include/core_cm4.h **** @{
  1580. 1314:Drivers/CMSIS/Include/core_cm4.h **** */
  1581. 1315:Drivers/CMSIS/Include/core_cm4.h ****
  1582. 1316:Drivers/CMSIS/Include/core_cm4.h **** /**
  1583. 1317:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Floating Point Unit (FPU).
  1584. 1318:Drivers/CMSIS/Include/core_cm4.h **** */
  1585. 1319:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1586. 1320:Drivers/CMSIS/Include/core_cm4.h **** {
  1587. 1321:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[1U];
  1588. 1322:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FPCCR; /*!< Offset: 0x004 (R/W) Floating-Point Context Control R
  1589. 1323:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FPCAR; /*!< Offset: 0x008 (R/W) Floating-Point Context Address R
  1590. 1324:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FPDSCR; /*!< Offset: 0x00C (R/W) Floating-Point Default Status Co
  1591. 1325:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t MVFR0; /*!< Offset: 0x010 (R/ ) Media and FP Feature Register 0
  1592. 1326:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t MVFR1; /*!< Offset: 0x014 (R/ ) Media and FP Feature Register 1
  1593. 1327:Drivers/CMSIS/Include/core_cm4.h **** } FPU_Type;
  1594. 1328:Drivers/CMSIS/Include/core_cm4.h ****
  1595. 1329:Drivers/CMSIS/Include/core_cm4.h **** /* Floating-Point Context Control Register Definitions */
  1596. 1330:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_ASPEN_Pos 31U /*!< FPCC
  1597. 1331:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_ASPEN_Msk (1UL << FPU_FPCCR_ASPEN_Pos) /*!< FPCC
  1598. 1332:Drivers/CMSIS/Include/core_cm4.h ****
  1599. 1333:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPEN_Pos 30U /*!< FPCC
  1600. 1334:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPEN_Msk (1UL << FPU_FPCCR_LSPEN_Pos) /*!< FPCC
  1601. 1335:Drivers/CMSIS/Include/core_cm4.h ****
  1602. 1336:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MONRDY_Pos 8U /*!< FPCC
  1603. 1337:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MONRDY_Msk (1UL << FPU_FPCCR_MONRDY_Pos) /*!< FPCC
  1604. 1338:Drivers/CMSIS/Include/core_cm4.h ****
  1605. 1339:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_BFRDY_Pos 6U /*!< FPCC
  1606. 1340:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_BFRDY_Msk (1UL << FPU_FPCCR_BFRDY_Pos) /*!< FPCC
  1607. 1341:Drivers/CMSIS/Include/core_cm4.h ****
  1608. 1342:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MMRDY_Pos 5U /*!< FPCC
  1609. 1343:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MMRDY_Msk (1UL << FPU_FPCCR_MMRDY_Pos) /*!< FPCC
  1610. 1344:Drivers/CMSIS/Include/core_cm4.h ****
  1611. 1345:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_HFRDY_Pos 4U /*!< FPCC
  1612. 1346:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_HFRDY_Msk (1UL << FPU_FPCCR_HFRDY_Pos) /*!< FPCC
  1613. 1347:Drivers/CMSIS/Include/core_cm4.h ****
  1614. 1348:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_THREAD_Pos 3U /*!< FPCC
  1615. 1349:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_THREAD_Msk (1UL << FPU_FPCCR_THREAD_Pos) /*!< FPCC
  1616. 1350:Drivers/CMSIS/Include/core_cm4.h ****
  1617. 1351:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_USER_Pos 1U /*!< FPCC
  1618. 1352:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_USER_Msk (1UL << FPU_FPCCR_USER_Pos) /*!< FPCC
  1619. 1353:Drivers/CMSIS/Include/core_cm4.h ****
  1620. 1354:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPACT_Pos 0U /*!< FPCC
  1621. 1355:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPACT_Msk (1UL /*<< FPU_FPCCR_LSPACT_Pos*/) /*!< FPCC
  1622. 1356:Drivers/CMSIS/Include/core_cm4.h ****
  1623. 1357:Drivers/CMSIS/Include/core_cm4.h **** /* Floating-Point Context Address Register Definitions */
  1624. 1358:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCAR_ADDRESS_Pos 3U /*!< FPCA
  1625. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 29
  1626. 1359:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCAR_ADDRESS_Msk (0x1FFFFFFFUL << FPU_FPCAR_ADDRESS_Pos) /*!< FPCA
  1627. 1360:Drivers/CMSIS/Include/core_cm4.h ****
  1628. 1361:Drivers/CMSIS/Include/core_cm4.h **** /* Floating-Point Default Status Control Register Definitions */
  1629. 1362:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_AHP_Pos 26U /*!< FPDS
  1630. 1363:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_AHP_Msk (1UL << FPU_FPDSCR_AHP_Pos) /*!< FPDS
  1631. 1364:Drivers/CMSIS/Include/core_cm4.h ****
  1632. 1365:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_DN_Pos 25U /*!< FPDS
  1633. 1366:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_DN_Msk (1UL << FPU_FPDSCR_DN_Pos) /*!< FPDS
  1634. 1367:Drivers/CMSIS/Include/core_cm4.h ****
  1635. 1368:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_FZ_Pos 24U /*!< FPDS
  1636. 1369:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_FZ_Msk (1UL << FPU_FPDSCR_FZ_Pos) /*!< FPDS
  1637. 1370:Drivers/CMSIS/Include/core_cm4.h ****
  1638. 1371:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_RMode_Pos 22U /*!< FPDS
  1639. 1372:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_RMode_Msk (3UL << FPU_FPDSCR_RMode_Pos) /*!< FPDS
  1640. 1373:Drivers/CMSIS/Include/core_cm4.h ****
  1641. 1374:Drivers/CMSIS/Include/core_cm4.h **** /* Media and FP Feature Register 0 Definitions */
  1642. 1375:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_rounding_modes_Pos 28U /*!< MVFR
  1643. 1376:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_rounding_modes_Msk (0xFUL << FPU_MVFR0_FP_rounding_modes_Pos) /*!< MVFR
  1644. 1377:Drivers/CMSIS/Include/core_cm4.h ****
  1645. 1378:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Short_vectors_Pos 24U /*!< MVFR
  1646. 1379:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Short_vectors_Msk (0xFUL << FPU_MVFR0_Short_vectors_Pos) /*!< MVFR
  1647. 1380:Drivers/CMSIS/Include/core_cm4.h ****
  1648. 1381:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Square_root_Pos 20U /*!< MVFR
  1649. 1382:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Square_root_Msk (0xFUL << FPU_MVFR0_Square_root_Pos) /*!< MVFR
  1650. 1383:Drivers/CMSIS/Include/core_cm4.h ****
  1651. 1384:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Divide_Pos 16U /*!< MVFR
  1652. 1385:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Divide_Msk (0xFUL << FPU_MVFR0_Divide_Pos) /*!< MVFR
  1653. 1386:Drivers/CMSIS/Include/core_cm4.h ****
  1654. 1387:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_excep_trapping_Pos 12U /*!< MVFR
  1655. 1388:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_excep_trapping_Msk (0xFUL << FPU_MVFR0_FP_excep_trapping_Pos) /*!< MVFR
  1656. 1389:Drivers/CMSIS/Include/core_cm4.h ****
  1657. 1390:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Double_precision_Pos 8U /*!< MVFR
  1658. 1391:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Double_precision_Msk (0xFUL << FPU_MVFR0_Double_precision_Pos) /*!< MVFR
  1659. 1392:Drivers/CMSIS/Include/core_cm4.h ****
  1660. 1393:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Single_precision_Pos 4U /*!< MVFR
  1661. 1394:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Single_precision_Msk (0xFUL << FPU_MVFR0_Single_precision_Pos) /*!< MVFR
  1662. 1395:Drivers/CMSIS/Include/core_cm4.h ****
  1663. 1396:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_A_SIMD_registers_Pos 0U /*!< MVFR
  1664. 1397:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_A_SIMD_registers_Msk (0xFUL /*<< FPU_MVFR0_A_SIMD_registers_Pos*/) /*!< MVFR
  1665. 1398:Drivers/CMSIS/Include/core_cm4.h ****
  1666. 1399:Drivers/CMSIS/Include/core_cm4.h **** /* Media and FP Feature Register 1 Definitions */
  1667. 1400:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_fused_MAC_Pos 28U /*!< MVFR
  1668. 1401:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_fused_MAC_Msk (0xFUL << FPU_MVFR1_FP_fused_MAC_Pos) /*!< MVFR
  1669. 1402:Drivers/CMSIS/Include/core_cm4.h ****
  1670. 1403:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_HPFP_Pos 24U /*!< MVFR
  1671. 1404:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_HPFP_Msk (0xFUL << FPU_MVFR1_FP_HPFP_Pos) /*!< MVFR
  1672. 1405:Drivers/CMSIS/Include/core_cm4.h ****
  1673. 1406:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_D_NaN_mode_Pos 4U /*!< MVFR
  1674. 1407:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_D_NaN_mode_Msk (0xFUL << FPU_MVFR1_D_NaN_mode_Pos) /*!< MVFR
  1675. 1408:Drivers/CMSIS/Include/core_cm4.h ****
  1676. 1409:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FtZ_mode_Pos 0U /*!< MVFR
  1677. 1410:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FtZ_mode_Msk (0xFUL /*<< FPU_MVFR1_FtZ_mode_Pos*/) /*!< MVFR
  1678. 1411:Drivers/CMSIS/Include/core_cm4.h ****
  1679. 1412:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_FPU */
  1680. 1413:Drivers/CMSIS/Include/core_cm4.h ****
  1681. 1414:Drivers/CMSIS/Include/core_cm4.h ****
  1682. 1415:Drivers/CMSIS/Include/core_cm4.h **** /**
  1683. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 30
  1684. 1416:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1685. 1417:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_CoreDebug Core Debug Registers (CoreDebug)
  1686. 1418:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Core Debug Registers
  1687. 1419:Drivers/CMSIS/Include/core_cm4.h **** @{
  1688. 1420:Drivers/CMSIS/Include/core_cm4.h **** */
  1689. 1421:Drivers/CMSIS/Include/core_cm4.h ****
  1690. 1422:Drivers/CMSIS/Include/core_cm4.h **** /**
  1691. 1423:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Core Debug Register (CoreDebug).
  1692. 1424:Drivers/CMSIS/Include/core_cm4.h **** */
  1693. 1425:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1694. 1426:Drivers/CMSIS/Include/core_cm4.h **** {
  1695. 1427:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DHCSR; /*!< Offset: 0x000 (R/W) Debug Halting Control and Status
  1696. 1428:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t DCRSR; /*!< Offset: 0x004 ( /W) Debug Core Register Selector Reg
  1697. 1429:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DCRDR; /*!< Offset: 0x008 (R/W) Debug Core Register Data Registe
  1698. 1430:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DEMCR; /*!< Offset: 0x00C (R/W) Debug Exception and Monitor Cont
  1699. 1431:Drivers/CMSIS/Include/core_cm4.h **** } CoreDebug_Type;
  1700. 1432:Drivers/CMSIS/Include/core_cm4.h ****
  1701. 1433:Drivers/CMSIS/Include/core_cm4.h **** /* Debug Halting Control and Status Register Definitions */
  1702. 1434:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_DBGKEY_Pos 16U /*!< Core
  1703. 1435:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_DBGKEY_Msk (0xFFFFUL << CoreDebug_DHCSR_DBGKEY_Pos) /*!< Core
  1704. 1436:Drivers/CMSIS/Include/core_cm4.h ****
  1705. 1437:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RESET_ST_Pos 25U /*!< Core
  1706. 1438:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RESET_ST_Msk (1UL << CoreDebug_DHCSR_S_RESET_ST_Pos) /*!< Core
  1707. 1439:Drivers/CMSIS/Include/core_cm4.h ****
  1708. 1440:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RETIRE_ST_Pos 24U /*!< Core
  1709. 1441:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RETIRE_ST_Msk (1UL << CoreDebug_DHCSR_S_RETIRE_ST_Pos) /*!< Core
  1710. 1442:Drivers/CMSIS/Include/core_cm4.h ****
  1711. 1443:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_LOCKUP_Pos 19U /*!< Core
  1712. 1444:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_LOCKUP_Msk (1UL << CoreDebug_DHCSR_S_LOCKUP_Pos) /*!< Core
  1713. 1445:Drivers/CMSIS/Include/core_cm4.h ****
  1714. 1446:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_SLEEP_Pos 18U /*!< Core
  1715. 1447:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_SLEEP_Msk (1UL << CoreDebug_DHCSR_S_SLEEP_Pos) /*!< Core
  1716. 1448:Drivers/CMSIS/Include/core_cm4.h ****
  1717. 1449:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_HALT_Pos 17U /*!< Core
  1718. 1450:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_HALT_Msk (1UL << CoreDebug_DHCSR_S_HALT_Pos) /*!< Core
  1719. 1451:Drivers/CMSIS/Include/core_cm4.h ****
  1720. 1452:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_REGRDY_Pos 16U /*!< Core
  1721. 1453:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_REGRDY_Msk (1UL << CoreDebug_DHCSR_S_REGRDY_Pos) /*!< Core
  1722. 1454:Drivers/CMSIS/Include/core_cm4.h ****
  1723. 1455:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_SNAPSTALL_Pos 5U /*!< Core
  1724. 1456:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_SNAPSTALL_Msk (1UL << CoreDebug_DHCSR_C_SNAPSTALL_Pos) /*!< Core
  1725. 1457:Drivers/CMSIS/Include/core_cm4.h ****
  1726. 1458:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_MASKINTS_Pos 3U /*!< Core
  1727. 1459:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_MASKINTS_Msk (1UL << CoreDebug_DHCSR_C_MASKINTS_Pos) /*!< Core
  1728. 1460:Drivers/CMSIS/Include/core_cm4.h ****
  1729. 1461:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_STEP_Pos 2U /*!< Core
  1730. 1462:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_STEP_Msk (1UL << CoreDebug_DHCSR_C_STEP_Pos) /*!< Core
  1731. 1463:Drivers/CMSIS/Include/core_cm4.h ****
  1732. 1464:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_HALT_Pos 1U /*!< Core
  1733. 1465:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_HALT_Msk (1UL << CoreDebug_DHCSR_C_HALT_Pos) /*!< Core
  1734. 1466:Drivers/CMSIS/Include/core_cm4.h ****
  1735. 1467:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_DEBUGEN_Pos 0U /*!< Core
  1736. 1468:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_DEBUGEN_Msk (1UL /*<< CoreDebug_DHCSR_C_DEBUGEN_Pos*/) /*!< Core
  1737. 1469:Drivers/CMSIS/Include/core_cm4.h ****
  1738. 1470:Drivers/CMSIS/Include/core_cm4.h **** /* Debug Core Register Selector Register Definitions */
  1739. 1471:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGWnR_Pos 16U /*!< Core
  1740. 1472:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGWnR_Msk (1UL << CoreDebug_DCRSR_REGWnR_Pos) /*!< Core
  1741. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 31
  1742. 1473:Drivers/CMSIS/Include/core_cm4.h ****
  1743. 1474:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGSEL_Pos 0U /*!< Core
  1744. 1475:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGSEL_Msk (0x1FUL /*<< CoreDebug_DCRSR_REGSEL_Pos*/) /*!< Core
  1745. 1476:Drivers/CMSIS/Include/core_cm4.h ****
  1746. 1477:Drivers/CMSIS/Include/core_cm4.h **** /* Debug Exception and Monitor Control Register Definitions */
  1747. 1478:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_TRCENA_Pos 24U /*!< Core
  1748. 1479:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_TRCENA_Msk (1UL << CoreDebug_DEMCR_TRCENA_Pos) /*!< Core
  1749. 1480:Drivers/CMSIS/Include/core_cm4.h ****
  1750. 1481:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_REQ_Pos 19U /*!< Core
  1751. 1482:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_REQ_Msk (1UL << CoreDebug_DEMCR_MON_REQ_Pos) /*!< Core
  1752. 1483:Drivers/CMSIS/Include/core_cm4.h ****
  1753. 1484:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_STEP_Pos 18U /*!< Core
  1754. 1485:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_STEP_Msk (1UL << CoreDebug_DEMCR_MON_STEP_Pos) /*!< Core
  1755. 1486:Drivers/CMSIS/Include/core_cm4.h ****
  1756. 1487:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_PEND_Pos 17U /*!< Core
  1757. 1488:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_PEND_Msk (1UL << CoreDebug_DEMCR_MON_PEND_Pos) /*!< Core
  1758. 1489:Drivers/CMSIS/Include/core_cm4.h ****
  1759. 1490:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_EN_Pos 16U /*!< Core
  1760. 1491:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_EN_Msk (1UL << CoreDebug_DEMCR_MON_EN_Pos) /*!< Core
  1761. 1492:Drivers/CMSIS/Include/core_cm4.h ****
  1762. 1493:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_HARDERR_Pos 10U /*!< Core
  1763. 1494:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_HARDERR_Msk (1UL << CoreDebug_DEMCR_VC_HARDERR_Pos) /*!< Core
  1764. 1495:Drivers/CMSIS/Include/core_cm4.h ****
  1765. 1496:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_INTERR_Pos 9U /*!< Core
  1766. 1497:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_INTERR_Msk (1UL << CoreDebug_DEMCR_VC_INTERR_Pos) /*!< Core
  1767. 1498:Drivers/CMSIS/Include/core_cm4.h ****
  1768. 1499:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_BUSERR_Pos 8U /*!< Core
  1769. 1500:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_BUSERR_Msk (1UL << CoreDebug_DEMCR_VC_BUSERR_Pos) /*!< Core
  1770. 1501:Drivers/CMSIS/Include/core_cm4.h ****
  1771. 1502:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_STATERR_Pos 7U /*!< Core
  1772. 1503:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_STATERR_Msk (1UL << CoreDebug_DEMCR_VC_STATERR_Pos) /*!< Core
  1773. 1504:Drivers/CMSIS/Include/core_cm4.h ****
  1774. 1505:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CHKERR_Pos 6U /*!< Core
  1775. 1506:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CHKERR_Msk (1UL << CoreDebug_DEMCR_VC_CHKERR_Pos) /*!< Core
  1776. 1507:Drivers/CMSIS/Include/core_cm4.h ****
  1777. 1508:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_NOCPERR_Pos 5U /*!< Core
  1778. 1509:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_NOCPERR_Msk (1UL << CoreDebug_DEMCR_VC_NOCPERR_Pos) /*!< Core
  1779. 1510:Drivers/CMSIS/Include/core_cm4.h ****
  1780. 1511:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_MMERR_Pos 4U /*!< Core
  1781. 1512:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_MMERR_Msk (1UL << CoreDebug_DEMCR_VC_MMERR_Pos) /*!< Core
  1782. 1513:Drivers/CMSIS/Include/core_cm4.h ****
  1783. 1514:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CORERESET_Pos 0U /*!< Core
  1784. 1515:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CORERESET_Msk (1UL /*<< CoreDebug_DEMCR_VC_CORERESET_Pos*/) /*!< Core
  1785. 1516:Drivers/CMSIS/Include/core_cm4.h ****
  1786. 1517:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_CoreDebug */
  1787. 1518:Drivers/CMSIS/Include/core_cm4.h ****
  1788. 1519:Drivers/CMSIS/Include/core_cm4.h ****
  1789. 1520:Drivers/CMSIS/Include/core_cm4.h **** /**
  1790. 1521:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1791. 1522:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_core_bitfield Core register bit field macros
  1792. 1523:Drivers/CMSIS/Include/core_cm4.h **** \brief Macros for use with bit field definitions (xxx_Pos, xxx_Msk).
  1793. 1524:Drivers/CMSIS/Include/core_cm4.h **** @{
  1794. 1525:Drivers/CMSIS/Include/core_cm4.h **** */
  1795. 1526:Drivers/CMSIS/Include/core_cm4.h ****
  1796. 1527:Drivers/CMSIS/Include/core_cm4.h **** /**
  1797. 1528:Drivers/CMSIS/Include/core_cm4.h **** \brief Mask and shift a bit field value for use in a register bit range.
  1798. 1529:Drivers/CMSIS/Include/core_cm4.h **** \param[in] field Name of the register bit field.
  1799. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 32
  1800. 1530:Drivers/CMSIS/Include/core_cm4.h **** \param[in] value Value of the bit field. This parameter is interpreted as an uint32_t type.
  1801. 1531:Drivers/CMSIS/Include/core_cm4.h **** \return Masked and shifted value.
  1802. 1532:Drivers/CMSIS/Include/core_cm4.h **** */
  1803. 1533:Drivers/CMSIS/Include/core_cm4.h **** #define _VAL2FLD(field, value) (((uint32_t)(value) << field ## _Pos) & field ## _Msk)
  1804. 1534:Drivers/CMSIS/Include/core_cm4.h ****
  1805. 1535:Drivers/CMSIS/Include/core_cm4.h **** /**
  1806. 1536:Drivers/CMSIS/Include/core_cm4.h **** \brief Mask and shift a register value to extract a bit filed value.
  1807. 1537:Drivers/CMSIS/Include/core_cm4.h **** \param[in] field Name of the register bit field.
  1808. 1538:Drivers/CMSIS/Include/core_cm4.h **** \param[in] value Value of register. This parameter is interpreted as an uint32_t type.
  1809. 1539:Drivers/CMSIS/Include/core_cm4.h **** \return Masked and shifted bit field value.
  1810. 1540:Drivers/CMSIS/Include/core_cm4.h **** */
  1811. 1541:Drivers/CMSIS/Include/core_cm4.h **** #define _FLD2VAL(field, value) (((uint32_t)(value) & field ## _Msk) >> field ## _Pos)
  1812. 1542:Drivers/CMSIS/Include/core_cm4.h ****
  1813. 1543:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_core_bitfield */
  1814. 1544:Drivers/CMSIS/Include/core_cm4.h ****
  1815. 1545:Drivers/CMSIS/Include/core_cm4.h ****
  1816. 1546:Drivers/CMSIS/Include/core_cm4.h **** /**
  1817. 1547:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1818. 1548:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_core_base Core Definitions
  1819. 1549:Drivers/CMSIS/Include/core_cm4.h **** \brief Definitions for base addresses, unions, and structures.
  1820. 1550:Drivers/CMSIS/Include/core_cm4.h **** @{
  1821. 1551:Drivers/CMSIS/Include/core_cm4.h **** */
  1822. 1552:Drivers/CMSIS/Include/core_cm4.h ****
  1823. 1553:Drivers/CMSIS/Include/core_cm4.h **** /* Memory mapping of Core Hardware */
  1824. 1554:Drivers/CMSIS/Include/core_cm4.h **** #define SCS_BASE (0xE000E000UL) /*!< System Control Space Bas
  1825. 1555:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_BASE (0xE0000000UL) /*!< ITM Base Address */
  1826. 1556:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_BASE (0xE0001000UL) /*!< DWT Base Address */
  1827. 1557:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_BASE (0xE0040000UL) /*!< TPI Base Address */
  1828. 1558:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_BASE (0xE000EDF0UL) /*!< Core Debug Base Address
  1829. 1559:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_BASE (SCS_BASE + 0x0010UL) /*!< SysTick Base Address */
  1830. 1560:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_BASE (SCS_BASE + 0x0100UL) /*!< NVIC Base Address */
  1831. 1561:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_BASE (SCS_BASE + 0x0D00UL) /*!< System Control Block Bas
  1832. 1562:Drivers/CMSIS/Include/core_cm4.h ****
  1833. 1563:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB ((SCnSCB_Type *) SCS_BASE ) /*!< System control Register
  1834. 1564:Drivers/CMSIS/Include/core_cm4.h **** #define SCB ((SCB_Type *) SCB_BASE ) /*!< SCB configuration struct
  1835. 1565:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st
  1836. 1566:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC ((NVIC_Type *) NVIC_BASE ) /*!< NVIC configuration struc
  1837. 1567:Drivers/CMSIS/Include/core_cm4.h **** #define ITM ((ITM_Type *) ITM_BASE ) /*!< ITM configuration struct
  1838. 1568:Drivers/CMSIS/Include/core_cm4.h **** #define DWT ((DWT_Type *) DWT_BASE ) /*!< DWT configuration struct
  1839. 1569:Drivers/CMSIS/Include/core_cm4.h **** #define TPI ((TPI_Type *) TPI_BASE ) /*!< TPI configuration struct
  1840. 1570:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug ((CoreDebug_Type *) CoreDebug_BASE) /*!< Core Debug configuration
  1841. 1571:Drivers/CMSIS/Include/core_cm4.h ****
  1842. 1572:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
  1843. 1573:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_BASE (SCS_BASE + 0x0D90UL) /*!< Memory Protection Unit *
  1844. 1574:Drivers/CMSIS/Include/core_cm4.h **** #define MPU ((MPU_Type *) MPU_BASE ) /*!< Memory Protection Unit *
  1845. 1575:Drivers/CMSIS/Include/core_cm4.h **** #endif
  1846. 1576:Drivers/CMSIS/Include/core_cm4.h ****
  1847. 1577:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_BASE (SCS_BASE + 0x0F30UL) /*!< Floating Point Unit */
  1848. 1578:Drivers/CMSIS/Include/core_cm4.h **** #define FPU ((FPU_Type *) FPU_BASE ) /*!< Floating Point Unit */
  1849. 1579:Drivers/CMSIS/Include/core_cm4.h ****
  1850. 1580:Drivers/CMSIS/Include/core_cm4.h **** /*@} */
  1851. 1581:Drivers/CMSIS/Include/core_cm4.h ****
  1852. 1582:Drivers/CMSIS/Include/core_cm4.h ****
  1853. 1583:Drivers/CMSIS/Include/core_cm4.h ****
  1854. 1584:Drivers/CMSIS/Include/core_cm4.h **** /*******************************************************************************
  1855. 1585:Drivers/CMSIS/Include/core_cm4.h **** * Hardware Abstraction Layer
  1856. 1586:Drivers/CMSIS/Include/core_cm4.h **** Core Function Interface contains:
  1857. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 33
  1858. 1587:Drivers/CMSIS/Include/core_cm4.h **** - Core NVIC Functions
  1859. 1588:Drivers/CMSIS/Include/core_cm4.h **** - Core SysTick Functions
  1860. 1589:Drivers/CMSIS/Include/core_cm4.h **** - Core Debug Functions
  1861. 1590:Drivers/CMSIS/Include/core_cm4.h **** - Core Register Access Functions
  1862. 1591:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
  1863. 1592:Drivers/CMSIS/Include/core_cm4.h **** /**
  1864. 1593:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_FunctionInterface Functions and Instructions Reference
  1865. 1594:Drivers/CMSIS/Include/core_cm4.h **** */
  1866. 1595:Drivers/CMSIS/Include/core_cm4.h ****
  1867. 1596:Drivers/CMSIS/Include/core_cm4.h ****
  1868. 1597:Drivers/CMSIS/Include/core_cm4.h ****
  1869. 1598:Drivers/CMSIS/Include/core_cm4.h **** /* ########################## NVIC functions #################################### */
  1870. 1599:Drivers/CMSIS/Include/core_cm4.h **** /**
  1871. 1600:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_Core_FunctionInterface
  1872. 1601:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_NVICFunctions NVIC Functions
  1873. 1602:Drivers/CMSIS/Include/core_cm4.h **** \brief Functions that manage interrupts and exceptions via the NVIC.
  1874. 1603:Drivers/CMSIS/Include/core_cm4.h **** @{
  1875. 1604:Drivers/CMSIS/Include/core_cm4.h **** */
  1876. 1605:Drivers/CMSIS/Include/core_cm4.h ****
  1877. 1606:Drivers/CMSIS/Include/core_cm4.h **** #ifdef CMSIS_NVIC_VIRTUAL
  1878. 1607:Drivers/CMSIS/Include/core_cm4.h **** #ifndef CMSIS_NVIC_VIRTUAL_HEADER_FILE
  1879. 1608:Drivers/CMSIS/Include/core_cm4.h **** #define CMSIS_NVIC_VIRTUAL_HEADER_FILE "cmsis_nvic_virtual.h"
  1880. 1609:Drivers/CMSIS/Include/core_cm4.h **** #endif
  1881. 1610:Drivers/CMSIS/Include/core_cm4.h **** #include CMSIS_NVIC_VIRTUAL_HEADER_FILE
  1882. 1611:Drivers/CMSIS/Include/core_cm4.h **** #else
  1883. 1612:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetPriorityGrouping __NVIC_SetPriorityGrouping
  1884. 1613:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetPriorityGrouping __NVIC_GetPriorityGrouping
  1885. 1614:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_EnableIRQ __NVIC_EnableIRQ
  1886. 1615:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetEnableIRQ __NVIC_GetEnableIRQ
  1887. 1616:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_DisableIRQ __NVIC_DisableIRQ
  1888. 1617:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetPendingIRQ __NVIC_GetPendingIRQ
  1889. 1618:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetPendingIRQ __NVIC_SetPendingIRQ
  1890. 1619:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_ClearPendingIRQ __NVIC_ClearPendingIRQ
  1891. 1620:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetActive __NVIC_GetActive
  1892. 1621:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetPriority __NVIC_SetPriority
  1893. 1622:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetPriority __NVIC_GetPriority
  1894. 1623:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SystemReset __NVIC_SystemReset
  1895. 1624:Drivers/CMSIS/Include/core_cm4.h **** #endif /* CMSIS_NVIC_VIRTUAL */
  1896. 1625:Drivers/CMSIS/Include/core_cm4.h ****
  1897. 1626:Drivers/CMSIS/Include/core_cm4.h **** #ifdef CMSIS_VECTAB_VIRTUAL
  1898. 1627:Drivers/CMSIS/Include/core_cm4.h **** #ifndef CMSIS_VECTAB_VIRTUAL_HEADER_FILE
  1899. 1628:Drivers/CMSIS/Include/core_cm4.h **** #define CMSIS_VECTAB_VIRTUAL_HEADER_FILE "cmsis_vectab_virtual.h"
  1900. 1629:Drivers/CMSIS/Include/core_cm4.h **** #endif
  1901. 1630:Drivers/CMSIS/Include/core_cm4.h **** #include CMSIS_VECTAB_VIRTUAL_HEADER_FILE
  1902. 1631:Drivers/CMSIS/Include/core_cm4.h **** #else
  1903. 1632:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetVector __NVIC_SetVector
  1904. 1633:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetVector __NVIC_GetVector
  1905. 1634:Drivers/CMSIS/Include/core_cm4.h **** #endif /* (CMSIS_VECTAB_VIRTUAL) */
  1906. 1635:Drivers/CMSIS/Include/core_cm4.h ****
  1907. 1636:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_USER_IRQ_OFFSET 16
  1908. 1637:Drivers/CMSIS/Include/core_cm4.h ****
  1909. 1638:Drivers/CMSIS/Include/core_cm4.h ****
  1910. 1639:Drivers/CMSIS/Include/core_cm4.h **** /* The following EXC_RETURN values are saved the LR on exception entry */
  1911. 1640:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_HANDLER (0xFFFFFFF1UL) /* return to Handler mode, uses MSP after ret
  1912. 1641:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_MSP (0xFFFFFFF9UL) /* return to Thread mode, uses MSP after retu
  1913. 1642:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_PSP (0xFFFFFFFDUL) /* return to Thread mode, uses PSP after retu
  1914. 1643:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_HANDLER_FPU (0xFFFFFFE1UL) /* return to Handler mode, uses MSP after ret
  1915. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 34
  1916. 1644:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_MSP_FPU (0xFFFFFFE9UL) /* return to Thread mode, uses MSP after retu
  1917. 1645:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_PSP_FPU (0xFFFFFFEDUL) /* return to Thread mode, uses PSP after retu
  1918. 1646:Drivers/CMSIS/Include/core_cm4.h ****
  1919. 1647:Drivers/CMSIS/Include/core_cm4.h ****
  1920. 1648:Drivers/CMSIS/Include/core_cm4.h **** /**
  1921. 1649:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Priority Grouping
  1922. 1650:Drivers/CMSIS/Include/core_cm4.h **** \details Sets the priority grouping field using the required unlock sequence.
  1923. 1651:Drivers/CMSIS/Include/core_cm4.h **** The parameter PriorityGroup is assigned to the field SCB->AIRCR [10:8] PRIGROUP field.
  1924. 1652:Drivers/CMSIS/Include/core_cm4.h **** Only values from 0..7 are used.
  1925. 1653:Drivers/CMSIS/Include/core_cm4.h **** In case of a conflict between priority grouping and available
  1926. 1654:Drivers/CMSIS/Include/core_cm4.h **** priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
  1927. 1655:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PriorityGroup Priority grouping field.
  1928. 1656:Drivers/CMSIS/Include/core_cm4.h **** */
  1929. 1657:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
  1930. 59 .loc 2 1657 22 view .LVU6
  1931. 60 .LBB33:
  1932. 1658:Drivers/CMSIS/Include/core_cm4.h **** {
  1933. 1659:Drivers/CMSIS/Include/core_cm4.h **** uint32_t reg_value;
  1934. 61 .loc 2 1659 3 view .LVU7
  1935. 1660:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 a
  1936. 62 .loc 2 1660 3 view .LVU8
  1937. 1661:Drivers/CMSIS/Include/core_cm4.h ****
  1938. 1662:Drivers/CMSIS/Include/core_cm4.h **** reg_value = SCB->AIRCR; /* read old register
  1939. 63 .loc 2 1662 3 view .LVU9
  1940. 64 .loc 2 1662 14 is_stmt 0 view .LVU10
  1941. 65 000a 0A4A ldr r2, .L6
  1942. 1663:Drivers/CMSIS/Include/core_cm4.h **** reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to chan
  1943. 1664:Drivers/CMSIS/Include/core_cm4.h **** reg_value = (reg_value |
  1944. 1665:Drivers/CMSIS/Include/core_cm4.h **** ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
  1945. 1666:Drivers/CMSIS/Include/core_cm4.h **** (PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key a
  1946. 66 .loc 2 1666 35 view .LVU11
  1947. 67 000c 2302 lsls r3, r4, #8
  1948. 1662:Drivers/CMSIS/Include/core_cm4.h **** reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to chan
  1949. 68 .loc 2 1662 14 view .LVU12
  1950. 69 000e D468 ldr r4, [r2, #12]
  1951. 70 .LVL2:
  1952. 1663:Drivers/CMSIS/Include/core_cm4.h **** reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to chan
  1953. 71 .loc 2 1663 3 is_stmt 1 view .LVU13
  1954. 1664:Drivers/CMSIS/Include/core_cm4.h **** ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
  1955. 72 .loc 2 1664 3 view .LVU14
  1956. 1663:Drivers/CMSIS/Include/core_cm4.h **** reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to chan
  1957. 73 .loc 2 1663 13 is_stmt 0 view .LVU15
  1958. 74 0010 4FF6FF01 movw r1, #63743
  1959. 75 .loc 2 1666 35 view .LVU16
  1960. 76 0014 03F4E063 and r3, r3, #1792
  1961. 1663:Drivers/CMSIS/Include/core_cm4.h **** reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to chan
  1962. 77 .loc 2 1663 13 view .LVU17
  1963. 78 0018 0C40 ands r4, r4, r1
  1964. 79 .LVL3:
  1965. 1665:Drivers/CMSIS/Include/core_cm4.h **** (PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key a
  1966. 80 .loc 2 1665 62 view .LVU18
  1967. 81 001a 2343 orrs r3, r3, r4
  1968. 1664:Drivers/CMSIS/Include/core_cm4.h **** ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
  1969. 82 .loc 2 1664 14 view .LVU19
  1970. 83 001c 43F0BF63 orr r3, r3, #100139008
  1971. 84 0020 43F40033 orr r3, r3, #131072
  1972. 85 .LVL4:
  1973. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 35
  1974. 1667:Drivers/CMSIS/Include/core_cm4.h **** SCB->AIRCR = reg_value;
  1975. 86 .loc 2 1667 3 is_stmt 1 view .LVU20
  1976. 87 .loc 2 1667 14 is_stmt 0 view .LVU21
  1977. 88 0024 D360 str r3, [r2, #12]
  1978. 89 .LVL5:
  1979. 90 .loc 2 1667 14 view .LVU22
  1980. 91 .LBE33:
  1981. 92 .LBE32:
  1982. 175:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  1983. 93 .loc 1 175 1 view .LVU23
  1984. 94 0026 10BD pop {r4, pc}
  1985. 95 .LVL6:
  1986. 96 .L5:
  1987. 171:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  1988. 97 .loc 1 171 3 discriminator 1 view .LVU24
  1989. 98 0028 0348 ldr r0, .L6+4
  1990. 99 .LVL7:
  1991. 171:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  1992. 100 .loc 1 171 3 discriminator 1 view .LVU25
  1993. 101 002a AB21 movs r1, #171
  1994. 102 002c FFF7FEFF bl assert_failed
  1995. 103 .LVL8:
  1996. 104 0030 EBE7 b .L2
  1997. 105 .L7:
  1998. 106 0032 00BF .align 2
  1999. 107 .L6:
  2000. 108 0034 00ED00E0 .word -536810240
  2001. 109 0038 00000000 .word .LC0
  2002. 110 .cfi_endproc
  2003. 111 .LFE130:
  2004. 113 .section .text.HAL_NVIC_SetPriority,"ax",%progbits
  2005. 114 .align 1
  2006. 115 .p2align 2,,3
  2007. 116 .global HAL_NVIC_SetPriority
  2008. 117 .syntax unified
  2009. 118 .thumb
  2010. 119 .thumb_func
  2011. 121 HAL_NVIC_SetPriority:
  2012. 122 .LVL9:
  2013. 123 .LFB131:
  2014. 176:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  2015. 177:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  2016. 178:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Sets the priority of an interrupt.
  2017. 179:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
  2018. 180:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  2019. 181:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  2020. 182:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param PreemptPriority The pre-emption priority for the IRQn channel.
  2021. 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
  2022. 184:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * A lower priority value indicates a higher priority
  2023. 185:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param SubPriority the subpriority level for the IRQ channel.
  2024. 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
  2025. 187:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * A lower priority value indicates a higher priority.
  2026. 188:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  2027. 189:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  2028. 190:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
  2029. 191:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  2030. 124 .loc 1 191 1 is_stmt 1 view -0
  2031. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 36
  2032. 125 .cfi_startproc
  2033. 126 @ args = 0, pretend = 0, frame = 0
  2034. 127 @ frame_needed = 0, uses_anonymous_args = 0
  2035. 192:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** uint32_t prioritygroup = 0x00U;
  2036. 128 .loc 1 192 3 view .LVU27
  2037. 193:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  2038. 194:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  2039. 195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_SUB_PRIORITY(SubPriority));
  2040. 129 .loc 1 195 3 view .LVU28
  2041. 130 0000 0F2A cmp r2, #15
  2042. 191:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** uint32_t prioritygroup = 0x00U;
  2043. 131 .loc 1 191 1 is_stmt 0 view .LVU29
  2044. 132 0002 70B5 push {r4, r5, r6, lr}
  2045. 133 .LCFI1:
  2046. 134 .cfi_def_cfa_offset 16
  2047. 135 .cfi_offset 4, -16
  2048. 136 .cfi_offset 5, -12
  2049. 137 .cfi_offset 6, -8
  2050. 138 .cfi_offset 14, -4
  2051. 191:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** uint32_t prioritygroup = 0x00U;
  2052. 139 .loc 1 191 1 view .LVU30
  2053. 140 0004 1646 mov r6, r2
  2054. 141 0006 0546 mov r5, r0
  2055. 142 0008 0C46 mov r4, r1
  2056. 143 .loc 1 195 3 view .LVU31
  2057. 144 000a 37D8 bhi .L16
  2058. 145 .LVL10:
  2059. 146 .L9:
  2060. 196:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority));
  2061. 147 .loc 1 196 3 is_stmt 1 view .LVU32
  2062. 148 000c 0F2C cmp r4, #15
  2063. 149 000e 30D8 bhi .L17
  2064. 150 .L10:
  2065. 197:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  2066. 198:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** prioritygroup = NVIC_GetPriorityGrouping();
  2067. 151 .loc 1 198 3 view .LVU33
  2068. 152 .LBB40:
  2069. 153 .LBI40:
  2070. 1668:Drivers/CMSIS/Include/core_cm4.h **** }
  2071. 1669:Drivers/CMSIS/Include/core_cm4.h ****
  2072. 1670:Drivers/CMSIS/Include/core_cm4.h ****
  2073. 1671:Drivers/CMSIS/Include/core_cm4.h **** /**
  2074. 1672:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Priority Grouping
  2075. 1673:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the priority grouping field from the NVIC Interrupt Controller.
  2076. 1674:Drivers/CMSIS/Include/core_cm4.h **** \return Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field).
  2077. 1675:Drivers/CMSIS/Include/core_cm4.h **** */
  2078. 1676:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetPriorityGrouping(void)
  2079. 154 .loc 2 1676 26 view .LVU34
  2080. 155 .LBB41:
  2081. 1677:Drivers/CMSIS/Include/core_cm4.h **** {
  2082. 1678:Drivers/CMSIS/Include/core_cm4.h **** return ((uint32_t)((SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) >> SCB_AIRCR_PRIGROUP_Pos));
  2083. 156 .loc 2 1678 3 view .LVU35
  2084. 157 .loc 2 1678 26 is_stmt 0 view .LVU36
  2085. 158 0010 1D4B ldr r3, .L18
  2086. 159 0012 DB68 ldr r3, [r3, #12]
  2087. 160 .loc 2 1678 11 view .LVU37
  2088. 161 0014 C3F30223 ubfx r3, r3, #8, #3
  2089. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 37
  2090. 162 .LVL11:
  2091. 163 .loc 2 1678 11 view .LVU38
  2092. 164 .LBE41:
  2093. 165 .LBE40:
  2094. 199:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  2095. 200:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_SetPriority(IRQn, NVIC_EncodePriority(prioritygroup, PreemptPriority, SubPriority));
  2096. 166 .loc 1 200 3 is_stmt 1 view .LVU39
  2097. 167 .LBB42:
  2098. 168 .LBI42:
  2099. 1679:Drivers/CMSIS/Include/core_cm4.h **** }
  2100. 1680:Drivers/CMSIS/Include/core_cm4.h ****
  2101. 1681:Drivers/CMSIS/Include/core_cm4.h ****
  2102. 1682:Drivers/CMSIS/Include/core_cm4.h **** /**
  2103. 1683:Drivers/CMSIS/Include/core_cm4.h **** \brief Enable Interrupt
  2104. 1684:Drivers/CMSIS/Include/core_cm4.h **** \details Enables a device specific interrupt in the NVIC interrupt controller.
  2105. 1685:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2106. 1686:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2107. 1687:Drivers/CMSIS/Include/core_cm4.h **** */
  2108. 1688:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn)
  2109. 1689:Drivers/CMSIS/Include/core_cm4.h **** {
  2110. 1690:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2111. 1691:Drivers/CMSIS/Include/core_cm4.h **** {
  2112. 1692:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  2113. 1693:Drivers/CMSIS/Include/core_cm4.h **** }
  2114. 1694:Drivers/CMSIS/Include/core_cm4.h **** }
  2115. 1695:Drivers/CMSIS/Include/core_cm4.h ****
  2116. 1696:Drivers/CMSIS/Include/core_cm4.h ****
  2117. 1697:Drivers/CMSIS/Include/core_cm4.h **** /**
  2118. 1698:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Interrupt Enable status
  2119. 1699:Drivers/CMSIS/Include/core_cm4.h **** \details Returns a device specific interrupt enable status from the NVIC interrupt controller.
  2120. 1700:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2121. 1701:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Interrupt is not enabled.
  2122. 1702:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Interrupt is enabled.
  2123. 1703:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2124. 1704:Drivers/CMSIS/Include/core_cm4.h **** */
  2125. 1705:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn)
  2126. 1706:Drivers/CMSIS/Include/core_cm4.h **** {
  2127. 1707:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2128. 1708:Drivers/CMSIS/Include/core_cm4.h **** {
  2129. 1709:Drivers/CMSIS/Include/core_cm4.h **** return((uint32_t)(((NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
  2130. 1710:Drivers/CMSIS/Include/core_cm4.h **** }
  2131. 1711:Drivers/CMSIS/Include/core_cm4.h **** else
  2132. 1712:Drivers/CMSIS/Include/core_cm4.h **** {
  2133. 1713:Drivers/CMSIS/Include/core_cm4.h **** return(0U);
  2134. 1714:Drivers/CMSIS/Include/core_cm4.h **** }
  2135. 1715:Drivers/CMSIS/Include/core_cm4.h **** }
  2136. 1716:Drivers/CMSIS/Include/core_cm4.h ****
  2137. 1717:Drivers/CMSIS/Include/core_cm4.h ****
  2138. 1718:Drivers/CMSIS/Include/core_cm4.h **** /**
  2139. 1719:Drivers/CMSIS/Include/core_cm4.h **** \brief Disable Interrupt
  2140. 1720:Drivers/CMSIS/Include/core_cm4.h **** \details Disables a device specific interrupt in the NVIC interrupt controller.
  2141. 1721:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2142. 1722:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2143. 1723:Drivers/CMSIS/Include/core_cm4.h **** */
  2144. 1724:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_DisableIRQ(IRQn_Type IRQn)
  2145. 1725:Drivers/CMSIS/Include/core_cm4.h **** {
  2146. 1726:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2147. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 38
  2148. 1727:Drivers/CMSIS/Include/core_cm4.h **** {
  2149. 1728:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ICER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  2150. 1729:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2151. 1730:Drivers/CMSIS/Include/core_cm4.h **** __ISB();
  2152. 1731:Drivers/CMSIS/Include/core_cm4.h **** }
  2153. 1732:Drivers/CMSIS/Include/core_cm4.h **** }
  2154. 1733:Drivers/CMSIS/Include/core_cm4.h ****
  2155. 1734:Drivers/CMSIS/Include/core_cm4.h ****
  2156. 1735:Drivers/CMSIS/Include/core_cm4.h **** /**
  2157. 1736:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Pending Interrupt
  2158. 1737:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the NVIC pending register and returns the pending bit for the specified device spe
  2159. 1738:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2160. 1739:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Interrupt status is not pending.
  2161. 1740:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Interrupt status is pending.
  2162. 1741:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2163. 1742:Drivers/CMSIS/Include/core_cm4.h **** */
  2164. 1743:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetPendingIRQ(IRQn_Type IRQn)
  2165. 1744:Drivers/CMSIS/Include/core_cm4.h **** {
  2166. 1745:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2167. 1746:Drivers/CMSIS/Include/core_cm4.h **** {
  2168. 1747:Drivers/CMSIS/Include/core_cm4.h **** return((uint32_t)(((NVIC->ISPR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
  2169. 1748:Drivers/CMSIS/Include/core_cm4.h **** }
  2170. 1749:Drivers/CMSIS/Include/core_cm4.h **** else
  2171. 1750:Drivers/CMSIS/Include/core_cm4.h **** {
  2172. 1751:Drivers/CMSIS/Include/core_cm4.h **** return(0U);
  2173. 1752:Drivers/CMSIS/Include/core_cm4.h **** }
  2174. 1753:Drivers/CMSIS/Include/core_cm4.h **** }
  2175. 1754:Drivers/CMSIS/Include/core_cm4.h ****
  2176. 1755:Drivers/CMSIS/Include/core_cm4.h ****
  2177. 1756:Drivers/CMSIS/Include/core_cm4.h **** /**
  2178. 1757:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Pending Interrupt
  2179. 1758:Drivers/CMSIS/Include/core_cm4.h **** \details Sets the pending bit of a device specific interrupt in the NVIC pending register.
  2180. 1759:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2181. 1760:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2182. 1761:Drivers/CMSIS/Include/core_cm4.h **** */
  2183. 1762:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetPendingIRQ(IRQn_Type IRQn)
  2184. 1763:Drivers/CMSIS/Include/core_cm4.h **** {
  2185. 1764:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2186. 1765:Drivers/CMSIS/Include/core_cm4.h **** {
  2187. 1766:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ISPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  2188. 1767:Drivers/CMSIS/Include/core_cm4.h **** }
  2189. 1768:Drivers/CMSIS/Include/core_cm4.h **** }
  2190. 1769:Drivers/CMSIS/Include/core_cm4.h ****
  2191. 1770:Drivers/CMSIS/Include/core_cm4.h ****
  2192. 1771:Drivers/CMSIS/Include/core_cm4.h **** /**
  2193. 1772:Drivers/CMSIS/Include/core_cm4.h **** \brief Clear Pending Interrupt
  2194. 1773:Drivers/CMSIS/Include/core_cm4.h **** \details Clears the pending bit of a device specific interrupt in the NVIC pending register.
  2195. 1774:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2196. 1775:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2197. 1776:Drivers/CMSIS/Include/core_cm4.h **** */
  2198. 1777:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_ClearPendingIRQ(IRQn_Type IRQn)
  2199. 1778:Drivers/CMSIS/Include/core_cm4.h **** {
  2200. 1779:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2201. 1780:Drivers/CMSIS/Include/core_cm4.h **** {
  2202. 1781:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ICPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  2203. 1782:Drivers/CMSIS/Include/core_cm4.h **** }
  2204. 1783:Drivers/CMSIS/Include/core_cm4.h **** }
  2205. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 39
  2206. 1784:Drivers/CMSIS/Include/core_cm4.h ****
  2207. 1785:Drivers/CMSIS/Include/core_cm4.h ****
  2208. 1786:Drivers/CMSIS/Include/core_cm4.h **** /**
  2209. 1787:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Active Interrupt
  2210. 1788:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the active register in the NVIC and returns the active bit for the device specific
  2211. 1789:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2212. 1790:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Interrupt status is not active.
  2213. 1791:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Interrupt status is active.
  2214. 1792:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2215. 1793:Drivers/CMSIS/Include/core_cm4.h **** */
  2216. 1794:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetActive(IRQn_Type IRQn)
  2217. 1795:Drivers/CMSIS/Include/core_cm4.h **** {
  2218. 1796:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2219. 1797:Drivers/CMSIS/Include/core_cm4.h **** {
  2220. 1798:Drivers/CMSIS/Include/core_cm4.h **** return((uint32_t)(((NVIC->IABR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
  2221. 1799:Drivers/CMSIS/Include/core_cm4.h **** }
  2222. 1800:Drivers/CMSIS/Include/core_cm4.h **** else
  2223. 1801:Drivers/CMSIS/Include/core_cm4.h **** {
  2224. 1802:Drivers/CMSIS/Include/core_cm4.h **** return(0U);
  2225. 1803:Drivers/CMSIS/Include/core_cm4.h **** }
  2226. 1804:Drivers/CMSIS/Include/core_cm4.h **** }
  2227. 1805:Drivers/CMSIS/Include/core_cm4.h ****
  2228. 1806:Drivers/CMSIS/Include/core_cm4.h ****
  2229. 1807:Drivers/CMSIS/Include/core_cm4.h **** /**
  2230. 1808:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Interrupt Priority
  2231. 1809:Drivers/CMSIS/Include/core_cm4.h **** \details Sets the priority of a device specific interrupt or a processor exception.
  2232. 1810:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
  2233. 1811:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
  2234. 1812:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number.
  2235. 1813:Drivers/CMSIS/Include/core_cm4.h **** \param [in] priority Priority to set.
  2236. 1814:Drivers/CMSIS/Include/core_cm4.h **** \note The priority cannot be set for every processor exception.
  2237. 1815:Drivers/CMSIS/Include/core_cm4.h **** */
  2238. 1816:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
  2239. 1817:Drivers/CMSIS/Include/core_cm4.h **** {
  2240. 1818:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2241. 1819:Drivers/CMSIS/Include/core_cm4.h **** {
  2242. 1820:Drivers/CMSIS/Include/core_cm4.h **** NVIC->IP[((uint32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (u
  2243. 1821:Drivers/CMSIS/Include/core_cm4.h **** }
  2244. 1822:Drivers/CMSIS/Include/core_cm4.h **** else
  2245. 1823:Drivers/CMSIS/Include/core_cm4.h **** {
  2246. 1824:Drivers/CMSIS/Include/core_cm4.h **** SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (u
  2247. 1825:Drivers/CMSIS/Include/core_cm4.h **** }
  2248. 1826:Drivers/CMSIS/Include/core_cm4.h **** }
  2249. 1827:Drivers/CMSIS/Include/core_cm4.h ****
  2250. 1828:Drivers/CMSIS/Include/core_cm4.h ****
  2251. 1829:Drivers/CMSIS/Include/core_cm4.h **** /**
  2252. 1830:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Interrupt Priority
  2253. 1831:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the priority of a device specific interrupt or a processor exception.
  2254. 1832:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
  2255. 1833:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
  2256. 1834:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number.
  2257. 1835:Drivers/CMSIS/Include/core_cm4.h **** \return Interrupt Priority.
  2258. 1836:Drivers/CMSIS/Include/core_cm4.h **** Value is aligned automatically to the implemented priority bits of the microc
  2259. 1837:Drivers/CMSIS/Include/core_cm4.h **** */
  2260. 1838:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetPriority(IRQn_Type IRQn)
  2261. 1839:Drivers/CMSIS/Include/core_cm4.h **** {
  2262. 1840:Drivers/CMSIS/Include/core_cm4.h ****
  2263. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 40
  2264. 1841:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2265. 1842:Drivers/CMSIS/Include/core_cm4.h **** {
  2266. 1843:Drivers/CMSIS/Include/core_cm4.h **** return(((uint32_t)NVIC->IP[((uint32_t)IRQn)] >> (8U - __NVIC_PRIO_BITS)));
  2267. 1844:Drivers/CMSIS/Include/core_cm4.h **** }
  2268. 1845:Drivers/CMSIS/Include/core_cm4.h **** else
  2269. 1846:Drivers/CMSIS/Include/core_cm4.h **** {
  2270. 1847:Drivers/CMSIS/Include/core_cm4.h **** return(((uint32_t)SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] >> (8U - __NVIC_PRIO_BITS)));
  2271. 1848:Drivers/CMSIS/Include/core_cm4.h **** }
  2272. 1849:Drivers/CMSIS/Include/core_cm4.h **** }
  2273. 1850:Drivers/CMSIS/Include/core_cm4.h ****
  2274. 1851:Drivers/CMSIS/Include/core_cm4.h ****
  2275. 1852:Drivers/CMSIS/Include/core_cm4.h **** /**
  2276. 1853:Drivers/CMSIS/Include/core_cm4.h **** \brief Encode Priority
  2277. 1854:Drivers/CMSIS/Include/core_cm4.h **** \details Encodes the priority for an interrupt with the given priority group,
  2278. 1855:Drivers/CMSIS/Include/core_cm4.h **** preemptive priority value, and subpriority value.
  2279. 1856:Drivers/CMSIS/Include/core_cm4.h **** In case of a conflict between priority grouping and available
  2280. 1857:Drivers/CMSIS/Include/core_cm4.h **** priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
  2281. 1858:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PriorityGroup Used priority group.
  2282. 1859:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PreemptPriority Preemptive priority value (starting from 0).
  2283. 1860:Drivers/CMSIS/Include/core_cm4.h **** \param [in] SubPriority Subpriority value (starting from 0).
  2284. 1861:Drivers/CMSIS/Include/core_cm4.h **** \return Encoded priority. Value can be used in the function \ref NVIC_SetP
  2285. 1862:Drivers/CMSIS/Include/core_cm4.h **** */
  2286. 1863:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uin
  2287. 169 .loc 2 1863 26 view .LVU40
  2288. 170 .LBB43:
  2289. 1864:Drivers/CMSIS/Include/core_cm4.h **** {
  2290. 1865:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used
  2291. 171 .loc 2 1865 3 view .LVU41
  2292. 1866:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PreemptPriorityBits;
  2293. 172 .loc 2 1866 3 view .LVU42
  2294. 1867:Drivers/CMSIS/Include/core_cm4.h **** uint32_t SubPriorityBits;
  2295. 173 .loc 2 1867 3 view .LVU43
  2296. 1868:Drivers/CMSIS/Include/core_cm4.h ****
  2297. 1869:Drivers/CMSIS/Include/core_cm4.h **** PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NV
  2298. 174 .loc 2 1869 3 view .LVU44
  2299. 175 .loc 2 1869 31 is_stmt 0 view .LVU45
  2300. 176 0018 C3F10700 rsb r0, r3, #7
  2301. 177 .loc 2 1869 23 view .LVU46
  2302. 178 001c 0428 cmp r0, #4
  2303. 1870:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  2304. 179 .loc 2 1870 44 view .LVU47
  2305. 180 001e 03F10402 add r2, r3, #4
  2306. 1869:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  2307. 181 .loc 2 1869 23 view .LVU48
  2308. 182 0022 28BF it cs
  2309. 183 0024 0420 movcs r0, #4
  2310. 184 .LVL12:
  2311. 185 .loc 2 1870 3 is_stmt 1 view .LVU49
  2312. 186 .loc 2 1870 109 is_stmt 0 view .LVU50
  2313. 187 0026 062A cmp r2, #6
  2314. 188 0028 18D9 bls .L14
  2315. 189 002a 033B subs r3, r3, #3
  2316. 190 .LVL13:
  2317. 1871:Drivers/CMSIS/Include/core_cm4.h ****
  2318. 1872:Drivers/CMSIS/Include/core_cm4.h **** return (
  2319. 1873:Drivers/CMSIS/Include/core_cm4.h **** ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits
  2320. 1874:Drivers/CMSIS/Include/core_cm4.h **** ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
  2321. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 41
  2322. 191 .loc 2 1874 30 view .LVU51
  2323. 192 002c 4FF0FF32 mov r2, #-1
  2324. 193 0030 9A40 lsls r2, r2, r3
  2325. 194 0032 26EA0206 bic r6, r6, r2
  2326. 195 .LVL14:
  2327. 196 .L11:
  2328. 1872:Drivers/CMSIS/Include/core_cm4.h **** ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits
  2329. 197 .loc 2 1872 3 is_stmt 1 view .LVU52
  2330. 1873:Drivers/CMSIS/Include/core_cm4.h **** ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
  2331. 198 .loc 2 1873 30 is_stmt 0 view .LVU53
  2332. 199 0036 4FF0FF31 mov r1, #-1
  2333. 200 003a 8140 lsls r1, r1, r0
  2334. 201 003c 24EA0104 bic r4, r4, r1
  2335. 202 .LVL15:
  2336. 1873:Drivers/CMSIS/Include/core_cm4.h **** ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
  2337. 203 .loc 2 1873 82 view .LVU54
  2338. 204 0040 9C40 lsls r4, r4, r3
  2339. 205 .LBE43:
  2340. 206 .LBE42:
  2341. 207 .LBB46:
  2342. 208 .LBB47:
  2343. 1818:Drivers/CMSIS/Include/core_cm4.h **** {
  2344. 209 .loc 2 1818 6 view .LVU55
  2345. 210 0042 002D cmp r5, #0
  2346. 211 .LBE47:
  2347. 212 .LBE46:
  2348. 213 .LBB50:
  2349. 214 .LBB44:
  2350. 1873:Drivers/CMSIS/Include/core_cm4.h **** ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
  2351. 215 .loc 2 1873 102 view .LVU56
  2352. 216 0044 44EA0604 orr r4, r4, r6
  2353. 217 .LVL16:
  2354. 1873:Drivers/CMSIS/Include/core_cm4.h **** ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
  2355. 218 .loc 2 1873 102 view .LVU57
  2356. 219 .LBE44:
  2357. 220 .LBE50:
  2358. 221 .LBB51:
  2359. 222 .LBI46:
  2360. 1816:Drivers/CMSIS/Include/core_cm4.h **** {
  2361. 223 .loc 2 1816 22 is_stmt 1 view .LVU58
  2362. 224 .LBB48:
  2363. 1818:Drivers/CMSIS/Include/core_cm4.h **** {
  2364. 225 .loc 2 1818 3 view .LVU59
  2365. 1818:Drivers/CMSIS/Include/core_cm4.h **** {
  2366. 226 .loc 2 1818 6 is_stmt 0 view .LVU60
  2367. 227 0048 0BDB blt .L12
  2368. 1820:Drivers/CMSIS/Include/core_cm4.h **** }
  2369. 228 .loc 2 1820 5 is_stmt 1 view .LVU61
  2370. 1820:Drivers/CMSIS/Include/core_cm4.h **** }
  2371. 229 .loc 2 1820 46 is_stmt 0 view .LVU62
  2372. 230 004a 05F16045 add r5, r5, #-536870912
  2373. 231 .LVL17:
  2374. 1820:Drivers/CMSIS/Include/core_cm4.h **** }
  2375. 232 .loc 2 1820 48 view .LVU63
  2376. 233 004e 2401 lsls r4, r4, #4
  2377. 234 .LVL18:
  2378. 1820:Drivers/CMSIS/Include/core_cm4.h **** }
  2379. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 42
  2380. 235 .loc 2 1820 46 view .LVU64
  2381. 236 0050 05F56145 add r5, r5, #57600
  2382. 1820:Drivers/CMSIS/Include/core_cm4.h **** }
  2383. 237 .loc 2 1820 48 view .LVU65
  2384. 238 0054 E4B2 uxtb r4, r4
  2385. 1820:Drivers/CMSIS/Include/core_cm4.h **** }
  2386. 239 .loc 2 1820 46 view .LVU66
  2387. 240 0056 85F80043 strb r4, [r5, #768]
  2388. 241 .LBE48:
  2389. 242 .LBE51:
  2390. 201:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  2391. 243 .loc 1 201 1 view .LVU67
  2392. 244 005a 70BD pop {r4, r5, r6, pc}
  2393. 245 .LVL19:
  2394. 246 .L14:
  2395. 247 .LBB52:
  2396. 248 .LBB45:
  2397. 249 .loc 1 201 1 view .LVU68
  2398. 250 005c 0026 movs r6, #0
  2399. 251 .LVL20:
  2400. 1870:Drivers/CMSIS/Include/core_cm4.h ****
  2401. 252 .loc 2 1870 109 view .LVU69
  2402. 253 005e 3346 mov r3, r6
  2403. 254 .LVL21:
  2404. 1870:Drivers/CMSIS/Include/core_cm4.h ****
  2405. 255 .loc 2 1870 109 view .LVU70
  2406. 256 0060 E9E7 b .L11
  2407. 257 .LVL22:
  2408. 258 .L12:
  2409. 1870:Drivers/CMSIS/Include/core_cm4.h ****
  2410. 259 .loc 2 1870 109 view .LVU71
  2411. 260 .LBE45:
  2412. 261 .LBE52:
  2413. 262 .LBB53:
  2414. 263 .LBB49:
  2415. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  2416. 264 .loc 2 1824 5 is_stmt 1 view .LVU72
  2417. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  2418. 265 .loc 2 1824 46 is_stmt 0 view .LVU73
  2419. 266 0062 0A4B ldr r3, .L18+4
  2420. 267 .LVL23:
  2421. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  2422. 268 .loc 2 1824 32 view .LVU74
  2423. 269 0064 05F00F05 and r5, r5, #15
  2424. 270 .LVL24:
  2425. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  2426. 271 .loc 2 1824 48 view .LVU75
  2427. 272 0068 2401 lsls r4, r4, #4
  2428. 273 .LVL25:
  2429. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  2430. 274 .loc 2 1824 46 view .LVU76
  2431. 275 006a 2B44 add r3, r3, r5
  2432. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  2433. 276 .loc 2 1824 48 view .LVU77
  2434. 277 006c E4B2 uxtb r4, r4
  2435. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  2436. 278 .loc 2 1824 46 view .LVU78
  2437. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 43
  2438. 279 006e 1C76 strb r4, [r3, #24]
  2439. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  2440. 280 .loc 2 1824 46 view .LVU79
  2441. 281 .LBE49:
  2442. 282 .LBE53:
  2443. 283 .loc 1 201 1 view .LVU80
  2444. 284 0070 70BD pop {r4, r5, r6, pc}
  2445. 285 .LVL26:
  2446. 286 .L17:
  2447. 196:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  2448. 287 .loc 1 196 3 discriminator 1 view .LVU81
  2449. 288 0072 0748 ldr r0, .L18+8
  2450. 289 0074 C421 movs r1, #196
  2451. 290 0076 FFF7FEFF bl assert_failed
  2452. 291 .LVL27:
  2453. 292 007a C9E7 b .L10
  2454. 293 .LVL28:
  2455. 294 .L16:
  2456. 195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority));
  2457. 295 .loc 1 195 3 discriminator 1 view .LVU82
  2458. 296 007c 0448 ldr r0, .L18+8
  2459. 297 .LVL29:
  2460. 195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority));
  2461. 298 .loc 1 195 3 discriminator 1 view .LVU83
  2462. 299 007e C321 movs r1, #195
  2463. 300 .LVL30:
  2464. 195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority));
  2465. 301 .loc 1 195 3 discriminator 1 view .LVU84
  2466. 302 0080 FFF7FEFF bl assert_failed
  2467. 303 .LVL31:
  2468. 195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority));
  2469. 304 .loc 1 195 3 discriminator 1 view .LVU85
  2470. 305 0084 C2E7 b .L9
  2471. 306 .L19:
  2472. 307 0086 00BF .align 2
  2473. 308 .L18:
  2474. 309 0088 00ED00E0 .word -536810240
  2475. 310 008c FCEC00E0 .word -536810244
  2476. 311 0090 00000000 .word .LC0
  2477. 312 .cfi_endproc
  2478. 313 .LFE131:
  2479. 315 .section .text.HAL_NVIC_EnableIRQ,"ax",%progbits
  2480. 316 .align 1
  2481. 317 .p2align 2,,3
  2482. 318 .global HAL_NVIC_EnableIRQ
  2483. 319 .syntax unified
  2484. 320 .thumb
  2485. 321 .thumb_func
  2486. 323 HAL_NVIC_EnableIRQ:
  2487. 324 .LVL32:
  2488. 325 .LFB132:
  2489. 202:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  2490. 203:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  2491. 204:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Enables a device specific interrupt in the NVIC interrupt controller.
  2492. 205:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @note To configure interrupts priority correctly, the NVIC_PriorityGroupConfig()
  2493. 206:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * function should be called before.
  2494. 207:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
  2495. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 44
  2496. 208:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  2497. 209:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  2498. 210:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  2499. 211:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  2500. 212:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_EnableIRQ(IRQn_Type IRQn)
  2501. 213:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  2502. 326 .loc 1 213 1 is_stmt 1 view -0
  2503. 327 .cfi_startproc
  2504. 328 @ args = 0, pretend = 0, frame = 0
  2505. 329 @ frame_needed = 0, uses_anonymous_args = 0
  2506. 330 @ link register save eliminated.
  2507. 214:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  2508. 215:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  2509. 331 .loc 1 215 3 view .LVU87
  2510. 332 0000 0028 cmp r0, #0
  2511. 333 .LVL33:
  2512. 334 .loc 1 215 3 is_stmt 0 view .LVU88
  2513. 335 0002 09DB blt .L23
  2514. 216:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  2515. 217:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Enable interrupt */
  2516. 218:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_EnableIRQ(IRQn);
  2517. 336 .loc 1 218 3 is_stmt 1 view .LVU89
  2518. 337 .LVL34:
  2519. 338 .LBB54:
  2520. 339 .LBI54:
  2521. 1688:Drivers/CMSIS/Include/core_cm4.h **** {
  2522. 340 .loc 2 1688 22 view .LVU90
  2523. 341 .LBB55:
  2524. 1690:Drivers/CMSIS/Include/core_cm4.h **** {
  2525. 342 .loc 2 1690 3 view .LVU91
  2526. 1692:Drivers/CMSIS/Include/core_cm4.h **** }
  2527. 343 .loc 2 1692 5 view .LVU92
  2528. 1692:Drivers/CMSIS/Include/core_cm4.h **** }
  2529. 344 .loc 2 1692 34 is_stmt 0 view .LVU93
  2530. 345 0004 4109 lsrs r1, r0, #5
  2531. 1692:Drivers/CMSIS/Include/core_cm4.h **** }
  2532. 346 .loc 2 1692 43 view .LVU94
  2533. 347 0006 064A ldr r2, .L24
  2534. 1692:Drivers/CMSIS/Include/core_cm4.h **** }
  2535. 348 .loc 2 1692 81 view .LVU95
  2536. 349 0008 00F01F00 and r0, r0, #31
  2537. 350 .LVL35:
  2538. 1692:Drivers/CMSIS/Include/core_cm4.h **** }
  2539. 351 .loc 2 1692 45 view .LVU96
  2540. 352 000c 0123 movs r3, #1
  2541. 353 000e 03FA00F0 lsl r0, r3, r0
  2542. 1692:Drivers/CMSIS/Include/core_cm4.h **** }
  2543. 354 .loc 2 1692 43 view .LVU97
  2544. 355 0012 42F82100 str r0, [r2, r1, lsl #2]
  2545. 356 .LBE55:
  2546. 357 .LBE54:
  2547. 219:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  2548. 358 .loc 1 219 1 view .LVU98
  2549. 359 0016 7047 bx lr
  2550. 360 .L23:
  2551. 215:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  2552. 361 .loc 1 215 3 discriminator 1 view .LVU99
  2553. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 45
  2554. 362 0018 0248 ldr r0, .L24+4
  2555. 363 001a D721 movs r1, #215
  2556. 364 001c FFF7FEBF b assert_failed
  2557. 365 .LVL36:
  2558. 366 .L25:
  2559. 367 .align 2
  2560. 368 .L24:
  2561. 369 0020 00E100E0 .word -536813312
  2562. 370 0024 00000000 .word .LC0
  2563. 371 .cfi_endproc
  2564. 372 .LFE132:
  2565. 374 .section .text.HAL_NVIC_DisableIRQ,"ax",%progbits
  2566. 375 .align 1
  2567. 376 .p2align 2,,3
  2568. 377 .global HAL_NVIC_DisableIRQ
  2569. 378 .syntax unified
  2570. 379 .thumb
  2571. 380 .thumb_func
  2572. 382 HAL_NVIC_DisableIRQ:
  2573. 383 .LVL37:
  2574. 384 .LFB133:
  2575. 220:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  2576. 221:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  2577. 222:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Disables a device specific interrupt in the NVIC interrupt controller.
  2578. 223:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
  2579. 224:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  2580. 225:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  2581. 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  2582. 227:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  2583. 228:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_DisableIRQ(IRQn_Type IRQn)
  2584. 229:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  2585. 385 .loc 1 229 1 is_stmt 1 view -0
  2586. 386 .cfi_startproc
  2587. 387 @ args = 0, pretend = 0, frame = 0
  2588. 388 @ frame_needed = 0, uses_anonymous_args = 0
  2589. 389 @ link register save eliminated.
  2590. 230:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  2591. 231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  2592. 390 .loc 1 231 3 view .LVU101
  2593. 391 0000 0028 cmp r0, #0
  2594. 392 .LVL38:
  2595. 393 .loc 1 231 3 is_stmt 0 view .LVU102
  2596. 394 0002 0EDB blt .L29
  2597. 232:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  2598. 233:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Disable interrupt */
  2599. 234:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_DisableIRQ(IRQn);
  2600. 395 .loc 1 234 3 is_stmt 1 view .LVU103
  2601. 396 .LVL39:
  2602. 397 .LBB62:
  2603. 398 .LBI62:
  2604. 1724:Drivers/CMSIS/Include/core_cm4.h **** {
  2605. 399 .loc 2 1724 22 view .LVU104
  2606. 400 .LBB63:
  2607. 1726:Drivers/CMSIS/Include/core_cm4.h **** {
  2608. 401 .loc 2 1726 3 view .LVU105
  2609. 1728:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2610. 402 .loc 2 1728 5 view .LVU106
  2611. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 46
  2612. 1728:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2613. 403 .loc 2 1728 34 is_stmt 0 view .LVU107
  2614. 404 0004 4309 lsrs r3, r0, #5
  2615. 1728:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2616. 405 .loc 2 1728 43 view .LVU108
  2617. 406 0006 0949 ldr r1, .L30
  2618. 1728:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2619. 407 .loc 2 1728 45 view .LVU109
  2620. 408 0008 0122 movs r2, #1
  2621. 1728:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2622. 409 .loc 2 1728 43 view .LVU110
  2623. 410 000a 2033 adds r3, r3, #32
  2624. 1728:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2625. 411 .loc 2 1728 81 view .LVU111
  2626. 412 000c 00F01F00 and r0, r0, #31
  2627. 413 .LVL40:
  2628. 1728:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2629. 414 .loc 2 1728 45 view .LVU112
  2630. 415 0010 02FA00F0 lsl r0, r2, r0
  2631. 1728:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2632. 416 .loc 2 1728 43 view .LVU113
  2633. 417 0014 41F82300 str r0, [r1, r3, lsl #2]
  2634. 1729:Drivers/CMSIS/Include/core_cm4.h **** __ISB();
  2635. 418 .loc 2 1729 5 is_stmt 1 view .LVU114
  2636. 419 .LBB64:
  2637. 420 .LBI64:
  2638. 421 .file 3 "Drivers/CMSIS/Include/cmsis_gcc.h"
  2639. 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
  2640. 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
  2641. 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
  2642. 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.0.4
  2643. 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 09. April 2018
  2644. 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
  2645. 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
  2646. 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
  2647. 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2648. 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
  2649. 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2650. 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
  2651. 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
  2652. 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
  2653. 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2654. 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
  2655. 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2656. 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
  2657. 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  2658. 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  2659. 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
  2660. 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
  2661. 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2662. 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2663. 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
  2664. 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
  2665. 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2666. 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
  2667. 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2668. 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
  2669. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 47
  2670. 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
  2671. 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
  2672. 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2673. 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
  2674. 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
  2675. 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
  2676. 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2677. 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2678. 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
  2679. 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
  2680. 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
  2681. 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2682. 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
  2683. 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
  2684. 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2685. 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
  2686. 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
  2687. 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2688. 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
  2689. 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
  2690. 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2691. 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
  2692. 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
  2693. 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2694. 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
  2695. 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
  2696. 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2697. 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
  2698. 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
  2699. 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2700. 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
  2701. 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
  2702. 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2703. 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
  2704. 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
  2705. 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2706. 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
  2707. 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
  2708. 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2709. 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
  2710. 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2711. 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2712. 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2713. 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
  2714. 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2715. 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
  2716. 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2717. 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
  2718. 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2719. 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2720. 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2721. 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
  2722. 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2723. 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
  2724. 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2725. 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
  2726. 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2727. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 48
  2728. 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2729. 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2730. 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
  2731. 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2732. 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
  2733. 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2734. 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
  2735. 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2736. 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2737. 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2738. 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
  2739. 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2740. 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
  2741. 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2742. 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
  2743. 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2744. 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2745. 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2746. 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
  2747. 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2748. 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
  2749. 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2750. 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
  2751. 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
  2752. 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2753. 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
  2754. 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
  2755. 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2756. 116:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2757. 117:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2758. 118:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
  2759. 119:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
  2760. 120:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
  2761. 121:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  2762. 122:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2763. 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2764. 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2765. 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
  2766. 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
  2767. 127:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  2768. 128:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2769. 129:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
  2770. 130:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2771. 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
  2772. 132:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2773. 133:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2774. 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2775. 135:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2776. 136:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
  2777. 137:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
  2778. 138:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  2779. 139:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2780. 140:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
  2781. 141:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2782. 142:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
  2783. 143:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2784. 144:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2785. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 49
  2786. 145:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2787. 146:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2788. 147:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
  2789. 148:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
  2790. 149:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
  2791. 150:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2792. 151:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
  2793. 152:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2794. 153:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2795. 154:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2796. 155:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
  2797. 156:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2798. 157:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2799. 158:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2800. 159:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2801. 160:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2802. 161:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2803. 162:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
  2804. 163:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
  2805. 164:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
  2806. 165:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2807. 166:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
  2808. 167:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2809. 168:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2810. 169:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2811. 170:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
  2812. 171:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2813. 172:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2814. 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2815. 174:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2816. 175:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2817. 176:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2818. 177:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
  2819. 178:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
  2820. 179:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  2821. 180:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2822. 181:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
  2823. 182:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2824. 183:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
  2825. 184:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2826. 185:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2827. 186:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2828. 187:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2829. 188:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2830. 189:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
  2831. 190:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
  2832. 191:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  2833. 192:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2834. 193:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
  2835. 194:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2836. 195:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
  2837. 196:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2838. 197:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2839. 198:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2840. 199:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2841. 200:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2842. 201:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
  2843. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 50
  2844. 202:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
  2845. 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
  2846. 204:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2847. 205:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
  2848. 206:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2849. 207:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2850. 208:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2851. 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
  2852. 210:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2853. 211:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2854. 212:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2855. 213:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2856. 214:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2857. 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
  2858. 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
  2859. 217:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
  2860. 218:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2861. 219:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
  2862. 220:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2863. 221:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2864. 222:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2865. 223:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
  2866. 224:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2867. 225:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2868. 226:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2869. 227:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2870. 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2871. 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
  2872. 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
  2873. 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
  2874. 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2875. 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
  2876. 234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2877. 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2878. 236:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2879. 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
  2880. 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2881. 239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2882. 240:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2883. 241:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2884. 242:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2885. 243:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
  2886. 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
  2887. 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  2888. 246:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2889. 247:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
  2890. 248:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2891. 249:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2892. 250:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2893. 251:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
  2894. 252:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2895. 253:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2896. 254:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2897. 255:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2898. 256:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2899. 257:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2900. 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
  2901. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 51
  2902. 259:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
  2903. 260:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  2904. 261:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2905. 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
  2906. 263:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2907. 264:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2908. 265:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2909. 266:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
  2910. 267:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2911. 268:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2912. 269:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2913. 270:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2914. 271:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2915. 272:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2916. 273:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
  2917. 274:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
  2918. 275:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  2919. 276:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2920. 277:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
  2921. 278:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2922. 279:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
  2923. 280:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2924. 281:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2925. 282:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2926. 283:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2927. 284:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2928. 285:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  2929. 286:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
  2930. 287:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  2931. 288:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2932. 289:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
  2933. 290:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2934. 291:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
  2935. 292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2936. 293:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2937. 294:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2938. 295:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2939. 296:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2940. 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
  2941. 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
  2942. 299:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  2943. 300:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2944. 301:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
  2945. 302:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2946. 303:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2947. 304:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2948. 305:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
  2949. 306:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2950. 307:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2951. 308:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2952. 309:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2953. 310:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2954. 311:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2955. 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
  2956. 313:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
  2957. 314:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  2958. 315:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2959. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 52
  2960. 316:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
  2961. 317:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2962. 318:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2963. 319:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2964. 320:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
  2965. 321:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2966. 322:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2967. 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2968. 324:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2969. 325:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2970. 326:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2971. 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
  2972. 328:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
  2973. 329:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  2974. 330:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2975. 331:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
  2976. 332:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2977. 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
  2978. 334:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2979. 335:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2980. 336:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2981. 337:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2982. 338:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2983. 339:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
  2984. 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
  2985. 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  2986. 342:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2987. 343:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
  2988. 344:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2989. 345:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
  2990. 346:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2991. 347:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2992. 348:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2993. 349:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2994. 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2995. 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2996. 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
  2997. 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
  2998. 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
  2999. 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3000. 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
  3001. 357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3002. 358:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3003. 359:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3004. 360:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
  3005. 361:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3006. 362:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3007. 363:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3008. 364:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3009. 365:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3010. 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
  3011. 367:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
  3012. 368:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
  3013. 369:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3014. 370:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
  3015. 371:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3016. 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
  3017. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 53
  3018. 373:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3019. 374:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3020. 375:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3021. 376:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3022. 377:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3023. 378:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
  3024. 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
  3025. 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  3026. 381:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3027. 382:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
  3028. 383:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3029. 384:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3030. 385:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3031. 386:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
  3032. 387:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3033. 388:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3034. 389:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3035. 390:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3036. 391:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3037. 392:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3038. 393:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
  3039. 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
  3040. 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  3041. 396:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3042. 397:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
  3043. 398:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3044. 399:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3045. 400:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3046. 401:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
  3047. 402:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3048. 403:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3049. 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3050. 405:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3051. 406:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3052. 407:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3053. 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
  3054. 409:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
  3055. 410:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  3056. 411:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3057. 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
  3058. 413:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3059. 414:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
  3060. 415:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3061. 416:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3062. 417:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3063. 418:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3064. 419:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3065. 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask (non-secure)
  3066. 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Priority Mask Register when in secure state.
  3067. 422:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  3068. 423:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3069. 424:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PRIMASK_NS(uint32_t priMask)
  3070. 425:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3071. 426:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask_ns, %0" : : "r" (priMask) : "memory");
  3072. 427:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3073. 428:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3074. 429:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3075. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 54
  3076. 430:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3077. 431:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  3078. 432:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  3079. 433:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
  3080. 434:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3081. 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable FIQ
  3082. 436:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables FIQ interrupts by clearing the F-bit in the CPSR.
  3083. 437:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  3084. 438:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3085. 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_fault_irq(void)
  3086. 440:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3087. 441:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie f" : : : "memory");
  3088. 442:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3089. 443:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3090. 444:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3091. 445:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3092. 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable FIQ
  3093. 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables FIQ interrupts by setting the F-bit in the CPSR.
  3094. 448:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  3095. 449:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3096. 450:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_fault_irq(void)
  3097. 451:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3098. 452:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid f" : : : "memory");
  3099. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3100. 454:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3101. 455:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3102. 456:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3103. 457:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority
  3104. 458:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Base Priority register.
  3105. 459:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
  3106. 460:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3107. 461:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_BASEPRI(void)
  3108. 462:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3109. 463:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3110. 464:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3111. 465:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri" : "=r" (result) );
  3112. 466:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3113. 467:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3114. 468:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3115. 469:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3116. 470:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3117. 471:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3118. 472:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority (non-secure)
  3119. 473:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Base Priority register when in secure state.
  3120. 474:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
  3121. 475:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3122. 476:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_BASEPRI_NS(void)
  3123. 477:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3124. 478:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3125. 479:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3126. 480:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri_ns" : "=r" (result) );
  3127. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3128. 482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3129. 483:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3130. 484:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3131. 485:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3132. 486:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3133. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 55
  3134. 487:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority
  3135. 488:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register.
  3136. 489:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  3137. 490:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3138. 491:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI(uint32_t basePri)
  3139. 492:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3140. 493:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri, %0" : : "r" (basePri) : "memory");
  3141. 494:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3142. 495:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3143. 496:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3144. 497:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3145. 498:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3146. 499:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority (non-secure)
  3147. 500:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Base Priority register when in secure state.
  3148. 501:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  3149. 502:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3150. 503:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_BASEPRI_NS(uint32_t basePri)
  3151. 504:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3152. 505:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_ns, %0" : : "r" (basePri) : "memory");
  3153. 506:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3154. 507:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3155. 508:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3156. 509:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3157. 510:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3158. 511:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority with condition
  3159. 512:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register only if BASEPRI masking is disable
  3160. 513:Drivers/CMSIS/Include/cmsis_gcc.h **** or the new value increases the BASEPRI priority level.
  3161. 514:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  3162. 515:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3163. 516:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI_MAX(uint32_t basePri)
  3164. 517:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3165. 518:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_max, %0" : : "r" (basePri) : "memory");
  3166. 519:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3167. 520:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3168. 521:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3169. 522:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3170. 523:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask
  3171. 524:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Fault Mask register.
  3172. 525:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
  3173. 526:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3174. 527:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FAULTMASK(void)
  3175. 528:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3176. 529:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3177. 530:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3178. 531:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask" : "=r" (result) );
  3179. 532:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3180. 533:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3181. 534:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3182. 535:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3183. 536:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3184. 537:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3185. 538:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask (non-secure)
  3186. 539:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Fault Mask register when in secure state.
  3187. 540:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
  3188. 541:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3189. 542:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_FAULTMASK_NS(void)
  3190. 543:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3191. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 56
  3192. 544:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3193. 545:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3194. 546:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask_ns" : "=r" (result) );
  3195. 547:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3196. 548:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3197. 549:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3198. 550:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3199. 551:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3200. 552:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3201. 553:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask
  3202. 554:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Fault Mask register.
  3203. 555:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
  3204. 556:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3205. 557:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FAULTMASK(uint32_t faultMask)
  3206. 558:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3207. 559:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory");
  3208. 560:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3209. 561:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3210. 562:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3211. 563:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3212. 564:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3213. 565:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask (non-secure)
  3214. 566:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Fault Mask register when in secure state.
  3215. 567:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
  3216. 568:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3217. 569:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_FAULTMASK_NS(uint32_t faultMask)
  3218. 570:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3219. 571:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask_ns, %0" : : "r" (faultMask) : "memory");
  3220. 572:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3221. 573:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3222. 574:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3223. 575:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  3224. 576:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  3225. 577:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) */
  3226. 578:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3227. 579:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3228. 580:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
  3229. 581:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) )
  3230. 582:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3231. 583:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3232. 584:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit
  3233. 585:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3234. 586:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
  3235. 587:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  3236. 588:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3237. 589:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer Limit (PSPLIM).
  3238. 590:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
  3239. 591:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3240. 592:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSPLIM(void)
  3241. 593:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3242. 594:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  3243. 595:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  3244. 596:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  3245. 597:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  3246. 598:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3247. 599:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3248. 600:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim" : "=r" (result) );
  3249. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 57
  3250. 601:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  3251. 602:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3252. 603:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3253. 604:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3254. 605:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3))
  3255. 606:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3256. 607:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit (non-secure)
  3257. 608:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3258. 609:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
  3259. 610:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3260. 611:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in
  3261. 612:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
  3262. 613:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3263. 614:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSPLIM_NS(void)
  3264. 615:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3265. 616:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  3266. 617:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  3267. 618:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  3268. 619:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3269. 620:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3270. 621:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim_ns" : "=r" (result) );
  3271. 622:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  3272. 623:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3273. 624:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3274. 625:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3275. 626:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3276. 627:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3277. 628:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3278. 629:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer Limit
  3279. 630:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3280. 631:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
  3281. 632:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  3282. 633:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3283. 634:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer Limit (PSPLIM).
  3284. 635:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
  3285. 636:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3286. 637:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSPLIM(uint32_t ProcStackPtrLimit)
  3287. 638:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3288. 639:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  3289. 640:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  3290. 641:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  3291. 642:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
  3292. 643:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3293. 644:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim, %0" : : "r" (ProcStackPtrLimit));
  3294. 645:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3295. 646:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3296. 647:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3297. 648:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3298. 649:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3299. 650:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3300. 651:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  3301. 652:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3302. 653:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
  3303. 654:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3304. 655:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in s
  3305. 656:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
  3306. 657:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3307. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 58
  3308. 658:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSPLIM_NS(uint32_t ProcStackPtrLimit)
  3309. 659:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3310. 660:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  3311. 661:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  3312. 662:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
  3313. 663:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3314. 664:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim_ns, %0\n" : : "r" (ProcStackPtrLimit));
  3315. 665:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3316. 666:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3317. 667:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3318. 668:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3319. 669:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3320. 670:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3321. 671:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit
  3322. 672:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3323. 673:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
  3324. 674:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  3325. 675:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3326. 676:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer Limit (MSPLIM).
  3327. 677:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
  3328. 678:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3329. 679:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSPLIM(void)
  3330. 680:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3331. 681:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  3332. 682:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  3333. 683:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3334. 684:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  3335. 685:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3336. 686:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3337. 687:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim" : "=r" (result) );
  3338. 688:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  3339. 689:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3340. 690:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3341. 691:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3342. 692:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3343. 693:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3344. 694:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3345. 695:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit (non-secure)
  3346. 696:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3347. 697:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
  3348. 698:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3349. 699:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in sec
  3350. 700:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
  3351. 701:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3352. 702:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSPLIM_NS(void)
  3353. 703:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3354. 704:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  3355. 705:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3356. 706:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  3357. 707:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3358. 708:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3359. 709:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim_ns" : "=r" (result) );
  3360. 710:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  3361. 711:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3362. 712:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3363. 713:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3364. 714:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3365. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 59
  3366. 715:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3367. 716:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3368. 717:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit
  3369. 718:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3370. 719:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
  3371. 720:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  3372. 721:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3373. 722:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer Limit (MSPLIM).
  3374. 723:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer Limit value to set
  3375. 724:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3376. 725:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSPLIM(uint32_t MainStackPtrLimit)
  3377. 726:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3378. 727:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  3379. 728:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  3380. 729:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3381. 730:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
  3382. 731:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3383. 732:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim, %0" : : "r" (MainStackPtrLimit));
  3384. 733:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3385. 734:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3386. 735:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3387. 736:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3388. 737:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3389. 738:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3390. 739:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit (non-secure)
  3391. 740:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3392. 741:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
  3393. 742:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3394. 743:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secu
  3395. 744:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer value to set
  3396. 745:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3397. 746:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSPLIM_NS(uint32_t MainStackPtrLimit)
  3398. 747:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3399. 748:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  3400. 749:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3401. 750:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
  3402. 751:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3403. 752:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim_ns, %0" : : "r" (MainStackPtrLimit));
  3404. 753:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3405. 754:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3406. 755:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3407. 756:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3408. 757:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
  3409. 758:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) */
  3410. 759:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3411. 760:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3412. 761:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3413. 762:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get FPSCR
  3414. 763:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Floating Point Status/Control register.
  3415. 764:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Floating Point Status/Control register value
  3416. 765:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3417. 766:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FPSCR(void)
  3418. 767:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3419. 768:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
  3420. 769:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
  3421. 770:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_get_fpscr)
  3422. 771:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
  3423. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 60
  3424. 772:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
  3425. 773:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
  3426. 774:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_arm_get_fpscr();
  3427. 775:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3428. 776:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3429. 777:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3430. 778:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMRS %0, fpscr" : "=r" (result) );
  3431. 779:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3432. 780:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3433. 781:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3434. 782:Drivers/CMSIS/Include/cmsis_gcc.h **** return(0U);
  3435. 783:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3436. 784:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3437. 785:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3438. 786:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3439. 787:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3440. 788:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set FPSCR
  3441. 789:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Floating Point Status/Control register.
  3442. 790:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] fpscr Floating Point Status/Control value to set
  3443. 791:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3444. 792:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FPSCR(uint32_t fpscr)
  3445. 793:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3446. 794:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
  3447. 795:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
  3448. 796:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_set_fpscr)
  3449. 797:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
  3450. 798:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
  3451. 799:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
  3452. 800:Drivers/CMSIS/Include/cmsis_gcc.h **** __builtin_arm_set_fpscr(fpscr);
  3453. 801:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3454. 802:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc", "memory");
  3455. 803:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3456. 804:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3457. 805:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)fpscr;
  3458. 806:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3459. 807:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3460. 808:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3461. 809:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3462. 810:Drivers/CMSIS/Include/cmsis_gcc.h **** /*@} end of CMSIS_Core_RegAccFunctions */
  3463. 811:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3464. 812:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3465. 813:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################## Core Instruction Access ######################### */
  3466. 814:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
  3467. 815:Drivers/CMSIS/Include/cmsis_gcc.h **** Access to dedicated instructions
  3468. 816:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  3469. 817:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3470. 818:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3471. 819:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Define macros for porting to both thumb1 and thumb2.
  3472. 820:Drivers/CMSIS/Include/cmsis_gcc.h **** * For thumb1, use low register (r0-r7), specified by constraint "l"
  3473. 821:Drivers/CMSIS/Include/cmsis_gcc.h **** * Otherwise, use general registers, specified by constraint "r" */
  3474. 822:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined (__thumb__) && !defined (__thumb2__)
  3475. 823:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=l" (r)
  3476. 824:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+l" (r)
  3477. 825:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "l" (r)
  3478. 826:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3479. 827:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=r" (r)
  3480. 828:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+r" (r)
  3481. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 61
  3482. 829:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "r" (r)
  3483. 830:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3484. 831:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3485. 832:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3486. 833:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief No Operation
  3487. 834:Drivers/CMSIS/Include/cmsis_gcc.h **** \details No Operation does nothing. This instruction can be used for code alignment purposes.
  3488. 835:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3489. 836:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NOP() __ASM volatile ("nop")
  3490. 837:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3491. 838:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3492. 839:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Interrupt
  3493. 840:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Interrupt is a hint instruction that suspends execution until one of a number o
  3494. 841:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3495. 842:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFI() __ASM volatile ("wfi")
  3496. 843:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3497. 844:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3498. 845:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3499. 846:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Event
  3500. 847:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Event is a hint instruction that permits the processor to enter
  3501. 848:Drivers/CMSIS/Include/cmsis_gcc.h **** a low-power state until one of a number of events occurs.
  3502. 849:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3503. 850:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFE() __ASM volatile ("wfe")
  3504. 851:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3505. 852:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3506. 853:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3507. 854:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Send Event
  3508. 855:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Send Event is a hint instruction. It causes an event to be signaled to the CPU.
  3509. 856:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3510. 857:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __SEV() __ASM volatile ("sev")
  3511. 858:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3512. 859:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3513. 860:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3514. 861:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Instruction Synchronization Barrier
  3515. 862:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Instruction Synchronization Barrier flushes the pipeline in the processor,
  3516. 863:Drivers/CMSIS/Include/cmsis_gcc.h **** so that all instructions following the ISB are fetched from cache or memory,
  3517. 864:Drivers/CMSIS/Include/cmsis_gcc.h **** after the instruction has been completed.
  3518. 865:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3519. 866:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __ISB(void)
  3520. 867:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3521. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("isb 0xF":::"memory");
  3522. 869:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3523. 870:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3524. 871:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3525. 872:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3526. 873:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Synchronization Barrier
  3527. 874:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Acts as a special kind of Data Memory Barrier.
  3528. 875:Drivers/CMSIS/Include/cmsis_gcc.h **** It completes when all explicit memory accesses before this instruction complete.
  3529. 876:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3530. 877:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DSB(void)
  3531. 422 .loc 3 877 27 view .LVU115
  3532. 423 .LBB65:
  3533. 878:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3534. 879:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dsb 0xF":::"memory");
  3535. 424 .loc 3 879 3 view .LVU116
  3536. 425 .syntax unified
  3537. 426 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3538. 427 0018 BFF34F8F dsb 0xF
  3539. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 62
  3540. 428 @ 0 "" 2
  3541. 429 .thumb
  3542. 430 .syntax unified
  3543. 431 .LBE65:
  3544. 432 .LBE64:
  3545. 1730:Drivers/CMSIS/Include/core_cm4.h **** }
  3546. 433 .loc 2 1730 5 view .LVU117
  3547. 434 .LBB66:
  3548. 435 .LBI66:
  3549. 866:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3550. 436 .loc 3 866 27 view .LVU118
  3551. 437 .LBB67:
  3552. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3553. 438 .loc 3 868 3 view .LVU119
  3554. 439 .syntax unified
  3555. 440 @ 868 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3556. 441 001c BFF36F8F isb 0xF
  3557. 442 @ 0 "" 2
  3558. 443 .thumb
  3559. 444 .syntax unified
  3560. 445 .LBE67:
  3561. 446 .LBE66:
  3562. 447 .LBE63:
  3563. 448 .LBE62:
  3564. 235:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  3565. 449 .loc 1 235 1 is_stmt 0 view .LVU120
  3566. 450 0020 7047 bx lr
  3567. 451 .L29:
  3568. 231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  3569. 452 .loc 1 231 3 discriminator 1 view .LVU121
  3570. 453 0022 0348 ldr r0, .L30+4
  3571. 454 0024 E721 movs r1, #231
  3572. 455 0026 FFF7FEBF b assert_failed
  3573. 456 .LVL41:
  3574. 457 .L31:
  3575. 458 002a 00BF .align 2
  3576. 459 .L30:
  3577. 460 002c 00E100E0 .word -536813312
  3578. 461 0030 00000000 .word .LC0
  3579. 462 .cfi_endproc
  3580. 463 .LFE133:
  3581. 465 .section .text.HAL_NVIC_SystemReset,"ax",%progbits
  3582. 466 .align 1
  3583. 467 .p2align 2,,3
  3584. 468 .global HAL_NVIC_SystemReset
  3585. 469 .syntax unified
  3586. 470 .thumb
  3587. 471 .thumb_func
  3588. 473 HAL_NVIC_SystemReset:
  3589. 474 .LFB134:
  3590. 236:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  3591. 237:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  3592. 238:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Initiates a system reset request to reset the MCU.
  3593. 239:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  3594. 240:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  3595. 241:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_SystemReset(void)
  3596. 242:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  3597. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 63
  3598. 475 .loc 1 242 1 is_stmt 1 view -0
  3599. 476 .cfi_startproc
  3600. 477 @ Volatile: function does not return.
  3601. 478 @ args = 0, pretend = 0, frame = 0
  3602. 479 @ frame_needed = 0, uses_anonymous_args = 0
  3603. 480 @ link register save eliminated.
  3604. 243:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* System Reset */
  3605. 244:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_SystemReset();
  3606. 481 .loc 1 244 3 view .LVU123
  3607. 482 .LBB74:
  3608. 483 .LBI74:
  3609. 1875:Drivers/CMSIS/Include/core_cm4.h **** );
  3610. 1876:Drivers/CMSIS/Include/core_cm4.h **** }
  3611. 1877:Drivers/CMSIS/Include/core_cm4.h ****
  3612. 1878:Drivers/CMSIS/Include/core_cm4.h ****
  3613. 1879:Drivers/CMSIS/Include/core_cm4.h **** /**
  3614. 1880:Drivers/CMSIS/Include/core_cm4.h **** \brief Decode Priority
  3615. 1881:Drivers/CMSIS/Include/core_cm4.h **** \details Decodes an interrupt priority value with a given priority group to
  3616. 1882:Drivers/CMSIS/Include/core_cm4.h **** preemptive priority value and subpriority value.
  3617. 1883:Drivers/CMSIS/Include/core_cm4.h **** In case of a conflict between priority grouping and available
  3618. 1884:Drivers/CMSIS/Include/core_cm4.h **** priority bits (__NVIC_PRIO_BITS) the smallest possible priority group is set.
  3619. 1885:Drivers/CMSIS/Include/core_cm4.h **** \param [in] Priority Priority value, which can be retrieved with the function \ref NVIC
  3620. 1886:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PriorityGroup Used priority group.
  3621. 1887:Drivers/CMSIS/Include/core_cm4.h **** \param [out] pPreemptPriority Preemptive priority value (starting from 0).
  3622. 1888:Drivers/CMSIS/Include/core_cm4.h **** \param [out] pSubPriority Subpriority value (starting from 0).
  3623. 1889:Drivers/CMSIS/Include/core_cm4.h **** */
  3624. 1890:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* cons
  3625. 1891:Drivers/CMSIS/Include/core_cm4.h **** {
  3626. 1892:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used
  3627. 1893:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PreemptPriorityBits;
  3628. 1894:Drivers/CMSIS/Include/core_cm4.h **** uint32_t SubPriorityBits;
  3629. 1895:Drivers/CMSIS/Include/core_cm4.h ****
  3630. 1896:Drivers/CMSIS/Include/core_cm4.h **** PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NV
  3631. 1897:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  3632. 1898:Drivers/CMSIS/Include/core_cm4.h ****
  3633. 1899:Drivers/CMSIS/Include/core_cm4.h **** *pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1
  3634. 1900:Drivers/CMSIS/Include/core_cm4.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  3635. 1901:Drivers/CMSIS/Include/core_cm4.h **** }
  3636. 1902:Drivers/CMSIS/Include/core_cm4.h ****
  3637. 1903:Drivers/CMSIS/Include/core_cm4.h ****
  3638. 1904:Drivers/CMSIS/Include/core_cm4.h **** /**
  3639. 1905:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Interrupt Vector
  3640. 1906:Drivers/CMSIS/Include/core_cm4.h **** \details Sets an interrupt vector in SRAM based interrupt vector table.
  3641. 1907:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
  3642. 1908:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
  3643. 1909:Drivers/CMSIS/Include/core_cm4.h **** VTOR must been relocated to SRAM before.
  3644. 1910:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number
  3645. 1911:Drivers/CMSIS/Include/core_cm4.h **** \param [in] vector Address of interrupt handler function
  3646. 1912:Drivers/CMSIS/Include/core_cm4.h **** */
  3647. 1913:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector)
  3648. 1914:Drivers/CMSIS/Include/core_cm4.h **** {
  3649. 1915:Drivers/CMSIS/Include/core_cm4.h **** uint32_t *vectors = (uint32_t *)SCB->VTOR;
  3650. 1916:Drivers/CMSIS/Include/core_cm4.h **** vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET] = vector;
  3651. 1917:Drivers/CMSIS/Include/core_cm4.h **** }
  3652. 1918:Drivers/CMSIS/Include/core_cm4.h ****
  3653. 1919:Drivers/CMSIS/Include/core_cm4.h ****
  3654. 1920:Drivers/CMSIS/Include/core_cm4.h **** /**
  3655. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 64
  3656. 1921:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Interrupt Vector
  3657. 1922:Drivers/CMSIS/Include/core_cm4.h **** \details Reads an interrupt vector from interrupt vector table.
  3658. 1923:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
  3659. 1924:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
  3660. 1925:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number.
  3661. 1926:Drivers/CMSIS/Include/core_cm4.h **** \return Address of interrupt handler function
  3662. 1927:Drivers/CMSIS/Include/core_cm4.h **** */
  3663. 1928:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetVector(IRQn_Type IRQn)
  3664. 1929:Drivers/CMSIS/Include/core_cm4.h **** {
  3665. 1930:Drivers/CMSIS/Include/core_cm4.h **** uint32_t *vectors = (uint32_t *)SCB->VTOR;
  3666. 1931:Drivers/CMSIS/Include/core_cm4.h **** return vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET];
  3667. 1932:Drivers/CMSIS/Include/core_cm4.h **** }
  3668. 1933:Drivers/CMSIS/Include/core_cm4.h ****
  3669. 1934:Drivers/CMSIS/Include/core_cm4.h ****
  3670. 1935:Drivers/CMSIS/Include/core_cm4.h **** /**
  3671. 1936:Drivers/CMSIS/Include/core_cm4.h **** \brief System Reset
  3672. 1937:Drivers/CMSIS/Include/core_cm4.h **** \details Initiates a system reset request to reset the MCU.
  3673. 1938:Drivers/CMSIS/Include/core_cm4.h **** */
  3674. 1939:Drivers/CMSIS/Include/core_cm4.h **** __NO_RETURN __STATIC_INLINE void __NVIC_SystemReset(void)
  3675. 484 .loc 2 1939 34 view .LVU124
  3676. 485 .LBB75:
  3677. 1940:Drivers/CMSIS/Include/core_cm4.h **** {
  3678. 1941:Drivers/CMSIS/Include/core_cm4.h **** __DSB(); /* Ensure all outstanding memor
  3679. 486 .loc 2 1941 3 view .LVU125
  3680. 487 .LBB76:
  3681. 488 .LBI76:
  3682. 877:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3683. 489 .loc 3 877 27 view .LVU126
  3684. 490 .LBB77:
  3685. 491 .loc 3 879 3 view .LVU127
  3686. 492 .syntax unified
  3687. 493 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3688. 494 0000 BFF34F8F dsb 0xF
  3689. 495 @ 0 "" 2
  3690. 496 .thumb
  3691. 497 .syntax unified
  3692. 498 .LBE77:
  3693. 499 .LBE76:
  3694. 1942:Drivers/CMSIS/Include/core_cm4.h **** buffered write are completed
  3695. 1943:Drivers/CMSIS/Include/core_cm4.h **** SCB->AIRCR = (uint32_t)((0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
  3696. 500 .loc 2 1943 3 view .LVU128
  3697. 1944:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
  3698. 501 .loc 2 1944 32 is_stmt 0 view .LVU129
  3699. 502 0004 0549 ldr r1, .L34
  3700. 1943:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
  3701. 503 .loc 2 1943 17 view .LVU130
  3702. 504 0006 064B ldr r3, .L34+4
  3703. 505 .loc 2 1944 32 view .LVU131
  3704. 506 0008 CA68 ldr r2, [r1, #12]
  3705. 507 .loc 2 1944 40 view .LVU132
  3706. 508 000a 02F4E062 and r2, r2, #1792
  3707. 1943:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
  3708. 509 .loc 2 1943 17 view .LVU133
  3709. 510 000e 1343 orrs r3, r3, r2
  3710. 1943:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
  3711. 511 .loc 2 1943 15 view .LVU134
  3712. 512 0010 CB60 str r3, [r1, #12]
  3713. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 65
  3714. 1945:Drivers/CMSIS/Include/core_cm4.h **** SCB_AIRCR_SYSRESETREQ_Msk ); /* Keep priority group unchange
  3715. 1946:Drivers/CMSIS/Include/core_cm4.h **** __DSB(); /* Ensure completion of memory
  3716. 513 .loc 2 1946 3 is_stmt 1 view .LVU135
  3717. 514 .LBB78:
  3718. 515 .LBI78:
  3719. 877:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3720. 516 .loc 3 877 27 view .LVU136
  3721. 517 .LBB79:
  3722. 518 .loc 3 879 3 view .LVU137
  3723. 519 .syntax unified
  3724. 520 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3725. 521 0012 BFF34F8F dsb 0xF
  3726. 522 @ 0 "" 2
  3727. 523 .thumb
  3728. 524 .syntax unified
  3729. 525 .L33:
  3730. 526 .LBE79:
  3731. 527 .LBE78:
  3732. 1947:Drivers/CMSIS/Include/core_cm4.h ****
  3733. 1948:Drivers/CMSIS/Include/core_cm4.h **** for(;;) /* wait until reset */
  3734. 528 .loc 2 1948 3 view .LVU138
  3735. 1949:Drivers/CMSIS/Include/core_cm4.h **** {
  3736. 1950:Drivers/CMSIS/Include/core_cm4.h **** __NOP();
  3737. 529 .loc 2 1950 5 view .LVU139
  3738. 530 .syntax unified
  3739. 531 @ 1950 "Drivers/CMSIS/Include/core_cm4.h" 1
  3740. 532 0016 00BF nop
  3741. 533 @ 0 "" 2
  3742. 1948:Drivers/CMSIS/Include/core_cm4.h **** {
  3743. 534 .loc 2 1948 8 view .LVU140
  3744. 535 .thumb
  3745. 536 .syntax unified
  3746. 537 0018 FDE7 b .L33
  3747. 538 .L35:
  3748. 539 001a 00BF .align 2
  3749. 540 .L34:
  3750. 541 001c 00ED00E0 .word -536810240
  3751. 542 0020 0400FA05 .word 100270084
  3752. 543 .LBE75:
  3753. 544 .LBE74:
  3754. 545 .cfi_endproc
  3755. 546 .LFE134:
  3756. 548 .section .text.HAL_SYSTICK_Config,"ax",%progbits
  3757. 549 .align 1
  3758. 550 .p2align 2,,3
  3759. 551 .global HAL_SYSTICK_Config
  3760. 552 .syntax unified
  3761. 553 .thumb
  3762. 554 .thumb_func
  3763. 556 HAL_SYSTICK_Config:
  3764. 557 .LVL42:
  3765. 558 .LFB135:
  3766. 245:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  3767. 246:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  3768. 247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  3769. 248:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Initializes the System Timer and its interrupt, and starts the System Tick Timer.
  3770. 249:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * Counter is in free running mode to generate periodic interrupts.
  3771. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 66
  3772. 250:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param TicksNumb Specifies the ticks Number of ticks between two interrupts.
  3773. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval status: - 0 Function succeeded.
  3774. 252:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * - 1 Function failed.
  3775. 253:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  3776. 254:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb)
  3777. 255:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  3778. 559 .loc 1 255 1 view -0
  3779. 560 .cfi_startproc
  3780. 561 @ args = 0, pretend = 0, frame = 0
  3781. 562 @ frame_needed = 0, uses_anonymous_args = 0
  3782. 563 @ link register save eliminated.
  3783. 256:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** return SysTick_Config(TicksNumb);
  3784. 564 .loc 1 256 4 view .LVU142
  3785. 565 .LBB80:
  3786. 566 .LBI80:
  3787. 1951:Drivers/CMSIS/Include/core_cm4.h **** }
  3788. 1952:Drivers/CMSIS/Include/core_cm4.h **** }
  3789. 1953:Drivers/CMSIS/Include/core_cm4.h ****
  3790. 1954:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of CMSIS_Core_NVICFunctions */
  3791. 1955:Drivers/CMSIS/Include/core_cm4.h ****
  3792. 1956:Drivers/CMSIS/Include/core_cm4.h **** /* ########################## MPU functions #################################### */
  3793. 1957:Drivers/CMSIS/Include/core_cm4.h ****
  3794. 1958:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
  3795. 1959:Drivers/CMSIS/Include/core_cm4.h ****
  3796. 1960:Drivers/CMSIS/Include/core_cm4.h **** #include "mpu_armv7.h"
  3797. 1961:Drivers/CMSIS/Include/core_cm4.h ****
  3798. 1962:Drivers/CMSIS/Include/core_cm4.h **** #endif
  3799. 1963:Drivers/CMSIS/Include/core_cm4.h ****
  3800. 1964:Drivers/CMSIS/Include/core_cm4.h ****
  3801. 1965:Drivers/CMSIS/Include/core_cm4.h **** /* ########################## FPU functions #################################### */
  3802. 1966:Drivers/CMSIS/Include/core_cm4.h **** /**
  3803. 1967:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_Core_FunctionInterface
  3804. 1968:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_FpuFunctions FPU Functions
  3805. 1969:Drivers/CMSIS/Include/core_cm4.h **** \brief Function that provides FPU type.
  3806. 1970:Drivers/CMSIS/Include/core_cm4.h **** @{
  3807. 1971:Drivers/CMSIS/Include/core_cm4.h **** */
  3808. 1972:Drivers/CMSIS/Include/core_cm4.h ****
  3809. 1973:Drivers/CMSIS/Include/core_cm4.h **** /**
  3810. 1974:Drivers/CMSIS/Include/core_cm4.h **** \brief get FPU type
  3811. 1975:Drivers/CMSIS/Include/core_cm4.h **** \details returns the FPU type
  3812. 1976:Drivers/CMSIS/Include/core_cm4.h **** \returns
  3813. 1977:Drivers/CMSIS/Include/core_cm4.h **** - \b 0: No FPU
  3814. 1978:Drivers/CMSIS/Include/core_cm4.h **** - \b 1: Single precision FPU
  3815. 1979:Drivers/CMSIS/Include/core_cm4.h **** - \b 2: Double + Single precision FPU
  3816. 1980:Drivers/CMSIS/Include/core_cm4.h **** */
  3817. 1981:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t SCB_GetFPUType(void)
  3818. 1982:Drivers/CMSIS/Include/core_cm4.h **** {
  3819. 1983:Drivers/CMSIS/Include/core_cm4.h **** uint32_t mvfr0;
  3820. 1984:Drivers/CMSIS/Include/core_cm4.h ****
  3821. 1985:Drivers/CMSIS/Include/core_cm4.h **** mvfr0 = FPU->MVFR0;
  3822. 1986:Drivers/CMSIS/Include/core_cm4.h **** if ((mvfr0 & (FPU_MVFR0_Single_precision_Msk | FPU_MVFR0_Double_precision_Msk)) == 0x020U)
  3823. 1987:Drivers/CMSIS/Include/core_cm4.h **** {
  3824. 1988:Drivers/CMSIS/Include/core_cm4.h **** return 1U; /* Single precision FPU */
  3825. 1989:Drivers/CMSIS/Include/core_cm4.h **** }
  3826. 1990:Drivers/CMSIS/Include/core_cm4.h **** else
  3827. 1991:Drivers/CMSIS/Include/core_cm4.h **** {
  3828. 1992:Drivers/CMSIS/Include/core_cm4.h **** return 0U; /* No FPU */
  3829. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 67
  3830. 1993:Drivers/CMSIS/Include/core_cm4.h **** }
  3831. 1994:Drivers/CMSIS/Include/core_cm4.h **** }
  3832. 1995:Drivers/CMSIS/Include/core_cm4.h ****
  3833. 1996:Drivers/CMSIS/Include/core_cm4.h ****
  3834. 1997:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of CMSIS_Core_FpuFunctions */
  3835. 1998:Drivers/CMSIS/Include/core_cm4.h ****
  3836. 1999:Drivers/CMSIS/Include/core_cm4.h ****
  3837. 2000:Drivers/CMSIS/Include/core_cm4.h ****
  3838. 2001:Drivers/CMSIS/Include/core_cm4.h **** /* ################################## SysTick function ########################################
  3839. 2002:Drivers/CMSIS/Include/core_cm4.h **** /**
  3840. 2003:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_Core_FunctionInterface
  3841. 2004:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_SysTickFunctions SysTick Functions
  3842. 2005:Drivers/CMSIS/Include/core_cm4.h **** \brief Functions that configure the System.
  3843. 2006:Drivers/CMSIS/Include/core_cm4.h **** @{
  3844. 2007:Drivers/CMSIS/Include/core_cm4.h **** */
  3845. 2008:Drivers/CMSIS/Include/core_cm4.h ****
  3846. 2009:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__Vendor_SysTickConfig) && (__Vendor_SysTickConfig == 0U)
  3847. 2010:Drivers/CMSIS/Include/core_cm4.h ****
  3848. 2011:Drivers/CMSIS/Include/core_cm4.h **** /**
  3849. 2012:Drivers/CMSIS/Include/core_cm4.h **** \brief System Tick Configuration
  3850. 2013:Drivers/CMSIS/Include/core_cm4.h **** \details Initializes the System Timer and its interrupt, and starts the System Tick Timer.
  3851. 2014:Drivers/CMSIS/Include/core_cm4.h **** Counter is in free running mode to generate periodic interrupts.
  3852. 2015:Drivers/CMSIS/Include/core_cm4.h **** \param [in] ticks Number of ticks between two interrupts.
  3853. 2016:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Function succeeded.
  3854. 2017:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Function failed.
  3855. 2018:Drivers/CMSIS/Include/core_cm4.h **** \note When the variable <b>__Vendor_SysTickConfig</b> is set to 1, then the
  3856. 2019:Drivers/CMSIS/Include/core_cm4.h **** function <b>SysTick_Config</b> is not included. In this case, the file <b><i>device</i>.
  3857. 2020:Drivers/CMSIS/Include/core_cm4.h **** must contain a vendor-specific implementation of this function.
  3858. 2021:Drivers/CMSIS/Include/core_cm4.h **** */
  3859. 2022:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
  3860. 567 .loc 2 2022 26 view .LVU143
  3861. 568 .LBB81:
  3862. 2023:Drivers/CMSIS/Include/core_cm4.h **** {
  3863. 2024:Drivers/CMSIS/Include/core_cm4.h **** if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk)
  3864. 569 .loc 2 2024 3 view .LVU144
  3865. 570 .loc 2 2024 14 is_stmt 0 view .LVU145
  3866. 571 0000 0138 subs r0, r0, #1
  3867. 572 .LVL43:
  3868. 573 .loc 2 2024 6 view .LVU146
  3869. 574 0002 B0F1807F cmp r0, #16777216
  3870. 575 0006 10D2 bcs .L38
  3871. 2025:Drivers/CMSIS/Include/core_cm4.h **** {
  3872. 2026:Drivers/CMSIS/Include/core_cm4.h **** return (1UL); /* Reload value impossible */
  3873. 2027:Drivers/CMSIS/Include/core_cm4.h **** }
  3874. 2028:Drivers/CMSIS/Include/core_cm4.h ****
  3875. 2029:Drivers/CMSIS/Include/core_cm4.h **** SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
  3876. 576 .loc 2 2029 3 is_stmt 1 view .LVU147
  3877. 577 .LBE81:
  3878. 578 .LBE80:
  3879. 255:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** return SysTick_Config(TicksNumb);
  3880. 579 .loc 1 255 1 is_stmt 0 view .LVU148
  3881. 580 0008 10B4 push {r4}
  3882. 581 .LCFI2:
  3883. 582 .cfi_def_cfa_offset 4
  3884. 583 .cfi_offset 4, -4
  3885. 584 .LBB89:
  3886. 585 .LBB86:
  3887. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 68
  3888. 586 .loc 2 2029 18 view .LVU149
  3889. 587 000a 4FF0E023 mov r3, #-536813568
  3890. 588 .LBB82:
  3891. 589 .LBB83:
  3892. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  3893. 590 .loc 2 1824 46 view .LVU150
  3894. 591 000e 084C ldr r4, .L43
  3895. 592 .LBE83:
  3896. 593 .LBE82:
  3897. 594 .loc 2 2029 18 view .LVU151
  3898. 595 0010 5861 str r0, [r3, #20]
  3899. 2030:Drivers/CMSIS/Include/core_cm4.h **** NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Int
  3900. 596 .loc 2 2030 3 is_stmt 1 view .LVU152
  3901. 597 .LVL44:
  3902. 598 .LBB85:
  3903. 599 .LBI82:
  3904. 1816:Drivers/CMSIS/Include/core_cm4.h **** {
  3905. 600 .loc 2 1816 22 view .LVU153
  3906. 601 .LBB84:
  3907. 1818:Drivers/CMSIS/Include/core_cm4.h **** {
  3908. 602 .loc 2 1818 3 view .LVU154
  3909. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  3910. 603 .loc 2 1824 5 view .LVU155
  3911. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  3912. 604 .loc 2 1824 46 is_stmt 0 view .LVU156
  3913. 605 0012 4FF0F00C mov ip, #240
  3914. 606 0016 84F823C0 strb ip, [r4, #35]
  3915. 607 .LVL45:
  3916. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  3917. 608 .loc 2 1824 46 view .LVU157
  3918. 609 .LBE84:
  3919. 610 .LBE85:
  3920. 2031:Drivers/CMSIS/Include/core_cm4.h **** SysTick->VAL = 0UL; /* Load the SysTick Counter Val
  3921. 611 .loc 2 2031 3 is_stmt 1 view .LVU158
  3922. 612 .loc 2 2031 18 is_stmt 0 view .LVU159
  3923. 613 001a 0022 movs r2, #0
  3924. 2032:Drivers/CMSIS/Include/core_cm4.h **** SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
  3925. 614 .loc 2 2032 18 view .LVU160
  3926. 615 001c 0721 movs r1, #7
  3927. 2033:Drivers/CMSIS/Include/core_cm4.h **** SysTick_CTRL_TICKINT_Msk |
  3928. 2034:Drivers/CMSIS/Include/core_cm4.h **** SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTi
  3929. 2035:Drivers/CMSIS/Include/core_cm4.h **** return (0UL); /* Function successful */
  3930. 616 .loc 2 2035 10 view .LVU161
  3931. 617 001e 1046 mov r0, r2
  3932. 618 .LVL46:
  3933. 2031:Drivers/CMSIS/Include/core_cm4.h **** SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
  3934. 619 .loc 2 2031 18 view .LVU162
  3935. 620 0020 9A61 str r2, [r3, #24]
  3936. 2032:Drivers/CMSIS/Include/core_cm4.h **** SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
  3937. 621 .loc 2 2032 3 is_stmt 1 view .LVU163
  3938. 622 .LBE86:
  3939. 623 .LBE89:
  3940. 257:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  3941. 624 .loc 1 257 1 is_stmt 0 view .LVU164
  3942. 625 0022 5DF8044B ldr r4, [sp], #4
  3943. 626 .LCFI3:
  3944. 627 .cfi_restore 4
  3945. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 69
  3946. 628 .cfi_def_cfa_offset 0
  3947. 629 .LBB90:
  3948. 630 .LBB87:
  3949. 2032:Drivers/CMSIS/Include/core_cm4.h **** SysTick_CTRL_TICKINT_Msk |
  3950. 631 .loc 2 2032 18 view .LVU165
  3951. 632 0026 1961 str r1, [r3, #16]
  3952. 633 .loc 2 2035 3 is_stmt 1 view .LVU166
  3953. 634 .LBE87:
  3954. 635 .LBE90:
  3955. 636 .loc 1 257 1 is_stmt 0 view .LVU167
  3956. 637 0028 7047 bx lr
  3957. 638 .L38:
  3958. 639 .LBB91:
  3959. 640 .LBB88:
  3960. 2026:Drivers/CMSIS/Include/core_cm4.h **** }
  3961. 641 .loc 2 2026 12 view .LVU168
  3962. 642 002a 0120 movs r0, #1
  3963. 643 .LVL47:
  3964. 2026:Drivers/CMSIS/Include/core_cm4.h **** }
  3965. 644 .loc 2 2026 12 view .LVU169
  3966. 645 .LBE88:
  3967. 646 .LBE91:
  3968. 647 .loc 1 257 1 view .LVU170
  3969. 648 002c 7047 bx lr
  3970. 649 .L44:
  3971. 650 002e 00BF .align 2
  3972. 651 .L43:
  3973. 652 0030 00ED00E0 .word -536810240
  3974. 653 .cfi_endproc
  3975. 654 .LFE135:
  3976. 656 .section .text.HAL_MPU_Disable,"ax",%progbits
  3977. 657 .align 1
  3978. 658 .p2align 2,,3
  3979. 659 .global HAL_MPU_Disable
  3980. 660 .syntax unified
  3981. 661 .thumb
  3982. 662 .thumb_func
  3983. 664 HAL_MPU_Disable:
  3984. 665 .LFB136:
  3985. 258:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  3986. 259:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @}
  3987. 260:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  3988. 261:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  3989. 262:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions_Group2 Peripheral Control functions
  3990. 263:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Cortex control functions
  3991. 264:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** *
  3992. 265:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** @verbatim
  3993. 266:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ==============================================================================
  3994. 267:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ##### Peripheral Control functions #####
  3995. 268:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ==============================================================================
  3996. 269:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** [..]
  3997. 270:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** This subsection provides a set of functions allowing to control the CORTEX
  3998. 271:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** (NVIC, SYSTICK, MPU) functionalities.
  3999. 272:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4000. 273:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4001. 274:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** @endverbatim
  4002. 275:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @{
  4003. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 70
  4004. 276:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  4005. 277:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4006. 278:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** #if (__MPU_PRESENT == 1U)
  4007. 279:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4008. 280:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  4009. 281:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Disables the MPU also clears the HFNMIENA bit (ARM recommendation)
  4010. 282:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  4011. 283:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  4012. 284:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_MPU_Disable(void)
  4013. 285:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  4014. 666 .loc 1 285 1 is_stmt 1 view -0
  4015. 667 .cfi_startproc
  4016. 668 @ args = 0, pretend = 0, frame = 0
  4017. 669 @ frame_needed = 0, uses_anonymous_args = 0
  4018. 670 @ link register save eliminated.
  4019. 286:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Disable fault exceptions */
  4020. 287:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** SCB->SHCSR &= ~SCB_SHCSR_MEMFAULTENA_Msk;
  4021. 671 .loc 1 287 3 view .LVU172
  4022. 672 .loc 1 287 14 is_stmt 0 view .LVU173
  4023. 673 0000 044B ldr r3, .L46
  4024. 674 0002 5A6A ldr r2, [r3, #36]
  4025. 288:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4026. 289:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Disable the MPU */
  4027. 290:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->CTRL = 0U;
  4028. 675 .loc 1 290 13 view .LVU174
  4029. 676 0004 0021 movs r1, #0
  4030. 287:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4031. 677 .loc 1 287 14 view .LVU175
  4032. 678 0006 22F48032 bic r2, r2, #65536
  4033. 679 000a 5A62 str r2, [r3, #36]
  4034. 680 .loc 1 290 3 is_stmt 1 view .LVU176
  4035. 681 .loc 1 290 13 is_stmt 0 view .LVU177
  4036. 682 000c C3F89410 str r1, [r3, #148]
  4037. 291:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  4038. 683 .loc 1 291 1 view .LVU178
  4039. 684 0010 7047 bx lr
  4040. 685 .L47:
  4041. 686 0012 00BF .align 2
  4042. 687 .L46:
  4043. 688 0014 00ED00E0 .word -536810240
  4044. 689 .cfi_endproc
  4045. 690 .LFE136:
  4046. 692 .section .text.HAL_MPU_Enable,"ax",%progbits
  4047. 693 .align 1
  4048. 694 .p2align 2,,3
  4049. 695 .global HAL_MPU_Enable
  4050. 696 .syntax unified
  4051. 697 .thumb
  4052. 698 .thumb_func
  4053. 700 HAL_MPU_Enable:
  4054. 701 .LVL48:
  4055. 702 .LFB137:
  4056. 292:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4057. 293:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  4058. 294:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Enables the MPU
  4059. 295:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param MPU_Control Specifies the control mode of the MPU during hard fault,
  4060. 296:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * NMI, FAULTMASK and privileged access to the default memory
  4061. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 71
  4062. 297:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be one of the following values:
  4063. 298:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg MPU_HFNMI_PRIVDEF_NONE
  4064. 299:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg MPU_HARDFAULT_NMI
  4065. 300:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg MPU_PRIVILEGED_DEFAULT
  4066. 301:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg MPU_HFNMI_PRIVDEF
  4067. 302:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  4068. 303:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  4069. 304:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_MPU_Enable(uint32_t MPU_Control)
  4070. 305:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  4071. 703 .loc 1 305 1 is_stmt 1 view -0
  4072. 704 .cfi_startproc
  4073. 705 @ args = 0, pretend = 0, frame = 0
  4074. 706 @ frame_needed = 0, uses_anonymous_args = 0
  4075. 707 @ link register save eliminated.
  4076. 306:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Enable the MPU */
  4077. 307:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->CTRL = MPU_Control | MPU_CTRL_ENABLE_Msk;
  4078. 708 .loc 1 307 3 view .LVU180
  4079. 709 .loc 1 307 15 is_stmt 0 view .LVU181
  4080. 710 0000 044B ldr r3, .L49
  4081. 711 .loc 1 307 29 view .LVU182
  4082. 712 0002 40F00100 orr r0, r0, #1
  4083. 713 .LVL49:
  4084. 714 .loc 1 307 15 view .LVU183
  4085. 715 0006 C3F89400 str r0, [r3, #148]
  4086. 308:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4087. 309:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Enable fault exceptions */
  4088. 310:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** SCB->SHCSR |= SCB_SHCSR_MEMFAULTENA_Msk;
  4089. 716 .loc 1 310 3 is_stmt 1 view .LVU184
  4090. 717 .loc 1 310 14 is_stmt 0 view .LVU185
  4091. 718 000a 5A6A ldr r2, [r3, #36]
  4092. 719 000c 42F48032 orr r2, r2, #65536
  4093. 720 0010 5A62 str r2, [r3, #36]
  4094. 311:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  4095. 721 .loc 1 311 1 view .LVU186
  4096. 722 0012 7047 bx lr
  4097. 723 .L50:
  4098. 724 .align 2
  4099. 725 .L49:
  4100. 726 0014 00ED00E0 .word -536810240
  4101. 727 .cfi_endproc
  4102. 728 .LFE137:
  4103. 730 .section .text.HAL_MPU_EnableRegion,"ax",%progbits
  4104. 731 .align 1
  4105. 732 .p2align 2,,3
  4106. 733 .global HAL_MPU_EnableRegion
  4107. 734 .syntax unified
  4108. 735 .thumb
  4109. 736 .thumb_func
  4110. 738 HAL_MPU_EnableRegion:
  4111. 739 .LVL50:
  4112. 740 .LFB138:
  4113. 312:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4114. 313:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  4115. 314:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Enables the MPU Region.
  4116. 315:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  4117. 316:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  4118. 317:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_MPU_EnableRegion(uint32_t RegionNumber)
  4119. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 72
  4120. 318:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  4121. 741 .loc 1 318 1 is_stmt 1 view -0
  4122. 742 .cfi_startproc
  4123. 743 @ args = 0, pretend = 0, frame = 0
  4124. 744 @ frame_needed = 0, uses_anonymous_args = 0
  4125. 319:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  4126. 320:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_NUMBER(RegionNumber));
  4127. 745 .loc 1 320 3 view .LVU188
  4128. 746 0000 0728 cmp r0, #7
  4129. 318:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  4130. 747 .loc 1 318 1 is_stmt 0 view .LVU189
  4131. 748 0002 10B5 push {r4, lr}
  4132. 749 .LCFI4:
  4133. 750 .cfi_def_cfa_offset 8
  4134. 751 .cfi_offset 4, -8
  4135. 752 .cfi_offset 14, -4
  4136. 318:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  4137. 753 .loc 1 318 1 view .LVU190
  4138. 754 0004 0446 mov r4, r0
  4139. 755 .loc 1 320 3 view .LVU191
  4140. 756 0006 09D8 bhi .L54
  4141. 757 .LVL51:
  4142. 758 .L52:
  4143. 321:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4144. 322:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Set the Region number */
  4145. 323:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->RNR = RegionNumber;
  4146. 759 .loc 1 323 3 is_stmt 1 view .LVU192
  4147. 760 .loc 1 323 12 is_stmt 0 view .LVU193
  4148. 761 0008 074B ldr r3, .L55
  4149. 762 000a C3F89840 str r4, [r3, #152]
  4150. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4151. 325:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Enable the Region */
  4152. 326:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** SET_BIT(MPU->RASR, MPU_RASR_ENABLE_Msk);
  4153. 763 .loc 1 326 3 is_stmt 1 view .LVU194
  4154. 764 000e D3F8A020 ldr r2, [r3, #160]
  4155. 765 0012 42F00102 orr r2, r2, #1
  4156. 766 0016 C3F8A020 str r2, [r3, #160]
  4157. 327:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  4158. 767 .loc 1 327 1 is_stmt 0 view .LVU195
  4159. 768 001a 10BD pop {r4, pc}
  4160. 769 .LVL52:
  4161. 770 .L54:
  4162. 320:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4163. 771 .loc 1 320 3 discriminator 1 view .LVU196
  4164. 772 001c 0348 ldr r0, .L55+4
  4165. 773 .LVL53:
  4166. 320:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4167. 774 .loc 1 320 3 discriminator 1 view .LVU197
  4168. 775 001e 4FF4A071 mov r1, #320
  4169. 776 0022 FFF7FEFF bl assert_failed
  4170. 777 .LVL54:
  4171. 778 0026 EFE7 b .L52
  4172. 779 .L56:
  4173. 780 .align 2
  4174. 781 .L55:
  4175. 782 0028 00ED00E0 .word -536810240
  4176. 783 002c 00000000 .word .LC0
  4177. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 73
  4178. 784 .cfi_endproc
  4179. 785 .LFE138:
  4180. 787 .section .text.HAL_MPU_DisableRegion,"ax",%progbits
  4181. 788 .align 1
  4182. 789 .p2align 2,,3
  4183. 790 .global HAL_MPU_DisableRegion
  4184. 791 .syntax unified
  4185. 792 .thumb
  4186. 793 .thumb_func
  4187. 795 HAL_MPU_DisableRegion:
  4188. 796 .LVL55:
  4189. 797 .LFB139:
  4190. 328:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4191. 329:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  4192. 330:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Disables the MPU Region.
  4193. 331:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  4194. 332:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  4195. 333:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_MPU_DisableRegion(uint32_t RegionNumber)
  4196. 334:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  4197. 798 .loc 1 334 1 is_stmt 1 view -0
  4198. 799 .cfi_startproc
  4199. 800 @ args = 0, pretend = 0, frame = 0
  4200. 801 @ frame_needed = 0, uses_anonymous_args = 0
  4201. 335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  4202. 336:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_NUMBER(RegionNumber));
  4203. 802 .loc 1 336 3 view .LVU199
  4204. 803 0000 0728 cmp r0, #7
  4205. 334:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  4206. 804 .loc 1 334 1 is_stmt 0 view .LVU200
  4207. 805 0002 10B5 push {r4, lr}
  4208. 806 .LCFI5:
  4209. 807 .cfi_def_cfa_offset 8
  4210. 808 .cfi_offset 4, -8
  4211. 809 .cfi_offset 14, -4
  4212. 334:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  4213. 810 .loc 1 334 1 view .LVU201
  4214. 811 0004 0446 mov r4, r0
  4215. 812 .loc 1 336 3 view .LVU202
  4216. 813 0006 09D8 bhi .L60
  4217. 814 .LVL56:
  4218. 815 .L58:
  4219. 337:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4220. 338:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Set the Region number */
  4221. 339:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->RNR = RegionNumber;
  4222. 816 .loc 1 339 3 is_stmt 1 view .LVU203
  4223. 817 .loc 1 339 12 is_stmt 0 view .LVU204
  4224. 818 0008 074B ldr r3, .L61
  4225. 819 000a C3F89840 str r4, [r3, #152]
  4226. 340:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4227. 341:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Disable the Region */
  4228. 342:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** CLEAR_BIT(MPU->RASR, MPU_RASR_ENABLE_Msk);
  4229. 820 .loc 1 342 3 is_stmt 1 view .LVU205
  4230. 821 000e D3F8A020 ldr r2, [r3, #160]
  4231. 822 0012 22F00102 bic r2, r2, #1
  4232. 823 0016 C3F8A020 str r2, [r3, #160]
  4233. 343:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  4234. 824 .loc 1 343 1 is_stmt 0 view .LVU206
  4235. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 74
  4236. 825 001a 10BD pop {r4, pc}
  4237. 826 .LVL57:
  4238. 827 .L60:
  4239. 336:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4240. 828 .loc 1 336 3 discriminator 1 view .LVU207
  4241. 829 001c 0348 ldr r0, .L61+4
  4242. 830 .LVL58:
  4243. 336:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4244. 831 .loc 1 336 3 discriminator 1 view .LVU208
  4245. 832 001e 4FF4A871 mov r1, #336
  4246. 833 0022 FFF7FEFF bl assert_failed
  4247. 834 .LVL59:
  4248. 835 0026 EFE7 b .L58
  4249. 836 .L62:
  4250. 837 .align 2
  4251. 838 .L61:
  4252. 839 0028 00ED00E0 .word -536810240
  4253. 840 002c 00000000 .word .LC0
  4254. 841 .cfi_endproc
  4255. 842 .LFE139:
  4256. 844 .section .text.HAL_MPU_ConfigRegion,"ax",%progbits
  4257. 845 .align 1
  4258. 846 .p2align 2,,3
  4259. 847 .global HAL_MPU_ConfigRegion
  4260. 848 .syntax unified
  4261. 849 .thumb
  4262. 850 .thumb_func
  4263. 852 HAL_MPU_ConfigRegion:
  4264. 853 .LVL60:
  4265. 854 .LFB140:
  4266. 344:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4267. 345:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  4268. 346:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Initializes and configures the Region and the memory to be protected.
  4269. 347:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param MPU_Init Pointer to a MPU_Region_InitTypeDef structure that contains
  4270. 348:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * the initialization and configuration information.
  4271. 349:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  4272. 350:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  4273. 351:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_MPU_ConfigRegion(MPU_Region_InitTypeDef *MPU_Init)
  4274. 352:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  4275. 855 .loc 1 352 1 is_stmt 1 view -0
  4276. 856 .cfi_startproc
  4277. 857 @ args = 0, pretend = 0, frame = 0
  4278. 858 @ frame_needed = 0, uses_anonymous_args = 0
  4279. 353:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  4280. 354:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_NUMBER(MPU_Init->Number));
  4281. 859 .loc 1 354 3 view .LVU210
  4282. 352:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  4283. 860 .loc 1 352 1 is_stmt 0 view .LVU211
  4284. 861 0000 10B5 push {r4, lr}
  4285. 862 .LCFI6:
  4286. 863 .cfi_def_cfa_offset 8
  4287. 864 .cfi_offset 4, -8
  4288. 865 .cfi_offset 14, -4
  4289. 866 .loc 1 354 3 view .LVU212
  4290. 867 0002 4378 ldrb r3, [r0, #1] @ zero_extendqisi2
  4291. 868 0004 072B cmp r3, #7
  4292. 352:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  4293. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 75
  4294. 869 .loc 1 352 1 view .LVU213
  4295. 870 0006 0446 mov r4, r0
  4296. 871 .loc 1 354 3 view .LVU214
  4297. 872 0008 6BD8 bhi .L75
  4298. 873 .LVL61:
  4299. 874 .L64:
  4300. 355:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_ENABLE(MPU_Init->Enable));
  4301. 875 .loc 1 355 3 is_stmt 1 view .LVU215
  4302. 876 000a 2378 ldrb r3, [r4] @ zero_extendqisi2
  4303. 877 000c 012B cmp r3, #1
  4304. 878 000e 04D9 bls .L65
  4305. 879 .loc 1 355 3 is_stmt 0 discriminator 1 view .LVU216
  4306. 880 0010 3D48 ldr r0, .L79
  4307. 881 0012 40F26311 movw r1, #355
  4308. 882 0016 FFF7FEFF bl assert_failed
  4309. 883 .LVL62:
  4310. 884 .L65:
  4311. 356:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_INSTRUCTION_ACCESS(MPU_Init->DisableExec));
  4312. 885 .loc 1 356 3 is_stmt 1 view .LVU217
  4313. 886 001a 237B ldrb r3, [r4, #12] @ zero_extendqisi2
  4314. 887 001c 012B cmp r3, #1
  4315. 888 001e 04D9 bls .L66
  4316. 889 .loc 1 356 3 is_stmt 0 discriminator 1 view .LVU218
  4317. 890 0020 3948 ldr r0, .L79
  4318. 891 0022 4FF4B271 mov r1, #356
  4319. 892 0026 FFF7FEFF bl assert_failed
  4320. 893 .LVL63:
  4321. 894 .L66:
  4322. 357:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_PERMISSION_ATTRIBUTE(MPU_Init->AccessPermission));
  4323. 895 .loc 1 357 3 is_stmt 1 view .LVU219
  4324. 896 002a E37A ldrb r3, [r4, #11] @ zero_extendqisi2
  4325. 897 002c 032B cmp r3, #3
  4326. 898 002e 07D9 bls .L67
  4327. 899 .loc 1 357 3 is_stmt 0 discriminator 1 view .LVU220
  4328. 900 0030 053B subs r3, r3, #5
  4329. 901 0032 012B cmp r3, #1
  4330. 902 0034 04D9 bls .L67
  4331. 903 .loc 1 357 3 discriminator 3 view .LVU221
  4332. 904 0036 3448 ldr r0, .L79
  4333. 905 0038 40F26511 movw r1, #357
  4334. 906 003c FFF7FEFF bl assert_failed
  4335. 907 .LVL64:
  4336. 908 .L67:
  4337. 358:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_TEX_LEVEL(MPU_Init->TypeExtField));
  4338. 909 .loc 1 358 3 is_stmt 1 view .LVU222
  4339. 910 0040 A37A ldrb r3, [r4, #10] @ zero_extendqisi2
  4340. 911 0042 022B cmp r3, #2
  4341. 912 0044 47D8 bhi .L76
  4342. 913 .L68:
  4343. 359:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_SHAREABLE(MPU_Init->IsShareable));
  4344. 914 .loc 1 359 3 view .LVU223
  4345. 915 0046 637B ldrb r3, [r4, #13] @ zero_extendqisi2
  4346. 916 0048 012B cmp r3, #1
  4347. 917 004a 04D9 bls .L69
  4348. 918 .loc 1 359 3 is_stmt 0 discriminator 1 view .LVU224
  4349. 919 004c 2E48 ldr r0, .L79
  4350. 920 004e 40F26711 movw r1, #359
  4351. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 76
  4352. 921 0052 FFF7FEFF bl assert_failed
  4353. 922 .LVL65:
  4354. 923 .L69:
  4355. 360:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_CACHEABLE(MPU_Init->IsCacheable));
  4356. 924 .loc 1 360 3 is_stmt 1 view .LVU225
  4357. 925 0056 A37B ldrb r3, [r4, #14] @ zero_extendqisi2
  4358. 926 0058 012B cmp r3, #1
  4359. 927 005a 04D9 bls .L70
  4360. 928 .loc 1 360 3 is_stmt 0 discriminator 1 view .LVU226
  4361. 929 005c 2A48 ldr r0, .L79
  4362. 930 005e 4FF4B471 mov r1, #360
  4363. 931 0062 FFF7FEFF bl assert_failed
  4364. 932 .LVL66:
  4365. 933 .L70:
  4366. 361:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_BUFFERABLE(MPU_Init->IsBufferable));
  4367. 934 .loc 1 361 3 is_stmt 1 view .LVU227
  4368. 935 0066 E37B ldrb r3, [r4, #15] @ zero_extendqisi2
  4369. 936 0068 012B cmp r3, #1
  4370. 937 006a 04D9 bls .L71
  4371. 938 .loc 1 361 3 is_stmt 0 discriminator 1 view .LVU228
  4372. 939 006c 2648 ldr r0, .L79
  4373. 940 006e 40F26911 movw r1, #361
  4374. 941 0072 FFF7FEFF bl assert_failed
  4375. 942 .LVL67:
  4376. 943 .L71:
  4377. 362:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_SUB_REGION_DISABLE(MPU_Init->SubRegionDisable));
  4378. 944 .loc 1 362 3 is_stmt 1 view .LVU229
  4379. 945 0076 637A ldrb r3, [r4, #9] @ zero_extendqisi2
  4380. 946 0078 FF2B cmp r3, #255
  4381. 947 007a 3FD0 beq .L77
  4382. 948 .L72:
  4383. 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_SIZE(MPU_Init->Size));
  4384. 949 .loc 1 363 3 view .LVU230
  4385. 950 007c 207A ldrb r0, [r4, #8] @ zero_extendqisi2
  4386. 951 007e 031F subs r3, r0, #4
  4387. 952 0080 1B2B cmp r3, #27
  4388. 953 0082 34D8 bhi .L78
  4389. 954 .L73:
  4390. 364:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4391. 365:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Set the Region number */
  4392. 366:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->RNR = MPU_Init->Number;
  4393. 955 .loc 1 366 3 view .LVU231
  4394. 956 .loc 1 366 12 is_stmt 0 view .LVU232
  4395. 957 0084 214A ldr r2, .L79+4
  4396. 958 .loc 1 366 22 view .LVU233
  4397. 959 0086 6378 ldrb r3, [r4, #1] @ zero_extendqisi2
  4398. 960 .loc 1 366 12 view .LVU234
  4399. 961 0088 C2F89830 str r3, [r2, #152]
  4400. 367:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4401. 368:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Disable the Region */
  4402. 369:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** CLEAR_BIT(MPU->RASR, MPU_RASR_ENABLE_Msk);
  4403. 962 .loc 1 369 3 is_stmt 1 view .LVU235
  4404. 963 008c D2F8A010 ldr r1, [r2, #160]
  4405. 964 0090 21F00101 bic r1, r1, #1
  4406. 965 0094 C2F8A010 str r1, [r2, #160]
  4407. 370:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4408. 371:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Apply configuration */
  4409. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 77
  4410. 372:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->RBAR = MPU_Init->BaseAddress;
  4411. 966 .loc 1 372 3 view .LVU236
  4412. 967 .loc 1 372 23 is_stmt 0 view .LVU237
  4413. 968 0098 6368 ldr r3, [r4, #4]
  4414. 969 .loc 1 372 13 view .LVU238
  4415. 970 009a C2F89C30 str r3, [r2, #156]
  4416. 373:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->RASR = ((uint32_t)MPU_Init->DisableExec << MPU_RASR_XN_Pos) |
  4417. 971 .loc 1 373 3 is_stmt 1 view .LVU239
  4418. 374:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
  4419. 972 .loc 1 374 16 is_stmt 0 view .LVU240
  4420. 973 009e E37A ldrb r3, [r4, #11] @ zero_extendqisi2
  4421. 373:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** MPU->RASR = ((uint32_t)MPU_Init->DisableExec << MPU_RASR_XN_Pos) |
  4422. 974 .loc 1 373 16 view .LVU241
  4423. 975 00a0 217B ldrb r1, [r4, #12] @ zero_extendqisi2
  4424. 375:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->TypeExtField << MPU_RASR_TEX_Pos) |
  4425. 376:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsShareable << MPU_RASR_S_Pos) |
  4426. 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsCacheable << MPU_RASR_C_Pos) |
  4427. 378:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsBufferable << MPU_RASR_B_Pos) |
  4428. 976 .loc 1 378 16 view .LVU242
  4429. 977 00a2 94F80FC0 ldrb ip, [r4, #15] @ zero_extendqisi2
  4430. 374:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
  4431. 978 .loc 1 374 60 view .LVU243
  4432. 979 00a6 1B06 lsls r3, r3, #24
  4433. 373:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
  4434. 980 .loc 1 373 82 view .LVU244
  4435. 981 00a8 43EA0173 orr r3, r3, r1, lsl #28
  4436. 379:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->SubRegionDisable << MPU_RASR_SRD_Pos) |
  4437. 380:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->Size << MPU_RASR_SIZE_Pos) |
  4438. 381:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->Enable << MPU_RASR_ENABLE_Pos);
  4439. 982 .loc 1 381 60 view .LVU245
  4440. 983 00ac 2178 ldrb r1, [r4] @ zero_extendqisi2
  4441. 380:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->Enable << MPU_RASR_ENABLE_Pos);
  4442. 984 .loc 1 380 82 view .LVU246
  4443. 985 00ae 0B43 orrs r3, r3, r1
  4444. 375:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsShareable << MPU_RASR_S_Pos) |
  4445. 986 .loc 1 375 16 view .LVU247
  4446. 987 00b0 A17A ldrb r1, [r4, #10] @ zero_extendqisi2
  4447. 380:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->Enable << MPU_RASR_ENABLE_Pos);
  4448. 988 .loc 1 380 82 view .LVU248
  4449. 989 00b2 43EAC143 orr r3, r3, r1, lsl #19
  4450. 376:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsCacheable << MPU_RASR_C_Pos) |
  4451. 990 .loc 1 376 16 view .LVU249
  4452. 991 00b6 617B ldrb r1, [r4, #13] @ zero_extendqisi2
  4453. 380:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->Enable << MPU_RASR_ENABLE_Pos);
  4454. 992 .loc 1 380 82 view .LVU250
  4455. 993 00b8 43EA8143 orr r3, r3, r1, lsl #18
  4456. 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsBufferable << MPU_RASR_B_Pos) |
  4457. 994 .loc 1 377 16 view .LVU251
  4458. 995 00bc A17B ldrb r1, [r4, #14] @ zero_extendqisi2
  4459. 380:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->Enable << MPU_RASR_ENABLE_Pos);
  4460. 996 .loc 1 380 82 view .LVU252
  4461. 997 00be 43EA4143 orr r3, r3, r1, lsl #17
  4462. 379:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->Size << MPU_RASR_SIZE_Pos) |
  4463. 998 .loc 1 379 16 view .LVU253
  4464. 999 00c2 617A ldrb r1, [r4, #9] @ zero_extendqisi2
  4465. 380:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->Enable << MPU_RASR_ENABLE_Pos);
  4466. 1000 .loc 1 380 82 view .LVU254
  4467. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 78
  4468. 1001 00c4 43EA0C43 orr r3, r3, ip, lsl #16
  4469. 1002 00c8 43EA0123 orr r3, r3, r1, lsl #8
  4470. 1003 00cc 43EA4003 orr r3, r3, r0, lsl #1
  4471. 373:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
  4472. 1004 .loc 1 373 13 view .LVU255
  4473. 1005 00d0 C2F8A030 str r3, [r2, #160]
  4474. 382:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  4475. 1006 .loc 1 382 1 view .LVU256
  4476. 1007 00d4 10BD pop {r4, pc}
  4477. 1008 .LVL68:
  4478. 1009 .L76:
  4479. 358:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_SHAREABLE(MPU_Init->IsShareable));
  4480. 1010 .loc 1 358 3 discriminator 1 view .LVU257
  4481. 1011 00d6 0C48 ldr r0, .L79
  4482. 1012 00d8 4FF4B371 mov r1, #358
  4483. 1013 00dc FFF7FEFF bl assert_failed
  4484. 1014 .LVL69:
  4485. 1015 00e0 B1E7 b .L68
  4486. 1016 .LVL70:
  4487. 1017 .L75:
  4488. 354:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_ENABLE(MPU_Init->Enable));
  4489. 1018 .loc 1 354 3 discriminator 1 view .LVU258
  4490. 1019 00e2 0948 ldr r0, .L79
  4491. 1020 .LVL71:
  4492. 354:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_ENABLE(MPU_Init->Enable));
  4493. 1021 .loc 1 354 3 discriminator 1 view .LVU259
  4494. 1022 00e4 4FF4B171 mov r1, #354
  4495. 1023 00e8 FFF7FEFF bl assert_failed
  4496. 1024 .LVL72:
  4497. 1025 00ec 8DE7 b .L64
  4498. 1026 .L78:
  4499. 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4500. 1027 .loc 1 363 3 discriminator 1 view .LVU260
  4501. 1028 00ee 0648 ldr r0, .L79
  4502. 1029 00f0 40F26B11 movw r1, #363
  4503. 1030 00f4 FFF7FEFF bl assert_failed
  4504. 1031 .LVL73:
  4505. 380:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** ((uint32_t)MPU_Init->Enable << MPU_RASR_ENABLE_Pos);
  4506. 1032 .loc 1 380 34 discriminator 1 view .LVU261
  4507. 1033 00f8 207A ldrb r0, [r4, #8] @ zero_extendqisi2
  4508. 1034 00fa C3E7 b .L73
  4509. 1035 .L77:
  4510. 362:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_MPU_REGION_SIZE(MPU_Init->Size));
  4511. 1036 .loc 1 362 3 discriminator 1 view .LVU262
  4512. 1037 00fc 0248 ldr r0, .L79
  4513. 1038 00fe 4FF4B571 mov r1, #362
  4514. 1039 0102 FFF7FEFF bl assert_failed
  4515. 1040 .LVL74:
  4516. 1041 0106 B9E7 b .L72
  4517. 1042 .L80:
  4518. 1043 .align 2
  4519. 1044 .L79:
  4520. 1045 0108 00000000 .word .LC0
  4521. 1046 010c 00ED00E0 .word -536810240
  4522. 1047 .cfi_endproc
  4523. 1048 .LFE140:
  4524. 1050 .section .text.HAL_NVIC_GetPriorityGrouping,"ax",%progbits
  4525. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 79
  4526. 1051 .align 1
  4527. 1052 .p2align 2,,3
  4528. 1053 .global HAL_NVIC_GetPriorityGrouping
  4529. 1054 .syntax unified
  4530. 1055 .thumb
  4531. 1056 .thumb_func
  4532. 1058 HAL_NVIC_GetPriorityGrouping:
  4533. 1059 .LFB141:
  4534. 383:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** #endif /* __MPU_PRESENT */
  4535. 384:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4536. 385:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  4537. 386:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Gets the priority grouping field from the NVIC Interrupt Controller.
  4538. 387:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field)
  4539. 388:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  4540. 389:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** uint32_t HAL_NVIC_GetPriorityGrouping(void)
  4541. 390:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  4542. 1060 .loc 1 390 1 is_stmt 1 view -0
  4543. 1061 .cfi_startproc
  4544. 1062 @ args = 0, pretend = 0, frame = 0
  4545. 1063 @ frame_needed = 0, uses_anonymous_args = 0
  4546. 1064 @ link register save eliminated.
  4547. 391:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Get the PRIGROUP[10:8] field value */
  4548. 392:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** return NVIC_GetPriorityGrouping();
  4549. 1065 .loc 1 392 3 view .LVU264
  4550. 1066 .LBB92:
  4551. 1067 .LBI92:
  4552. 1676:Drivers/CMSIS/Include/core_cm4.h **** {
  4553. 1068 .loc 2 1676 26 view .LVU265
  4554. 1069 .LBB93:
  4555. 1678:Drivers/CMSIS/Include/core_cm4.h **** }
  4556. 1070 .loc 2 1678 3 view .LVU266
  4557. 1678:Drivers/CMSIS/Include/core_cm4.h **** }
  4558. 1071 .loc 2 1678 26 is_stmt 0 view .LVU267
  4559. 1072 0000 024B ldr r3, .L82
  4560. 1073 0002 D868 ldr r0, [r3, #12]
  4561. 1074 .LBE93:
  4562. 1075 .LBE92:
  4563. 393:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  4564. 1076 .loc 1 393 1 view .LVU268
  4565. 1077 0004 C0F30220 ubfx r0, r0, #8, #3
  4566. 1078 0008 7047 bx lr
  4567. 1079 .L83:
  4568. 1080 000a 00BF .align 2
  4569. 1081 .L82:
  4570. 1082 000c 00ED00E0 .word -536810240
  4571. 1083 .cfi_endproc
  4572. 1084 .LFE141:
  4573. 1086 .section .text.HAL_NVIC_GetPriority,"ax",%progbits
  4574. 1087 .align 1
  4575. 1088 .p2align 2,,3
  4576. 1089 .global HAL_NVIC_GetPriority
  4577. 1090 .syntax unified
  4578. 1091 .thumb
  4579. 1092 .thumb_func
  4580. 1094 HAL_NVIC_GetPriority:
  4581. 1095 .LVL75:
  4582. 1096 .LFB142:
  4583. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 80
  4584. 394:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4585. 395:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  4586. 396:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Gets the priority of an interrupt.
  4587. 397:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
  4588. 398:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4589. 399:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4590. 400:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param PriorityGroup: the priority grouping bits length.
  4591. 401:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be one of the following values:
  4592. 402:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_0: 0 bits for pre-emption priority
  4593. 403:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 4 bits for subpriority
  4594. 404:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_1: 1 bits for pre-emption priority
  4595. 405:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 3 bits for subpriority
  4596. 406:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_2: 2 bits for pre-emption priority
  4597. 407:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 2 bits for subpriority
  4598. 408:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_3: 3 bits for pre-emption priority
  4599. 409:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 1 bits for subpriority
  4600. 410:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_4: 4 bits for pre-emption priority
  4601. 411:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * 0 bits for subpriority
  4602. 412:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param pPreemptPriority Pointer on the Preemptive priority value (starting from 0).
  4603. 413:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param pSubPriority Pointer on the Subpriority value (starting from 0).
  4604. 414:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  4605. 415:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  4606. 416:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_GetPriority(IRQn_Type IRQn, uint32_t PriorityGroup, uint32_t* pPreemptPriority, uint3
  4607. 417:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  4608. 1097 .loc 1 417 1 is_stmt 1 view -0
  4609. 1098 .cfi_startproc
  4610. 1099 @ args = 0, pretend = 0, frame = 0
  4611. 1100 @ frame_needed = 0, uses_anonymous_args = 0
  4612. 418:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  4613. 419:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup));
  4614. 1101 .loc 1 419 3 view .LVU270
  4615. 417:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  4616. 1102 .loc 1 417 1 is_stmt 0 view .LVU271
  4617. 1103 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
  4618. 1104 .LCFI7:
  4619. 1105 .cfi_def_cfa_offset 24
  4620. 1106 .cfi_offset 3, -24
  4621. 1107 .cfi_offset 4, -20
  4622. 1108 .cfi_offset 5, -16
  4623. 1109 .cfi_offset 6, -12
  4624. 1110 .cfi_offset 7, -8
  4625. 1111 .cfi_offset 14, -4
  4626. 417:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  4627. 1112 .loc 1 417 1 view .LVU272
  4628. 1113 0002 0D46 mov r5, r1
  4629. 1114 .loc 1 419 3 view .LVU273
  4630. 1115 0004 0339 subs r1, r1, #3
  4631. 1116 .LVL76:
  4632. 1117 .loc 1 419 3 view .LVU274
  4633. 1118 0006 0429 cmp r1, #4
  4634. 417:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  4635. 1119 .loc 1 417 1 view .LVU275
  4636. 1120 0008 0446 mov r4, r0
  4637. 1121 000a 1746 mov r7, r2
  4638. 1122 000c 1E46 mov r6, r3
  4639. 1123 .loc 1 419 3 view .LVU276
  4640. 1124 000e 2BD8 bhi .L91
  4641. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 81
  4642. 1125 .LVL77:
  4643. 1126 .L85:
  4644. 420:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Get priority for Cortex-M system or device specific interrupts */
  4645. 421:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_DecodePriority(NVIC_GetPriority(IRQn), PriorityGroup, pPreemptPriority, pSubPriority);
  4646. 1127 .loc 1 421 3 is_stmt 1 view .LVU277
  4647. 1128 .LBB98:
  4648. 1129 .LBI98:
  4649. 1838:Drivers/CMSIS/Include/core_cm4.h **** {
  4650. 1130 .loc 2 1838 26 view .LVU278
  4651. 1131 .LBB99:
  4652. 1841:Drivers/CMSIS/Include/core_cm4.h **** {
  4653. 1132 .loc 2 1841 3 view .LVU279
  4654. 1841:Drivers/CMSIS/Include/core_cm4.h **** {
  4655. 1133 .loc 2 1841 6 is_stmt 0 view .LVU280
  4656. 1134 0010 002C cmp r4, #0
  4657. 1135 0012 22DB blt .L86
  4658. 1843:Drivers/CMSIS/Include/core_cm4.h **** }
  4659. 1136 .loc 2 1843 5 is_stmt 1 view .LVU281
  4660. 1843:Drivers/CMSIS/Include/core_cm4.h **** }
  4661. 1137 .loc 2 1843 31 is_stmt 0 view .LVU282
  4662. 1138 0014 04F16044 add r4, r4, #-536870912
  4663. 1139 .LVL78:
  4664. 1843:Drivers/CMSIS/Include/core_cm4.h **** }
  4665. 1140 .loc 2 1843 31 view .LVU283
  4666. 1141 0018 04F56144 add r4, r4, #57600
  4667. 1142 001c 94F80003 ldrb r0, [r4, #768] @ zero_extendqisi2
  4668. 1843:Drivers/CMSIS/Include/core_cm4.h **** }
  4669. 1143 .loc 2 1843 64 view .LVU284
  4670. 1144 0020 0009 lsrs r0, r0, #4
  4671. 1145 .L87:
  4672. 1146 .LVL79:
  4673. 1843:Drivers/CMSIS/Include/core_cm4.h **** }
  4674. 1147 .loc 2 1843 64 view .LVU285
  4675. 1148 .LBE99:
  4676. 1149 .LBE98:
  4677. 1150 .LBB101:
  4678. 1151 .LBI101:
  4679. 1890:Drivers/CMSIS/Include/core_cm4.h **** {
  4680. 1152 .loc 2 1890 22 is_stmt 1 view .LVU286
  4681. 1153 .LBB102:
  4682. 1892:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PreemptPriorityBits;
  4683. 1154 .loc 2 1892 3 view .LVU287
  4684. 1892:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PreemptPriorityBits;
  4685. 1155 .loc 2 1892 12 is_stmt 0 view .LVU288
  4686. 1156 0022 05F00701 and r1, r5, #7
  4687. 1157 .LVL80:
  4688. 1893:Drivers/CMSIS/Include/core_cm4.h **** uint32_t SubPriorityBits;
  4689. 1158 .loc 2 1893 3 is_stmt 1 view .LVU289
  4690. 1894:Drivers/CMSIS/Include/core_cm4.h ****
  4691. 1159 .loc 2 1894 3 view .LVU290
  4692. 1896:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  4693. 1160 .loc 2 1896 3 view .LVU291
  4694. 1896:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  4695. 1161 .loc 2 1896 31 is_stmt 0 view .LVU292
  4696. 1162 0026 C1F10704 rsb r4, r1, #7
  4697. 1896:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  4698. 1163 .loc 2 1896 23 view .LVU293
  4699. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 82
  4700. 1164 002a 042C cmp r4, #4
  4701. 1897:Drivers/CMSIS/Include/core_cm4.h ****
  4702. 1165 .loc 2 1897 44 view .LVU294
  4703. 1166 002c 01F10403 add r3, r1, #4
  4704. 1896:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  4705. 1167 .loc 2 1896 23 view .LVU295
  4706. 1168 0030 28BF it cs
  4707. 1169 0032 0424 movcs r4, #4
  4708. 1170 .LVL81:
  4709. 1897:Drivers/CMSIS/Include/core_cm4.h ****
  4710. 1171 .loc 2 1897 3 is_stmt 1 view .LVU296
  4711. 1897:Drivers/CMSIS/Include/core_cm4.h ****
  4712. 1172 .loc 2 1897 109 is_stmt 0 view .LVU297
  4713. 1173 0034 062B cmp r3, #6
  4714. 1174 0036 0ED9 bls .L89
  4715. 1175 0038 0339 subs r1, r1, #3
  4716. 1176 .LVL82:
  4717. 1900:Drivers/CMSIS/Include/core_cm4.h **** }
  4718. 1177 .loc 2 1900 53 view .LVU298
  4719. 1178 003a 4FF0FF33 mov r3, #-1
  4720. 1179 003e 8B40 lsls r3, r3, r1
  4721. 1180 0040 20EA0303 bic r3, r0, r3
  4722. 1181 0044 C840 lsrs r0, r0, r1
  4723. 1182 .LVL83:
  4724. 1183 .L88:
  4725. 1899:Drivers/CMSIS/Include/core_cm4.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  4726. 1184 .loc 2 1899 3 is_stmt 1 view .LVU299
  4727. 1899:Drivers/CMSIS/Include/core_cm4.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  4728. 1185 .loc 2 1899 53 is_stmt 0 view .LVU300
  4729. 1186 0046 4FF0FF32 mov r2, #-1
  4730. 1187 004a A240 lsls r2, r2, r4
  4731. 1188 004c 20EA0200 bic r0, r0, r2
  4732. 1899:Drivers/CMSIS/Include/core_cm4.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  4733. 1189 .loc 2 1899 21 view .LVU301
  4734. 1190 0050 3860 str r0, [r7]
  4735. 1900:Drivers/CMSIS/Include/core_cm4.h **** }
  4736. 1191 .loc 2 1900 3 is_stmt 1 view .LVU302
  4737. 1900:Drivers/CMSIS/Include/core_cm4.h **** }
  4738. 1192 .loc 2 1900 21 is_stmt 0 view .LVU303
  4739. 1193 0052 3360 str r3, [r6]
  4740. 1194 .LVL84:
  4741. 1900:Drivers/CMSIS/Include/core_cm4.h **** }
  4742. 1195 .loc 2 1900 21 view .LVU304
  4743. 1196 .LBE102:
  4744. 1197 .LBE101:
  4745. 422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  4746. 1198 .loc 1 422 1 view .LVU305
  4747. 1199 0054 F8BD pop {r3, r4, r5, r6, r7, pc}
  4748. 1200 .LVL85:
  4749. 1201 .L89:
  4750. 1202 .LBB104:
  4751. 1203 .LBB103:
  4752. 1204 .loc 1 422 1 view .LVU306
  4753. 1205 0056 0023 movs r3, #0
  4754. 1206 0058 F5E7 b .L88
  4755. 1207 .LVL86:
  4756. 1208 .L86:
  4757. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 83
  4758. 1209 .loc 1 422 1 view .LVU307
  4759. 1210 .LBE103:
  4760. 1211 .LBE104:
  4761. 1212 .LBB105:
  4762. 1213 .LBB100:
  4763. 1847:Drivers/CMSIS/Include/core_cm4.h **** }
  4764. 1214 .loc 2 1847 5 is_stmt 1 view .LVU308
  4765. 1847:Drivers/CMSIS/Include/core_cm4.h **** }
  4766. 1215 .loc 2 1847 31 is_stmt 0 view .LVU309
  4767. 1216 005a 064B ldr r3, .L92
  4768. 1847:Drivers/CMSIS/Include/core_cm4.h **** }
  4769. 1217 .loc 2 1847 50 view .LVU310
  4770. 1218 005c 04F00F04 and r4, r4, #15
  4771. 1219 .LVL87:
  4772. 1847:Drivers/CMSIS/Include/core_cm4.h **** }
  4773. 1220 .loc 2 1847 31 view .LVU311
  4774. 1221 0060 2344 add r3, r3, r4
  4775. 1222 0062 187E ldrb r0, [r3, #24] @ zero_extendqisi2
  4776. 1847:Drivers/CMSIS/Include/core_cm4.h **** }
  4777. 1223 .loc 2 1847 64 view .LVU312
  4778. 1224 0064 0009 lsrs r0, r0, #4
  4779. 1225 0066 DCE7 b .L87
  4780. 1226 .LVL88:
  4781. 1227 .L91:
  4782. 1847:Drivers/CMSIS/Include/core_cm4.h **** }
  4783. 1228 .loc 2 1847 64 view .LVU313
  4784. 1229 .LBE100:
  4785. 1230 .LBE105:
  4786. 419:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Get priority for Cortex-M system or device specific interrupts */
  4787. 1231 .loc 1 419 3 discriminator 1 view .LVU314
  4788. 1232 0068 0348 ldr r0, .L92+4
  4789. 1233 .LVL89:
  4790. 419:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Get priority for Cortex-M system or device specific interrupts */
  4791. 1234 .loc 1 419 3 discriminator 1 view .LVU315
  4792. 1235 006a 40F2A311 movw r1, #419
  4793. 1236 006e FFF7FEFF bl assert_failed
  4794. 1237 .LVL90:
  4795. 419:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Get priority for Cortex-M system or device specific interrupts */
  4796. 1238 .loc 1 419 3 discriminator 1 view .LVU316
  4797. 1239 0072 CDE7 b .L85
  4798. 1240 .L93:
  4799. 1241 .align 2
  4800. 1242 .L92:
  4801. 1243 0074 FCEC00E0 .word -536810244
  4802. 1244 0078 00000000 .word .LC0
  4803. 1245 .cfi_endproc
  4804. 1246 .LFE142:
  4805. 1248 .section .text.HAL_NVIC_SetPendingIRQ,"ax",%progbits
  4806. 1249 .align 1
  4807. 1250 .p2align 2,,3
  4808. 1251 .global HAL_NVIC_SetPendingIRQ
  4809. 1252 .syntax unified
  4810. 1253 .thumb
  4811. 1254 .thumb_func
  4812. 1256 HAL_NVIC_SetPendingIRQ:
  4813. 1257 .LVL91:
  4814. 1258 .LFB143:
  4815. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 84
  4816. 423:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4817. 424:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  4818. 425:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Sets Pending bit of an external interrupt.
  4819. 426:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
  4820. 427:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4821. 428:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4822. 429:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  4823. 430:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  4824. 431:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_SetPendingIRQ(IRQn_Type IRQn)
  4825. 432:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  4826. 1259 .loc 1 432 1 is_stmt 1 view -0
  4827. 1260 .cfi_startproc
  4828. 1261 @ args = 0, pretend = 0, frame = 0
  4829. 1262 @ frame_needed = 0, uses_anonymous_args = 0
  4830. 1263 @ link register save eliminated.
  4831. 433:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Set interrupt pending */
  4832. 434:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_SetPendingIRQ(IRQn);
  4833. 1264 .loc 1 434 3 view .LVU318
  4834. 1265 .LBB106:
  4835. 1266 .LBI106:
  4836. 1762:Drivers/CMSIS/Include/core_cm4.h **** {
  4837. 1267 .loc 2 1762 22 view .LVU319
  4838. 1268 .LBB107:
  4839. 1764:Drivers/CMSIS/Include/core_cm4.h **** {
  4840. 1269 .loc 2 1764 3 view .LVU320
  4841. 1764:Drivers/CMSIS/Include/core_cm4.h **** {
  4842. 1270 .loc 2 1764 6 is_stmt 0 view .LVU321
  4843. 1271 0000 0028 cmp r0, #0
  4844. 1272 .LVL92:
  4845. 1764:Drivers/CMSIS/Include/core_cm4.h **** {
  4846. 1273 .loc 2 1764 6 view .LVU322
  4847. 1274 0002 09DB blt .L94
  4848. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4849. 1275 .loc 2 1766 5 is_stmt 1 view .LVU323
  4850. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4851. 1276 .loc 2 1766 34 is_stmt 0 view .LVU324
  4852. 1277 0004 4309 lsrs r3, r0, #5
  4853. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4854. 1278 .loc 2 1766 43 view .LVU325
  4855. 1279 0006 0549 ldr r1, .L96
  4856. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4857. 1280 .loc 2 1766 81 view .LVU326
  4858. 1281 0008 00F01F00 and r0, r0, #31
  4859. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4860. 1282 .loc 2 1766 45 view .LVU327
  4861. 1283 000c 0122 movs r2, #1
  4862. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4863. 1284 .loc 2 1766 43 view .LVU328
  4864. 1285 000e 4033 adds r3, r3, #64
  4865. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4866. 1286 .loc 2 1766 45 view .LVU329
  4867. 1287 0010 02FA00F0 lsl r0, r2, r0
  4868. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4869. 1288 .loc 2 1766 43 view .LVU330
  4870. 1289 0014 41F82300 str r0, [r1, r3, lsl #2]
  4871. 1290 .LVL93:
  4872. 1291 .L94:
  4873. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 85
  4874. 1766:Drivers/CMSIS/Include/core_cm4.h **** }
  4875. 1292 .loc 2 1766 43 view .LVU331
  4876. 1293 .LBE107:
  4877. 1294 .LBE106:
  4878. 435:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  4879. 1295 .loc 1 435 1 view .LVU332
  4880. 1296 0018 7047 bx lr
  4881. 1297 .L97:
  4882. 1298 001a 00BF .align 2
  4883. 1299 .L96:
  4884. 1300 001c 00E100E0 .word -536813312
  4885. 1301 .cfi_endproc
  4886. 1302 .LFE143:
  4887. 1304 .section .text.HAL_NVIC_GetPendingIRQ,"ax",%progbits
  4888. 1305 .align 1
  4889. 1306 .p2align 2,,3
  4890. 1307 .global HAL_NVIC_GetPendingIRQ
  4891. 1308 .syntax unified
  4892. 1309 .thumb
  4893. 1310 .thumb_func
  4894. 1312 HAL_NVIC_GetPendingIRQ:
  4895. 1313 .LVL94:
  4896. 1314 .LFB144:
  4897. 436:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4898. 437:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  4899. 438:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Gets Pending Interrupt (reads the pending register in the NVIC
  4900. 439:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * and returns the pending bit for the specified interrupt).
  4901. 440:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
  4902. 441:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4903. 442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4904. 443:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval status: - 0 Interrupt status is not pending.
  4905. 444:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * - 1 Interrupt status is pending.
  4906. 445:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  4907. 446:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** uint32_t HAL_NVIC_GetPendingIRQ(IRQn_Type IRQn)
  4908. 447:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  4909. 1315 .loc 1 447 1 is_stmt 1 view -0
  4910. 1316 .cfi_startproc
  4911. 1317 @ args = 0, pretend = 0, frame = 0
  4912. 1318 @ frame_needed = 0, uses_anonymous_args = 0
  4913. 1319 @ link register save eliminated.
  4914. 448:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Return 1 if pending else 0U */
  4915. 449:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** return NVIC_GetPendingIRQ(IRQn);
  4916. 1320 .loc 1 449 3 view .LVU334
  4917. 1321 .LBB108:
  4918. 1322 .LBI108:
  4919. 1743:Drivers/CMSIS/Include/core_cm4.h **** {
  4920. 1323 .loc 2 1743 26 view .LVU335
  4921. 1324 .LBB109:
  4922. 1745:Drivers/CMSIS/Include/core_cm4.h **** {
  4923. 1325 .loc 2 1745 3 view .LVU336
  4924. 1745:Drivers/CMSIS/Include/core_cm4.h **** {
  4925. 1326 .loc 2 1745 6 is_stmt 0 view .LVU337
  4926. 1327 0000 0028 cmp r0, #0
  4927. 1328 .LVL95:
  4928. 1745:Drivers/CMSIS/Include/core_cm4.h **** {
  4929. 1329 .loc 2 1745 6 view .LVU338
  4930. 1330 0002 0BDB blt .L100
  4931. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 86
  4932. 1747:Drivers/CMSIS/Include/core_cm4.h **** }
  4933. 1331 .loc 2 1747 5 is_stmt 1 view .LVU339
  4934. 1747:Drivers/CMSIS/Include/core_cm4.h **** }
  4935. 1332 .loc 2 1747 54 is_stmt 0 view .LVU340
  4936. 1333 0004 4309 lsrs r3, r0, #5
  4937. 1747:Drivers/CMSIS/Include/core_cm4.h **** }
  4938. 1334 .loc 2 1747 35 view .LVU341
  4939. 1335 0006 064A ldr r2, .L101
  4940. 1336 0008 4033 adds r3, r3, #64
  4941. 1747:Drivers/CMSIS/Include/core_cm4.h **** }
  4942. 1337 .loc 2 1747 91 view .LVU342
  4943. 1338 000a 00F01F00 and r0, r0, #31
  4944. 1747:Drivers/CMSIS/Include/core_cm4.h **** }
  4945. 1339 .loc 2 1747 35 view .LVU343
  4946. 1340 000e 52F82330 ldr r3, [r2, r3, lsl #2]
  4947. 1747:Drivers/CMSIS/Include/core_cm4.h **** }
  4948. 1341 .loc 2 1747 103 view .LVU344
  4949. 1342 0012 23FA00F0 lsr r0, r3, r0
  4950. 1747:Drivers/CMSIS/Include/core_cm4.h **** }
  4951. 1343 .loc 2 1747 12 view .LVU345
  4952. 1344 0016 00F00100 and r0, r0, #1
  4953. 1345 001a 7047 bx lr
  4954. 1346 .L100:
  4955. 1751:Drivers/CMSIS/Include/core_cm4.h **** }
  4956. 1347 .loc 2 1751 11 view .LVU346
  4957. 1348 001c 0020 movs r0, #0
  4958. 1349 .LVL96:
  4959. 1751:Drivers/CMSIS/Include/core_cm4.h **** }
  4960. 1350 .loc 2 1751 11 view .LVU347
  4961. 1351 .LBE109:
  4962. 1352 .LBE108:
  4963. 450:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  4964. 1353 .loc 1 450 1 view .LVU348
  4965. 1354 001e 7047 bx lr
  4966. 1355 .L102:
  4967. 1356 .align 2
  4968. 1357 .L101:
  4969. 1358 0020 00E100E0 .word -536813312
  4970. 1359 .cfi_endproc
  4971. 1360 .LFE144:
  4972. 1362 .section .text.HAL_NVIC_ClearPendingIRQ,"ax",%progbits
  4973. 1363 .align 1
  4974. 1364 .p2align 2,,3
  4975. 1365 .global HAL_NVIC_ClearPendingIRQ
  4976. 1366 .syntax unified
  4977. 1367 .thumb
  4978. 1368 .thumb_func
  4979. 1370 HAL_NVIC_ClearPendingIRQ:
  4980. 1371 .LVL97:
  4981. 1372 .LFB145:
  4982. 451:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  4983. 452:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  4984. 453:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Clears the pending bit of an external interrupt.
  4985. 454:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
  4986. 455:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4987. 456:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4988. 457:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  4989. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 87
  4990. 458:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  4991. 459:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_NVIC_ClearPendingIRQ(IRQn_Type IRQn)
  4992. 460:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  4993. 1373 .loc 1 460 1 is_stmt 1 view -0
  4994. 1374 .cfi_startproc
  4995. 1375 @ args = 0, pretend = 0, frame = 0
  4996. 1376 @ frame_needed = 0, uses_anonymous_args = 0
  4997. 1377 @ link register save eliminated.
  4998. 461:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Clear pending interrupt */
  4999. 462:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** NVIC_ClearPendingIRQ(IRQn);
  5000. 1378 .loc 1 462 3 view .LVU350
  5001. 1379 .LBB110:
  5002. 1380 .LBI110:
  5003. 1777:Drivers/CMSIS/Include/core_cm4.h **** {
  5004. 1381 .loc 2 1777 22 view .LVU351
  5005. 1382 .LBB111:
  5006. 1779:Drivers/CMSIS/Include/core_cm4.h **** {
  5007. 1383 .loc 2 1779 3 view .LVU352
  5008. 1779:Drivers/CMSIS/Include/core_cm4.h **** {
  5009. 1384 .loc 2 1779 6 is_stmt 0 view .LVU353
  5010. 1385 0000 0028 cmp r0, #0
  5011. 1386 .LVL98:
  5012. 1779:Drivers/CMSIS/Include/core_cm4.h **** {
  5013. 1387 .loc 2 1779 6 view .LVU354
  5014. 1388 0002 09DB blt .L103
  5015. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  5016. 1389 .loc 2 1781 5 is_stmt 1 view .LVU355
  5017. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  5018. 1390 .loc 2 1781 34 is_stmt 0 view .LVU356
  5019. 1391 0004 4309 lsrs r3, r0, #5
  5020. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  5021. 1392 .loc 2 1781 43 view .LVU357
  5022. 1393 0006 0549 ldr r1, .L105
  5023. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  5024. 1394 .loc 2 1781 81 view .LVU358
  5025. 1395 0008 00F01F00 and r0, r0, #31
  5026. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  5027. 1396 .loc 2 1781 45 view .LVU359
  5028. 1397 000c 0122 movs r2, #1
  5029. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  5030. 1398 .loc 2 1781 43 view .LVU360
  5031. 1399 000e 6033 adds r3, r3, #96
  5032. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  5033. 1400 .loc 2 1781 45 view .LVU361
  5034. 1401 0010 02FA00F0 lsl r0, r2, r0
  5035. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  5036. 1402 .loc 2 1781 43 view .LVU362
  5037. 1403 0014 41F82300 str r0, [r1, r3, lsl #2]
  5038. 1404 .LVL99:
  5039. 1405 .L103:
  5040. 1781:Drivers/CMSIS/Include/core_cm4.h **** }
  5041. 1406 .loc 2 1781 43 view .LVU363
  5042. 1407 .LBE111:
  5043. 1408 .LBE110:
  5044. 463:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  5045. 1409 .loc 1 463 1 view .LVU364
  5046. 1410 0018 7047 bx lr
  5047. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 88
  5048. 1411 .L106:
  5049. 1412 001a 00BF .align 2
  5050. 1413 .L105:
  5051. 1414 001c 00E100E0 .word -536813312
  5052. 1415 .cfi_endproc
  5053. 1416 .LFE145:
  5054. 1418 .section .text.HAL_NVIC_GetActive,"ax",%progbits
  5055. 1419 .align 1
  5056. 1420 .p2align 2,,3
  5057. 1421 .global HAL_NVIC_GetActive
  5058. 1422 .syntax unified
  5059. 1423 .thumb
  5060. 1424 .thumb_func
  5061. 1426 HAL_NVIC_GetActive:
  5062. 1427 .LVL100:
  5063. 1428 .LFB146:
  5064. 464:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  5065. 465:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  5066. 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).
  5067. 467:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param IRQn External interrupt number
  5068. 468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  5069. 469:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  5070. 470:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval status: - 0 Interrupt status is not pending.
  5071. 471:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * - 1 Interrupt status is pending.
  5072. 472:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  5073. 473:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** uint32_t HAL_NVIC_GetActive(IRQn_Type IRQn)
  5074. 474:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  5075. 1429 .loc 1 474 1 is_stmt 1 view -0
  5076. 1430 .cfi_startproc
  5077. 1431 @ args = 0, pretend = 0, frame = 0
  5078. 1432 @ frame_needed = 0, uses_anonymous_args = 0
  5079. 1433 @ link register save eliminated.
  5080. 475:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Return 1 if active else 0U */
  5081. 476:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** return NVIC_GetActive(IRQn);
  5082. 1434 .loc 1 476 3 view .LVU366
  5083. 1435 .LBB112:
  5084. 1436 .LBI112:
  5085. 1794:Drivers/CMSIS/Include/core_cm4.h **** {
  5086. 1437 .loc 2 1794 26 view .LVU367
  5087. 1438 .LBB113:
  5088. 1796:Drivers/CMSIS/Include/core_cm4.h **** {
  5089. 1439 .loc 2 1796 3 view .LVU368
  5090. 1796:Drivers/CMSIS/Include/core_cm4.h **** {
  5091. 1440 .loc 2 1796 6 is_stmt 0 view .LVU369
  5092. 1441 0000 0028 cmp r0, #0
  5093. 1442 .LVL101:
  5094. 1796:Drivers/CMSIS/Include/core_cm4.h **** {
  5095. 1443 .loc 2 1796 6 view .LVU370
  5096. 1444 0002 0BDB blt .L109
  5097. 1798:Drivers/CMSIS/Include/core_cm4.h **** }
  5098. 1445 .loc 2 1798 5 is_stmt 1 view .LVU371
  5099. 1798:Drivers/CMSIS/Include/core_cm4.h **** }
  5100. 1446 .loc 2 1798 54 is_stmt 0 view .LVU372
  5101. 1447 0004 4309 lsrs r3, r0, #5
  5102. 1798:Drivers/CMSIS/Include/core_cm4.h **** }
  5103. 1448 .loc 2 1798 35 view .LVU373
  5104. 1449 0006 064A ldr r2, .L110
  5105. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 89
  5106. 1450 0008 8033 adds r3, r3, #128
  5107. 1798:Drivers/CMSIS/Include/core_cm4.h **** }
  5108. 1451 .loc 2 1798 91 view .LVU374
  5109. 1452 000a 00F01F00 and r0, r0, #31
  5110. 1798:Drivers/CMSIS/Include/core_cm4.h **** }
  5111. 1453 .loc 2 1798 35 view .LVU375
  5112. 1454 000e 52F82330 ldr r3, [r2, r3, lsl #2]
  5113. 1798:Drivers/CMSIS/Include/core_cm4.h **** }
  5114. 1455 .loc 2 1798 103 view .LVU376
  5115. 1456 0012 23FA00F0 lsr r0, r3, r0
  5116. 1798:Drivers/CMSIS/Include/core_cm4.h **** }
  5117. 1457 .loc 2 1798 12 view .LVU377
  5118. 1458 0016 00F00100 and r0, r0, #1
  5119. 1459 001a 7047 bx lr
  5120. 1460 .L109:
  5121. 1802:Drivers/CMSIS/Include/core_cm4.h **** }
  5122. 1461 .loc 2 1802 11 view .LVU378
  5123. 1462 001c 0020 movs r0, #0
  5124. 1463 .LVL102:
  5125. 1802:Drivers/CMSIS/Include/core_cm4.h **** }
  5126. 1464 .loc 2 1802 11 view .LVU379
  5127. 1465 .LBE113:
  5128. 1466 .LBE112:
  5129. 477:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  5130. 1467 .loc 1 477 1 view .LVU380
  5131. 1468 001e 7047 bx lr
  5132. 1469 .L111:
  5133. 1470 .align 2
  5134. 1471 .L110:
  5135. 1472 0020 00E100E0 .word -536813312
  5136. 1473 .cfi_endproc
  5137. 1474 .LFE146:
  5138. 1476 .section .text.HAL_SYSTICK_CLKSourceConfig,"ax",%progbits
  5139. 1477 .align 1
  5140. 1478 .p2align 2,,3
  5141. 1479 .global HAL_SYSTICK_CLKSourceConfig
  5142. 1480 .syntax unified
  5143. 1481 .thumb
  5144. 1482 .thumb_func
  5145. 1484 HAL_SYSTICK_CLKSourceConfig:
  5146. 1485 .LVL103:
  5147. 1486 .LFB147:
  5148. 478:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  5149. 479:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  5150. 480:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief Configures the SysTick clock source.
  5151. 481:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @param CLKSource specifies the SysTick clock source.
  5152. 482:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * This parameter can be one of the following values:
  5153. 483:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg SYSTICK_CLKSOURCE_HCLK_DIV8: AHB clock divided by 8 selected as SysTick clock
  5154. 484:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @arg SYSTICK_CLKSOURCE_HCLK: AHB clock selected as SysTick clock source.
  5155. 485:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  5156. 486:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  5157. 487:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_SYSTICK_CLKSourceConfig(uint32_t CLKSource)
  5158. 488:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  5159. 1487 .loc 1 488 1 is_stmt 1 view -0
  5160. 1488 .cfi_startproc
  5161. 1489 @ args = 0, pretend = 0, frame = 0
  5162. 1490 @ frame_needed = 0, uses_anonymous_args = 0
  5163. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 90
  5164. 489:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  5165. 490:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** assert_param(IS_SYSTICK_CLK_SOURCE(CLKSource));
  5166. 1491 .loc 1 490 3 view .LVU382
  5167. 1492 0000 0428 cmp r0, #4
  5168. 488:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* Check the parameters */
  5169. 1493 .loc 1 488 1 is_stmt 0 view .LVU383
  5170. 1494 0002 08B5 push {r3, lr}
  5171. 1495 .LCFI8:
  5172. 1496 .cfi_def_cfa_offset 8
  5173. 1497 .cfi_offset 3, -8
  5174. 1498 .cfi_offset 14, -4
  5175. 1499 .loc 1 490 3 view .LVU384
  5176. 1500 0004 13D0 beq .L113
  5177. 1501 .loc 1 490 3 discriminator 1 view .LVU385
  5178. 1502 0006 30B9 cbnz r0, .L120
  5179. 491:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** if (CLKSource == SYSTICK_CLKSOURCE_HCLK)
  5180. 1503 .loc 1 491 3 is_stmt 1 view .LVU386
  5181. 492:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  5182. 493:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** SysTick->CTRL |= SYSTICK_CLKSOURCE_HCLK;
  5183. 494:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  5184. 495:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** else
  5185. 496:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  5186. 497:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** SysTick->CTRL &= ~SYSTICK_CLKSOURCE_HCLK;
  5187. 1504 .loc 1 497 5 view .LVU387
  5188. 1505 .loc 1 497 19 is_stmt 0 view .LVU388
  5189. 1506 0008 4FF0E022 mov r2, #-536813568
  5190. 1507 000c 1369 ldr r3, [r2, #16]
  5191. 1508 000e 23F00403 bic r3, r3, #4
  5192. 1509 0012 1361 str r3, [r2, #16]
  5193. 1510 .LVL104:
  5194. 1511 .L112:
  5195. 498:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  5196. 499:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  5197. 1512 .loc 1 499 1 view .LVU389
  5198. 1513 0014 08BD pop {r3, pc}
  5199. 1514 .LVL105:
  5200. 1515 .L120:
  5201. 490:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** if (CLKSource == SYSTICK_CLKSOURCE_HCLK)
  5202. 1516 .loc 1 490 3 discriminator 2 view .LVU390
  5203. 1517 0016 0948 ldr r0, .L121
  5204. 1518 .LVL106:
  5205. 490:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** if (CLKSource == SYSTICK_CLKSOURCE_HCLK)
  5206. 1519 .loc 1 490 3 discriminator 2 view .LVU391
  5207. 1520 0018 4FF4F571 mov r1, #490
  5208. 1521 001c FFF7FEFF bl assert_failed
  5209. 1522 .LVL107:
  5210. 491:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  5211. 1523 .loc 1 491 3 is_stmt 1 discriminator 2 view .LVU392
  5212. 497:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  5213. 1524 .loc 1 497 5 discriminator 2 view .LVU393
  5214. 497:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  5215. 1525 .loc 1 497 19 is_stmt 0 discriminator 2 view .LVU394
  5216. 1526 0020 4FF0E022 mov r2, #-536813568
  5217. 1527 0024 1369 ldr r3, [r2, #16]
  5218. 1528 0026 23F00403 bic r3, r3, #4
  5219. 1529 002a 1361 str r3, [r2, #16]
  5220. 1530 002c F2E7 b .L112
  5221. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 91
  5222. 1531 .LVL108:
  5223. 1532 .L113:
  5224. 491:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  5225. 1533 .loc 1 491 3 is_stmt 1 view .LVU395
  5226. 493:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  5227. 1534 .loc 1 493 5 view .LVU396
  5228. 493:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  5229. 1535 .loc 1 493 19 is_stmt 0 view .LVU397
  5230. 1536 002e 4FF0E022 mov r2, #-536813568
  5231. 1537 0032 1369 ldr r3, [r2, #16]
  5232. 1538 0034 43F00403 orr r3, r3, #4
  5233. 1539 0038 1361 str r3, [r2, #16]
  5234. 1540 .loc 1 499 1 view .LVU398
  5235. 1541 003a 08BD pop {r3, pc}
  5236. 1542 .L122:
  5237. 1543 .align 2
  5238. 1544 .L121:
  5239. 1545 003c 00000000 .word .LC0
  5240. 1546 .cfi_endproc
  5241. 1547 .LFE147:
  5242. 1549 .section .text.HAL_SYSTICK_Callback,"ax",%progbits
  5243. 1550 .align 1
  5244. 1551 .p2align 2,,3
  5245. 1552 .weak HAL_SYSTICK_Callback
  5246. 1553 .syntax unified
  5247. 1554 .thumb
  5248. 1555 .thumb_func
  5249. 1557 HAL_SYSTICK_Callback:
  5250. 1558 .LFB149:
  5251. 500:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  5252. 501:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  5253. 502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief This function handles SYSTICK interrupt request.
  5254. 503:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  5255. 504:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  5256. 505:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** void HAL_SYSTICK_IRQHandler(void)
  5257. 506:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  5258. 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** HAL_SYSTICK_Callback();
  5259. 508:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  5260. 509:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  5261. 510:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /**
  5262. 511:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @brief SYSTICK callback.
  5263. 512:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** * @retval None
  5264. 513:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  5265. 514:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** __weak void HAL_SYSTICK_Callback(void)
  5266. 515:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** {
  5267. 1559 .loc 1 515 1 is_stmt 1 view -0
  5268. 1560 .cfi_startproc
  5269. 1561 @ args = 0, pretend = 0, frame = 0
  5270. 1562 @ frame_needed = 0, uses_anonymous_args = 0
  5271. 1563 @ link register save eliminated.
  5272. 516:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  5273. 517:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** the HAL_SYSTICK_Callback could be implemented in the user file
  5274. 518:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** */
  5275. 519:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  5276. 1564 .loc 1 519 1 view .LVU400
  5277. 1565 0000 7047 bx lr
  5278. 1566 .cfi_endproc
  5279. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 92
  5280. 1567 .LFE149:
  5281. 1569 0002 00BF .section .text.HAL_SYSTICK_IRQHandler,"ax",%progbits
  5282. 1570 .align 1
  5283. 1571 .p2align 2,,3
  5284. 1572 .global HAL_SYSTICK_IRQHandler
  5285. 1573 .syntax unified
  5286. 1574 .thumb
  5287. 1575 .thumb_func
  5288. 1577 HAL_SYSTICK_IRQHandler:
  5289. 1578 .LFB148:
  5290. 506:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** HAL_SYSTICK_Callback();
  5291. 1579 .loc 1 506 1 view -0
  5292. 1580 .cfi_startproc
  5293. 1581 @ args = 0, pretend = 0, frame = 0
  5294. 1582 @ frame_needed = 0, uses_anonymous_args = 0
  5295. 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  5296. 1583 .loc 1 507 3 view .LVU402
  5297. 506:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** HAL_SYSTICK_Callback();
  5298. 1584 .loc 1 506 1 is_stmt 0 view .LVU403
  5299. 1585 0000 08B5 push {r3, lr}
  5300. 1586 .LCFI9:
  5301. 1587 .cfi_def_cfa_offset 8
  5302. 1588 .cfi_offset 3, -8
  5303. 1589 .cfi_offset 14, -4
  5304. 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c **** }
  5305. 1590 .loc 1 507 3 view .LVU404
  5306. 1591 0002 FFF7FEFF bl HAL_SYSTICK_Callback
  5307. 1592 .LVL109:
  5308. 508:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c ****
  5309. 1593 .loc 1 508 1 view .LVU405
  5310. 1594 0006 08BD pop {r3, pc}
  5311. 1595 .cfi_endproc
  5312. 1596 .LFE148:
  5313. 1598 .text
  5314. 1599 .Letext0:
  5315. 1600 .file 4 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f302xc.h"
  5316. 1601 .file 5 "d:\\arm-gcc\\arm-none-eabi\\include\\machine\\_default_types.h"
  5317. 1602 .file 6 "d:\\arm-gcc\\arm-none-eabi\\include\\sys\\_stdint.h"
  5318. 1603 .file 7 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_cortex.h"
  5319. 1604 .file 8 "Core/Inc/stm32f3xx_hal_conf.h"
  5320. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 93
  5321. DEFINED SYMBOLS
  5322. *ABS*:00000000 stm32f3xx_hal_cortex.c
  5323. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:20 .rodata.HAL_NVIC_SetPriorityGrouping.str1.4:00000000 $d
  5324. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:25 .text.HAL_NVIC_SetPriorityGrouping:00000000 $t
  5325. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:32 .text.HAL_NVIC_SetPriorityGrouping:00000000 HAL_NVIC_SetPriorityGrouping
  5326. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:108 .text.HAL_NVIC_SetPriorityGrouping:00000034 $d
  5327. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:114 .text.HAL_NVIC_SetPriority:00000000 $t
  5328. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:121 .text.HAL_NVIC_SetPriority:00000000 HAL_NVIC_SetPriority
  5329. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:309 .text.HAL_NVIC_SetPriority:00000088 $d
  5330. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:316 .text.HAL_NVIC_EnableIRQ:00000000 $t
  5331. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:323 .text.HAL_NVIC_EnableIRQ:00000000 HAL_NVIC_EnableIRQ
  5332. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:369 .text.HAL_NVIC_EnableIRQ:00000020 $d
  5333. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:375 .text.HAL_NVIC_DisableIRQ:00000000 $t
  5334. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:382 .text.HAL_NVIC_DisableIRQ:00000000 HAL_NVIC_DisableIRQ
  5335. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:460 .text.HAL_NVIC_DisableIRQ:0000002c $d
  5336. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:466 .text.HAL_NVIC_SystemReset:00000000 $t
  5337. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:473 .text.HAL_NVIC_SystemReset:00000000 HAL_NVIC_SystemReset
  5338. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:541 .text.HAL_NVIC_SystemReset:0000001c $d
  5339. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:549 .text.HAL_SYSTICK_Config:00000000 $t
  5340. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:556 .text.HAL_SYSTICK_Config:00000000 HAL_SYSTICK_Config
  5341. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:652 .text.HAL_SYSTICK_Config:00000030 $d
  5342. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:657 .text.HAL_MPU_Disable:00000000 $t
  5343. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:664 .text.HAL_MPU_Disable:00000000 HAL_MPU_Disable
  5344. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:688 .text.HAL_MPU_Disable:00000014 $d
  5345. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:693 .text.HAL_MPU_Enable:00000000 $t
  5346. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:700 .text.HAL_MPU_Enable:00000000 HAL_MPU_Enable
  5347. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:726 .text.HAL_MPU_Enable:00000014 $d
  5348. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:731 .text.HAL_MPU_EnableRegion:00000000 $t
  5349. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:738 .text.HAL_MPU_EnableRegion:00000000 HAL_MPU_EnableRegion
  5350. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:782 .text.HAL_MPU_EnableRegion:00000028 $d
  5351. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:788 .text.HAL_MPU_DisableRegion:00000000 $t
  5352. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:795 .text.HAL_MPU_DisableRegion:00000000 HAL_MPU_DisableRegion
  5353. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:839 .text.HAL_MPU_DisableRegion:00000028 $d
  5354. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:845 .text.HAL_MPU_ConfigRegion:00000000 $t
  5355. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:852 .text.HAL_MPU_ConfigRegion:00000000 HAL_MPU_ConfigRegion
  5356. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1045 .text.HAL_MPU_ConfigRegion:00000108 $d
  5357. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1051 .text.HAL_NVIC_GetPriorityGrouping:00000000 $t
  5358. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1058 .text.HAL_NVIC_GetPriorityGrouping:00000000 HAL_NVIC_GetPriorityGrouping
  5359. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1082 .text.HAL_NVIC_GetPriorityGrouping:0000000c $d
  5360. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1087 .text.HAL_NVIC_GetPriority:00000000 $t
  5361. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1094 .text.HAL_NVIC_GetPriority:00000000 HAL_NVIC_GetPriority
  5362. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1243 .text.HAL_NVIC_GetPriority:00000074 $d
  5363. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1249 .text.HAL_NVIC_SetPendingIRQ:00000000 $t
  5364. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1256 .text.HAL_NVIC_SetPendingIRQ:00000000 HAL_NVIC_SetPendingIRQ
  5365. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1300 .text.HAL_NVIC_SetPendingIRQ:0000001c $d
  5366. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1305 .text.HAL_NVIC_GetPendingIRQ:00000000 $t
  5367. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1312 .text.HAL_NVIC_GetPendingIRQ:00000000 HAL_NVIC_GetPendingIRQ
  5368. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1358 .text.HAL_NVIC_GetPendingIRQ:00000020 $d
  5369. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1363 .text.HAL_NVIC_ClearPendingIRQ:00000000 $t
  5370. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1370 .text.HAL_NVIC_ClearPendingIRQ:00000000 HAL_NVIC_ClearPendingIRQ
  5371. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1414 .text.HAL_NVIC_ClearPendingIRQ:0000001c $d
  5372. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1419 .text.HAL_NVIC_GetActive:00000000 $t
  5373. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1426 .text.HAL_NVIC_GetActive:00000000 HAL_NVIC_GetActive
  5374. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1472 .text.HAL_NVIC_GetActive:00000020 $d
  5375. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1477 .text.HAL_SYSTICK_CLKSourceConfig:00000000 $t
  5376. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1484 .text.HAL_SYSTICK_CLKSourceConfig:00000000 HAL_SYSTICK_CLKSourceConfig
  5377. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1545 .text.HAL_SYSTICK_CLKSourceConfig:0000003c $d
  5378. ARM GAS C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s page 94
  5379. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1550 .text.HAL_SYSTICK_Callback:00000000 $t
  5380. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1557 .text.HAL_SYSTICK_Callback:00000000 HAL_SYSTICK_Callback
  5381. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1570 .text.HAL_SYSTICK_IRQHandler:00000000 $t
  5382. C:\Users\zl835\AppData\Local\Temp\ccPg81Tv.s:1577 .text.HAL_SYSTICK_IRQHandler:00000000 HAL_SYSTICK_IRQHandler
  5383. UNDEFINED SYMBOLS
  5384. assert_failed