stm32f4xx_hal_cortex.lst 388 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764
  1. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.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, 6
  14. 13 .eabi_attribute 34, 1
  15. 14 .eabi_attribute 18, 4
  16. 15 .file "stm32f4xx_hal_cortex.c"
  17. 16 .text
  18. 17 .Ltext0:
  19. 18 .cfi_sections .debug_frame
  20. 19 .section .text.__NVIC_SetPriorityGrouping,"ax",%progbits
  21. 20 .align 1
  22. 21 .syntax unified
  23. 22 .thumb
  24. 23 .thumb_func
  25. 25 __NVIC_SetPriorityGrouping:
  26. 26 .LFB102:
  27. 27 .file 1 "Drivers/CMSIS/Include/core_cm4.h"
  28. 1:Drivers/CMSIS/Include/core_cm4.h **** /**************************************************************************//**
  29. 2:Drivers/CMSIS/Include/core_cm4.h **** * @file core_cm4.h
  30. 3:Drivers/CMSIS/Include/core_cm4.h **** * @brief CMSIS Cortex-M4 Core Peripheral Access Layer Header File
  31. 4:Drivers/CMSIS/Include/core_cm4.h **** * @version V5.0.8
  32. 5:Drivers/CMSIS/Include/core_cm4.h **** * @date 04. June 2018
  33. 6:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
  34. 7:Drivers/CMSIS/Include/core_cm4.h **** /*
  35. 8:Drivers/CMSIS/Include/core_cm4.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
  36. 9:Drivers/CMSIS/Include/core_cm4.h **** *
  37. 10:Drivers/CMSIS/Include/core_cm4.h **** * SPDX-License-Identifier: Apache-2.0
  38. 11:Drivers/CMSIS/Include/core_cm4.h **** *
  39. 12:Drivers/CMSIS/Include/core_cm4.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
  40. 13:Drivers/CMSIS/Include/core_cm4.h **** * not use this file except in compliance with the License.
  41. 14:Drivers/CMSIS/Include/core_cm4.h **** * You may obtain a copy of the License at
  42. 15:Drivers/CMSIS/Include/core_cm4.h **** *
  43. 16:Drivers/CMSIS/Include/core_cm4.h **** * www.apache.org/licenses/LICENSE-2.0
  44. 17:Drivers/CMSIS/Include/core_cm4.h **** *
  45. 18:Drivers/CMSIS/Include/core_cm4.h **** * Unless required by applicable law or agreed to in writing, software
  46. 19:Drivers/CMSIS/Include/core_cm4.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  47. 20:Drivers/CMSIS/Include/core_cm4.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  48. 21:Drivers/CMSIS/Include/core_cm4.h **** * See the License for the specific language governing permissions and
  49. 22:Drivers/CMSIS/Include/core_cm4.h **** * limitations under the License.
  50. 23:Drivers/CMSIS/Include/core_cm4.h **** */
  51. 24:Drivers/CMSIS/Include/core_cm4.h ****
  52. 25:Drivers/CMSIS/Include/core_cm4.h **** #if defined ( __ICCARM__ )
  53. 26:Drivers/CMSIS/Include/core_cm4.h **** #pragma system_include /* treat file as system include file for MISRA check */
  54. 27:Drivers/CMSIS/Include/core_cm4.h **** #elif defined (__clang__)
  55. 28:Drivers/CMSIS/Include/core_cm4.h **** #pragma clang system_header /* treat file as system include file */
  56. 29:Drivers/CMSIS/Include/core_cm4.h **** #endif
  57. 30:Drivers/CMSIS/Include/core_cm4.h ****
  58. 31:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CORE_CM4_H_GENERIC
  59. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 2
  60. 32:Drivers/CMSIS/Include/core_cm4.h **** #define __CORE_CM4_H_GENERIC
  61. 33:Drivers/CMSIS/Include/core_cm4.h ****
  62. 34:Drivers/CMSIS/Include/core_cm4.h **** #include <stdint.h>
  63. 35:Drivers/CMSIS/Include/core_cm4.h ****
  64. 36:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
  65. 37:Drivers/CMSIS/Include/core_cm4.h **** extern "C" {
  66. 38:Drivers/CMSIS/Include/core_cm4.h **** #endif
  67. 39:Drivers/CMSIS/Include/core_cm4.h ****
  68. 40:Drivers/CMSIS/Include/core_cm4.h **** /**
  69. 41:Drivers/CMSIS/Include/core_cm4.h **** \page CMSIS_MISRA_Exceptions MISRA-C:2004 Compliance Exceptions
  70. 42:Drivers/CMSIS/Include/core_cm4.h **** CMSIS violates the following MISRA-C:2004 rules:
  71. 43:Drivers/CMSIS/Include/core_cm4.h ****
  72. 44:Drivers/CMSIS/Include/core_cm4.h **** \li Required Rule 8.5, object/function definition in header file.<br>
  73. 45:Drivers/CMSIS/Include/core_cm4.h **** Function definitions in header files are used to allow 'inlining'.
  74. 46:Drivers/CMSIS/Include/core_cm4.h ****
  75. 47:Drivers/CMSIS/Include/core_cm4.h **** \li Required Rule 18.4, declaration of union type or object of union type: '{...}'.<br>
  76. 48:Drivers/CMSIS/Include/core_cm4.h **** Unions are used for effective representation of core registers.
  77. 49:Drivers/CMSIS/Include/core_cm4.h ****
  78. 50:Drivers/CMSIS/Include/core_cm4.h **** \li Advisory Rule 19.7, Function-like macro defined.<br>
  79. 51:Drivers/CMSIS/Include/core_cm4.h **** Function-like macros are used to allow more efficient code.
  80. 52:Drivers/CMSIS/Include/core_cm4.h **** */
  81. 53:Drivers/CMSIS/Include/core_cm4.h ****
  82. 54:Drivers/CMSIS/Include/core_cm4.h ****
  83. 55:Drivers/CMSIS/Include/core_cm4.h **** /*******************************************************************************
  84. 56:Drivers/CMSIS/Include/core_cm4.h **** * CMSIS definitions
  85. 57:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
  86. 58:Drivers/CMSIS/Include/core_cm4.h **** /**
  87. 59:Drivers/CMSIS/Include/core_cm4.h **** \ingroup Cortex_M4
  88. 60:Drivers/CMSIS/Include/core_cm4.h **** @{
  89. 61:Drivers/CMSIS/Include/core_cm4.h **** */
  90. 62:Drivers/CMSIS/Include/core_cm4.h ****
  91. 63:Drivers/CMSIS/Include/core_cm4.h **** #include "cmsis_version.h"
  92. 64:Drivers/CMSIS/Include/core_cm4.h ****
  93. 65:Drivers/CMSIS/Include/core_cm4.h **** /* CMSIS CM4 definitions */
  94. 66:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_CMSIS_VERSION_MAIN (__CM_CMSIS_VERSION_MAIN) /*!< \deprecated [31:16] C
  95. 67:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_CMSIS_VERSION_SUB (__CM_CMSIS_VERSION_SUB) /*!< \deprecated [15:0] C
  96. 68:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_CMSIS_VERSION ((__CM4_CMSIS_VERSION_MAIN << 16U) | \
  97. 69:Drivers/CMSIS/Include/core_cm4.h **** __CM4_CMSIS_VERSION_SUB ) /*!< \deprecated CMSIS HAL
  98. 70:Drivers/CMSIS/Include/core_cm4.h ****
  99. 71:Drivers/CMSIS/Include/core_cm4.h **** #define __CORTEX_M (4U) /*!< Cortex-M Core */
  100. 72:Drivers/CMSIS/Include/core_cm4.h ****
  101. 73:Drivers/CMSIS/Include/core_cm4.h **** /** __FPU_USED indicates whether an FPU is used or not.
  102. 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
  103. 75:Drivers/CMSIS/Include/core_cm4.h **** */
  104. 76:Drivers/CMSIS/Include/core_cm4.h **** #if defined ( __CC_ARM )
  105. 77:Drivers/CMSIS/Include/core_cm4.h **** #if defined __TARGET_FPU_VFP
  106. 78:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  107. 79:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  108. 80:Drivers/CMSIS/Include/core_cm4.h **** #else
  109. 81:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  110. 82:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  111. 83:Drivers/CMSIS/Include/core_cm4.h **** #endif
  112. 84:Drivers/CMSIS/Include/core_cm4.h **** #else
  113. 85:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  114. 86:Drivers/CMSIS/Include/core_cm4.h **** #endif
  115. 87:Drivers/CMSIS/Include/core_cm4.h ****
  116. 88:Drivers/CMSIS/Include/core_cm4.h **** #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
  117. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 3
  118. 89:Drivers/CMSIS/Include/core_cm4.h **** #if defined __ARM_PCS_VFP
  119. 90:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  120. 91:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  121. 92:Drivers/CMSIS/Include/core_cm4.h **** #else
  122. 93:Drivers/CMSIS/Include/core_cm4.h **** #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESEN
  123. 94:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  124. 95:Drivers/CMSIS/Include/core_cm4.h **** #endif
  125. 96:Drivers/CMSIS/Include/core_cm4.h **** #else
  126. 97:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  127. 98:Drivers/CMSIS/Include/core_cm4.h **** #endif
  128. 99:Drivers/CMSIS/Include/core_cm4.h ****
  129. 100:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __GNUC__ )
  130. 101:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__VFP_FP__) && !defined(__SOFTFP__)
  131. 102:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  132. 103:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  133. 104:Drivers/CMSIS/Include/core_cm4.h **** #else
  134. 105:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  135. 106:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  136. 107:Drivers/CMSIS/Include/core_cm4.h **** #endif
  137. 108:Drivers/CMSIS/Include/core_cm4.h **** #else
  138. 109:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  139. 110:Drivers/CMSIS/Include/core_cm4.h **** #endif
  140. 111:Drivers/CMSIS/Include/core_cm4.h ****
  141. 112:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __ICCARM__ )
  142. 113:Drivers/CMSIS/Include/core_cm4.h **** #if defined __ARMVFP__
  143. 114:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  144. 115:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  145. 116:Drivers/CMSIS/Include/core_cm4.h **** #else
  146. 117:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  147. 118:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  148. 119:Drivers/CMSIS/Include/core_cm4.h **** #endif
  149. 120:Drivers/CMSIS/Include/core_cm4.h **** #else
  150. 121:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  151. 122:Drivers/CMSIS/Include/core_cm4.h **** #endif
  152. 123:Drivers/CMSIS/Include/core_cm4.h ****
  153. 124:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __TI_ARM__ )
  154. 125:Drivers/CMSIS/Include/core_cm4.h **** #if defined __TI_VFP_SUPPORT__
  155. 126:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  156. 127:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  157. 128:Drivers/CMSIS/Include/core_cm4.h **** #else
  158. 129:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  159. 130:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  160. 131:Drivers/CMSIS/Include/core_cm4.h **** #endif
  161. 132:Drivers/CMSIS/Include/core_cm4.h **** #else
  162. 133:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  163. 134:Drivers/CMSIS/Include/core_cm4.h **** #endif
  164. 135:Drivers/CMSIS/Include/core_cm4.h ****
  165. 136:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __TASKING__ )
  166. 137:Drivers/CMSIS/Include/core_cm4.h **** #if defined __FPU_VFP__
  167. 138:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  168. 139:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  169. 140:Drivers/CMSIS/Include/core_cm4.h **** #else
  170. 141:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  171. 142:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  172. 143:Drivers/CMSIS/Include/core_cm4.h **** #endif
  173. 144:Drivers/CMSIS/Include/core_cm4.h **** #else
  174. 145:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  175. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 4
  176. 146:Drivers/CMSIS/Include/core_cm4.h **** #endif
  177. 147:Drivers/CMSIS/Include/core_cm4.h ****
  178. 148:Drivers/CMSIS/Include/core_cm4.h **** #elif defined ( __CSMC__ )
  179. 149:Drivers/CMSIS/Include/core_cm4.h **** #if ( __CSMC__ & 0x400U)
  180. 150:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)
  181. 151:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 1U
  182. 152:Drivers/CMSIS/Include/core_cm4.h **** #else
  183. 153:Drivers/CMSIS/Include/core_cm4.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)
  184. 154:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  185. 155:Drivers/CMSIS/Include/core_cm4.h **** #endif
  186. 156:Drivers/CMSIS/Include/core_cm4.h **** #else
  187. 157:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_USED 0U
  188. 158:Drivers/CMSIS/Include/core_cm4.h **** #endif
  189. 159:Drivers/CMSIS/Include/core_cm4.h ****
  190. 160:Drivers/CMSIS/Include/core_cm4.h **** #endif
  191. 161:Drivers/CMSIS/Include/core_cm4.h ****
  192. 162:Drivers/CMSIS/Include/core_cm4.h **** #include "cmsis_compiler.h" /* CMSIS compiler specific defines */
  193. 163:Drivers/CMSIS/Include/core_cm4.h ****
  194. 164:Drivers/CMSIS/Include/core_cm4.h ****
  195. 165:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
  196. 166:Drivers/CMSIS/Include/core_cm4.h **** }
  197. 167:Drivers/CMSIS/Include/core_cm4.h **** #endif
  198. 168:Drivers/CMSIS/Include/core_cm4.h ****
  199. 169:Drivers/CMSIS/Include/core_cm4.h **** #endif /* __CORE_CM4_H_GENERIC */
  200. 170:Drivers/CMSIS/Include/core_cm4.h ****
  201. 171:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CMSIS_GENERIC
  202. 172:Drivers/CMSIS/Include/core_cm4.h ****
  203. 173:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CORE_CM4_H_DEPENDANT
  204. 174:Drivers/CMSIS/Include/core_cm4.h **** #define __CORE_CM4_H_DEPENDANT
  205. 175:Drivers/CMSIS/Include/core_cm4.h ****
  206. 176:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
  207. 177:Drivers/CMSIS/Include/core_cm4.h **** extern "C" {
  208. 178:Drivers/CMSIS/Include/core_cm4.h **** #endif
  209. 179:Drivers/CMSIS/Include/core_cm4.h ****
  210. 180:Drivers/CMSIS/Include/core_cm4.h **** /* check device defines and use defaults */
  211. 181:Drivers/CMSIS/Include/core_cm4.h **** #if defined __CHECK_DEVICE_DEFINES
  212. 182:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __CM4_REV
  213. 183:Drivers/CMSIS/Include/core_cm4.h **** #define __CM4_REV 0x0000U
  214. 184:Drivers/CMSIS/Include/core_cm4.h **** #warning "__CM4_REV not defined in device header file; using default!"
  215. 185:Drivers/CMSIS/Include/core_cm4.h **** #endif
  216. 186:Drivers/CMSIS/Include/core_cm4.h ****
  217. 187:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __FPU_PRESENT
  218. 188:Drivers/CMSIS/Include/core_cm4.h **** #define __FPU_PRESENT 0U
  219. 189:Drivers/CMSIS/Include/core_cm4.h **** #warning "__FPU_PRESENT not defined in device header file; using default!"
  220. 190:Drivers/CMSIS/Include/core_cm4.h **** #endif
  221. 191:Drivers/CMSIS/Include/core_cm4.h ****
  222. 192:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __MPU_PRESENT
  223. 193:Drivers/CMSIS/Include/core_cm4.h **** #define __MPU_PRESENT 0U
  224. 194:Drivers/CMSIS/Include/core_cm4.h **** #warning "__MPU_PRESENT not defined in device header file; using default!"
  225. 195:Drivers/CMSIS/Include/core_cm4.h **** #endif
  226. 196:Drivers/CMSIS/Include/core_cm4.h ****
  227. 197:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __NVIC_PRIO_BITS
  228. 198:Drivers/CMSIS/Include/core_cm4.h **** #define __NVIC_PRIO_BITS 3U
  229. 199:Drivers/CMSIS/Include/core_cm4.h **** #warning "__NVIC_PRIO_BITS not defined in device header file; using default!"
  230. 200:Drivers/CMSIS/Include/core_cm4.h **** #endif
  231. 201:Drivers/CMSIS/Include/core_cm4.h ****
  232. 202:Drivers/CMSIS/Include/core_cm4.h **** #ifndef __Vendor_SysTickConfig
  233. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 5
  234. 203:Drivers/CMSIS/Include/core_cm4.h **** #define __Vendor_SysTickConfig 0U
  235. 204:Drivers/CMSIS/Include/core_cm4.h **** #warning "__Vendor_SysTickConfig not defined in device header file; using default!"
  236. 205:Drivers/CMSIS/Include/core_cm4.h **** #endif
  237. 206:Drivers/CMSIS/Include/core_cm4.h **** #endif
  238. 207:Drivers/CMSIS/Include/core_cm4.h ****
  239. 208:Drivers/CMSIS/Include/core_cm4.h **** /* IO definitions (access restrictions to peripheral registers) */
  240. 209:Drivers/CMSIS/Include/core_cm4.h **** /**
  241. 210:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_glob_defs CMSIS Global Defines
  242. 211:Drivers/CMSIS/Include/core_cm4.h ****
  243. 212:Drivers/CMSIS/Include/core_cm4.h **** <strong>IO Type Qualifiers</strong> are used
  244. 213:Drivers/CMSIS/Include/core_cm4.h **** \li to specify the access to peripheral variables.
  245. 214:Drivers/CMSIS/Include/core_cm4.h **** \li for automatic generation of peripheral register debug information.
  246. 215:Drivers/CMSIS/Include/core_cm4.h **** */
  247. 216:Drivers/CMSIS/Include/core_cm4.h **** #ifdef __cplusplus
  248. 217:Drivers/CMSIS/Include/core_cm4.h **** #define __I volatile /*!< Defines 'read only' permissions */
  249. 218:Drivers/CMSIS/Include/core_cm4.h **** #else
  250. 219:Drivers/CMSIS/Include/core_cm4.h **** #define __I volatile const /*!< Defines 'read only' permissions */
  251. 220:Drivers/CMSIS/Include/core_cm4.h **** #endif
  252. 221:Drivers/CMSIS/Include/core_cm4.h **** #define __O volatile /*!< Defines 'write only' permissions */
  253. 222:Drivers/CMSIS/Include/core_cm4.h **** #define __IO volatile /*!< Defines 'read / write' permissions */
  254. 223:Drivers/CMSIS/Include/core_cm4.h ****
  255. 224:Drivers/CMSIS/Include/core_cm4.h **** /* following defines should be used for structure members */
  256. 225:Drivers/CMSIS/Include/core_cm4.h **** #define __IM volatile const /*! Defines 'read only' structure member permissions */
  257. 226:Drivers/CMSIS/Include/core_cm4.h **** #define __OM volatile /*! Defines 'write only' structure member permissions */
  258. 227:Drivers/CMSIS/Include/core_cm4.h **** #define __IOM volatile /*! Defines 'read / write' structure member permissions */
  259. 228:Drivers/CMSIS/Include/core_cm4.h ****
  260. 229:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group Cortex_M4 */
  261. 230:Drivers/CMSIS/Include/core_cm4.h ****
  262. 231:Drivers/CMSIS/Include/core_cm4.h ****
  263. 232:Drivers/CMSIS/Include/core_cm4.h ****
  264. 233:Drivers/CMSIS/Include/core_cm4.h **** /*******************************************************************************
  265. 234:Drivers/CMSIS/Include/core_cm4.h **** * Register Abstraction
  266. 235:Drivers/CMSIS/Include/core_cm4.h **** Core Register contain:
  267. 236:Drivers/CMSIS/Include/core_cm4.h **** - Core Register
  268. 237:Drivers/CMSIS/Include/core_cm4.h **** - Core NVIC Register
  269. 238:Drivers/CMSIS/Include/core_cm4.h **** - Core SCB Register
  270. 239:Drivers/CMSIS/Include/core_cm4.h **** - Core SysTick Register
  271. 240:Drivers/CMSIS/Include/core_cm4.h **** - Core Debug Register
  272. 241:Drivers/CMSIS/Include/core_cm4.h **** - Core MPU Register
  273. 242:Drivers/CMSIS/Include/core_cm4.h **** - Core FPU Register
  274. 243:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
  275. 244:Drivers/CMSIS/Include/core_cm4.h **** /**
  276. 245:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_core_register Defines and Type Definitions
  277. 246:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions and defines for Cortex-M processor based devices.
  278. 247:Drivers/CMSIS/Include/core_cm4.h **** */
  279. 248:Drivers/CMSIS/Include/core_cm4.h ****
  280. 249:Drivers/CMSIS/Include/core_cm4.h **** /**
  281. 250:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  282. 251:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_CORE Status and Control Registers
  283. 252:Drivers/CMSIS/Include/core_cm4.h **** \brief Core Register type definitions.
  284. 253:Drivers/CMSIS/Include/core_cm4.h **** @{
  285. 254:Drivers/CMSIS/Include/core_cm4.h **** */
  286. 255:Drivers/CMSIS/Include/core_cm4.h ****
  287. 256:Drivers/CMSIS/Include/core_cm4.h **** /**
  288. 257:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Application Program Status Register (APSR).
  289. 258:Drivers/CMSIS/Include/core_cm4.h **** */
  290. 259:Drivers/CMSIS/Include/core_cm4.h **** typedef union
  291. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 6
  292. 260:Drivers/CMSIS/Include/core_cm4.h **** {
  293. 261:Drivers/CMSIS/Include/core_cm4.h **** struct
  294. 262:Drivers/CMSIS/Include/core_cm4.h **** {
  295. 263:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:16; /*!< bit: 0..15 Reserved */
  296. 264:Drivers/CMSIS/Include/core_cm4.h **** uint32_t GE:4; /*!< bit: 16..19 Greater than or Equal flags */
  297. 265:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved1:7; /*!< bit: 20..26 Reserved */
  298. 266:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Q:1; /*!< bit: 27 Saturation condition flag */
  299. 267:Drivers/CMSIS/Include/core_cm4.h **** uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
  300. 268:Drivers/CMSIS/Include/core_cm4.h **** uint32_t C:1; /*!< bit: 29 Carry condition code flag */
  301. 269:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
  302. 270:Drivers/CMSIS/Include/core_cm4.h **** uint32_t N:1; /*!< bit: 31 Negative condition code flag */
  303. 271:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
  304. 272:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
  305. 273:Drivers/CMSIS/Include/core_cm4.h **** } APSR_Type;
  306. 274:Drivers/CMSIS/Include/core_cm4.h ****
  307. 275:Drivers/CMSIS/Include/core_cm4.h **** /* APSR Register Definitions */
  308. 276:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_N_Pos 31U /*!< APSR
  309. 277:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_N_Msk (1UL << APSR_N_Pos) /*!< APSR
  310. 278:Drivers/CMSIS/Include/core_cm4.h ****
  311. 279:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Z_Pos 30U /*!< APSR
  312. 280:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Z_Msk (1UL << APSR_Z_Pos) /*!< APSR
  313. 281:Drivers/CMSIS/Include/core_cm4.h ****
  314. 282:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_C_Pos 29U /*!< APSR
  315. 283:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_C_Msk (1UL << APSR_C_Pos) /*!< APSR
  316. 284:Drivers/CMSIS/Include/core_cm4.h ****
  317. 285:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_V_Pos 28U /*!< APSR
  318. 286:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_V_Msk (1UL << APSR_V_Pos) /*!< APSR
  319. 287:Drivers/CMSIS/Include/core_cm4.h ****
  320. 288:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Q_Pos 27U /*!< APSR
  321. 289:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_Q_Msk (1UL << APSR_Q_Pos) /*!< APSR
  322. 290:Drivers/CMSIS/Include/core_cm4.h ****
  323. 291:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_GE_Pos 16U /*!< APSR
  324. 292:Drivers/CMSIS/Include/core_cm4.h **** #define APSR_GE_Msk (0xFUL << APSR_GE_Pos) /*!< APSR
  325. 293:Drivers/CMSIS/Include/core_cm4.h ****
  326. 294:Drivers/CMSIS/Include/core_cm4.h ****
  327. 295:Drivers/CMSIS/Include/core_cm4.h **** /**
  328. 296:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Interrupt Program Status Register (IPSR).
  329. 297:Drivers/CMSIS/Include/core_cm4.h **** */
  330. 298:Drivers/CMSIS/Include/core_cm4.h **** typedef union
  331. 299:Drivers/CMSIS/Include/core_cm4.h **** {
  332. 300:Drivers/CMSIS/Include/core_cm4.h **** struct
  333. 301:Drivers/CMSIS/Include/core_cm4.h **** {
  334. 302:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
  335. 303:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:23; /*!< bit: 9..31 Reserved */
  336. 304:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
  337. 305:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
  338. 306:Drivers/CMSIS/Include/core_cm4.h **** } IPSR_Type;
  339. 307:Drivers/CMSIS/Include/core_cm4.h ****
  340. 308:Drivers/CMSIS/Include/core_cm4.h **** /* IPSR Register Definitions */
  341. 309:Drivers/CMSIS/Include/core_cm4.h **** #define IPSR_ISR_Pos 0U /*!< IPSR
  342. 310:Drivers/CMSIS/Include/core_cm4.h **** #define IPSR_ISR_Msk (0x1FFUL /*<< IPSR_ISR_Pos*/) /*!< IPSR
  343. 311:Drivers/CMSIS/Include/core_cm4.h ****
  344. 312:Drivers/CMSIS/Include/core_cm4.h ****
  345. 313:Drivers/CMSIS/Include/core_cm4.h **** /**
  346. 314:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Special-Purpose Program Status Registers (xPSR).
  347. 315:Drivers/CMSIS/Include/core_cm4.h **** */
  348. 316:Drivers/CMSIS/Include/core_cm4.h **** typedef union
  349. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 7
  350. 317:Drivers/CMSIS/Include/core_cm4.h **** {
  351. 318:Drivers/CMSIS/Include/core_cm4.h **** struct
  352. 319:Drivers/CMSIS/Include/core_cm4.h **** {
  353. 320:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
  354. 321:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:1; /*!< bit: 9 Reserved */
  355. 322:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ICI_IT_1:6; /*!< bit: 10..15 ICI/IT part 1 */
  356. 323:Drivers/CMSIS/Include/core_cm4.h **** uint32_t GE:4; /*!< bit: 16..19 Greater than or Equal flags */
  357. 324:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved1:4; /*!< bit: 20..23 Reserved */
  358. 325:Drivers/CMSIS/Include/core_cm4.h **** uint32_t T:1; /*!< bit: 24 Thumb bit */
  359. 326:Drivers/CMSIS/Include/core_cm4.h **** uint32_t ICI_IT_2:2; /*!< bit: 25..26 ICI/IT part 2 */
  360. 327:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Q:1; /*!< bit: 27 Saturation condition flag */
  361. 328:Drivers/CMSIS/Include/core_cm4.h **** uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
  362. 329:Drivers/CMSIS/Include/core_cm4.h **** uint32_t C:1; /*!< bit: 29 Carry condition code flag */
  363. 330:Drivers/CMSIS/Include/core_cm4.h **** uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
  364. 331:Drivers/CMSIS/Include/core_cm4.h **** uint32_t N:1; /*!< bit: 31 Negative condition code flag */
  365. 332:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
  366. 333:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
  367. 334:Drivers/CMSIS/Include/core_cm4.h **** } xPSR_Type;
  368. 335:Drivers/CMSIS/Include/core_cm4.h ****
  369. 336:Drivers/CMSIS/Include/core_cm4.h **** /* xPSR Register Definitions */
  370. 337:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_N_Pos 31U /*!< xPSR
  371. 338:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_N_Msk (1UL << xPSR_N_Pos) /*!< xPSR
  372. 339:Drivers/CMSIS/Include/core_cm4.h ****
  373. 340:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Z_Pos 30U /*!< xPSR
  374. 341:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Z_Msk (1UL << xPSR_Z_Pos) /*!< xPSR
  375. 342:Drivers/CMSIS/Include/core_cm4.h ****
  376. 343:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_C_Pos 29U /*!< xPSR
  377. 344:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_C_Msk (1UL << xPSR_C_Pos) /*!< xPSR
  378. 345:Drivers/CMSIS/Include/core_cm4.h ****
  379. 346:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_V_Pos 28U /*!< xPSR
  380. 347:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_V_Msk (1UL << xPSR_V_Pos) /*!< xPSR
  381. 348:Drivers/CMSIS/Include/core_cm4.h ****
  382. 349:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Q_Pos 27U /*!< xPSR
  383. 350:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_Q_Msk (1UL << xPSR_Q_Pos) /*!< xPSR
  384. 351:Drivers/CMSIS/Include/core_cm4.h ****
  385. 352:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_2_Pos 25U /*!< xPSR
  386. 353:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_2_Msk (3UL << xPSR_ICI_IT_2_Pos) /*!< xPSR
  387. 354:Drivers/CMSIS/Include/core_cm4.h ****
  388. 355:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_T_Pos 24U /*!< xPSR
  389. 356:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_T_Msk (1UL << xPSR_T_Pos) /*!< xPSR
  390. 357:Drivers/CMSIS/Include/core_cm4.h ****
  391. 358:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_GE_Pos 16U /*!< xPSR
  392. 359:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_GE_Msk (0xFUL << xPSR_GE_Pos) /*!< xPSR
  393. 360:Drivers/CMSIS/Include/core_cm4.h ****
  394. 361:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_1_Pos 10U /*!< xPSR
  395. 362:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ICI_IT_1_Msk (0x3FUL << xPSR_ICI_IT_1_Pos) /*!< xPSR
  396. 363:Drivers/CMSIS/Include/core_cm4.h ****
  397. 364:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ISR_Pos 0U /*!< xPSR
  398. 365:Drivers/CMSIS/Include/core_cm4.h **** #define xPSR_ISR_Msk (0x1FFUL /*<< xPSR_ISR_Pos*/) /*!< xPSR
  399. 366:Drivers/CMSIS/Include/core_cm4.h ****
  400. 367:Drivers/CMSIS/Include/core_cm4.h ****
  401. 368:Drivers/CMSIS/Include/core_cm4.h **** /**
  402. 369:Drivers/CMSIS/Include/core_cm4.h **** \brief Union type to access the Control Registers (CONTROL).
  403. 370:Drivers/CMSIS/Include/core_cm4.h **** */
  404. 371:Drivers/CMSIS/Include/core_cm4.h **** typedef union
  405. 372:Drivers/CMSIS/Include/core_cm4.h **** {
  406. 373:Drivers/CMSIS/Include/core_cm4.h **** struct
  407. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 8
  408. 374:Drivers/CMSIS/Include/core_cm4.h **** {
  409. 375:Drivers/CMSIS/Include/core_cm4.h **** uint32_t nPRIV:1; /*!< bit: 0 Execution privilege in Thread mode */
  410. 376:Drivers/CMSIS/Include/core_cm4.h **** uint32_t SPSEL:1; /*!< bit: 1 Stack to be used */
  411. 377:Drivers/CMSIS/Include/core_cm4.h **** uint32_t FPCA:1; /*!< bit: 2 FP extension active flag */
  412. 378:Drivers/CMSIS/Include/core_cm4.h **** uint32_t _reserved0:29; /*!< bit: 3..31 Reserved */
  413. 379:Drivers/CMSIS/Include/core_cm4.h **** } b; /*!< Structure used for bit access */
  414. 380:Drivers/CMSIS/Include/core_cm4.h **** uint32_t w; /*!< Type used for word access */
  415. 381:Drivers/CMSIS/Include/core_cm4.h **** } CONTROL_Type;
  416. 382:Drivers/CMSIS/Include/core_cm4.h ****
  417. 383:Drivers/CMSIS/Include/core_cm4.h **** /* CONTROL Register Definitions */
  418. 384:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_FPCA_Pos 2U /*!< CONT
  419. 385:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_FPCA_Msk (1UL << CONTROL_FPCA_Pos) /*!< CONT
  420. 386:Drivers/CMSIS/Include/core_cm4.h ****
  421. 387:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_SPSEL_Pos 1U /*!< CONT
  422. 388:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_SPSEL_Msk (1UL << CONTROL_SPSEL_Pos) /*!< CONT
  423. 389:Drivers/CMSIS/Include/core_cm4.h ****
  424. 390:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_nPRIV_Pos 0U /*!< CONT
  425. 391:Drivers/CMSIS/Include/core_cm4.h **** #define CONTROL_nPRIV_Msk (1UL /*<< CONTROL_nPRIV_Pos*/) /*!< CONT
  426. 392:Drivers/CMSIS/Include/core_cm4.h ****
  427. 393:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_CORE */
  428. 394:Drivers/CMSIS/Include/core_cm4.h ****
  429. 395:Drivers/CMSIS/Include/core_cm4.h ****
  430. 396:Drivers/CMSIS/Include/core_cm4.h **** /**
  431. 397:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  432. 398:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_NVIC Nested Vectored Interrupt Controller (NVIC)
  433. 399:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the NVIC Registers
  434. 400:Drivers/CMSIS/Include/core_cm4.h **** @{
  435. 401:Drivers/CMSIS/Include/core_cm4.h **** */
  436. 402:Drivers/CMSIS/Include/core_cm4.h ****
  437. 403:Drivers/CMSIS/Include/core_cm4.h **** /**
  438. 404:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Nested Vectored Interrupt Controller (NVIC).
  439. 405:Drivers/CMSIS/Include/core_cm4.h **** */
  440. 406:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  441. 407:Drivers/CMSIS/Include/core_cm4.h **** {
  442. 408:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ISER[8U]; /*!< Offset: 0x000 (R/W) Interrupt Set Enable Register */
  443. 409:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[24U];
  444. 410:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ICER[8U]; /*!< Offset: 0x080 (R/W) Interrupt Clear Enable Register
  445. 411:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RSERVED1[24U];
  446. 412:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ISPR[8U]; /*!< Offset: 0x100 (R/W) Interrupt Set Pending Register *
  447. 413:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[24U];
  448. 414:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ICPR[8U]; /*!< Offset: 0x180 (R/W) Interrupt Clear Pending Register
  449. 415:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED3[24U];
  450. 416:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t IABR[8U]; /*!< Offset: 0x200 (R/W) Interrupt Active bit Register */
  451. 417:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED4[56U];
  452. 418:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint8_t IP[240U]; /*!< Offset: 0x300 (R/W) Interrupt Priority Register (8Bi
  453. 419:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED5[644U];
  454. 420:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t STIR; /*!< Offset: 0xE00 ( /W) Software Trigger Interrupt Regis
  455. 421:Drivers/CMSIS/Include/core_cm4.h **** } NVIC_Type;
  456. 422:Drivers/CMSIS/Include/core_cm4.h ****
  457. 423:Drivers/CMSIS/Include/core_cm4.h **** /* Software Triggered Interrupt Register Definitions */
  458. 424:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_STIR_INTID_Pos 0U /*!< STIR: I
  459. 425:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_STIR_INTID_Msk (0x1FFUL /*<< NVIC_STIR_INTID_Pos*/) /*!< STIR: I
  460. 426:Drivers/CMSIS/Include/core_cm4.h ****
  461. 427:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_NVIC */
  462. 428:Drivers/CMSIS/Include/core_cm4.h ****
  463. 429:Drivers/CMSIS/Include/core_cm4.h ****
  464. 430:Drivers/CMSIS/Include/core_cm4.h **** /**
  465. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 9
  466. 431:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  467. 432:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_SCB System Control Block (SCB)
  468. 433:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the System Control Block Registers
  469. 434:Drivers/CMSIS/Include/core_cm4.h **** @{
  470. 435:Drivers/CMSIS/Include/core_cm4.h **** */
  471. 436:Drivers/CMSIS/Include/core_cm4.h ****
  472. 437:Drivers/CMSIS/Include/core_cm4.h **** /**
  473. 438:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the System Control Block (SCB).
  474. 439:Drivers/CMSIS/Include/core_cm4.h **** */
  475. 440:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  476. 441:Drivers/CMSIS/Include/core_cm4.h **** {
  477. 442:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CPUID; /*!< Offset: 0x000 (R/ ) CPUID Base Register */
  478. 443:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ICSR; /*!< Offset: 0x004 (R/W) Interrupt Control and State Regi
  479. 444:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t VTOR; /*!< Offset: 0x008 (R/W) Vector Table Offset Register */
  480. 445:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t AIRCR; /*!< Offset: 0x00C (R/W) Application Interrupt and Reset
  481. 446:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SCR; /*!< Offset: 0x010 (R/W) System Control Register */
  482. 447:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CCR; /*!< Offset: 0x014 (R/W) Configuration Control Register *
  483. 448:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint8_t SHP[12U]; /*!< Offset: 0x018 (R/W) System Handlers Priority Registe
  484. 449:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SHCSR; /*!< Offset: 0x024 (R/W) System Handler Control and State
  485. 450:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CFSR; /*!< Offset: 0x028 (R/W) Configurable Fault Status Regist
  486. 451:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t HFSR; /*!< Offset: 0x02C (R/W) HardFault Status Register */
  487. 452:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DFSR; /*!< Offset: 0x030 (R/W) Debug Fault Status Register */
  488. 453:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MMFAR; /*!< Offset: 0x034 (R/W) MemManage Fault Address Register
  489. 454:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t BFAR; /*!< Offset: 0x038 (R/W) BusFault Address Register */
  490. 455:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t AFSR; /*!< Offset: 0x03C (R/W) Auxiliary Fault Status Register
  491. 456:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PFR[2U]; /*!< Offset: 0x040 (R/ ) Processor Feature Register */
  492. 457:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t DFR; /*!< Offset: 0x048 (R/ ) Debug Feature Register */
  493. 458:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ADR; /*!< Offset: 0x04C (R/ ) Auxiliary Feature Register */
  494. 459:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t MMFR[4U]; /*!< Offset: 0x050 (R/ ) Memory Model Feature Register */
  495. 460:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ISAR[5U]; /*!< Offset: 0x060 (R/ ) Instruction Set Attributes Regis
  496. 461:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[5U];
  497. 462:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CPACR; /*!< Offset: 0x088 (R/W) Coprocessor Access Control Regis
  498. 463:Drivers/CMSIS/Include/core_cm4.h **** } SCB_Type;
  499. 464:Drivers/CMSIS/Include/core_cm4.h ****
  500. 465:Drivers/CMSIS/Include/core_cm4.h **** /* SCB CPUID Register Definitions */
  501. 466:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_IMPLEMENTER_Pos 24U /*!< SCB
  502. 467:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_IMPLEMENTER_Msk (0xFFUL << SCB_CPUID_IMPLEMENTER_Pos) /*!< SCB
  503. 468:Drivers/CMSIS/Include/core_cm4.h ****
  504. 469:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_VARIANT_Pos 20U /*!< SCB
  505. 470:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_VARIANT_Msk (0xFUL << SCB_CPUID_VARIANT_Pos) /*!< SCB
  506. 471:Drivers/CMSIS/Include/core_cm4.h ****
  507. 472:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_ARCHITECTURE_Pos 16U /*!< SCB
  508. 473:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_ARCHITECTURE_Msk (0xFUL << SCB_CPUID_ARCHITECTURE_Pos) /*!< SCB
  509. 474:Drivers/CMSIS/Include/core_cm4.h ****
  510. 475:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_PARTNO_Pos 4U /*!< SCB
  511. 476:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_PARTNO_Msk (0xFFFUL << SCB_CPUID_PARTNO_Pos) /*!< SCB
  512. 477:Drivers/CMSIS/Include/core_cm4.h ****
  513. 478:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_REVISION_Pos 0U /*!< SCB
  514. 479:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CPUID_REVISION_Msk (0xFUL /*<< SCB_CPUID_REVISION_Pos*/) /*!< SCB
  515. 480:Drivers/CMSIS/Include/core_cm4.h ****
  516. 481:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Interrupt Control State Register Definitions */
  517. 482:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_NMIPENDSET_Pos 31U /*!< SCB
  518. 483:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_NMIPENDSET_Msk (1UL << SCB_ICSR_NMIPENDSET_Pos) /*!< SCB
  519. 484:Drivers/CMSIS/Include/core_cm4.h ****
  520. 485:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVSET_Pos 28U /*!< SCB
  521. 486:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVSET_Msk (1UL << SCB_ICSR_PENDSVSET_Pos) /*!< SCB
  522. 487:Drivers/CMSIS/Include/core_cm4.h ****
  523. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 10
  524. 488:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVCLR_Pos 27U /*!< SCB
  525. 489:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSVCLR_Msk (1UL << SCB_ICSR_PENDSVCLR_Pos) /*!< SCB
  526. 490:Drivers/CMSIS/Include/core_cm4.h ****
  527. 491:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTSET_Pos 26U /*!< SCB
  528. 492:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTSET_Msk (1UL << SCB_ICSR_PENDSTSET_Pos) /*!< SCB
  529. 493:Drivers/CMSIS/Include/core_cm4.h ****
  530. 494:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTCLR_Pos 25U /*!< SCB
  531. 495:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_PENDSTCLR_Msk (1UL << SCB_ICSR_PENDSTCLR_Pos) /*!< SCB
  532. 496:Drivers/CMSIS/Include/core_cm4.h ****
  533. 497:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPREEMPT_Pos 23U /*!< SCB
  534. 498:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPREEMPT_Msk (1UL << SCB_ICSR_ISRPREEMPT_Pos) /*!< SCB
  535. 499:Drivers/CMSIS/Include/core_cm4.h ****
  536. 500:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPENDING_Pos 22U /*!< SCB
  537. 501:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_ISRPENDING_Msk (1UL << SCB_ICSR_ISRPENDING_Pos) /*!< SCB
  538. 502:Drivers/CMSIS/Include/core_cm4.h ****
  539. 503:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTPENDING_Pos 12U /*!< SCB
  540. 504:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTPENDING_Msk (0x1FFUL << SCB_ICSR_VECTPENDING_Pos) /*!< SCB
  541. 505:Drivers/CMSIS/Include/core_cm4.h ****
  542. 506:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_RETTOBASE_Pos 11U /*!< SCB
  543. 507:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_RETTOBASE_Msk (1UL << SCB_ICSR_RETTOBASE_Pos) /*!< SCB
  544. 508:Drivers/CMSIS/Include/core_cm4.h ****
  545. 509:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTACTIVE_Pos 0U /*!< SCB
  546. 510:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_ICSR_VECTACTIVE_Msk (0x1FFUL /*<< SCB_ICSR_VECTACTIVE_Pos*/) /*!< SCB
  547. 511:Drivers/CMSIS/Include/core_cm4.h ****
  548. 512:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Vector Table Offset Register Definitions */
  549. 513:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_VTOR_TBLOFF_Pos 7U /*!< SCB
  550. 514:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_VTOR_TBLOFF_Msk (0x1FFFFFFUL << SCB_VTOR_TBLOFF_Pos) /*!< SCB
  551. 515:Drivers/CMSIS/Include/core_cm4.h ****
  552. 516:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Application Interrupt and Reset Control Register Definitions */
  553. 517:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEY_Pos 16U /*!< SCB
  554. 518:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEY_Msk (0xFFFFUL << SCB_AIRCR_VECTKEY_Pos) /*!< SCB
  555. 519:Drivers/CMSIS/Include/core_cm4.h ****
  556. 520:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEYSTAT_Pos 16U /*!< SCB
  557. 521:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTKEYSTAT_Msk (0xFFFFUL << SCB_AIRCR_VECTKEYSTAT_Pos) /*!< SCB
  558. 522:Drivers/CMSIS/Include/core_cm4.h ****
  559. 523:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_ENDIANESS_Pos 15U /*!< SCB
  560. 524:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_ENDIANESS_Msk (1UL << SCB_AIRCR_ENDIANESS_Pos) /*!< SCB
  561. 525:Drivers/CMSIS/Include/core_cm4.h ****
  562. 526:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_PRIGROUP_Pos 8U /*!< SCB
  563. 527:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_PRIGROUP_Msk (7UL << SCB_AIRCR_PRIGROUP_Pos) /*!< SCB
  564. 528:Drivers/CMSIS/Include/core_cm4.h ****
  565. 529:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_SYSRESETREQ_Pos 2U /*!< SCB
  566. 530:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_SYSRESETREQ_Msk (1UL << SCB_AIRCR_SYSRESETREQ_Pos) /*!< SCB
  567. 531:Drivers/CMSIS/Include/core_cm4.h ****
  568. 532:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTCLRACTIVE_Pos 1U /*!< SCB
  569. 533:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTCLRACTIVE_Msk (1UL << SCB_AIRCR_VECTCLRACTIVE_Pos) /*!< SCB
  570. 534:Drivers/CMSIS/Include/core_cm4.h ****
  571. 535:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTRESET_Pos 0U /*!< SCB
  572. 536:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_AIRCR_VECTRESET_Msk (1UL /*<< SCB_AIRCR_VECTRESET_Pos*/) /*!< SCB
  573. 537:Drivers/CMSIS/Include/core_cm4.h ****
  574. 538:Drivers/CMSIS/Include/core_cm4.h **** /* SCB System Control Register Definitions */
  575. 539:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SEVONPEND_Pos 4U /*!< SCB
  576. 540:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SEVONPEND_Msk (1UL << SCB_SCR_SEVONPEND_Pos) /*!< SCB
  577. 541:Drivers/CMSIS/Include/core_cm4.h ****
  578. 542:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPDEEP_Pos 2U /*!< SCB
  579. 543:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPDEEP_Msk (1UL << SCB_SCR_SLEEPDEEP_Pos) /*!< SCB
  580. 544:Drivers/CMSIS/Include/core_cm4.h ****
  581. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 11
  582. 545:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPONEXIT_Pos 1U /*!< SCB
  583. 546:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SCR_SLEEPONEXIT_Msk (1UL << SCB_SCR_SLEEPONEXIT_Pos) /*!< SCB
  584. 547:Drivers/CMSIS/Include/core_cm4.h ****
  585. 548:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Configuration Control Register Definitions */
  586. 549:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_STKALIGN_Pos 9U /*!< SCB
  587. 550:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_STKALIGN_Msk (1UL << SCB_CCR_STKALIGN_Pos) /*!< SCB
  588. 551:Drivers/CMSIS/Include/core_cm4.h ****
  589. 552:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_BFHFNMIGN_Pos 8U /*!< SCB
  590. 553:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_BFHFNMIGN_Msk (1UL << SCB_CCR_BFHFNMIGN_Pos) /*!< SCB
  591. 554:Drivers/CMSIS/Include/core_cm4.h ****
  592. 555:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_DIV_0_TRP_Pos 4U /*!< SCB
  593. 556:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_DIV_0_TRP_Msk (1UL << SCB_CCR_DIV_0_TRP_Pos) /*!< SCB
  594. 557:Drivers/CMSIS/Include/core_cm4.h ****
  595. 558:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_UNALIGN_TRP_Pos 3U /*!< SCB
  596. 559:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_UNALIGN_TRP_Msk (1UL << SCB_CCR_UNALIGN_TRP_Pos) /*!< SCB
  597. 560:Drivers/CMSIS/Include/core_cm4.h ****
  598. 561:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_USERSETMPEND_Pos 1U /*!< SCB
  599. 562:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_USERSETMPEND_Msk (1UL << SCB_CCR_USERSETMPEND_Pos) /*!< SCB
  600. 563:Drivers/CMSIS/Include/core_cm4.h ****
  601. 564:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_NONBASETHRDENA_Pos 0U /*!< SCB
  602. 565:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CCR_NONBASETHRDENA_Msk (1UL /*<< SCB_CCR_NONBASETHRDENA_Pos*/) /*!< SCB
  603. 566:Drivers/CMSIS/Include/core_cm4.h ****
  604. 567:Drivers/CMSIS/Include/core_cm4.h **** /* SCB System Handler Control and State Register Definitions */
  605. 568:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTENA_Pos 18U /*!< SCB
  606. 569:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTENA_Msk (1UL << SCB_SHCSR_USGFAULTENA_Pos) /*!< SCB
  607. 570:Drivers/CMSIS/Include/core_cm4.h ****
  608. 571:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTENA_Pos 17U /*!< SCB
  609. 572:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTENA_Msk (1UL << SCB_SHCSR_BUSFAULTENA_Pos) /*!< SCB
  610. 573:Drivers/CMSIS/Include/core_cm4.h ****
  611. 574:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTENA_Pos 16U /*!< SCB
  612. 575:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTENA_Msk (1UL << SCB_SHCSR_MEMFAULTENA_Pos) /*!< SCB
  613. 576:Drivers/CMSIS/Include/core_cm4.h ****
  614. 577:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLPENDED_Pos 15U /*!< SCB
  615. 578:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLPENDED_Msk (1UL << SCB_SHCSR_SVCALLPENDED_Pos) /*!< SCB
  616. 579:Drivers/CMSIS/Include/core_cm4.h ****
  617. 580:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTPENDED_Pos 14U /*!< SCB
  618. 581:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTPENDED_Msk (1UL << SCB_SHCSR_BUSFAULTPENDED_Pos) /*!< SCB
  619. 582:Drivers/CMSIS/Include/core_cm4.h ****
  620. 583:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTPENDED_Pos 13U /*!< SCB
  621. 584:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTPENDED_Msk (1UL << SCB_SHCSR_MEMFAULTPENDED_Pos) /*!< SCB
  622. 585:Drivers/CMSIS/Include/core_cm4.h ****
  623. 586:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTPENDED_Pos 12U /*!< SCB
  624. 587:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTPENDED_Msk (1UL << SCB_SHCSR_USGFAULTPENDED_Pos) /*!< SCB
  625. 588:Drivers/CMSIS/Include/core_cm4.h ****
  626. 589:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SYSTICKACT_Pos 11U /*!< SCB
  627. 590:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SYSTICKACT_Msk (1UL << SCB_SHCSR_SYSTICKACT_Pos) /*!< SCB
  628. 591:Drivers/CMSIS/Include/core_cm4.h ****
  629. 592:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_PENDSVACT_Pos 10U /*!< SCB
  630. 593:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_PENDSVACT_Msk (1UL << SCB_SHCSR_PENDSVACT_Pos) /*!< SCB
  631. 594:Drivers/CMSIS/Include/core_cm4.h ****
  632. 595:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MONITORACT_Pos 8U /*!< SCB
  633. 596:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MONITORACT_Msk (1UL << SCB_SHCSR_MONITORACT_Pos) /*!< SCB
  634. 597:Drivers/CMSIS/Include/core_cm4.h ****
  635. 598:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLACT_Pos 7U /*!< SCB
  636. 599:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_SVCALLACT_Msk (1UL << SCB_SHCSR_SVCALLACT_Pos) /*!< SCB
  637. 600:Drivers/CMSIS/Include/core_cm4.h ****
  638. 601:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTACT_Pos 3U /*!< SCB
  639. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 12
  640. 602:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_USGFAULTACT_Msk (1UL << SCB_SHCSR_USGFAULTACT_Pos) /*!< SCB
  641. 603:Drivers/CMSIS/Include/core_cm4.h ****
  642. 604:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTACT_Pos 1U /*!< SCB
  643. 605:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_BUSFAULTACT_Msk (1UL << SCB_SHCSR_BUSFAULTACT_Pos) /*!< SCB
  644. 606:Drivers/CMSIS/Include/core_cm4.h ****
  645. 607:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTACT_Pos 0U /*!< SCB
  646. 608:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_SHCSR_MEMFAULTACT_Msk (1UL /*<< SCB_SHCSR_MEMFAULTACT_Pos*/) /*!< SCB
  647. 609:Drivers/CMSIS/Include/core_cm4.h ****
  648. 610:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Configurable Fault Status Register Definitions */
  649. 611:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_USGFAULTSR_Pos 16U /*!< SCB
  650. 612:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_USGFAULTSR_Msk (0xFFFFUL << SCB_CFSR_USGFAULTSR_Pos) /*!< SCB
  651. 613:Drivers/CMSIS/Include/core_cm4.h ****
  652. 614:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BUSFAULTSR_Pos 8U /*!< SCB
  653. 615:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BUSFAULTSR_Msk (0xFFUL << SCB_CFSR_BUSFAULTSR_Pos) /*!< SCB
  654. 616:Drivers/CMSIS/Include/core_cm4.h ****
  655. 617:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MEMFAULTSR_Pos 0U /*!< SCB
  656. 618:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MEMFAULTSR_Msk (0xFFUL /*<< SCB_CFSR_MEMFAULTSR_Pos*/) /*!< SCB
  657. 619:Drivers/CMSIS/Include/core_cm4.h ****
  658. 620:Drivers/CMSIS/Include/core_cm4.h **** /* MemManage Fault Status Register (part of SCB Configurable Fault Status Register) */
  659. 621:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MMARVALID_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 7U) /*!< SCB
  660. 622:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MMARVALID_Msk (1UL << SCB_CFSR_MMARVALID_Pos) /*!< SCB
  661. 623:Drivers/CMSIS/Include/core_cm4.h ****
  662. 624:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MLSPERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 5U) /*!< SCB
  663. 625:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MLSPERR_Msk (1UL << SCB_CFSR_MLSPERR_Pos) /*!< SCB
  664. 626:Drivers/CMSIS/Include/core_cm4.h ****
  665. 627:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MSTKERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 4U) /*!< SCB
  666. 628:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MSTKERR_Msk (1UL << SCB_CFSR_MSTKERR_Pos) /*!< SCB
  667. 629:Drivers/CMSIS/Include/core_cm4.h ****
  668. 630:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MUNSTKERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 3U) /*!< SCB
  669. 631:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_MUNSTKERR_Msk (1UL << SCB_CFSR_MUNSTKERR_Pos) /*!< SCB
  670. 632:Drivers/CMSIS/Include/core_cm4.h ****
  671. 633:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DACCVIOL_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 1U) /*!< SCB
  672. 634:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DACCVIOL_Msk (1UL << SCB_CFSR_DACCVIOL_Pos) /*!< SCB
  673. 635:Drivers/CMSIS/Include/core_cm4.h ****
  674. 636:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IACCVIOL_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 0U) /*!< SCB
  675. 637:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IACCVIOL_Msk (1UL /*<< SCB_CFSR_IACCVIOL_Pos*/) /*!< SCB
  676. 638:Drivers/CMSIS/Include/core_cm4.h ****
  677. 639:Drivers/CMSIS/Include/core_cm4.h **** /* BusFault Status Register (part of SCB Configurable Fault Status Register) */
  678. 640:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BFARVALID_Pos (SCB_CFSR_BUSFAULTSR_Pos + 7U) /*!< SCB
  679. 641:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_BFARVALID_Msk (1UL << SCB_CFSR_BFARVALID_Pos) /*!< SCB
  680. 642:Drivers/CMSIS/Include/core_cm4.h ****
  681. 643:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_LSPERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 5U) /*!< SCB
  682. 644:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_LSPERR_Msk (1UL << SCB_CFSR_LSPERR_Pos) /*!< SCB
  683. 645:Drivers/CMSIS/Include/core_cm4.h ****
  684. 646:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_STKERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 4U) /*!< SCB
  685. 647:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_STKERR_Msk (1UL << SCB_CFSR_STKERR_Pos) /*!< SCB
  686. 648:Drivers/CMSIS/Include/core_cm4.h ****
  687. 649:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNSTKERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 3U) /*!< SCB
  688. 650:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNSTKERR_Msk (1UL << SCB_CFSR_UNSTKERR_Pos) /*!< SCB
  689. 651:Drivers/CMSIS/Include/core_cm4.h ****
  690. 652:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IMPRECISERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 2U) /*!< SCB
  691. 653:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IMPRECISERR_Msk (1UL << SCB_CFSR_IMPRECISERR_Pos) /*!< SCB
  692. 654:Drivers/CMSIS/Include/core_cm4.h ****
  693. 655:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_PRECISERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 1U) /*!< SCB
  694. 656:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_PRECISERR_Msk (1UL << SCB_CFSR_PRECISERR_Pos) /*!< SCB
  695. 657:Drivers/CMSIS/Include/core_cm4.h ****
  696. 658:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IBUSERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 0U) /*!< SCB
  697. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 13
  698. 659:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_IBUSERR_Msk (1UL << SCB_CFSR_IBUSERR_Pos) /*!< SCB
  699. 660:Drivers/CMSIS/Include/core_cm4.h ****
  700. 661:Drivers/CMSIS/Include/core_cm4.h **** /* UsageFault Status Register (part of SCB Configurable Fault Status Register) */
  701. 662:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DIVBYZERO_Pos (SCB_CFSR_USGFAULTSR_Pos + 9U) /*!< SCB
  702. 663:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_DIVBYZERO_Msk (1UL << SCB_CFSR_DIVBYZERO_Pos) /*!< SCB
  703. 664:Drivers/CMSIS/Include/core_cm4.h ****
  704. 665:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNALIGNED_Pos (SCB_CFSR_USGFAULTSR_Pos + 8U) /*!< SCB
  705. 666:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNALIGNED_Msk (1UL << SCB_CFSR_UNALIGNED_Pos) /*!< SCB
  706. 667:Drivers/CMSIS/Include/core_cm4.h ****
  707. 668:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_NOCP_Pos (SCB_CFSR_USGFAULTSR_Pos + 3U) /*!< SCB
  708. 669:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_NOCP_Msk (1UL << SCB_CFSR_NOCP_Pos) /*!< SCB
  709. 670:Drivers/CMSIS/Include/core_cm4.h ****
  710. 671:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVPC_Pos (SCB_CFSR_USGFAULTSR_Pos + 2U) /*!< SCB
  711. 672:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVPC_Msk (1UL << SCB_CFSR_INVPC_Pos) /*!< SCB
  712. 673:Drivers/CMSIS/Include/core_cm4.h ****
  713. 674:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVSTATE_Pos (SCB_CFSR_USGFAULTSR_Pos + 1U) /*!< SCB
  714. 675:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_INVSTATE_Msk (1UL << SCB_CFSR_INVSTATE_Pos) /*!< SCB
  715. 676:Drivers/CMSIS/Include/core_cm4.h ****
  716. 677:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNDEFINSTR_Pos (SCB_CFSR_USGFAULTSR_Pos + 0U) /*!< SCB
  717. 678:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_CFSR_UNDEFINSTR_Msk (1UL << SCB_CFSR_UNDEFINSTR_Pos) /*!< SCB
  718. 679:Drivers/CMSIS/Include/core_cm4.h ****
  719. 680:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Hard Fault Status Register Definitions */
  720. 681:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_DEBUGEVT_Pos 31U /*!< SCB
  721. 682:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_DEBUGEVT_Msk (1UL << SCB_HFSR_DEBUGEVT_Pos) /*!< SCB
  722. 683:Drivers/CMSIS/Include/core_cm4.h ****
  723. 684:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_FORCED_Pos 30U /*!< SCB
  724. 685:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_FORCED_Msk (1UL << SCB_HFSR_FORCED_Pos) /*!< SCB
  725. 686:Drivers/CMSIS/Include/core_cm4.h ****
  726. 687:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_VECTTBL_Pos 1U /*!< SCB
  727. 688:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_HFSR_VECTTBL_Msk (1UL << SCB_HFSR_VECTTBL_Pos) /*!< SCB
  728. 689:Drivers/CMSIS/Include/core_cm4.h ****
  729. 690:Drivers/CMSIS/Include/core_cm4.h **** /* SCB Debug Fault Status Register Definitions */
  730. 691:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_EXTERNAL_Pos 4U /*!< SCB
  731. 692:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_EXTERNAL_Msk (1UL << SCB_DFSR_EXTERNAL_Pos) /*!< SCB
  732. 693:Drivers/CMSIS/Include/core_cm4.h ****
  733. 694:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_VCATCH_Pos 3U /*!< SCB
  734. 695:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_VCATCH_Msk (1UL << SCB_DFSR_VCATCH_Pos) /*!< SCB
  735. 696:Drivers/CMSIS/Include/core_cm4.h ****
  736. 697:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_DWTTRAP_Pos 2U /*!< SCB
  737. 698:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_DWTTRAP_Msk (1UL << SCB_DFSR_DWTTRAP_Pos) /*!< SCB
  738. 699:Drivers/CMSIS/Include/core_cm4.h ****
  739. 700:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_BKPT_Pos 1U /*!< SCB
  740. 701:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_BKPT_Msk (1UL << SCB_DFSR_BKPT_Pos) /*!< SCB
  741. 702:Drivers/CMSIS/Include/core_cm4.h ****
  742. 703:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_HALTED_Pos 0U /*!< SCB
  743. 704:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_DFSR_HALTED_Msk (1UL /*<< SCB_DFSR_HALTED_Pos*/) /*!< SCB
  744. 705:Drivers/CMSIS/Include/core_cm4.h ****
  745. 706:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_SCB */
  746. 707:Drivers/CMSIS/Include/core_cm4.h ****
  747. 708:Drivers/CMSIS/Include/core_cm4.h ****
  748. 709:Drivers/CMSIS/Include/core_cm4.h **** /**
  749. 710:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  750. 711:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_SCnSCB System Controls not in SCB (SCnSCB)
  751. 712:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the System Control and ID Register not in the SCB
  752. 713:Drivers/CMSIS/Include/core_cm4.h **** @{
  753. 714:Drivers/CMSIS/Include/core_cm4.h **** */
  754. 715:Drivers/CMSIS/Include/core_cm4.h ****
  755. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 14
  756. 716:Drivers/CMSIS/Include/core_cm4.h **** /**
  757. 717:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the System Control and ID Register not in the SCB.
  758. 718:Drivers/CMSIS/Include/core_cm4.h **** */
  759. 719:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  760. 720:Drivers/CMSIS/Include/core_cm4.h **** {
  761. 721:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[1U];
  762. 722:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ICTR; /*!< Offset: 0x004 (R/ ) Interrupt Controller Type Regist
  763. 723:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ACTLR; /*!< Offset: 0x008 (R/W) Auxiliary Control Register */
  764. 724:Drivers/CMSIS/Include/core_cm4.h **** } SCnSCB_Type;
  765. 725:Drivers/CMSIS/Include/core_cm4.h ****
  766. 726:Drivers/CMSIS/Include/core_cm4.h **** /* Interrupt Controller Type Register Definitions */
  767. 727:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ICTR_INTLINESNUM_Pos 0U /*!< ICTR: I
  768. 728:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ICTR_INTLINESNUM_Msk (0xFUL /*<< SCnSCB_ICTR_INTLINESNUM_Pos*/) /*!< ICTR: I
  769. 729:Drivers/CMSIS/Include/core_cm4.h ****
  770. 730:Drivers/CMSIS/Include/core_cm4.h **** /* Auxiliary Control Register Definitions */
  771. 731:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISOOFP_Pos 9U /*!< ACTLR:
  772. 732:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISOOFP_Msk (1UL << SCnSCB_ACTLR_DISOOFP_Pos) /*!< ACTLR:
  773. 733:Drivers/CMSIS/Include/core_cm4.h ****
  774. 734:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFPCA_Pos 8U /*!< ACTLR:
  775. 735:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFPCA_Msk (1UL << SCnSCB_ACTLR_DISFPCA_Pos) /*!< ACTLR:
  776. 736:Drivers/CMSIS/Include/core_cm4.h ****
  777. 737:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFOLD_Pos 2U /*!< ACTLR:
  778. 738:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISFOLD_Msk (1UL << SCnSCB_ACTLR_DISFOLD_Pos) /*!< ACTLR:
  779. 739:Drivers/CMSIS/Include/core_cm4.h ****
  780. 740:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISDEFWBUF_Pos 1U /*!< ACTLR:
  781. 741:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISDEFWBUF_Msk (1UL << SCnSCB_ACTLR_DISDEFWBUF_Pos) /*!< ACTLR:
  782. 742:Drivers/CMSIS/Include/core_cm4.h ****
  783. 743:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISMCYCINT_Pos 0U /*!< ACTLR:
  784. 744:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB_ACTLR_DISMCYCINT_Msk (1UL /*<< SCnSCB_ACTLR_DISMCYCINT_Pos*/) /*!< ACTLR:
  785. 745:Drivers/CMSIS/Include/core_cm4.h ****
  786. 746:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_SCnotSCB */
  787. 747:Drivers/CMSIS/Include/core_cm4.h ****
  788. 748:Drivers/CMSIS/Include/core_cm4.h ****
  789. 749:Drivers/CMSIS/Include/core_cm4.h **** /**
  790. 750:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  791. 751:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_SysTick System Tick Timer (SysTick)
  792. 752:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the System Timer Registers.
  793. 753:Drivers/CMSIS/Include/core_cm4.h **** @{
  794. 754:Drivers/CMSIS/Include/core_cm4.h **** */
  795. 755:Drivers/CMSIS/Include/core_cm4.h ****
  796. 756:Drivers/CMSIS/Include/core_cm4.h **** /**
  797. 757:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the System Timer (SysTick).
  798. 758:Drivers/CMSIS/Include/core_cm4.h **** */
  799. 759:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  800. 760:Drivers/CMSIS/Include/core_cm4.h **** {
  801. 761:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Regis
  802. 762:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t LOAD; /*!< Offset: 0x004 (R/W) SysTick Reload Value Register */
  803. 763:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t VAL; /*!< Offset: 0x008 (R/W) SysTick Current Value Register *
  804. 764:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CALIB; /*!< Offset: 0x00C (R/ ) SysTick Calibration Register */
  805. 765:Drivers/CMSIS/Include/core_cm4.h **** } SysTick_Type;
  806. 766:Drivers/CMSIS/Include/core_cm4.h ****
  807. 767:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Control / Status Register Definitions */
  808. 768:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_COUNTFLAG_Pos 16U /*!< SysT
  809. 769:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_COUNTFLAG_Msk (1UL << SysTick_CTRL_COUNTFLAG_Pos) /*!< SysT
  810. 770:Drivers/CMSIS/Include/core_cm4.h ****
  811. 771:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_CLKSOURCE_Pos 2U /*!< SysT
  812. 772:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_CLKSOURCE_Msk (1UL << SysTick_CTRL_CLKSOURCE_Pos) /*!< SysT
  813. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 15
  814. 773:Drivers/CMSIS/Include/core_cm4.h ****
  815. 774:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_TICKINT_Pos 1U /*!< SysT
  816. 775:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_TICKINT_Msk (1UL << SysTick_CTRL_TICKINT_Pos) /*!< SysT
  817. 776:Drivers/CMSIS/Include/core_cm4.h ****
  818. 777:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_ENABLE_Pos 0U /*!< SysT
  819. 778:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CTRL_ENABLE_Msk (1UL /*<< SysTick_CTRL_ENABLE_Pos*/) /*!< SysT
  820. 779:Drivers/CMSIS/Include/core_cm4.h ****
  821. 780:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Reload Register Definitions */
  822. 781:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_LOAD_RELOAD_Pos 0U /*!< SysT
  823. 782:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_LOAD_RELOAD_Msk (0xFFFFFFUL /*<< SysTick_LOAD_RELOAD_Pos*/) /*!< SysT
  824. 783:Drivers/CMSIS/Include/core_cm4.h ****
  825. 784:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Current Register Definitions */
  826. 785:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_VAL_CURRENT_Pos 0U /*!< SysT
  827. 786:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_VAL_CURRENT_Msk (0xFFFFFFUL /*<< SysTick_VAL_CURRENT_Pos*/) /*!< SysT
  828. 787:Drivers/CMSIS/Include/core_cm4.h ****
  829. 788:Drivers/CMSIS/Include/core_cm4.h **** /* SysTick Calibration Register Definitions */
  830. 789:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_NOREF_Pos 31U /*!< SysT
  831. 790:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_NOREF_Msk (1UL << SysTick_CALIB_NOREF_Pos) /*!< SysT
  832. 791:Drivers/CMSIS/Include/core_cm4.h ****
  833. 792:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_SKEW_Pos 30U /*!< SysT
  834. 793:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_SKEW_Msk (1UL << SysTick_CALIB_SKEW_Pos) /*!< SysT
  835. 794:Drivers/CMSIS/Include/core_cm4.h ****
  836. 795:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_TENMS_Pos 0U /*!< SysT
  837. 796:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_CALIB_TENMS_Msk (0xFFFFFFUL /*<< SysTick_CALIB_TENMS_Pos*/) /*!< SysT
  838. 797:Drivers/CMSIS/Include/core_cm4.h ****
  839. 798:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_SysTick */
  840. 799:Drivers/CMSIS/Include/core_cm4.h ****
  841. 800:Drivers/CMSIS/Include/core_cm4.h ****
  842. 801:Drivers/CMSIS/Include/core_cm4.h **** /**
  843. 802:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  844. 803:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_ITM Instrumentation Trace Macrocell (ITM)
  845. 804:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Instrumentation Trace Macrocell (ITM)
  846. 805:Drivers/CMSIS/Include/core_cm4.h **** @{
  847. 806:Drivers/CMSIS/Include/core_cm4.h **** */
  848. 807:Drivers/CMSIS/Include/core_cm4.h ****
  849. 808:Drivers/CMSIS/Include/core_cm4.h **** /**
  850. 809:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Instrumentation Trace Macrocell Register (ITM).
  851. 810:Drivers/CMSIS/Include/core_cm4.h **** */
  852. 811:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  853. 812:Drivers/CMSIS/Include/core_cm4.h **** {
  854. 813:Drivers/CMSIS/Include/core_cm4.h **** __OM union
  855. 814:Drivers/CMSIS/Include/core_cm4.h **** {
  856. 815:Drivers/CMSIS/Include/core_cm4.h **** __OM uint8_t u8; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 8-bit */
  857. 816:Drivers/CMSIS/Include/core_cm4.h **** __OM uint16_t u16; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 16-bit */
  858. 817:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t u32; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 32-bit */
  859. 818:Drivers/CMSIS/Include/core_cm4.h **** } PORT [32U]; /*!< Offset: 0x000 ( /W) ITM Stimulus Port Registers */
  860. 819:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[864U];
  861. 820:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t TER; /*!< Offset: 0xE00 (R/W) ITM Trace Enable Register */
  862. 821:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED1[15U];
  863. 822:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t TPR; /*!< Offset: 0xE40 (R/W) ITM Trace Privilege Register */
  864. 823:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[15U];
  865. 824:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t TCR; /*!< Offset: 0xE80 (R/W) ITM Trace Control Register */
  866. 825:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED3[29U];
  867. 826:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t IWR; /*!< Offset: 0xEF8 ( /W) ITM Integration Write Register *
  868. 827:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t IRR; /*!< Offset: 0xEFC (R/ ) ITM Integration Read Register */
  869. 828:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t IMCR; /*!< Offset: 0xF00 (R/W) ITM Integration Mode Control Reg
  870. 829:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED4[43U];
  871. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 16
  872. 830:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t LAR; /*!< Offset: 0xFB0 ( /W) ITM Lock Access Register */
  873. 831:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t LSR; /*!< Offset: 0xFB4 (R/ ) ITM Lock Status Register */
  874. 832:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED5[6U];
  875. 833:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID4; /*!< Offset: 0xFD0 (R/ ) ITM Peripheral Identification Re
  876. 834:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID5; /*!< Offset: 0xFD4 (R/ ) ITM Peripheral Identification Re
  877. 835:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID6; /*!< Offset: 0xFD8 (R/ ) ITM Peripheral Identification Re
  878. 836:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID7; /*!< Offset: 0xFDC (R/ ) ITM Peripheral Identification Re
  879. 837:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID0; /*!< Offset: 0xFE0 (R/ ) ITM Peripheral Identification Re
  880. 838:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID1; /*!< Offset: 0xFE4 (R/ ) ITM Peripheral Identification Re
  881. 839:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID2; /*!< Offset: 0xFE8 (R/ ) ITM Peripheral Identification Re
  882. 840:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PID3; /*!< Offset: 0xFEC (R/ ) ITM Peripheral Identification Re
  883. 841:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID0; /*!< Offset: 0xFF0 (R/ ) ITM Component Identification Re
  884. 842:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID1; /*!< Offset: 0xFF4 (R/ ) ITM Component Identification Re
  885. 843:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID2; /*!< Offset: 0xFF8 (R/ ) ITM Component Identification Re
  886. 844:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t CID3; /*!< Offset: 0xFFC (R/ ) ITM Component Identification Re
  887. 845:Drivers/CMSIS/Include/core_cm4.h **** } ITM_Type;
  888. 846:Drivers/CMSIS/Include/core_cm4.h ****
  889. 847:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Trace Privilege Register Definitions */
  890. 848:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TPR_PRIVMASK_Pos 0U /*!< ITM
  891. 849:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TPR_PRIVMASK_Msk (0xFFFFFFFFUL /*<< ITM_TPR_PRIVMASK_Pos*/) /*!< ITM
  892. 850:Drivers/CMSIS/Include/core_cm4.h ****
  893. 851:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Trace Control Register Definitions */
  894. 852:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_BUSY_Pos 23U /*!< ITM
  895. 853:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_BUSY_Msk (1UL << ITM_TCR_BUSY_Pos) /*!< ITM
  896. 854:Drivers/CMSIS/Include/core_cm4.h ****
  897. 855:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TraceBusID_Pos 16U /*!< ITM
  898. 856:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TraceBusID_Msk (0x7FUL << ITM_TCR_TraceBusID_Pos) /*!< ITM
  899. 857:Drivers/CMSIS/Include/core_cm4.h ****
  900. 858:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_GTSFREQ_Pos 10U /*!< ITM
  901. 859:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_GTSFREQ_Msk (3UL << ITM_TCR_GTSFREQ_Pos) /*!< ITM
  902. 860:Drivers/CMSIS/Include/core_cm4.h ****
  903. 861:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSPrescale_Pos 8U /*!< ITM
  904. 862:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSPrescale_Msk (3UL << ITM_TCR_TSPrescale_Pos) /*!< ITM
  905. 863:Drivers/CMSIS/Include/core_cm4.h ****
  906. 864:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SWOENA_Pos 4U /*!< ITM
  907. 865:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SWOENA_Msk (1UL << ITM_TCR_SWOENA_Pos) /*!< ITM
  908. 866:Drivers/CMSIS/Include/core_cm4.h ****
  909. 867:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_DWTENA_Pos 3U /*!< ITM
  910. 868:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_DWTENA_Msk (1UL << ITM_TCR_DWTENA_Pos) /*!< ITM
  911. 869:Drivers/CMSIS/Include/core_cm4.h ****
  912. 870:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SYNCENA_Pos 2U /*!< ITM
  913. 871:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_SYNCENA_Msk (1UL << ITM_TCR_SYNCENA_Pos) /*!< ITM
  914. 872:Drivers/CMSIS/Include/core_cm4.h ****
  915. 873:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSENA_Pos 1U /*!< ITM
  916. 874:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_TSENA_Msk (1UL << ITM_TCR_TSENA_Pos) /*!< ITM
  917. 875:Drivers/CMSIS/Include/core_cm4.h ****
  918. 876:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_ITMENA_Pos 0U /*!< ITM
  919. 877:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_TCR_ITMENA_Msk (1UL /*<< ITM_TCR_ITMENA_Pos*/) /*!< ITM
  920. 878:Drivers/CMSIS/Include/core_cm4.h ****
  921. 879:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Integration Write Register Definitions */
  922. 880:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IWR_ATVALIDM_Pos 0U /*!< ITM
  923. 881:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IWR_ATVALIDM_Msk (1UL /*<< ITM_IWR_ATVALIDM_Pos*/) /*!< ITM
  924. 882:Drivers/CMSIS/Include/core_cm4.h ****
  925. 883:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Integration Read Register Definitions */
  926. 884:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IRR_ATREADYM_Pos 0U /*!< ITM
  927. 885:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IRR_ATREADYM_Msk (1UL /*<< ITM_IRR_ATREADYM_Pos*/) /*!< ITM
  928. 886:Drivers/CMSIS/Include/core_cm4.h ****
  929. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 17
  930. 887:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Integration Mode Control Register Definitions */
  931. 888:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IMCR_INTEGRATION_Pos 0U /*!< ITM
  932. 889:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_IMCR_INTEGRATION_Msk (1UL /*<< ITM_IMCR_INTEGRATION_Pos*/) /*!< ITM
  933. 890:Drivers/CMSIS/Include/core_cm4.h ****
  934. 891:Drivers/CMSIS/Include/core_cm4.h **** /* ITM Lock Status Register Definitions */
  935. 892:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_ByteAcc_Pos 2U /*!< ITM
  936. 893:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_ByteAcc_Msk (1UL << ITM_LSR_ByteAcc_Pos) /*!< ITM
  937. 894:Drivers/CMSIS/Include/core_cm4.h ****
  938. 895:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Access_Pos 1U /*!< ITM
  939. 896:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Access_Msk (1UL << ITM_LSR_Access_Pos) /*!< ITM
  940. 897:Drivers/CMSIS/Include/core_cm4.h ****
  941. 898:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Present_Pos 0U /*!< ITM
  942. 899:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_LSR_Present_Msk (1UL /*<< ITM_LSR_Present_Pos*/) /*!< ITM
  943. 900:Drivers/CMSIS/Include/core_cm4.h ****
  944. 901:Drivers/CMSIS/Include/core_cm4.h **** /*@}*/ /* end of group CMSIS_ITM */
  945. 902:Drivers/CMSIS/Include/core_cm4.h ****
  946. 903:Drivers/CMSIS/Include/core_cm4.h ****
  947. 904:Drivers/CMSIS/Include/core_cm4.h **** /**
  948. 905:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  949. 906:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_DWT Data Watchpoint and Trace (DWT)
  950. 907:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Data Watchpoint and Trace (DWT)
  951. 908:Drivers/CMSIS/Include/core_cm4.h **** @{
  952. 909:Drivers/CMSIS/Include/core_cm4.h **** */
  953. 910:Drivers/CMSIS/Include/core_cm4.h ****
  954. 911:Drivers/CMSIS/Include/core_cm4.h **** /**
  955. 912:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Data Watchpoint and Trace Register (DWT).
  956. 913:Drivers/CMSIS/Include/core_cm4.h **** */
  957. 914:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  958. 915:Drivers/CMSIS/Include/core_cm4.h **** {
  959. 916:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) Control Register */
  960. 917:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CYCCNT; /*!< Offset: 0x004 (R/W) Cycle Count Register */
  961. 918:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CPICNT; /*!< Offset: 0x008 (R/W) CPI Count Register */
  962. 919:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t EXCCNT; /*!< Offset: 0x00C (R/W) Exception Overhead Count Registe
  963. 920:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SLEEPCNT; /*!< Offset: 0x010 (R/W) Sleep Count Register */
  964. 921:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t LSUCNT; /*!< Offset: 0x014 (R/W) LSU Count Register */
  965. 922:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FOLDCNT; /*!< Offset: 0x018 (R/W) Folded-instruction Count Registe
  966. 923:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t PCSR; /*!< Offset: 0x01C (R/ ) Program Counter Sample Register
  967. 924:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP0; /*!< Offset: 0x020 (R/W) Comparator Register 0 */
  968. 925:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK0; /*!< Offset: 0x024 (R/W) Mask Register 0 */
  969. 926:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION0; /*!< Offset: 0x028 (R/W) Function Register 0 */
  970. 927:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[1U];
  971. 928:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP1; /*!< Offset: 0x030 (R/W) Comparator Register 1 */
  972. 929:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK1; /*!< Offset: 0x034 (R/W) Mask Register 1 */
  973. 930:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION1; /*!< Offset: 0x038 (R/W) Function Register 1 */
  974. 931:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED1[1U];
  975. 932:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP2; /*!< Offset: 0x040 (R/W) Comparator Register 2 */
  976. 933:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK2; /*!< Offset: 0x044 (R/W) Mask Register 2 */
  977. 934:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION2; /*!< Offset: 0x048 (R/W) Function Register 2 */
  978. 935:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[1U];
  979. 936:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t COMP3; /*!< Offset: 0x050 (R/W) Comparator Register 3 */
  980. 937:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t MASK3; /*!< Offset: 0x054 (R/W) Mask Register 3 */
  981. 938:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FUNCTION3; /*!< Offset: 0x058 (R/W) Function Register 3 */
  982. 939:Drivers/CMSIS/Include/core_cm4.h **** } DWT_Type;
  983. 940:Drivers/CMSIS/Include/core_cm4.h ****
  984. 941:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Control Register Definitions */
  985. 942:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NUMCOMP_Pos 28U /*!< DWT CTR
  986. 943:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NUMCOMP_Msk (0xFUL << DWT_CTRL_NUMCOMP_Pos) /*!< DWT CTR
  987. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 18
  988. 944:Drivers/CMSIS/Include/core_cm4.h ****
  989. 945:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOTRCPKT_Pos 27U /*!< DWT CTR
  990. 946:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOTRCPKT_Msk (0x1UL << DWT_CTRL_NOTRCPKT_Pos) /*!< DWT CTR
  991. 947:Drivers/CMSIS/Include/core_cm4.h ****
  992. 948:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOEXTTRIG_Pos 26U /*!< DWT CTR
  993. 949:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOEXTTRIG_Msk (0x1UL << DWT_CTRL_NOEXTTRIG_Pos) /*!< DWT CTR
  994. 950:Drivers/CMSIS/Include/core_cm4.h ****
  995. 951:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOCYCCNT_Pos 25U /*!< DWT CTR
  996. 952:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOCYCCNT_Msk (0x1UL << DWT_CTRL_NOCYCCNT_Pos) /*!< DWT CTR
  997. 953:Drivers/CMSIS/Include/core_cm4.h ****
  998. 954:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOPRFCNT_Pos 24U /*!< DWT CTR
  999. 955:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_NOPRFCNT_Msk (0x1UL << DWT_CTRL_NOPRFCNT_Pos) /*!< DWT CTR
  1000. 956:Drivers/CMSIS/Include/core_cm4.h ****
  1001. 957:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCEVTENA_Pos 22U /*!< DWT CTR
  1002. 958:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCEVTENA_Msk (0x1UL << DWT_CTRL_CYCEVTENA_Pos) /*!< DWT CTR
  1003. 959:Drivers/CMSIS/Include/core_cm4.h ****
  1004. 960:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_FOLDEVTENA_Pos 21U /*!< DWT CTR
  1005. 961:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_FOLDEVTENA_Msk (0x1UL << DWT_CTRL_FOLDEVTENA_Pos) /*!< DWT CTR
  1006. 962:Drivers/CMSIS/Include/core_cm4.h ****
  1007. 963:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_LSUEVTENA_Pos 20U /*!< DWT CTR
  1008. 964:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_LSUEVTENA_Msk (0x1UL << DWT_CTRL_LSUEVTENA_Pos) /*!< DWT CTR
  1009. 965:Drivers/CMSIS/Include/core_cm4.h ****
  1010. 966:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SLEEPEVTENA_Pos 19U /*!< DWT CTR
  1011. 967:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SLEEPEVTENA_Msk (0x1UL << DWT_CTRL_SLEEPEVTENA_Pos) /*!< DWT CTR
  1012. 968:Drivers/CMSIS/Include/core_cm4.h ****
  1013. 969:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCEVTENA_Pos 18U /*!< DWT CTR
  1014. 970:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCEVTENA_Msk (0x1UL << DWT_CTRL_EXCEVTENA_Pos) /*!< DWT CTR
  1015. 971:Drivers/CMSIS/Include/core_cm4.h ****
  1016. 972:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CPIEVTENA_Pos 17U /*!< DWT CTR
  1017. 973:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CPIEVTENA_Msk (0x1UL << DWT_CTRL_CPIEVTENA_Pos) /*!< DWT CTR
  1018. 974:Drivers/CMSIS/Include/core_cm4.h ****
  1019. 975:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCTRCENA_Pos 16U /*!< DWT CTR
  1020. 976:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_EXCTRCENA_Msk (0x1UL << DWT_CTRL_EXCTRCENA_Pos) /*!< DWT CTR
  1021. 977:Drivers/CMSIS/Include/core_cm4.h ****
  1022. 978:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_PCSAMPLENA_Pos 12U /*!< DWT CTR
  1023. 979:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_PCSAMPLENA_Msk (0x1UL << DWT_CTRL_PCSAMPLENA_Pos) /*!< DWT CTR
  1024. 980:Drivers/CMSIS/Include/core_cm4.h ****
  1025. 981:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SYNCTAP_Pos 10U /*!< DWT CTR
  1026. 982:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_SYNCTAP_Msk (0x3UL << DWT_CTRL_SYNCTAP_Pos) /*!< DWT CTR
  1027. 983:Drivers/CMSIS/Include/core_cm4.h ****
  1028. 984:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCTAP_Pos 9U /*!< DWT CTR
  1029. 985:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCTAP_Msk (0x1UL << DWT_CTRL_CYCTAP_Pos) /*!< DWT CTR
  1030. 986:Drivers/CMSIS/Include/core_cm4.h ****
  1031. 987:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTINIT_Pos 5U /*!< DWT CTR
  1032. 988:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTINIT_Msk (0xFUL << DWT_CTRL_POSTINIT_Pos) /*!< DWT CTR
  1033. 989:Drivers/CMSIS/Include/core_cm4.h ****
  1034. 990:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTPRESET_Pos 1U /*!< DWT CTR
  1035. 991:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_POSTPRESET_Msk (0xFUL << DWT_CTRL_POSTPRESET_Pos) /*!< DWT CTR
  1036. 992:Drivers/CMSIS/Include/core_cm4.h ****
  1037. 993:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCCNTENA_Pos 0U /*!< DWT CTR
  1038. 994:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CTRL_CYCCNTENA_Msk (0x1UL /*<< DWT_CTRL_CYCCNTENA_Pos*/) /*!< DWT CTR
  1039. 995:Drivers/CMSIS/Include/core_cm4.h ****
  1040. 996:Drivers/CMSIS/Include/core_cm4.h **** /* DWT CPI Count Register Definitions */
  1041. 997:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CPICNT_CPICNT_Pos 0U /*!< DWT CPI
  1042. 998:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_CPICNT_CPICNT_Msk (0xFFUL /*<< DWT_CPICNT_CPICNT_Pos*/) /*!< DWT CPI
  1043. 999:Drivers/CMSIS/Include/core_cm4.h ****
  1044. 1000:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Exception Overhead Count Register Definitions */
  1045. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 19
  1046. 1001:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_EXCCNT_EXCCNT_Pos 0U /*!< DWT EXC
  1047. 1002:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_EXCCNT_EXCCNT_Msk (0xFFUL /*<< DWT_EXCCNT_EXCCNT_Pos*/) /*!< DWT EXC
  1048. 1003:Drivers/CMSIS/Include/core_cm4.h ****
  1049. 1004:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Sleep Count Register Definitions */
  1050. 1005:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_SLEEPCNT_SLEEPCNT_Pos 0U /*!< DWT SLE
  1051. 1006:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_SLEEPCNT_SLEEPCNT_Msk (0xFFUL /*<< DWT_SLEEPCNT_SLEEPCNT_Pos*/) /*!< DWT SLE
  1052. 1007:Drivers/CMSIS/Include/core_cm4.h ****
  1053. 1008:Drivers/CMSIS/Include/core_cm4.h **** /* DWT LSU Count Register Definitions */
  1054. 1009:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_LSUCNT_LSUCNT_Pos 0U /*!< DWT LSU
  1055. 1010:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_LSUCNT_LSUCNT_Msk (0xFFUL /*<< DWT_LSUCNT_LSUCNT_Pos*/) /*!< DWT LSU
  1056. 1011:Drivers/CMSIS/Include/core_cm4.h ****
  1057. 1012:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Folded-instruction Count Register Definitions */
  1058. 1013:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FOLDCNT_FOLDCNT_Pos 0U /*!< DWT FOL
  1059. 1014:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FOLDCNT_FOLDCNT_Msk (0xFFUL /*<< DWT_FOLDCNT_FOLDCNT_Pos*/) /*!< DWT FOL
  1060. 1015:Drivers/CMSIS/Include/core_cm4.h ****
  1061. 1016:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Comparator Mask Register Definitions */
  1062. 1017:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_MASK_MASK_Pos 0U /*!< DWT MAS
  1063. 1018:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_MASK_MASK_Msk (0x1FUL /*<< DWT_MASK_MASK_Pos*/) /*!< DWT MAS
  1064. 1019:Drivers/CMSIS/Include/core_cm4.h ****
  1065. 1020:Drivers/CMSIS/Include/core_cm4.h **** /* DWT Comparator Function Register Definitions */
  1066. 1021:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_MATCHED_Pos 24U /*!< DWT FUN
  1067. 1022:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_MATCHED_Msk (0x1UL << DWT_FUNCTION_MATCHED_Pos) /*!< DWT FUN
  1068. 1023:Drivers/CMSIS/Include/core_cm4.h ****
  1069. 1024:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR1_Pos 16U /*!< DWT FUN
  1070. 1025:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR1_Msk (0xFUL << DWT_FUNCTION_DATAVADDR1_Pos) /*!< DWT FUN
  1071. 1026:Drivers/CMSIS/Include/core_cm4.h ****
  1072. 1027:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR0_Pos 12U /*!< DWT FUN
  1073. 1028:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVADDR0_Msk (0xFUL << DWT_FUNCTION_DATAVADDR0_Pos) /*!< DWT FUN
  1074. 1029:Drivers/CMSIS/Include/core_cm4.h ****
  1075. 1030:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVSIZE_Pos 10U /*!< DWT FUN
  1076. 1031:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVSIZE_Msk (0x3UL << DWT_FUNCTION_DATAVSIZE_Pos) /*!< DWT FUN
  1077. 1032:Drivers/CMSIS/Include/core_cm4.h ****
  1078. 1033:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_LNK1ENA_Pos 9U /*!< DWT FUN
  1079. 1034:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_LNK1ENA_Msk (0x1UL << DWT_FUNCTION_LNK1ENA_Pos) /*!< DWT FUN
  1080. 1035:Drivers/CMSIS/Include/core_cm4.h ****
  1081. 1036:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVMATCH_Pos 8U /*!< DWT FUN
  1082. 1037:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_DATAVMATCH_Msk (0x1UL << DWT_FUNCTION_DATAVMATCH_Pos) /*!< DWT FUN
  1083. 1038:Drivers/CMSIS/Include/core_cm4.h ****
  1084. 1039:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_CYCMATCH_Pos 7U /*!< DWT FUN
  1085. 1040:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_CYCMATCH_Msk (0x1UL << DWT_FUNCTION_CYCMATCH_Pos) /*!< DWT FUN
  1086. 1041:Drivers/CMSIS/Include/core_cm4.h ****
  1087. 1042:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_EMITRANGE_Pos 5U /*!< DWT FUN
  1088. 1043:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_EMITRANGE_Msk (0x1UL << DWT_FUNCTION_EMITRANGE_Pos) /*!< DWT FUN
  1089. 1044:Drivers/CMSIS/Include/core_cm4.h ****
  1090. 1045:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_FUNCTION_Pos 0U /*!< DWT FUN
  1091. 1046:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_FUNCTION_FUNCTION_Msk (0xFUL /*<< DWT_FUNCTION_FUNCTION_Pos*/) /*!< DWT FUN
  1092. 1047:Drivers/CMSIS/Include/core_cm4.h ****
  1093. 1048:Drivers/CMSIS/Include/core_cm4.h **** /*@}*/ /* end of group CMSIS_DWT */
  1094. 1049:Drivers/CMSIS/Include/core_cm4.h ****
  1095. 1050:Drivers/CMSIS/Include/core_cm4.h ****
  1096. 1051:Drivers/CMSIS/Include/core_cm4.h **** /**
  1097. 1052:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1098. 1053:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_TPI Trace Port Interface (TPI)
  1099. 1054:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Trace Port Interface (TPI)
  1100. 1055:Drivers/CMSIS/Include/core_cm4.h **** @{
  1101. 1056:Drivers/CMSIS/Include/core_cm4.h **** */
  1102. 1057:Drivers/CMSIS/Include/core_cm4.h ****
  1103. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 20
  1104. 1058:Drivers/CMSIS/Include/core_cm4.h **** /**
  1105. 1059:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Trace Port Interface Register (TPI).
  1106. 1060:Drivers/CMSIS/Include/core_cm4.h **** */
  1107. 1061:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1108. 1062:Drivers/CMSIS/Include/core_cm4.h **** {
  1109. 1063:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t SSPSR; /*!< Offset: 0x000 (R/ ) Supported Parallel Port Size Reg
  1110. 1064:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CSPSR; /*!< Offset: 0x004 (R/W) Current Parallel Port Size Regis
  1111. 1065:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[2U];
  1112. 1066:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ACPR; /*!< Offset: 0x010 (R/W) Asynchronous Clock Prescaler Reg
  1113. 1067:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED1[55U];
  1114. 1068:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t SPPR; /*!< Offset: 0x0F0 (R/W) Selected Pin Protocol Register *
  1115. 1069:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED2[131U];
  1116. 1070:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FFSR; /*!< Offset: 0x300 (R/ ) Formatter and Flush Status Regis
  1117. 1071:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FFCR; /*!< Offset: 0x304 (R/W) Formatter and Flush Control Regi
  1118. 1072:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FSCR; /*!< Offset: 0x308 (R/ ) Formatter Synchronization Counte
  1119. 1073:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED3[759U];
  1120. 1074:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t TRIGGER; /*!< Offset: 0xEE8 (R/ ) TRIGGER Register */
  1121. 1075:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FIFO0; /*!< Offset: 0xEEC (R/ ) Integration ETM Data */
  1122. 1076:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ITATBCTR2; /*!< Offset: 0xEF0 (R/ ) ITATBCTR2 */
  1123. 1077:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED4[1U];
  1124. 1078:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t ITATBCTR0; /*!< Offset: 0xEF8 (R/ ) ITATBCTR0 */
  1125. 1079:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t FIFO1; /*!< Offset: 0xEFC (R/ ) Integration ITM Data */
  1126. 1080:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t ITCTRL; /*!< Offset: 0xF00 (R/W) Integration Mode Control */
  1127. 1081:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED5[39U];
  1128. 1082:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CLAIMSET; /*!< Offset: 0xFA0 (R/W) Claim tag set */
  1129. 1083:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CLAIMCLR; /*!< Offset: 0xFA4 (R/W) Claim tag clear */
  1130. 1084:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED7[8U];
  1131. 1085:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t DEVID; /*!< Offset: 0xFC8 (R/ ) TPIU_DEVID */
  1132. 1086:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t DEVTYPE; /*!< Offset: 0xFCC (R/ ) TPIU_DEVTYPE */
  1133. 1087:Drivers/CMSIS/Include/core_cm4.h **** } TPI_Type;
  1134. 1088:Drivers/CMSIS/Include/core_cm4.h ****
  1135. 1089:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Asynchronous Clock Prescaler Register Definitions */
  1136. 1090:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ACPR_PRESCALER_Pos 0U /*!< TPI ACP
  1137. 1091:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ACPR_PRESCALER_Msk (0x1FFFUL /*<< TPI_ACPR_PRESCALER_Pos*/) /*!< TPI ACP
  1138. 1092:Drivers/CMSIS/Include/core_cm4.h ****
  1139. 1093:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Selected Pin Protocol Register Definitions */
  1140. 1094:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_SPPR_TXMODE_Pos 0U /*!< TPI SPP
  1141. 1095:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_SPPR_TXMODE_Msk (0x3UL /*<< TPI_SPPR_TXMODE_Pos*/) /*!< TPI SPP
  1142. 1096:Drivers/CMSIS/Include/core_cm4.h ****
  1143. 1097:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Formatter and Flush Status Register Definitions */
  1144. 1098:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtNonStop_Pos 3U /*!< TPI FFS
  1145. 1099:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtNonStop_Msk (0x1UL << TPI_FFSR_FtNonStop_Pos) /*!< TPI FFS
  1146. 1100:Drivers/CMSIS/Include/core_cm4.h ****
  1147. 1101:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_TCPresent_Pos 2U /*!< TPI FFS
  1148. 1102:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_TCPresent_Msk (0x1UL << TPI_FFSR_TCPresent_Pos) /*!< TPI FFS
  1149. 1103:Drivers/CMSIS/Include/core_cm4.h ****
  1150. 1104:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtStopped_Pos 1U /*!< TPI FFS
  1151. 1105:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FtStopped_Msk (0x1UL << TPI_FFSR_FtStopped_Pos) /*!< TPI FFS
  1152. 1106:Drivers/CMSIS/Include/core_cm4.h ****
  1153. 1107:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FlInProg_Pos 0U /*!< TPI FFS
  1154. 1108:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFSR_FlInProg_Msk (0x1UL /*<< TPI_FFSR_FlInProg_Pos*/) /*!< TPI FFS
  1155. 1109:Drivers/CMSIS/Include/core_cm4.h ****
  1156. 1110:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Formatter and Flush Control Register Definitions */
  1157. 1111:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_TrigIn_Pos 8U /*!< TPI FFC
  1158. 1112:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_TrigIn_Msk (0x1UL << TPI_FFCR_TrigIn_Pos) /*!< TPI FFC
  1159. 1113:Drivers/CMSIS/Include/core_cm4.h ****
  1160. 1114:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_EnFCont_Pos 1U /*!< TPI FFC
  1161. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 21
  1162. 1115:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FFCR_EnFCont_Msk (0x1UL << TPI_FFCR_EnFCont_Pos) /*!< TPI FFC
  1163. 1116:Drivers/CMSIS/Include/core_cm4.h ****
  1164. 1117:Drivers/CMSIS/Include/core_cm4.h **** /* TPI TRIGGER Register Definitions */
  1165. 1118:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_TRIGGER_TRIGGER_Pos 0U /*!< TPI TRI
  1166. 1119:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_TRIGGER_TRIGGER_Msk (0x1UL /*<< TPI_TRIGGER_TRIGGER_Pos*/) /*!< TPI TRI
  1167. 1120:Drivers/CMSIS/Include/core_cm4.h ****
  1168. 1121:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Integration ETM Data Register Definitions (FIFO0) */
  1169. 1122:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_ATVALID_Pos 29U /*!< TPI FIF
  1170. 1123:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_ATVALID_Msk (0x3UL << TPI_FIFO0_ITM_ATVALID_Pos) /*!< TPI FIF
  1171. 1124:Drivers/CMSIS/Include/core_cm4.h ****
  1172. 1125:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_bytecount_Pos 27U /*!< TPI FIF
  1173. 1126:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ITM_bytecount_Msk (0x3UL << TPI_FIFO0_ITM_bytecount_Pos) /*!< TPI FIF
  1174. 1127:Drivers/CMSIS/Include/core_cm4.h ****
  1175. 1128:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_ATVALID_Pos 26U /*!< TPI FIF
  1176. 1129:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_ATVALID_Msk (0x3UL << TPI_FIFO0_ETM_ATVALID_Pos) /*!< TPI FIF
  1177. 1130:Drivers/CMSIS/Include/core_cm4.h ****
  1178. 1131:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_bytecount_Pos 24U /*!< TPI FIF
  1179. 1132:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM_bytecount_Msk (0x3UL << TPI_FIFO0_ETM_bytecount_Pos) /*!< TPI FIF
  1180. 1133:Drivers/CMSIS/Include/core_cm4.h ****
  1181. 1134:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM2_Pos 16U /*!< TPI FIF
  1182. 1135:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM2_Msk (0xFFUL << TPI_FIFO0_ETM2_Pos) /*!< TPI FIF
  1183. 1136:Drivers/CMSIS/Include/core_cm4.h ****
  1184. 1137:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM1_Pos 8U /*!< TPI FIF
  1185. 1138:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM1_Msk (0xFFUL << TPI_FIFO0_ETM1_Pos) /*!< TPI FIF
  1186. 1139:Drivers/CMSIS/Include/core_cm4.h ****
  1187. 1140:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM0_Pos 0U /*!< TPI FIF
  1188. 1141:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO0_ETM0_Msk (0xFFUL /*<< TPI_FIFO0_ETM0_Pos*/) /*!< TPI FIF
  1189. 1142:Drivers/CMSIS/Include/core_cm4.h ****
  1190. 1143:Drivers/CMSIS/Include/core_cm4.h **** /* TPI ITATBCTR2 Register Definitions */
  1191. 1144:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY2_Pos 0U /*!< TPI ITA
  1192. 1145:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY2_Msk (0x1UL /*<< TPI_ITATBCTR2_ATREADY2_Pos*/) /*!< TPI ITA
  1193. 1146:Drivers/CMSIS/Include/core_cm4.h ****
  1194. 1147:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY1_Pos 0U /*!< TPI ITA
  1195. 1148:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR2_ATREADY1_Msk (0x1UL /*<< TPI_ITATBCTR2_ATREADY1_Pos*/) /*!< TPI ITA
  1196. 1149:Drivers/CMSIS/Include/core_cm4.h ****
  1197. 1150:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Integration ITM Data Register Definitions (FIFO1) */
  1198. 1151:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_ATVALID_Pos 29U /*!< TPI FIF
  1199. 1152:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_ATVALID_Msk (0x3UL << TPI_FIFO1_ITM_ATVALID_Pos) /*!< TPI FIF
  1200. 1153:Drivers/CMSIS/Include/core_cm4.h ****
  1201. 1154:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_bytecount_Pos 27U /*!< TPI FIF
  1202. 1155:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM_bytecount_Msk (0x3UL << TPI_FIFO1_ITM_bytecount_Pos) /*!< TPI FIF
  1203. 1156:Drivers/CMSIS/Include/core_cm4.h ****
  1204. 1157:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_ATVALID_Pos 26U /*!< TPI FIF
  1205. 1158:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_ATVALID_Msk (0x3UL << TPI_FIFO1_ETM_ATVALID_Pos) /*!< TPI FIF
  1206. 1159:Drivers/CMSIS/Include/core_cm4.h ****
  1207. 1160:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_bytecount_Pos 24U /*!< TPI FIF
  1208. 1161:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ETM_bytecount_Msk (0x3UL << TPI_FIFO1_ETM_bytecount_Pos) /*!< TPI FIF
  1209. 1162:Drivers/CMSIS/Include/core_cm4.h ****
  1210. 1163:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM2_Pos 16U /*!< TPI FIF
  1211. 1164:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM2_Msk (0xFFUL << TPI_FIFO1_ITM2_Pos) /*!< TPI FIF
  1212. 1165:Drivers/CMSIS/Include/core_cm4.h ****
  1213. 1166:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM1_Pos 8U /*!< TPI FIF
  1214. 1167:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM1_Msk (0xFFUL << TPI_FIFO1_ITM1_Pos) /*!< TPI FIF
  1215. 1168:Drivers/CMSIS/Include/core_cm4.h ****
  1216. 1169:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM0_Pos 0U /*!< TPI FIF
  1217. 1170:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_FIFO1_ITM0_Msk (0xFFUL /*<< TPI_FIFO1_ITM0_Pos*/) /*!< TPI FIF
  1218. 1171:Drivers/CMSIS/Include/core_cm4.h ****
  1219. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 22
  1220. 1172:Drivers/CMSIS/Include/core_cm4.h **** /* TPI ITATBCTR0 Register Definitions */
  1221. 1173:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY2_Pos 0U /*!< TPI ITA
  1222. 1174:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY2_Msk (0x1UL /*<< TPI_ITATBCTR0_ATREADY2_Pos*/) /*!< TPI ITA
  1223. 1175:Drivers/CMSIS/Include/core_cm4.h ****
  1224. 1176:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY1_Pos 0U /*!< TPI ITA
  1225. 1177:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITATBCTR0_ATREADY1_Msk (0x1UL /*<< TPI_ITATBCTR0_ATREADY1_Pos*/) /*!< TPI ITA
  1226. 1178:Drivers/CMSIS/Include/core_cm4.h ****
  1227. 1179:Drivers/CMSIS/Include/core_cm4.h **** /* TPI Integration Mode Control Register Definitions */
  1228. 1180:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITCTRL_Mode_Pos 0U /*!< TPI ITC
  1229. 1181:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_ITCTRL_Mode_Msk (0x3UL /*<< TPI_ITCTRL_Mode_Pos*/) /*!< TPI ITC
  1230. 1182:Drivers/CMSIS/Include/core_cm4.h ****
  1231. 1183:Drivers/CMSIS/Include/core_cm4.h **** /* TPI DEVID Register Definitions */
  1232. 1184:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NRZVALID_Pos 11U /*!< TPI DEV
  1233. 1185:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NRZVALID_Msk (0x1UL << TPI_DEVID_NRZVALID_Pos) /*!< TPI DEV
  1234. 1186:Drivers/CMSIS/Include/core_cm4.h ****
  1235. 1187:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MANCVALID_Pos 10U /*!< TPI DEV
  1236. 1188:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MANCVALID_Msk (0x1UL << TPI_DEVID_MANCVALID_Pos) /*!< TPI DEV
  1237. 1189:Drivers/CMSIS/Include/core_cm4.h ****
  1238. 1190:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_PTINVALID_Pos 9U /*!< TPI DEV
  1239. 1191:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_PTINVALID_Msk (0x1UL << TPI_DEVID_PTINVALID_Pos) /*!< TPI DEV
  1240. 1192:Drivers/CMSIS/Include/core_cm4.h ****
  1241. 1193:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MinBufSz_Pos 6U /*!< TPI DEV
  1242. 1194:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_MinBufSz_Msk (0x7UL << TPI_DEVID_MinBufSz_Pos) /*!< TPI DEV
  1243. 1195:Drivers/CMSIS/Include/core_cm4.h ****
  1244. 1196:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_AsynClkIn_Pos 5U /*!< TPI DEV
  1245. 1197:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_AsynClkIn_Msk (0x1UL << TPI_DEVID_AsynClkIn_Pos) /*!< TPI DEV
  1246. 1198:Drivers/CMSIS/Include/core_cm4.h ****
  1247. 1199:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NrTraceInput_Pos 0U /*!< TPI DEV
  1248. 1200:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVID_NrTraceInput_Msk (0x1FUL /*<< TPI_DEVID_NrTraceInput_Pos*/) /*!< TPI DEV
  1249. 1201:Drivers/CMSIS/Include/core_cm4.h ****
  1250. 1202:Drivers/CMSIS/Include/core_cm4.h **** /* TPI DEVTYPE Register Definitions */
  1251. 1203:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_SubType_Pos 4U /*!< TPI DEV
  1252. 1204:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_SubType_Msk (0xFUL /*<< TPI_DEVTYPE_SubType_Pos*/) /*!< TPI DEV
  1253. 1205:Drivers/CMSIS/Include/core_cm4.h ****
  1254. 1206:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_MajorType_Pos 0U /*!< TPI DEV
  1255. 1207:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_DEVTYPE_MajorType_Msk (0xFUL << TPI_DEVTYPE_MajorType_Pos) /*!< TPI DEV
  1256. 1208:Drivers/CMSIS/Include/core_cm4.h ****
  1257. 1209:Drivers/CMSIS/Include/core_cm4.h **** /*@}*/ /* end of group CMSIS_TPI */
  1258. 1210:Drivers/CMSIS/Include/core_cm4.h ****
  1259. 1211:Drivers/CMSIS/Include/core_cm4.h ****
  1260. 1212:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
  1261. 1213:Drivers/CMSIS/Include/core_cm4.h **** /**
  1262. 1214:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1263. 1215:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_MPU Memory Protection Unit (MPU)
  1264. 1216:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Memory Protection Unit (MPU)
  1265. 1217:Drivers/CMSIS/Include/core_cm4.h **** @{
  1266. 1218:Drivers/CMSIS/Include/core_cm4.h **** */
  1267. 1219:Drivers/CMSIS/Include/core_cm4.h ****
  1268. 1220:Drivers/CMSIS/Include/core_cm4.h **** /**
  1269. 1221:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Memory Protection Unit (MPU).
  1270. 1222:Drivers/CMSIS/Include/core_cm4.h **** */
  1271. 1223:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1272. 1224:Drivers/CMSIS/Include/core_cm4.h **** {
  1273. 1225:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t TYPE; /*!< Offset: 0x000 (R/ ) MPU Type Register */
  1274. 1226:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t CTRL; /*!< Offset: 0x004 (R/W) MPU Control Register */
  1275. 1227:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RNR; /*!< Offset: 0x008 (R/W) MPU Region RNRber Register */
  1276. 1228:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR; /*!< Offset: 0x00C (R/W) MPU Region Base Address Register
  1277. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 23
  1278. 1229:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR; /*!< Offset: 0x010 (R/W) MPU Region Attribute and Size Re
  1279. 1230:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR_A1; /*!< Offset: 0x014 (R/W) MPU Alias 1 Region Base Address
  1280. 1231:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR_A1; /*!< Offset: 0x018 (R/W) MPU Alias 1 Region Attribute and
  1281. 1232:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR_A2; /*!< Offset: 0x01C (R/W) MPU Alias 2 Region Base Address
  1282. 1233:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR_A2; /*!< Offset: 0x020 (R/W) MPU Alias 2 Region Attribute and
  1283. 1234:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RBAR_A3; /*!< Offset: 0x024 (R/W) MPU Alias 3 Region Base Address
  1284. 1235:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t RASR_A3; /*!< Offset: 0x028 (R/W) MPU Alias 3 Region Attribute and
  1285. 1236:Drivers/CMSIS/Include/core_cm4.h **** } MPU_Type;
  1286. 1237:Drivers/CMSIS/Include/core_cm4.h ****
  1287. 1238:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_RALIASES 4U
  1288. 1239:Drivers/CMSIS/Include/core_cm4.h ****
  1289. 1240:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Type Register Definitions */
  1290. 1241:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_IREGION_Pos 16U /*!< MPU
  1291. 1242:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_IREGION_Msk (0xFFUL << MPU_TYPE_IREGION_Pos) /*!< MPU
  1292. 1243:Drivers/CMSIS/Include/core_cm4.h ****
  1293. 1244:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_DREGION_Pos 8U /*!< MPU
  1294. 1245:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_DREGION_Msk (0xFFUL << MPU_TYPE_DREGION_Pos) /*!< MPU
  1295. 1246:Drivers/CMSIS/Include/core_cm4.h ****
  1296. 1247:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_SEPARATE_Pos 0U /*!< MPU
  1297. 1248:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_TYPE_SEPARATE_Msk (1UL /*<< MPU_TYPE_SEPARATE_Pos*/) /*!< MPU
  1298. 1249:Drivers/CMSIS/Include/core_cm4.h ****
  1299. 1250:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Control Register Definitions */
  1300. 1251:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_PRIVDEFENA_Pos 2U /*!< MPU
  1301. 1252:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_PRIVDEFENA_Msk (1UL << MPU_CTRL_PRIVDEFENA_Pos) /*!< MPU
  1302. 1253:Drivers/CMSIS/Include/core_cm4.h ****
  1303. 1254:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_HFNMIENA_Pos 1U /*!< MPU
  1304. 1255:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_HFNMIENA_Msk (1UL << MPU_CTRL_HFNMIENA_Pos) /*!< MPU
  1305. 1256:Drivers/CMSIS/Include/core_cm4.h ****
  1306. 1257:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_ENABLE_Pos 0U /*!< MPU
  1307. 1258:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_CTRL_ENABLE_Msk (1UL /*<< MPU_CTRL_ENABLE_Pos*/) /*!< MPU
  1308. 1259:Drivers/CMSIS/Include/core_cm4.h ****
  1309. 1260:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Region Number Register Definitions */
  1310. 1261:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RNR_REGION_Pos 0U /*!< MPU
  1311. 1262:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RNR_REGION_Msk (0xFFUL /*<< MPU_RNR_REGION_Pos*/) /*!< MPU
  1312. 1263:Drivers/CMSIS/Include/core_cm4.h ****
  1313. 1264:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Region Base Address Register Definitions */
  1314. 1265:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_ADDR_Pos 5U /*!< MPU
  1315. 1266:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_ADDR_Msk (0x7FFFFFFUL << MPU_RBAR_ADDR_Pos) /*!< MPU
  1316. 1267:Drivers/CMSIS/Include/core_cm4.h ****
  1317. 1268:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_VALID_Pos 4U /*!< MPU
  1318. 1269:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_VALID_Msk (1UL << MPU_RBAR_VALID_Pos) /*!< MPU
  1319. 1270:Drivers/CMSIS/Include/core_cm4.h ****
  1320. 1271:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_REGION_Pos 0U /*!< MPU
  1321. 1272:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RBAR_REGION_Msk (0xFUL /*<< MPU_RBAR_REGION_Pos*/) /*!< MPU
  1322. 1273:Drivers/CMSIS/Include/core_cm4.h ****
  1323. 1274:Drivers/CMSIS/Include/core_cm4.h **** /* MPU Region Attribute and Size Register Definitions */
  1324. 1275:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ATTRS_Pos 16U /*!< MPU
  1325. 1276:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ATTRS_Msk (0xFFFFUL << MPU_RASR_ATTRS_Pos) /*!< MPU
  1326. 1277:Drivers/CMSIS/Include/core_cm4.h ****
  1327. 1278:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_XN_Pos 28U /*!< MPU
  1328. 1279:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_XN_Msk (1UL << MPU_RASR_XN_Pos) /*!< MPU
  1329. 1280:Drivers/CMSIS/Include/core_cm4.h ****
  1330. 1281:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_AP_Pos 24U /*!< MPU
  1331. 1282:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_AP_Msk (0x7UL << MPU_RASR_AP_Pos) /*!< MPU
  1332. 1283:Drivers/CMSIS/Include/core_cm4.h ****
  1333. 1284:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_TEX_Pos 19U /*!< MPU
  1334. 1285:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_TEX_Msk (0x7UL << MPU_RASR_TEX_Pos) /*!< MPU
  1335. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 24
  1336. 1286:Drivers/CMSIS/Include/core_cm4.h ****
  1337. 1287:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_S_Pos 18U /*!< MPU
  1338. 1288:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_S_Msk (1UL << MPU_RASR_S_Pos) /*!< MPU
  1339. 1289:Drivers/CMSIS/Include/core_cm4.h ****
  1340. 1290:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_C_Pos 17U /*!< MPU
  1341. 1291:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_C_Msk (1UL << MPU_RASR_C_Pos) /*!< MPU
  1342. 1292:Drivers/CMSIS/Include/core_cm4.h ****
  1343. 1293:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_B_Pos 16U /*!< MPU
  1344. 1294:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_B_Msk (1UL << MPU_RASR_B_Pos) /*!< MPU
  1345. 1295:Drivers/CMSIS/Include/core_cm4.h ****
  1346. 1296:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SRD_Pos 8U /*!< MPU
  1347. 1297:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SRD_Msk (0xFFUL << MPU_RASR_SRD_Pos) /*!< MPU
  1348. 1298:Drivers/CMSIS/Include/core_cm4.h ****
  1349. 1299:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SIZE_Pos 1U /*!< MPU
  1350. 1300:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_SIZE_Msk (0x1FUL << MPU_RASR_SIZE_Pos) /*!< MPU
  1351. 1301:Drivers/CMSIS/Include/core_cm4.h ****
  1352. 1302:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ENABLE_Pos 0U /*!< MPU
  1353. 1303:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_RASR_ENABLE_Msk (1UL /*<< MPU_RASR_ENABLE_Pos*/) /*!< MPU
  1354. 1304:Drivers/CMSIS/Include/core_cm4.h ****
  1355. 1305:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_MPU */
  1356. 1306:Drivers/CMSIS/Include/core_cm4.h **** #endif /* defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U) */
  1357. 1307:Drivers/CMSIS/Include/core_cm4.h ****
  1358. 1308:Drivers/CMSIS/Include/core_cm4.h ****
  1359. 1309:Drivers/CMSIS/Include/core_cm4.h **** /**
  1360. 1310:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1361. 1311:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_FPU Floating Point Unit (FPU)
  1362. 1312:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Floating Point Unit (FPU)
  1363. 1313:Drivers/CMSIS/Include/core_cm4.h **** @{
  1364. 1314:Drivers/CMSIS/Include/core_cm4.h **** */
  1365. 1315:Drivers/CMSIS/Include/core_cm4.h ****
  1366. 1316:Drivers/CMSIS/Include/core_cm4.h **** /**
  1367. 1317:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Floating Point Unit (FPU).
  1368. 1318:Drivers/CMSIS/Include/core_cm4.h **** */
  1369. 1319:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1370. 1320:Drivers/CMSIS/Include/core_cm4.h **** {
  1371. 1321:Drivers/CMSIS/Include/core_cm4.h **** uint32_t RESERVED0[1U];
  1372. 1322:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FPCCR; /*!< Offset: 0x004 (R/W) Floating-Point Context Control R
  1373. 1323:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FPCAR; /*!< Offset: 0x008 (R/W) Floating-Point Context Address R
  1374. 1324:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t FPDSCR; /*!< Offset: 0x00C (R/W) Floating-Point Default Status Co
  1375. 1325:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t MVFR0; /*!< Offset: 0x010 (R/ ) Media and FP Feature Register 0
  1376. 1326:Drivers/CMSIS/Include/core_cm4.h **** __IM uint32_t MVFR1; /*!< Offset: 0x014 (R/ ) Media and FP Feature Register 1
  1377. 1327:Drivers/CMSIS/Include/core_cm4.h **** } FPU_Type;
  1378. 1328:Drivers/CMSIS/Include/core_cm4.h ****
  1379. 1329:Drivers/CMSIS/Include/core_cm4.h **** /* Floating-Point Context Control Register Definitions */
  1380. 1330:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_ASPEN_Pos 31U /*!< FPCC
  1381. 1331:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_ASPEN_Msk (1UL << FPU_FPCCR_ASPEN_Pos) /*!< FPCC
  1382. 1332:Drivers/CMSIS/Include/core_cm4.h ****
  1383. 1333:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPEN_Pos 30U /*!< FPCC
  1384. 1334:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPEN_Msk (1UL << FPU_FPCCR_LSPEN_Pos) /*!< FPCC
  1385. 1335:Drivers/CMSIS/Include/core_cm4.h ****
  1386. 1336:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MONRDY_Pos 8U /*!< FPCC
  1387. 1337:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MONRDY_Msk (1UL << FPU_FPCCR_MONRDY_Pos) /*!< FPCC
  1388. 1338:Drivers/CMSIS/Include/core_cm4.h ****
  1389. 1339:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_BFRDY_Pos 6U /*!< FPCC
  1390. 1340:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_BFRDY_Msk (1UL << FPU_FPCCR_BFRDY_Pos) /*!< FPCC
  1391. 1341:Drivers/CMSIS/Include/core_cm4.h ****
  1392. 1342:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MMRDY_Pos 5U /*!< FPCC
  1393. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 25
  1394. 1343:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_MMRDY_Msk (1UL << FPU_FPCCR_MMRDY_Pos) /*!< FPCC
  1395. 1344:Drivers/CMSIS/Include/core_cm4.h ****
  1396. 1345:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_HFRDY_Pos 4U /*!< FPCC
  1397. 1346:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_HFRDY_Msk (1UL << FPU_FPCCR_HFRDY_Pos) /*!< FPCC
  1398. 1347:Drivers/CMSIS/Include/core_cm4.h ****
  1399. 1348:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_THREAD_Pos 3U /*!< FPCC
  1400. 1349:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_THREAD_Msk (1UL << FPU_FPCCR_THREAD_Pos) /*!< FPCC
  1401. 1350:Drivers/CMSIS/Include/core_cm4.h ****
  1402. 1351:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_USER_Pos 1U /*!< FPCC
  1403. 1352:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_USER_Msk (1UL << FPU_FPCCR_USER_Pos) /*!< FPCC
  1404. 1353:Drivers/CMSIS/Include/core_cm4.h ****
  1405. 1354:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPACT_Pos 0U /*!< FPCC
  1406. 1355:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCCR_LSPACT_Msk (1UL /*<< FPU_FPCCR_LSPACT_Pos*/) /*!< FPCC
  1407. 1356:Drivers/CMSIS/Include/core_cm4.h ****
  1408. 1357:Drivers/CMSIS/Include/core_cm4.h **** /* Floating-Point Context Address Register Definitions */
  1409. 1358:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCAR_ADDRESS_Pos 3U /*!< FPCA
  1410. 1359:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPCAR_ADDRESS_Msk (0x1FFFFFFFUL << FPU_FPCAR_ADDRESS_Pos) /*!< FPCA
  1411. 1360:Drivers/CMSIS/Include/core_cm4.h ****
  1412. 1361:Drivers/CMSIS/Include/core_cm4.h **** /* Floating-Point Default Status Control Register Definitions */
  1413. 1362:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_AHP_Pos 26U /*!< FPDS
  1414. 1363:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_AHP_Msk (1UL << FPU_FPDSCR_AHP_Pos) /*!< FPDS
  1415. 1364:Drivers/CMSIS/Include/core_cm4.h ****
  1416. 1365:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_DN_Pos 25U /*!< FPDS
  1417. 1366:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_DN_Msk (1UL << FPU_FPDSCR_DN_Pos) /*!< FPDS
  1418. 1367:Drivers/CMSIS/Include/core_cm4.h ****
  1419. 1368:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_FZ_Pos 24U /*!< FPDS
  1420. 1369:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_FZ_Msk (1UL << FPU_FPDSCR_FZ_Pos) /*!< FPDS
  1421. 1370:Drivers/CMSIS/Include/core_cm4.h ****
  1422. 1371:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_RMode_Pos 22U /*!< FPDS
  1423. 1372:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_FPDSCR_RMode_Msk (3UL << FPU_FPDSCR_RMode_Pos) /*!< FPDS
  1424. 1373:Drivers/CMSIS/Include/core_cm4.h ****
  1425. 1374:Drivers/CMSIS/Include/core_cm4.h **** /* Media and FP Feature Register 0 Definitions */
  1426. 1375:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_rounding_modes_Pos 28U /*!< MVFR
  1427. 1376:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_rounding_modes_Msk (0xFUL << FPU_MVFR0_FP_rounding_modes_Pos) /*!< MVFR
  1428. 1377:Drivers/CMSIS/Include/core_cm4.h ****
  1429. 1378:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Short_vectors_Pos 24U /*!< MVFR
  1430. 1379:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Short_vectors_Msk (0xFUL << FPU_MVFR0_Short_vectors_Pos) /*!< MVFR
  1431. 1380:Drivers/CMSIS/Include/core_cm4.h ****
  1432. 1381:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Square_root_Pos 20U /*!< MVFR
  1433. 1382:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Square_root_Msk (0xFUL << FPU_MVFR0_Square_root_Pos) /*!< MVFR
  1434. 1383:Drivers/CMSIS/Include/core_cm4.h ****
  1435. 1384:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Divide_Pos 16U /*!< MVFR
  1436. 1385:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Divide_Msk (0xFUL << FPU_MVFR0_Divide_Pos) /*!< MVFR
  1437. 1386:Drivers/CMSIS/Include/core_cm4.h ****
  1438. 1387:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_excep_trapping_Pos 12U /*!< MVFR
  1439. 1388:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_FP_excep_trapping_Msk (0xFUL << FPU_MVFR0_FP_excep_trapping_Pos) /*!< MVFR
  1440. 1389:Drivers/CMSIS/Include/core_cm4.h ****
  1441. 1390:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Double_precision_Pos 8U /*!< MVFR
  1442. 1391:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Double_precision_Msk (0xFUL << FPU_MVFR0_Double_precision_Pos) /*!< MVFR
  1443. 1392:Drivers/CMSIS/Include/core_cm4.h ****
  1444. 1393:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Single_precision_Pos 4U /*!< MVFR
  1445. 1394:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_Single_precision_Msk (0xFUL << FPU_MVFR0_Single_precision_Pos) /*!< MVFR
  1446. 1395:Drivers/CMSIS/Include/core_cm4.h ****
  1447. 1396:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_A_SIMD_registers_Pos 0U /*!< MVFR
  1448. 1397:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR0_A_SIMD_registers_Msk (0xFUL /*<< FPU_MVFR0_A_SIMD_registers_Pos*/) /*!< MVFR
  1449. 1398:Drivers/CMSIS/Include/core_cm4.h ****
  1450. 1399:Drivers/CMSIS/Include/core_cm4.h **** /* Media and FP Feature Register 1 Definitions */
  1451. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 26
  1452. 1400:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_fused_MAC_Pos 28U /*!< MVFR
  1453. 1401:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_fused_MAC_Msk (0xFUL << FPU_MVFR1_FP_fused_MAC_Pos) /*!< MVFR
  1454. 1402:Drivers/CMSIS/Include/core_cm4.h ****
  1455. 1403:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_HPFP_Pos 24U /*!< MVFR
  1456. 1404:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FP_HPFP_Msk (0xFUL << FPU_MVFR1_FP_HPFP_Pos) /*!< MVFR
  1457. 1405:Drivers/CMSIS/Include/core_cm4.h ****
  1458. 1406:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_D_NaN_mode_Pos 4U /*!< MVFR
  1459. 1407:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_D_NaN_mode_Msk (0xFUL << FPU_MVFR1_D_NaN_mode_Pos) /*!< MVFR
  1460. 1408:Drivers/CMSIS/Include/core_cm4.h ****
  1461. 1409:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FtZ_mode_Pos 0U /*!< MVFR
  1462. 1410:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_MVFR1_FtZ_mode_Msk (0xFUL /*<< FPU_MVFR1_FtZ_mode_Pos*/) /*!< MVFR
  1463. 1411:Drivers/CMSIS/Include/core_cm4.h ****
  1464. 1412:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_FPU */
  1465. 1413:Drivers/CMSIS/Include/core_cm4.h ****
  1466. 1414:Drivers/CMSIS/Include/core_cm4.h ****
  1467. 1415:Drivers/CMSIS/Include/core_cm4.h **** /**
  1468. 1416:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1469. 1417:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_CoreDebug Core Debug Registers (CoreDebug)
  1470. 1418:Drivers/CMSIS/Include/core_cm4.h **** \brief Type definitions for the Core Debug Registers
  1471. 1419:Drivers/CMSIS/Include/core_cm4.h **** @{
  1472. 1420:Drivers/CMSIS/Include/core_cm4.h **** */
  1473. 1421:Drivers/CMSIS/Include/core_cm4.h ****
  1474. 1422:Drivers/CMSIS/Include/core_cm4.h **** /**
  1475. 1423:Drivers/CMSIS/Include/core_cm4.h **** \brief Structure type to access the Core Debug Register (CoreDebug).
  1476. 1424:Drivers/CMSIS/Include/core_cm4.h **** */
  1477. 1425:Drivers/CMSIS/Include/core_cm4.h **** typedef struct
  1478. 1426:Drivers/CMSIS/Include/core_cm4.h **** {
  1479. 1427:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DHCSR; /*!< Offset: 0x000 (R/W) Debug Halting Control and Status
  1480. 1428:Drivers/CMSIS/Include/core_cm4.h **** __OM uint32_t DCRSR; /*!< Offset: 0x004 ( /W) Debug Core Register Selector Reg
  1481. 1429:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DCRDR; /*!< Offset: 0x008 (R/W) Debug Core Register Data Registe
  1482. 1430:Drivers/CMSIS/Include/core_cm4.h **** __IOM uint32_t DEMCR; /*!< Offset: 0x00C (R/W) Debug Exception and Monitor Cont
  1483. 1431:Drivers/CMSIS/Include/core_cm4.h **** } CoreDebug_Type;
  1484. 1432:Drivers/CMSIS/Include/core_cm4.h ****
  1485. 1433:Drivers/CMSIS/Include/core_cm4.h **** /* Debug Halting Control and Status Register Definitions */
  1486. 1434:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_DBGKEY_Pos 16U /*!< Core
  1487. 1435:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_DBGKEY_Msk (0xFFFFUL << CoreDebug_DHCSR_DBGKEY_Pos) /*!< Core
  1488. 1436:Drivers/CMSIS/Include/core_cm4.h ****
  1489. 1437:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RESET_ST_Pos 25U /*!< Core
  1490. 1438:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RESET_ST_Msk (1UL << CoreDebug_DHCSR_S_RESET_ST_Pos) /*!< Core
  1491. 1439:Drivers/CMSIS/Include/core_cm4.h ****
  1492. 1440:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RETIRE_ST_Pos 24U /*!< Core
  1493. 1441:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_RETIRE_ST_Msk (1UL << CoreDebug_DHCSR_S_RETIRE_ST_Pos) /*!< Core
  1494. 1442:Drivers/CMSIS/Include/core_cm4.h ****
  1495. 1443:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_LOCKUP_Pos 19U /*!< Core
  1496. 1444:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_LOCKUP_Msk (1UL << CoreDebug_DHCSR_S_LOCKUP_Pos) /*!< Core
  1497. 1445:Drivers/CMSIS/Include/core_cm4.h ****
  1498. 1446:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_SLEEP_Pos 18U /*!< Core
  1499. 1447:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_SLEEP_Msk (1UL << CoreDebug_DHCSR_S_SLEEP_Pos) /*!< Core
  1500. 1448:Drivers/CMSIS/Include/core_cm4.h ****
  1501. 1449:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_HALT_Pos 17U /*!< Core
  1502. 1450:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_HALT_Msk (1UL << CoreDebug_DHCSR_S_HALT_Pos) /*!< Core
  1503. 1451:Drivers/CMSIS/Include/core_cm4.h ****
  1504. 1452:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_REGRDY_Pos 16U /*!< Core
  1505. 1453:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_S_REGRDY_Msk (1UL << CoreDebug_DHCSR_S_REGRDY_Pos) /*!< Core
  1506. 1454:Drivers/CMSIS/Include/core_cm4.h ****
  1507. 1455:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_SNAPSTALL_Pos 5U /*!< Core
  1508. 1456:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_SNAPSTALL_Msk (1UL << CoreDebug_DHCSR_C_SNAPSTALL_Pos) /*!< Core
  1509. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 27
  1510. 1457:Drivers/CMSIS/Include/core_cm4.h ****
  1511. 1458:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_MASKINTS_Pos 3U /*!< Core
  1512. 1459:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_MASKINTS_Msk (1UL << CoreDebug_DHCSR_C_MASKINTS_Pos) /*!< Core
  1513. 1460:Drivers/CMSIS/Include/core_cm4.h ****
  1514. 1461:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_STEP_Pos 2U /*!< Core
  1515. 1462:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_STEP_Msk (1UL << CoreDebug_DHCSR_C_STEP_Pos) /*!< Core
  1516. 1463:Drivers/CMSIS/Include/core_cm4.h ****
  1517. 1464:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_HALT_Pos 1U /*!< Core
  1518. 1465:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_HALT_Msk (1UL << CoreDebug_DHCSR_C_HALT_Pos) /*!< Core
  1519. 1466:Drivers/CMSIS/Include/core_cm4.h ****
  1520. 1467:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_DEBUGEN_Pos 0U /*!< Core
  1521. 1468:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DHCSR_C_DEBUGEN_Msk (1UL /*<< CoreDebug_DHCSR_C_DEBUGEN_Pos*/) /*!< Core
  1522. 1469:Drivers/CMSIS/Include/core_cm4.h ****
  1523. 1470:Drivers/CMSIS/Include/core_cm4.h **** /* Debug Core Register Selector Register Definitions */
  1524. 1471:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGWnR_Pos 16U /*!< Core
  1525. 1472:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGWnR_Msk (1UL << CoreDebug_DCRSR_REGWnR_Pos) /*!< Core
  1526. 1473:Drivers/CMSIS/Include/core_cm4.h ****
  1527. 1474:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGSEL_Pos 0U /*!< Core
  1528. 1475:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DCRSR_REGSEL_Msk (0x1FUL /*<< CoreDebug_DCRSR_REGSEL_Pos*/) /*!< Core
  1529. 1476:Drivers/CMSIS/Include/core_cm4.h ****
  1530. 1477:Drivers/CMSIS/Include/core_cm4.h **** /* Debug Exception and Monitor Control Register Definitions */
  1531. 1478:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_TRCENA_Pos 24U /*!< Core
  1532. 1479:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_TRCENA_Msk (1UL << CoreDebug_DEMCR_TRCENA_Pos) /*!< Core
  1533. 1480:Drivers/CMSIS/Include/core_cm4.h ****
  1534. 1481:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_REQ_Pos 19U /*!< Core
  1535. 1482:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_REQ_Msk (1UL << CoreDebug_DEMCR_MON_REQ_Pos) /*!< Core
  1536. 1483:Drivers/CMSIS/Include/core_cm4.h ****
  1537. 1484:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_STEP_Pos 18U /*!< Core
  1538. 1485:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_STEP_Msk (1UL << CoreDebug_DEMCR_MON_STEP_Pos) /*!< Core
  1539. 1486:Drivers/CMSIS/Include/core_cm4.h ****
  1540. 1487:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_PEND_Pos 17U /*!< Core
  1541. 1488:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_PEND_Msk (1UL << CoreDebug_DEMCR_MON_PEND_Pos) /*!< Core
  1542. 1489:Drivers/CMSIS/Include/core_cm4.h ****
  1543. 1490:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_EN_Pos 16U /*!< Core
  1544. 1491:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_MON_EN_Msk (1UL << CoreDebug_DEMCR_MON_EN_Pos) /*!< Core
  1545. 1492:Drivers/CMSIS/Include/core_cm4.h ****
  1546. 1493:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_HARDERR_Pos 10U /*!< Core
  1547. 1494:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_HARDERR_Msk (1UL << CoreDebug_DEMCR_VC_HARDERR_Pos) /*!< Core
  1548. 1495:Drivers/CMSIS/Include/core_cm4.h ****
  1549. 1496:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_INTERR_Pos 9U /*!< Core
  1550. 1497:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_INTERR_Msk (1UL << CoreDebug_DEMCR_VC_INTERR_Pos) /*!< Core
  1551. 1498:Drivers/CMSIS/Include/core_cm4.h ****
  1552. 1499:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_BUSERR_Pos 8U /*!< Core
  1553. 1500:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_BUSERR_Msk (1UL << CoreDebug_DEMCR_VC_BUSERR_Pos) /*!< Core
  1554. 1501:Drivers/CMSIS/Include/core_cm4.h ****
  1555. 1502:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_STATERR_Pos 7U /*!< Core
  1556. 1503:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_STATERR_Msk (1UL << CoreDebug_DEMCR_VC_STATERR_Pos) /*!< Core
  1557. 1504:Drivers/CMSIS/Include/core_cm4.h ****
  1558. 1505:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CHKERR_Pos 6U /*!< Core
  1559. 1506:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CHKERR_Msk (1UL << CoreDebug_DEMCR_VC_CHKERR_Pos) /*!< Core
  1560. 1507:Drivers/CMSIS/Include/core_cm4.h ****
  1561. 1508:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_NOCPERR_Pos 5U /*!< Core
  1562. 1509:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_NOCPERR_Msk (1UL << CoreDebug_DEMCR_VC_NOCPERR_Pos) /*!< Core
  1563. 1510:Drivers/CMSIS/Include/core_cm4.h ****
  1564. 1511:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_MMERR_Pos 4U /*!< Core
  1565. 1512:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_MMERR_Msk (1UL << CoreDebug_DEMCR_VC_MMERR_Pos) /*!< Core
  1566. 1513:Drivers/CMSIS/Include/core_cm4.h ****
  1567. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 28
  1568. 1514:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CORERESET_Pos 0U /*!< Core
  1569. 1515:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_DEMCR_VC_CORERESET_Msk (1UL /*<< CoreDebug_DEMCR_VC_CORERESET_Pos*/) /*!< Core
  1570. 1516:Drivers/CMSIS/Include/core_cm4.h ****
  1571. 1517:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_CoreDebug */
  1572. 1518:Drivers/CMSIS/Include/core_cm4.h ****
  1573. 1519:Drivers/CMSIS/Include/core_cm4.h ****
  1574. 1520:Drivers/CMSIS/Include/core_cm4.h **** /**
  1575. 1521:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1576. 1522:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_core_bitfield Core register bit field macros
  1577. 1523:Drivers/CMSIS/Include/core_cm4.h **** \brief Macros for use with bit field definitions (xxx_Pos, xxx_Msk).
  1578. 1524:Drivers/CMSIS/Include/core_cm4.h **** @{
  1579. 1525:Drivers/CMSIS/Include/core_cm4.h **** */
  1580. 1526:Drivers/CMSIS/Include/core_cm4.h ****
  1581. 1527:Drivers/CMSIS/Include/core_cm4.h **** /**
  1582. 1528:Drivers/CMSIS/Include/core_cm4.h **** \brief Mask and shift a bit field value for use in a register bit range.
  1583. 1529:Drivers/CMSIS/Include/core_cm4.h **** \param[in] field Name of the register bit field.
  1584. 1530:Drivers/CMSIS/Include/core_cm4.h **** \param[in] value Value of the bit field. This parameter is interpreted as an uint32_t type.
  1585. 1531:Drivers/CMSIS/Include/core_cm4.h **** \return Masked and shifted value.
  1586. 1532:Drivers/CMSIS/Include/core_cm4.h **** */
  1587. 1533:Drivers/CMSIS/Include/core_cm4.h **** #define _VAL2FLD(field, value) (((uint32_t)(value) << field ## _Pos) & field ## _Msk)
  1588. 1534:Drivers/CMSIS/Include/core_cm4.h ****
  1589. 1535:Drivers/CMSIS/Include/core_cm4.h **** /**
  1590. 1536:Drivers/CMSIS/Include/core_cm4.h **** \brief Mask and shift a register value to extract a bit filed value.
  1591. 1537:Drivers/CMSIS/Include/core_cm4.h **** \param[in] field Name of the register bit field.
  1592. 1538:Drivers/CMSIS/Include/core_cm4.h **** \param[in] value Value of register. This parameter is interpreted as an uint32_t type.
  1593. 1539:Drivers/CMSIS/Include/core_cm4.h **** \return Masked and shifted bit field value.
  1594. 1540:Drivers/CMSIS/Include/core_cm4.h **** */
  1595. 1541:Drivers/CMSIS/Include/core_cm4.h **** #define _FLD2VAL(field, value) (((uint32_t)(value) & field ## _Msk) >> field ## _Pos)
  1596. 1542:Drivers/CMSIS/Include/core_cm4.h ****
  1597. 1543:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of group CMSIS_core_bitfield */
  1598. 1544:Drivers/CMSIS/Include/core_cm4.h ****
  1599. 1545:Drivers/CMSIS/Include/core_cm4.h ****
  1600. 1546:Drivers/CMSIS/Include/core_cm4.h **** /**
  1601. 1547:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_core_register
  1602. 1548:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_core_base Core Definitions
  1603. 1549:Drivers/CMSIS/Include/core_cm4.h **** \brief Definitions for base addresses, unions, and structures.
  1604. 1550:Drivers/CMSIS/Include/core_cm4.h **** @{
  1605. 1551:Drivers/CMSIS/Include/core_cm4.h **** */
  1606. 1552:Drivers/CMSIS/Include/core_cm4.h ****
  1607. 1553:Drivers/CMSIS/Include/core_cm4.h **** /* Memory mapping of Core Hardware */
  1608. 1554:Drivers/CMSIS/Include/core_cm4.h **** #define SCS_BASE (0xE000E000UL) /*!< System Control Space Bas
  1609. 1555:Drivers/CMSIS/Include/core_cm4.h **** #define ITM_BASE (0xE0000000UL) /*!< ITM Base Address */
  1610. 1556:Drivers/CMSIS/Include/core_cm4.h **** #define DWT_BASE (0xE0001000UL) /*!< DWT Base Address */
  1611. 1557:Drivers/CMSIS/Include/core_cm4.h **** #define TPI_BASE (0xE0040000UL) /*!< TPI Base Address */
  1612. 1558:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug_BASE (0xE000EDF0UL) /*!< Core Debug Base Address
  1613. 1559:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick_BASE (SCS_BASE + 0x0010UL) /*!< SysTick Base Address */
  1614. 1560:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_BASE (SCS_BASE + 0x0100UL) /*!< NVIC Base Address */
  1615. 1561:Drivers/CMSIS/Include/core_cm4.h **** #define SCB_BASE (SCS_BASE + 0x0D00UL) /*!< System Control Block Bas
  1616. 1562:Drivers/CMSIS/Include/core_cm4.h ****
  1617. 1563:Drivers/CMSIS/Include/core_cm4.h **** #define SCnSCB ((SCnSCB_Type *) SCS_BASE ) /*!< System control Register
  1618. 1564:Drivers/CMSIS/Include/core_cm4.h **** #define SCB ((SCB_Type *) SCB_BASE ) /*!< SCB configuration struct
  1619. 1565:Drivers/CMSIS/Include/core_cm4.h **** #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st
  1620. 1566:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC ((NVIC_Type *) NVIC_BASE ) /*!< NVIC configuration struc
  1621. 1567:Drivers/CMSIS/Include/core_cm4.h **** #define ITM ((ITM_Type *) ITM_BASE ) /*!< ITM configuration struct
  1622. 1568:Drivers/CMSIS/Include/core_cm4.h **** #define DWT ((DWT_Type *) DWT_BASE ) /*!< DWT configuration struct
  1623. 1569:Drivers/CMSIS/Include/core_cm4.h **** #define TPI ((TPI_Type *) TPI_BASE ) /*!< TPI configuration struct
  1624. 1570:Drivers/CMSIS/Include/core_cm4.h **** #define CoreDebug ((CoreDebug_Type *) CoreDebug_BASE) /*!< Core Debug configuration
  1625. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 29
  1626. 1571:Drivers/CMSIS/Include/core_cm4.h ****
  1627. 1572:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
  1628. 1573:Drivers/CMSIS/Include/core_cm4.h **** #define MPU_BASE (SCS_BASE + 0x0D90UL) /*!< Memory Protection Unit *
  1629. 1574:Drivers/CMSIS/Include/core_cm4.h **** #define MPU ((MPU_Type *) MPU_BASE ) /*!< Memory Protection Unit *
  1630. 1575:Drivers/CMSIS/Include/core_cm4.h **** #endif
  1631. 1576:Drivers/CMSIS/Include/core_cm4.h ****
  1632. 1577:Drivers/CMSIS/Include/core_cm4.h **** #define FPU_BASE (SCS_BASE + 0x0F30UL) /*!< Floating Point Unit */
  1633. 1578:Drivers/CMSIS/Include/core_cm4.h **** #define FPU ((FPU_Type *) FPU_BASE ) /*!< Floating Point Unit */
  1634. 1579:Drivers/CMSIS/Include/core_cm4.h ****
  1635. 1580:Drivers/CMSIS/Include/core_cm4.h **** /*@} */
  1636. 1581:Drivers/CMSIS/Include/core_cm4.h ****
  1637. 1582:Drivers/CMSIS/Include/core_cm4.h ****
  1638. 1583:Drivers/CMSIS/Include/core_cm4.h ****
  1639. 1584:Drivers/CMSIS/Include/core_cm4.h **** /*******************************************************************************
  1640. 1585:Drivers/CMSIS/Include/core_cm4.h **** * Hardware Abstraction Layer
  1641. 1586:Drivers/CMSIS/Include/core_cm4.h **** Core Function Interface contains:
  1642. 1587:Drivers/CMSIS/Include/core_cm4.h **** - Core NVIC Functions
  1643. 1588:Drivers/CMSIS/Include/core_cm4.h **** - Core SysTick Functions
  1644. 1589:Drivers/CMSIS/Include/core_cm4.h **** - Core Debug Functions
  1645. 1590:Drivers/CMSIS/Include/core_cm4.h **** - Core Register Access Functions
  1646. 1591:Drivers/CMSIS/Include/core_cm4.h **** ******************************************************************************/
  1647. 1592:Drivers/CMSIS/Include/core_cm4.h **** /**
  1648. 1593:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_FunctionInterface Functions and Instructions Reference
  1649. 1594:Drivers/CMSIS/Include/core_cm4.h **** */
  1650. 1595:Drivers/CMSIS/Include/core_cm4.h ****
  1651. 1596:Drivers/CMSIS/Include/core_cm4.h ****
  1652. 1597:Drivers/CMSIS/Include/core_cm4.h ****
  1653. 1598:Drivers/CMSIS/Include/core_cm4.h **** /* ########################## NVIC functions #################################### */
  1654. 1599:Drivers/CMSIS/Include/core_cm4.h **** /**
  1655. 1600:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_Core_FunctionInterface
  1656. 1601:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_NVICFunctions NVIC Functions
  1657. 1602:Drivers/CMSIS/Include/core_cm4.h **** \brief Functions that manage interrupts and exceptions via the NVIC.
  1658. 1603:Drivers/CMSIS/Include/core_cm4.h **** @{
  1659. 1604:Drivers/CMSIS/Include/core_cm4.h **** */
  1660. 1605:Drivers/CMSIS/Include/core_cm4.h ****
  1661. 1606:Drivers/CMSIS/Include/core_cm4.h **** #ifdef CMSIS_NVIC_VIRTUAL
  1662. 1607:Drivers/CMSIS/Include/core_cm4.h **** #ifndef CMSIS_NVIC_VIRTUAL_HEADER_FILE
  1663. 1608:Drivers/CMSIS/Include/core_cm4.h **** #define CMSIS_NVIC_VIRTUAL_HEADER_FILE "cmsis_nvic_virtual.h"
  1664. 1609:Drivers/CMSIS/Include/core_cm4.h **** #endif
  1665. 1610:Drivers/CMSIS/Include/core_cm4.h **** #include CMSIS_NVIC_VIRTUAL_HEADER_FILE
  1666. 1611:Drivers/CMSIS/Include/core_cm4.h **** #else
  1667. 1612:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetPriorityGrouping __NVIC_SetPriorityGrouping
  1668. 1613:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetPriorityGrouping __NVIC_GetPriorityGrouping
  1669. 1614:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_EnableIRQ __NVIC_EnableIRQ
  1670. 1615:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetEnableIRQ __NVIC_GetEnableIRQ
  1671. 1616:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_DisableIRQ __NVIC_DisableIRQ
  1672. 1617:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetPendingIRQ __NVIC_GetPendingIRQ
  1673. 1618:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetPendingIRQ __NVIC_SetPendingIRQ
  1674. 1619:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_ClearPendingIRQ __NVIC_ClearPendingIRQ
  1675. 1620:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetActive __NVIC_GetActive
  1676. 1621:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetPriority __NVIC_SetPriority
  1677. 1622:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetPriority __NVIC_GetPriority
  1678. 1623:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SystemReset __NVIC_SystemReset
  1679. 1624:Drivers/CMSIS/Include/core_cm4.h **** #endif /* CMSIS_NVIC_VIRTUAL */
  1680. 1625:Drivers/CMSIS/Include/core_cm4.h ****
  1681. 1626:Drivers/CMSIS/Include/core_cm4.h **** #ifdef CMSIS_VECTAB_VIRTUAL
  1682. 1627:Drivers/CMSIS/Include/core_cm4.h **** #ifndef CMSIS_VECTAB_VIRTUAL_HEADER_FILE
  1683. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 30
  1684. 1628:Drivers/CMSIS/Include/core_cm4.h **** #define CMSIS_VECTAB_VIRTUAL_HEADER_FILE "cmsis_vectab_virtual.h"
  1685. 1629:Drivers/CMSIS/Include/core_cm4.h **** #endif
  1686. 1630:Drivers/CMSIS/Include/core_cm4.h **** #include CMSIS_VECTAB_VIRTUAL_HEADER_FILE
  1687. 1631:Drivers/CMSIS/Include/core_cm4.h **** #else
  1688. 1632:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_SetVector __NVIC_SetVector
  1689. 1633:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_GetVector __NVIC_GetVector
  1690. 1634:Drivers/CMSIS/Include/core_cm4.h **** #endif /* (CMSIS_VECTAB_VIRTUAL) */
  1691. 1635:Drivers/CMSIS/Include/core_cm4.h ****
  1692. 1636:Drivers/CMSIS/Include/core_cm4.h **** #define NVIC_USER_IRQ_OFFSET 16
  1693. 1637:Drivers/CMSIS/Include/core_cm4.h ****
  1694. 1638:Drivers/CMSIS/Include/core_cm4.h ****
  1695. 1639:Drivers/CMSIS/Include/core_cm4.h **** /* The following EXC_RETURN values are saved the LR on exception entry */
  1696. 1640:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_HANDLER (0xFFFFFFF1UL) /* return to Handler mode, uses MSP after ret
  1697. 1641:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_MSP (0xFFFFFFF9UL) /* return to Thread mode, uses MSP after retu
  1698. 1642:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_PSP (0xFFFFFFFDUL) /* return to Thread mode, uses PSP after retu
  1699. 1643:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_HANDLER_FPU (0xFFFFFFE1UL) /* return to Handler mode, uses MSP after ret
  1700. 1644:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_MSP_FPU (0xFFFFFFE9UL) /* return to Thread mode, uses MSP after retu
  1701. 1645:Drivers/CMSIS/Include/core_cm4.h **** #define EXC_RETURN_THREAD_PSP_FPU (0xFFFFFFEDUL) /* return to Thread mode, uses PSP after retu
  1702. 1646:Drivers/CMSIS/Include/core_cm4.h ****
  1703. 1647:Drivers/CMSIS/Include/core_cm4.h ****
  1704. 1648:Drivers/CMSIS/Include/core_cm4.h **** /**
  1705. 1649:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Priority Grouping
  1706. 1650:Drivers/CMSIS/Include/core_cm4.h **** \details Sets the priority grouping field using the required unlock sequence.
  1707. 1651:Drivers/CMSIS/Include/core_cm4.h **** The parameter PriorityGroup is assigned to the field SCB->AIRCR [10:8] PRIGROUP field.
  1708. 1652:Drivers/CMSIS/Include/core_cm4.h **** Only values from 0..7 are used.
  1709. 1653:Drivers/CMSIS/Include/core_cm4.h **** In case of a conflict between priority grouping and available
  1710. 1654:Drivers/CMSIS/Include/core_cm4.h **** priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
  1711. 1655:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PriorityGroup Priority grouping field.
  1712. 1656:Drivers/CMSIS/Include/core_cm4.h **** */
  1713. 1657:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
  1714. 1658:Drivers/CMSIS/Include/core_cm4.h **** {
  1715. 28 .loc 1 1658 1
  1716. 29 .cfi_startproc
  1717. 30 @ args = 0, pretend = 0, frame = 16
  1718. 31 @ frame_needed = 1, uses_anonymous_args = 0
  1719. 32 @ link register save eliminated.
  1720. 33 0000 80B4 push {r7}
  1721. 34 .LCFI0:
  1722. 35 .cfi_def_cfa_offset 4
  1723. 36 .cfi_offset 7, -4
  1724. 37 0002 85B0 sub sp, sp, #20
  1725. 38 .LCFI1:
  1726. 39 .cfi_def_cfa_offset 24
  1727. 40 0004 00AF add r7, sp, #0
  1728. 41 .LCFI2:
  1729. 42 .cfi_def_cfa_register 7
  1730. 43 0006 7860 str r0, [r7, #4]
  1731. 1659:Drivers/CMSIS/Include/core_cm4.h **** uint32_t reg_value;
  1732. 1660:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 a
  1733. 44 .loc 1 1660 12
  1734. 45 0008 7B68 ldr r3, [r7, #4]
  1735. 46 000a 03F00703 and r3, r3, #7
  1736. 47 000e FB60 str r3, [r7, #12]
  1737. 1661:Drivers/CMSIS/Include/core_cm4.h ****
  1738. 1662:Drivers/CMSIS/Include/core_cm4.h **** reg_value = SCB->AIRCR; /* read old register
  1739. 48 .loc 1 1662 20
  1740. 49 0010 0C4B ldr r3, .L2
  1741. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 31
  1742. 50 .loc 1 1662 14
  1743. 51 0012 DB68 ldr r3, [r3, #12]
  1744. 52 0014 BB60 str r3, [r7, #8]
  1745. 1663:Drivers/CMSIS/Include/core_cm4.h **** reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to chan
  1746. 53 .loc 1 1663 13
  1747. 54 0016 BA68 ldr r2, [r7, #8]
  1748. 55 0018 4FF6FF03 movw r3, #63743
  1749. 56 001c 1340 ands r3, r3, r2
  1750. 57 001e BB60 str r3, [r7, #8]
  1751. 1664:Drivers/CMSIS/Include/core_cm4.h **** reg_value = (reg_value |
  1752. 1665:Drivers/CMSIS/Include/core_cm4.h **** ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
  1753. 1666:Drivers/CMSIS/Include/core_cm4.h **** (PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key a
  1754. 58 .loc 1 1666 35
  1755. 59 0020 FB68 ldr r3, [r7, #12]
  1756. 60 0022 1A02 lsls r2, r3, #8
  1757. 1665:Drivers/CMSIS/Include/core_cm4.h **** (PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key a
  1758. 61 .loc 1 1665 62
  1759. 62 0024 BB68 ldr r3, [r7, #8]
  1760. 63 0026 1343 orrs r3, r3, r2
  1761. 1664:Drivers/CMSIS/Include/core_cm4.h **** reg_value = (reg_value |
  1762. 64 .loc 1 1664 14
  1763. 65 0028 43F0BF63 orr r3, r3, #100139008
  1764. 66 002c 43F40033 orr r3, r3, #131072
  1765. 67 0030 BB60 str r3, [r7, #8]
  1766. 1667:Drivers/CMSIS/Include/core_cm4.h **** SCB->AIRCR = reg_value;
  1767. 68 .loc 1 1667 6
  1768. 69 0032 044A ldr r2, .L2
  1769. 70 .loc 1 1667 14
  1770. 71 0034 BB68 ldr r3, [r7, #8]
  1771. 72 0036 D360 str r3, [r2, #12]
  1772. 1668:Drivers/CMSIS/Include/core_cm4.h **** }
  1773. 73 .loc 1 1668 1
  1774. 74 0038 00BF nop
  1775. 75 003a 1437 adds r7, r7, #20
  1776. 76 .LCFI3:
  1777. 77 .cfi_def_cfa_offset 4
  1778. 78 003c BD46 mov sp, r7
  1779. 79 .LCFI4:
  1780. 80 .cfi_def_cfa_register 13
  1781. 81 @ sp needed
  1782. 82 003e 5DF8047B ldr r7, [sp], #4
  1783. 83 .LCFI5:
  1784. 84 .cfi_restore 7
  1785. 85 .cfi_def_cfa_offset 0
  1786. 86 0042 7047 bx lr
  1787. 87 .L3:
  1788. 88 .align 2
  1789. 89 .L2:
  1790. 90 0044 00ED00E0 .word -536810240
  1791. 91 .cfi_endproc
  1792. 92 .LFE102:
  1793. 94 .section .text.__NVIC_GetPriorityGrouping,"ax",%progbits
  1794. 95 .align 1
  1795. 96 .syntax unified
  1796. 97 .thumb
  1797. 98 .thumb_func
  1798. 100 __NVIC_GetPriorityGrouping:
  1799. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 32
  1800. 101 .LFB103:
  1801. 1669:Drivers/CMSIS/Include/core_cm4.h ****
  1802. 1670:Drivers/CMSIS/Include/core_cm4.h ****
  1803. 1671:Drivers/CMSIS/Include/core_cm4.h **** /**
  1804. 1672:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Priority Grouping
  1805. 1673:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the priority grouping field from the NVIC Interrupt Controller.
  1806. 1674:Drivers/CMSIS/Include/core_cm4.h **** \return Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field).
  1807. 1675:Drivers/CMSIS/Include/core_cm4.h **** */
  1808. 1676:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetPriorityGrouping(void)
  1809. 1677:Drivers/CMSIS/Include/core_cm4.h **** {
  1810. 102 .loc 1 1677 1
  1811. 103 .cfi_startproc
  1812. 104 @ args = 0, pretend = 0, frame = 0
  1813. 105 @ frame_needed = 1, uses_anonymous_args = 0
  1814. 106 @ link register save eliminated.
  1815. 107 0000 80B4 push {r7}
  1816. 108 .LCFI6:
  1817. 109 .cfi_def_cfa_offset 4
  1818. 110 .cfi_offset 7, -4
  1819. 111 0002 00AF add r7, sp, #0
  1820. 112 .LCFI7:
  1821. 113 .cfi_def_cfa_register 7
  1822. 1678:Drivers/CMSIS/Include/core_cm4.h **** return ((uint32_t)((SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) >> SCB_AIRCR_PRIGROUP_Pos));
  1823. 114 .loc 1 1678 26
  1824. 115 0004 044B ldr r3, .L6
  1825. 116 0006 DB68 ldr r3, [r3, #12]
  1826. 117 .loc 1 1678 11
  1827. 118 0008 1B0A lsrs r3, r3, #8
  1828. 119 000a 03F00703 and r3, r3, #7
  1829. 1679:Drivers/CMSIS/Include/core_cm4.h **** }
  1830. 120 .loc 1 1679 1
  1831. 121 000e 1846 mov r0, r3
  1832. 122 0010 BD46 mov sp, r7
  1833. 123 .LCFI8:
  1834. 124 .cfi_def_cfa_register 13
  1835. 125 @ sp needed
  1836. 126 0012 5DF8047B ldr r7, [sp], #4
  1837. 127 .LCFI9:
  1838. 128 .cfi_restore 7
  1839. 129 .cfi_def_cfa_offset 0
  1840. 130 0016 7047 bx lr
  1841. 131 .L7:
  1842. 132 .align 2
  1843. 133 .L6:
  1844. 134 0018 00ED00E0 .word -536810240
  1845. 135 .cfi_endproc
  1846. 136 .LFE103:
  1847. 138 .section .text.__NVIC_EnableIRQ,"ax",%progbits
  1848. 139 .align 1
  1849. 140 .syntax unified
  1850. 141 .thumb
  1851. 142 .thumb_func
  1852. 144 __NVIC_EnableIRQ:
  1853. 145 .LFB104:
  1854. 1680:Drivers/CMSIS/Include/core_cm4.h ****
  1855. 1681:Drivers/CMSIS/Include/core_cm4.h ****
  1856. 1682:Drivers/CMSIS/Include/core_cm4.h **** /**
  1857. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 33
  1858. 1683:Drivers/CMSIS/Include/core_cm4.h **** \brief Enable Interrupt
  1859. 1684:Drivers/CMSIS/Include/core_cm4.h **** \details Enables a device specific interrupt in the NVIC interrupt controller.
  1860. 1685:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  1861. 1686:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  1862. 1687:Drivers/CMSIS/Include/core_cm4.h **** */
  1863. 1688:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn)
  1864. 1689:Drivers/CMSIS/Include/core_cm4.h **** {
  1865. 146 .loc 1 1689 1
  1866. 147 .cfi_startproc
  1867. 148 @ args = 0, pretend = 0, frame = 8
  1868. 149 @ frame_needed = 1, uses_anonymous_args = 0
  1869. 150 @ link register save eliminated.
  1870. 151 0000 80B4 push {r7}
  1871. 152 .LCFI10:
  1872. 153 .cfi_def_cfa_offset 4
  1873. 154 .cfi_offset 7, -4
  1874. 155 0002 83B0 sub sp, sp, #12
  1875. 156 .LCFI11:
  1876. 157 .cfi_def_cfa_offset 16
  1877. 158 0004 00AF add r7, sp, #0
  1878. 159 .LCFI12:
  1879. 160 .cfi_def_cfa_register 7
  1880. 161 0006 0346 mov r3, r0
  1881. 162 0008 FB71 strb r3, [r7, #7]
  1882. 1690:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  1883. 163 .loc 1 1690 6
  1884. 164 000a 97F90730 ldrsb r3, [r7, #7]
  1885. 165 000e 002B cmp r3, #0
  1886. 166 0010 0BDB blt .L10
  1887. 1691:Drivers/CMSIS/Include/core_cm4.h **** {
  1888. 1692:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  1889. 167 .loc 1 1692 81
  1890. 168 0012 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
  1891. 169 0014 03F01F02 and r2, r3, #31
  1892. 170 .loc 1 1692 9
  1893. 171 0018 0749 ldr r1, .L11
  1894. 172 .loc 1 1692 18
  1895. 173 001a 97F90730 ldrsb r3, [r7, #7]
  1896. 174 .loc 1 1692 34
  1897. 175 001e 5B09 lsrs r3, r3, #5
  1898. 176 .loc 1 1692 45
  1899. 177 0020 0120 movs r0, #1
  1900. 178 0022 00FA02F2 lsl r2, r0, r2
  1901. 179 .loc 1 1692 43
  1902. 180 0026 41F82320 str r2, [r1, r3, lsl #2]
  1903. 181 .L10:
  1904. 1693:Drivers/CMSIS/Include/core_cm4.h **** }
  1905. 1694:Drivers/CMSIS/Include/core_cm4.h **** }
  1906. 182 .loc 1 1694 1
  1907. 183 002a 00BF nop
  1908. 184 002c 0C37 adds r7, r7, #12
  1909. 185 .LCFI13:
  1910. 186 .cfi_def_cfa_offset 4
  1911. 187 002e BD46 mov sp, r7
  1912. 188 .LCFI14:
  1913. 189 .cfi_def_cfa_register 13
  1914. 190 @ sp needed
  1915. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 34
  1916. 191 0030 5DF8047B ldr r7, [sp], #4
  1917. 192 .LCFI15:
  1918. 193 .cfi_restore 7
  1919. 194 .cfi_def_cfa_offset 0
  1920. 195 0034 7047 bx lr
  1921. 196 .L12:
  1922. 197 0036 00BF .align 2
  1923. 198 .L11:
  1924. 199 0038 00E100E0 .word -536813312
  1925. 200 .cfi_endproc
  1926. 201 .LFE104:
  1927. 203 .section .text.__NVIC_DisableIRQ,"ax",%progbits
  1928. 204 .align 1
  1929. 205 .syntax unified
  1930. 206 .thumb
  1931. 207 .thumb_func
  1932. 209 __NVIC_DisableIRQ:
  1933. 210 .LFB106:
  1934. 1695:Drivers/CMSIS/Include/core_cm4.h ****
  1935. 1696:Drivers/CMSIS/Include/core_cm4.h ****
  1936. 1697:Drivers/CMSIS/Include/core_cm4.h **** /**
  1937. 1698:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Interrupt Enable status
  1938. 1699:Drivers/CMSIS/Include/core_cm4.h **** \details Returns a device specific interrupt enable status from the NVIC interrupt controller.
  1939. 1700:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  1940. 1701:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Interrupt is not enabled.
  1941. 1702:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Interrupt is enabled.
  1942. 1703:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  1943. 1704:Drivers/CMSIS/Include/core_cm4.h **** */
  1944. 1705:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn)
  1945. 1706:Drivers/CMSIS/Include/core_cm4.h **** {
  1946. 1707:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  1947. 1708:Drivers/CMSIS/Include/core_cm4.h **** {
  1948. 1709:Drivers/CMSIS/Include/core_cm4.h **** return((uint32_t)(((NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
  1949. 1710:Drivers/CMSIS/Include/core_cm4.h **** }
  1950. 1711:Drivers/CMSIS/Include/core_cm4.h **** else
  1951. 1712:Drivers/CMSIS/Include/core_cm4.h **** {
  1952. 1713:Drivers/CMSIS/Include/core_cm4.h **** return(0U);
  1953. 1714:Drivers/CMSIS/Include/core_cm4.h **** }
  1954. 1715:Drivers/CMSIS/Include/core_cm4.h **** }
  1955. 1716:Drivers/CMSIS/Include/core_cm4.h ****
  1956. 1717:Drivers/CMSIS/Include/core_cm4.h ****
  1957. 1718:Drivers/CMSIS/Include/core_cm4.h **** /**
  1958. 1719:Drivers/CMSIS/Include/core_cm4.h **** \brief Disable Interrupt
  1959. 1720:Drivers/CMSIS/Include/core_cm4.h **** \details Disables a device specific interrupt in the NVIC interrupt controller.
  1960. 1721:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  1961. 1722:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  1962. 1723:Drivers/CMSIS/Include/core_cm4.h **** */
  1963. 1724:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_DisableIRQ(IRQn_Type IRQn)
  1964. 1725:Drivers/CMSIS/Include/core_cm4.h **** {
  1965. 211 .loc 1 1725 1
  1966. 212 .cfi_startproc
  1967. 213 @ args = 0, pretend = 0, frame = 8
  1968. 214 @ frame_needed = 1, uses_anonymous_args = 0
  1969. 215 @ link register save eliminated.
  1970. 216 0000 80B4 push {r7}
  1971. 217 .LCFI16:
  1972. 218 .cfi_def_cfa_offset 4
  1973. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 35
  1974. 219 .cfi_offset 7, -4
  1975. 220 0002 83B0 sub sp, sp, #12
  1976. 221 .LCFI17:
  1977. 222 .cfi_def_cfa_offset 16
  1978. 223 0004 00AF add r7, sp, #0
  1979. 224 .LCFI18:
  1980. 225 .cfi_def_cfa_register 7
  1981. 226 0006 0346 mov r3, r0
  1982. 227 0008 FB71 strb r3, [r7, #7]
  1983. 1726:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  1984. 228 .loc 1 1726 6
  1985. 229 000a 97F90730 ldrsb r3, [r7, #7]
  1986. 230 000e 002B cmp r3, #0
  1987. 231 0010 12DB blt .L15
  1988. 1727:Drivers/CMSIS/Include/core_cm4.h **** {
  1989. 1728:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ICER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  1990. 232 .loc 1 1728 81
  1991. 233 0012 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
  1992. 234 0014 03F01F02 and r2, r3, #31
  1993. 235 .loc 1 1728 9
  1994. 236 0018 0A49 ldr r1, .L16
  1995. 237 .loc 1 1728 18
  1996. 238 001a 97F90730 ldrsb r3, [r7, #7]
  1997. 239 .loc 1 1728 34
  1998. 240 001e 5B09 lsrs r3, r3, #5
  1999. 241 .loc 1 1728 45
  2000. 242 0020 0120 movs r0, #1
  2001. 243 0022 00FA02F2 lsl r2, r0, r2
  2002. 244 .loc 1 1728 43
  2003. 245 0026 2033 adds r3, r3, #32
  2004. 246 0028 41F82320 str r2, [r1, r3, lsl #2]
  2005. 247 .LBB16:
  2006. 248 .LBB17:
  2007. 249 .file 2 "Drivers/CMSIS/Include/cmsis_gcc.h"
  2008. 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
  2009. 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
  2010. 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
  2011. 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.0.4
  2012. 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 09. April 2018
  2013. 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
  2014. 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
  2015. 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
  2016. 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2017. 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
  2018. 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2019. 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
  2020. 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
  2021. 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
  2022. 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2023. 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
  2024. 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2025. 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
  2026. 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  2027. 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  2028. 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
  2029. 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
  2030. 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2031. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 36
  2032. 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2033. 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
  2034. 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
  2035. 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2036. 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
  2037. 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2038. 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
  2039. 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
  2040. 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
  2041. 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2042. 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
  2043. 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
  2044. 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
  2045. 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2046. 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2047. 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
  2048. 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
  2049. 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
  2050. 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2051. 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
  2052. 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
  2053. 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2054. 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
  2055. 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
  2056. 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2057. 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
  2058. 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
  2059. 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2060. 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
  2061. 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
  2062. 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2063. 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
  2064. 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
  2065. 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2066. 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
  2067. 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
  2068. 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2069. 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
  2070. 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
  2071. 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2072. 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
  2073. 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
  2074. 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2075. 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
  2076. 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
  2077. 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2078. 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
  2079. 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2080. 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2081. 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2082. 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
  2083. 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2084. 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
  2085. 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2086. 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
  2087. 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2088. 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2089. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 37
  2090. 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2091. 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
  2092. 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2093. 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
  2094. 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2095. 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
  2096. 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2097. 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2098. 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2099. 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
  2100. 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2101. 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
  2102. 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2103. 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
  2104. 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2105. 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2106. 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2107. 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
  2108. 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2109. 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
  2110. 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2111. 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
  2112. 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2113. 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2114. 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2115. 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
  2116. 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2117. 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
  2118. 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2119. 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
  2120. 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
  2121. 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2122. 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
  2123. 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
  2124. 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2125. 116:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2126. 117:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2127. 118:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
  2128. 119:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
  2129. 120:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
  2130. 121:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  2131. 122:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2132. 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2133. 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2134. 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
  2135. 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
  2136. 127:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  2137. 128:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2138. 129:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
  2139. 130:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2140. 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
  2141. 132:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2142. 133:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2143. 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2144. 135:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2145. 136:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
  2146. 137:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
  2147. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 38
  2148. 138:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  2149. 139:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2150. 140:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
  2151. 141:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2152. 142:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
  2153. 143:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2154. 144:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2155. 145:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2156. 146:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2157. 147:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
  2158. 148:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
  2159. 149:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
  2160. 150:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2161. 151:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
  2162. 152:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2163. 153:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2164. 154:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2165. 155:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
  2166. 156:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2167. 157:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2168. 158:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2169. 159:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2170. 160:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2171. 161:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2172. 162:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
  2173. 163:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
  2174. 164:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
  2175. 165:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2176. 166:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
  2177. 167:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2178. 168:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2179. 169:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2180. 170:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
  2181. 171:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2182. 172:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2183. 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2184. 174:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2185. 175:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2186. 176:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2187. 177:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
  2188. 178:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
  2189. 179:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  2190. 180:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2191. 181:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
  2192. 182:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2193. 183:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
  2194. 184:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2195. 185:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2196. 186:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2197. 187:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2198. 188:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2199. 189:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
  2200. 190:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
  2201. 191:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  2202. 192:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2203. 193:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
  2204. 194:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2205. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 39
  2206. 195:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
  2207. 196:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2208. 197:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2209. 198:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2210. 199:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2211. 200:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2212. 201:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
  2213. 202:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
  2214. 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
  2215. 204:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2216. 205:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
  2217. 206:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2218. 207:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2219. 208:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2220. 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
  2221. 210:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2222. 211:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2223. 212:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2224. 213:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2225. 214:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2226. 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
  2227. 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
  2228. 217:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
  2229. 218:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2230. 219:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
  2231. 220:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2232. 221:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2233. 222:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2234. 223:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
  2235. 224:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2236. 225:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2237. 226:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2238. 227:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2239. 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2240. 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
  2241. 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
  2242. 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
  2243. 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2244. 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
  2245. 234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2246. 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2247. 236:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2248. 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
  2249. 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2250. 239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2251. 240:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2252. 241:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2253. 242:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2254. 243:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
  2255. 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
  2256. 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  2257. 246:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2258. 247:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
  2259. 248:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2260. 249:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2261. 250:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2262. 251:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
  2263. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 40
  2264. 252:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2265. 253:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2266. 254:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2267. 255:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2268. 256:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2269. 257:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2270. 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
  2271. 259:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
  2272. 260:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  2273. 261:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2274. 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
  2275. 263:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2276. 264:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2277. 265:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2278. 266:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
  2279. 267:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2280. 268:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2281. 269:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2282. 270:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2283. 271:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2284. 272:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2285. 273:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
  2286. 274:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
  2287. 275:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  2288. 276:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2289. 277:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
  2290. 278:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2291. 279:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
  2292. 280:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2293. 281:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2294. 282:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2295. 283:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2296. 284:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2297. 285:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  2298. 286:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
  2299. 287:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  2300. 288:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2301. 289:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
  2302. 290:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2303. 291:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
  2304. 292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2305. 293:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2306. 294:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2307. 295:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2308. 296:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2309. 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
  2310. 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
  2311. 299:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  2312. 300:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2313. 301:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
  2314. 302:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2315. 303:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2316. 304:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2317. 305:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
  2318. 306:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2319. 307:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2320. 308:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2321. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 41
  2322. 309:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2323. 310:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2324. 311:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2325. 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
  2326. 313:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
  2327. 314:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  2328. 315:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2329. 316:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
  2330. 317:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2331. 318:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2332. 319:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2333. 320:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
  2334. 321:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2335. 322:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2336. 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2337. 324:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2338. 325:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2339. 326:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2340. 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
  2341. 328:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
  2342. 329:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  2343. 330:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2344. 331:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
  2345. 332:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2346. 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
  2347. 334:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2348. 335:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2349. 336:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2350. 337:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2351. 338:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2352. 339:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
  2353. 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
  2354. 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  2355. 342:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2356. 343:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
  2357. 344:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2358. 345:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
  2359. 346:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2360. 347:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2361. 348:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2362. 349:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2363. 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2364. 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2365. 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
  2366. 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
  2367. 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
  2368. 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2369. 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
  2370. 357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2371. 358:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2372. 359:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2373. 360:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
  2374. 361:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2375. 362:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2376. 363:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2377. 364:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2378. 365:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2379. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 42
  2380. 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
  2381. 367:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
  2382. 368:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
  2383. 369:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2384. 370:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
  2385. 371:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2386. 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
  2387. 373:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2388. 374:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2389. 375:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2390. 376:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2391. 377:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2392. 378:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
  2393. 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
  2394. 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  2395. 381:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2396. 382:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
  2397. 383:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2398. 384:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2399. 385:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2400. 386:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
  2401. 387:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2402. 388:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2403. 389:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2404. 390:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2405. 391:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2406. 392:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2407. 393:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
  2408. 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
  2409. 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  2410. 396:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2411. 397:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
  2412. 398:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2413. 399:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2414. 400:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2415. 401:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
  2416. 402:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2417. 403:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2418. 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2419. 405:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2420. 406:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2421. 407:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2422. 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
  2423. 409:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
  2424. 410:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  2425. 411:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2426. 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
  2427. 413:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2428. 414:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
  2429. 415:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2430. 416:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2431. 417:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2432. 418:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2433. 419:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2434. 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask (non-secure)
  2435. 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Priority Mask Register when in secure state.
  2436. 422:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  2437. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 43
  2438. 423:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2439. 424:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PRIMASK_NS(uint32_t priMask)
  2440. 425:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2441. 426:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask_ns, %0" : : "r" (priMask) : "memory");
  2442. 427:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2443. 428:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2444. 429:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2445. 430:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2446. 431:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  2447. 432:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  2448. 433:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
  2449. 434:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2450. 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable FIQ
  2451. 436:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables FIQ interrupts by clearing the F-bit in the CPSR.
  2452. 437:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  2453. 438:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2454. 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_fault_irq(void)
  2455. 440:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2456. 441:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie f" : : : "memory");
  2457. 442:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2458. 443:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2459. 444:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2460. 445:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2461. 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable FIQ
  2462. 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables FIQ interrupts by setting the F-bit in the CPSR.
  2463. 448:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  2464. 449:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2465. 450:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_fault_irq(void)
  2466. 451:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2467. 452:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid f" : : : "memory");
  2468. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2469. 454:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2470. 455:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2471. 456:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2472. 457:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority
  2473. 458:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Base Priority register.
  2474. 459:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
  2475. 460:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2476. 461:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_BASEPRI(void)
  2477. 462:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2478. 463:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2479. 464:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2480. 465:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri" : "=r" (result) );
  2481. 466:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2482. 467:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2483. 468:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2484. 469:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2485. 470:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2486. 471:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2487. 472:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority (non-secure)
  2488. 473:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Base Priority register when in secure state.
  2489. 474:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
  2490. 475:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2491. 476:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_BASEPRI_NS(void)
  2492. 477:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2493. 478:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2494. 479:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2495. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 44
  2496. 480:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri_ns" : "=r" (result) );
  2497. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2498. 482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2499. 483:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2500. 484:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2501. 485:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2502. 486:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2503. 487:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority
  2504. 488:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register.
  2505. 489:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  2506. 490:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2507. 491:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI(uint32_t basePri)
  2508. 492:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2509. 493:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri, %0" : : "r" (basePri) : "memory");
  2510. 494:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2511. 495:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2512. 496:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2513. 497:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2514. 498:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2515. 499:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority (non-secure)
  2516. 500:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Base Priority register when in secure state.
  2517. 501:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  2518. 502:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2519. 503:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_BASEPRI_NS(uint32_t basePri)
  2520. 504:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2521. 505:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_ns, %0" : : "r" (basePri) : "memory");
  2522. 506:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2523. 507:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2524. 508:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2525. 509:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2526. 510:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2527. 511:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority with condition
  2528. 512:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register only if BASEPRI masking is disable
  2529. 513:Drivers/CMSIS/Include/cmsis_gcc.h **** or the new value increases the BASEPRI priority level.
  2530. 514:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  2531. 515:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2532. 516:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI_MAX(uint32_t basePri)
  2533. 517:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2534. 518:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_max, %0" : : "r" (basePri) : "memory");
  2535. 519:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2536. 520:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2537. 521:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2538. 522:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2539. 523:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask
  2540. 524:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Fault Mask register.
  2541. 525:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
  2542. 526:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2543. 527:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FAULTMASK(void)
  2544. 528:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2545. 529:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2546. 530:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2547. 531:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask" : "=r" (result) );
  2548. 532:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2549. 533:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2550. 534:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2551. 535:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2552. 536:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2553. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 45
  2554. 537:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2555. 538:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask (non-secure)
  2556. 539:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Fault Mask register when in secure state.
  2557. 540:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
  2558. 541:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2559. 542:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_FAULTMASK_NS(void)
  2560. 543:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2561. 544:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2562. 545:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2563. 546:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask_ns" : "=r" (result) );
  2564. 547:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2565. 548:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2566. 549:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2567. 550:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2568. 551:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2569. 552:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2570. 553:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask
  2571. 554:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Fault Mask register.
  2572. 555:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
  2573. 556:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2574. 557:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FAULTMASK(uint32_t faultMask)
  2575. 558:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2576. 559:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory");
  2577. 560:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2578. 561:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2579. 562:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2580. 563:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2581. 564:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2582. 565:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask (non-secure)
  2583. 566:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Fault Mask register when in secure state.
  2584. 567:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
  2585. 568:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2586. 569:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_FAULTMASK_NS(uint32_t faultMask)
  2587. 570:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2588. 571:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask_ns, %0" : : "r" (faultMask) : "memory");
  2589. 572:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2590. 573:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2591. 574:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2592. 575:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  2593. 576:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  2594. 577:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) */
  2595. 578:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2596. 579:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2597. 580:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
  2598. 581:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) )
  2599. 582:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2600. 583:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2601. 584:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit
  2602. 585:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  2603. 586:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
  2604. 587:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  2605. 588:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2606. 589:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer Limit (PSPLIM).
  2607. 590:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
  2608. 591:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2609. 592:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSPLIM(void)
  2610. 593:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2611. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 46
  2612. 594:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  2613. 595:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  2614. 596:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  2615. 597:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  2616. 598:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2617. 599:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2618. 600:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim" : "=r" (result) );
  2619. 601:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  2620. 602:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2621. 603:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2622. 604:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2623. 605:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3))
  2624. 606:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2625. 607:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit (non-secure)
  2626. 608:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  2627. 609:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
  2628. 610:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2629. 611:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in
  2630. 612:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
  2631. 613:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2632. 614:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSPLIM_NS(void)
  2633. 615:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2634. 616:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  2635. 617:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  2636. 618:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  2637. 619:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2638. 620:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2639. 621:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim_ns" : "=r" (result) );
  2640. 622:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  2641. 623:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2642. 624:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2643. 625:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2644. 626:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2645. 627:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2646. 628:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2647. 629:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer Limit
  2648. 630:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  2649. 631:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
  2650. 632:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  2651. 633:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2652. 634:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer Limit (PSPLIM).
  2653. 635:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
  2654. 636:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2655. 637:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSPLIM(uint32_t ProcStackPtrLimit)
  2656. 638:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2657. 639:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  2658. 640:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  2659. 641:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  2660. 642:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
  2661. 643:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2662. 644:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim, %0" : : "r" (ProcStackPtrLimit));
  2663. 645:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2664. 646:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2665. 647:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2666. 648:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2667. 649:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2668. 650:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2669. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 47
  2670. 651:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  2671. 652:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  2672. 653:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
  2673. 654:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2674. 655:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in s
  2675. 656:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
  2676. 657:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2677. 658:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSPLIM_NS(uint32_t ProcStackPtrLimit)
  2678. 659:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2679. 660:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  2680. 661:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  2681. 662:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
  2682. 663:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2683. 664:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim_ns, %0\n" : : "r" (ProcStackPtrLimit));
  2684. 665:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2685. 666:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2686. 667:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2687. 668:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2688. 669:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2689. 670:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2690. 671:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit
  2691. 672:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  2692. 673:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
  2693. 674:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  2694. 675:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2695. 676:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer Limit (MSPLIM).
  2696. 677:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
  2697. 678:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2698. 679:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSPLIM(void)
  2699. 680:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2700. 681:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  2701. 682:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  2702. 683:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  2703. 684:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  2704. 685:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2705. 686:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2706. 687:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim" : "=r" (result) );
  2707. 688:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  2708. 689:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2709. 690:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2710. 691:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2711. 692:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2712. 693:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2713. 694:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2714. 695:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit (non-secure)
  2715. 696:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  2716. 697:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
  2717. 698:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2718. 699:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in sec
  2719. 700:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
  2720. 701:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2721. 702:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSPLIM_NS(void)
  2722. 703:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2723. 704:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  2724. 705:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  2725. 706:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  2726. 707:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2727. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 48
  2728. 708:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2729. 709:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim_ns" : "=r" (result) );
  2730. 710:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  2731. 711:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2732. 712:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2733. 713:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2734. 714:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2735. 715:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2736. 716:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2737. 717:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit
  2738. 718:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  2739. 719:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
  2740. 720:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  2741. 721:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2742. 722:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer Limit (MSPLIM).
  2743. 723:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer Limit value to set
  2744. 724:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2745. 725:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSPLIM(uint32_t MainStackPtrLimit)
  2746. 726:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2747. 727:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  2748. 728:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  2749. 729:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  2750. 730:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
  2751. 731:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2752. 732:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim, %0" : : "r" (MainStackPtrLimit));
  2753. 733:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2754. 734:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2755. 735:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2756. 736:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2757. 737:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2758. 738:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2759. 739:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit (non-secure)
  2760. 740:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  2761. 741:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
  2762. 742:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2763. 743:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secu
  2764. 744:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer value to set
  2765. 745:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2766. 746:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSPLIM_NS(uint32_t MainStackPtrLimit)
  2767. 747:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2768. 748:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  2769. 749:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  2770. 750:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
  2771. 751:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2772. 752:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim_ns, %0" : : "r" (MainStackPtrLimit));
  2773. 753:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2774. 754:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2775. 755:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2776. 756:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2777. 757:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
  2778. 758:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) */
  2779. 759:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2780. 760:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2781. 761:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2782. 762:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get FPSCR
  2783. 763:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Floating Point Status/Control register.
  2784. 764:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Floating Point Status/Control register value
  2785. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 49
  2786. 765:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2787. 766:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FPSCR(void)
  2788. 767:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2789. 768:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
  2790. 769:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
  2791. 770:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_get_fpscr)
  2792. 771:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
  2793. 772:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
  2794. 773:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
  2795. 774:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_arm_get_fpscr();
  2796. 775:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2797. 776:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2798. 777:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2799. 778:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMRS %0, fpscr" : "=r" (result) );
  2800. 779:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2801. 780:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2802. 781:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2803. 782:Drivers/CMSIS/Include/cmsis_gcc.h **** return(0U);
  2804. 783:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2805. 784:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2806. 785:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2807. 786:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2808. 787:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2809. 788:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set FPSCR
  2810. 789:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Floating Point Status/Control register.
  2811. 790:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] fpscr Floating Point Status/Control value to set
  2812. 791:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2813. 792:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FPSCR(uint32_t fpscr)
  2814. 793:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2815. 794:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
  2816. 795:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
  2817. 796:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_set_fpscr)
  2818. 797:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
  2819. 798:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
  2820. 799:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
  2821. 800:Drivers/CMSIS/Include/cmsis_gcc.h **** __builtin_arm_set_fpscr(fpscr);
  2822. 801:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2823. 802:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc", "memory");
  2824. 803:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2825. 804:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2826. 805:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)fpscr;
  2827. 806:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2828. 807:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2829. 808:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2830. 809:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2831. 810:Drivers/CMSIS/Include/cmsis_gcc.h **** /*@} end of CMSIS_Core_RegAccFunctions */
  2832. 811:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2833. 812:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2834. 813:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################## Core Instruction Access ######################### */
  2835. 814:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
  2836. 815:Drivers/CMSIS/Include/cmsis_gcc.h **** Access to dedicated instructions
  2837. 816:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  2838. 817:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2839. 818:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2840. 819:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Define macros for porting to both thumb1 and thumb2.
  2841. 820:Drivers/CMSIS/Include/cmsis_gcc.h **** * For thumb1, use low register (r0-r7), specified by constraint "l"
  2842. 821:Drivers/CMSIS/Include/cmsis_gcc.h **** * Otherwise, use general registers, specified by constraint "r" */
  2843. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 50
  2844. 822:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined (__thumb__) && !defined (__thumb2__)
  2845. 823:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=l" (r)
  2846. 824:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+l" (r)
  2847. 825:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "l" (r)
  2848. 826:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2849. 827:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=r" (r)
  2850. 828:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+r" (r)
  2851. 829:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "r" (r)
  2852. 830:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2853. 831:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2854. 832:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2855. 833:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief No Operation
  2856. 834:Drivers/CMSIS/Include/cmsis_gcc.h **** \details No Operation does nothing. This instruction can be used for code alignment purposes.
  2857. 835:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2858. 836:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NOP() __ASM volatile ("nop")
  2859. 837:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2860. 838:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2861. 839:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Interrupt
  2862. 840:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Interrupt is a hint instruction that suspends execution until one of a number o
  2863. 841:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2864. 842:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFI() __ASM volatile ("wfi")
  2865. 843:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2866. 844:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2867. 845:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2868. 846:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Event
  2869. 847:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Event is a hint instruction that permits the processor to enter
  2870. 848:Drivers/CMSIS/Include/cmsis_gcc.h **** a low-power state until one of a number of events occurs.
  2871. 849:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2872. 850:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFE() __ASM volatile ("wfe")
  2873. 851:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2874. 852:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2875. 853:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2876. 854:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Send Event
  2877. 855:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Send Event is a hint instruction. It causes an event to be signaled to the CPU.
  2878. 856:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2879. 857:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __SEV() __ASM volatile ("sev")
  2880. 858:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2881. 859:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2882. 860:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2883. 861:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Instruction Synchronization Barrier
  2884. 862:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Instruction Synchronization Barrier flushes the pipeline in the processor,
  2885. 863:Drivers/CMSIS/Include/cmsis_gcc.h **** so that all instructions following the ISB are fetched from cache or memory,
  2886. 864:Drivers/CMSIS/Include/cmsis_gcc.h **** after the instruction has been completed.
  2887. 865:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2888. 866:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __ISB(void)
  2889. 867:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2890. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("isb 0xF":::"memory");
  2891. 869:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2892. 870:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2893. 871:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2894. 872:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2895. 873:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Synchronization Barrier
  2896. 874:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Acts as a special kind of Data Memory Barrier.
  2897. 875:Drivers/CMSIS/Include/cmsis_gcc.h **** It completes when all explicit memory accesses before this instruction complete.
  2898. 876:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2899. 877:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DSB(void)
  2900. 878:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2901. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 51
  2902. 879:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dsb 0xF":::"memory");
  2903. 250 .loc 2 879 3
  2904. 251 .syntax unified
  2905. 252 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2906. 253 002c BFF34F8F dsb 0xF
  2907. 254 @ 0 "" 2
  2908. 880:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2909. 255 .loc 2 880 1
  2910. 256 .thumb
  2911. 257 .syntax unified
  2912. 258 0030 00BF nop
  2913. 259 .LBE17:
  2914. 260 .LBE16:
  2915. 261 .LBB18:
  2916. 262 .LBB19:
  2917. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2918. 263 .loc 2 868 3
  2919. 264 .syntax unified
  2920. 265 @ 868 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  2921. 266 0032 BFF36F8F isb 0xF
  2922. 267 @ 0 "" 2
  2923. 869:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2924. 268 .loc 2 869 1
  2925. 269 .thumb
  2926. 270 .syntax unified
  2927. 271 0036 00BF nop
  2928. 272 .L15:
  2929. 273 .LBE19:
  2930. 274 .LBE18:
  2931. 1729:Drivers/CMSIS/Include/core_cm4.h **** __DSB();
  2932. 1730:Drivers/CMSIS/Include/core_cm4.h **** __ISB();
  2933. 1731:Drivers/CMSIS/Include/core_cm4.h **** }
  2934. 1732:Drivers/CMSIS/Include/core_cm4.h **** }
  2935. 275 .loc 1 1732 1
  2936. 276 0038 00BF nop
  2937. 277 003a 0C37 adds r7, r7, #12
  2938. 278 .LCFI19:
  2939. 279 .cfi_def_cfa_offset 4
  2940. 280 003c BD46 mov sp, r7
  2941. 281 .LCFI20:
  2942. 282 .cfi_def_cfa_register 13
  2943. 283 @ sp needed
  2944. 284 003e 5DF8047B ldr r7, [sp], #4
  2945. 285 .LCFI21:
  2946. 286 .cfi_restore 7
  2947. 287 .cfi_def_cfa_offset 0
  2948. 288 0042 7047 bx lr
  2949. 289 .L17:
  2950. 290 .align 2
  2951. 291 .L16:
  2952. 292 0044 00E100E0 .word -536813312
  2953. 293 .cfi_endproc
  2954. 294 .LFE106:
  2955. 296 .section .text.__NVIC_GetPendingIRQ,"ax",%progbits
  2956. 297 .align 1
  2957. 298 .syntax unified
  2958. 299 .thumb
  2959. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 52
  2960. 300 .thumb_func
  2961. 302 __NVIC_GetPendingIRQ:
  2962. 303 .LFB107:
  2963. 1733:Drivers/CMSIS/Include/core_cm4.h ****
  2964. 1734:Drivers/CMSIS/Include/core_cm4.h ****
  2965. 1735:Drivers/CMSIS/Include/core_cm4.h **** /**
  2966. 1736:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Pending Interrupt
  2967. 1737:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the NVIC pending register and returns the pending bit for the specified device spe
  2968. 1738:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  2969. 1739:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Interrupt status is not pending.
  2970. 1740:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Interrupt status is pending.
  2971. 1741:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  2972. 1742:Drivers/CMSIS/Include/core_cm4.h **** */
  2973. 1743:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetPendingIRQ(IRQn_Type IRQn)
  2974. 1744:Drivers/CMSIS/Include/core_cm4.h **** {
  2975. 304 .loc 1 1744 1
  2976. 305 .cfi_startproc
  2977. 306 @ args = 0, pretend = 0, frame = 8
  2978. 307 @ frame_needed = 1, uses_anonymous_args = 0
  2979. 308 @ link register save eliminated.
  2980. 309 0000 80B4 push {r7}
  2981. 310 .LCFI22:
  2982. 311 .cfi_def_cfa_offset 4
  2983. 312 .cfi_offset 7, -4
  2984. 313 0002 83B0 sub sp, sp, #12
  2985. 314 .LCFI23:
  2986. 315 .cfi_def_cfa_offset 16
  2987. 316 0004 00AF add r7, sp, #0
  2988. 317 .LCFI24:
  2989. 318 .cfi_def_cfa_register 7
  2990. 319 0006 0346 mov r3, r0
  2991. 320 0008 FB71 strb r3, [r7, #7]
  2992. 1745:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  2993. 321 .loc 1 1745 6
  2994. 322 000a 97F90730 ldrsb r3, [r7, #7]
  2995. 323 000e 002B cmp r3, #0
  2996. 324 0010 0EDB blt .L19
  2997. 1746:Drivers/CMSIS/Include/core_cm4.h **** {
  2998. 1747:Drivers/CMSIS/Include/core_cm4.h **** return((uint32_t)(((NVIC->ISPR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
  2999. 325 .loc 1 1747 29
  3000. 326 0012 0B4A ldr r2, .L21
  3001. 327 .loc 1 1747 38
  3002. 328 0014 97F90730 ldrsb r3, [r7, #7]
  3003. 329 .loc 1 1747 54
  3004. 330 0018 5B09 lsrs r3, r3, #5
  3005. 331 .loc 1 1747 35
  3006. 332 001a 4033 adds r3, r3, #64
  3007. 333 001c 52F82320 ldr r2, [r2, r3, lsl #2]
  3008. 334 .loc 1 1747 91
  3009. 335 0020 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
  3010. 336 0022 03F01F03 and r3, r3, #31
  3011. 337 .loc 1 1747 103
  3012. 338 0026 22FA03F3 lsr r3, r2, r3
  3013. 339 .loc 1 1747 12
  3014. 340 002a 03F00103 and r3, r3, #1
  3015. 341 002e 00E0 b .L20
  3016. 342 .L19:
  3017. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 53
  3018. 1748:Drivers/CMSIS/Include/core_cm4.h **** }
  3019. 1749:Drivers/CMSIS/Include/core_cm4.h **** else
  3020. 1750:Drivers/CMSIS/Include/core_cm4.h **** {
  3021. 1751:Drivers/CMSIS/Include/core_cm4.h **** return(0U);
  3022. 343 .loc 1 1751 11
  3023. 344 0030 0023 movs r3, #0
  3024. 345 .L20:
  3025. 1752:Drivers/CMSIS/Include/core_cm4.h **** }
  3026. 1753:Drivers/CMSIS/Include/core_cm4.h **** }
  3027. 346 .loc 1 1753 1
  3028. 347 0032 1846 mov r0, r3
  3029. 348 0034 0C37 adds r7, r7, #12
  3030. 349 .LCFI25:
  3031. 350 .cfi_def_cfa_offset 4
  3032. 351 0036 BD46 mov sp, r7
  3033. 352 .LCFI26:
  3034. 353 .cfi_def_cfa_register 13
  3035. 354 @ sp needed
  3036. 355 0038 5DF8047B ldr r7, [sp], #4
  3037. 356 .LCFI27:
  3038. 357 .cfi_restore 7
  3039. 358 .cfi_def_cfa_offset 0
  3040. 359 003c 7047 bx lr
  3041. 360 .L22:
  3042. 361 003e 00BF .align 2
  3043. 362 .L21:
  3044. 363 0040 00E100E0 .word -536813312
  3045. 364 .cfi_endproc
  3046. 365 .LFE107:
  3047. 367 .section .text.__NVIC_SetPendingIRQ,"ax",%progbits
  3048. 368 .align 1
  3049. 369 .syntax unified
  3050. 370 .thumb
  3051. 371 .thumb_func
  3052. 373 __NVIC_SetPendingIRQ:
  3053. 374 .LFB108:
  3054. 1754:Drivers/CMSIS/Include/core_cm4.h ****
  3055. 1755:Drivers/CMSIS/Include/core_cm4.h ****
  3056. 1756:Drivers/CMSIS/Include/core_cm4.h **** /**
  3057. 1757:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Pending Interrupt
  3058. 1758:Drivers/CMSIS/Include/core_cm4.h **** \details Sets the pending bit of a device specific interrupt in the NVIC pending register.
  3059. 1759:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  3060. 1760:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  3061. 1761:Drivers/CMSIS/Include/core_cm4.h **** */
  3062. 1762:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetPendingIRQ(IRQn_Type IRQn)
  3063. 1763:Drivers/CMSIS/Include/core_cm4.h **** {
  3064. 375 .loc 1 1763 1
  3065. 376 .cfi_startproc
  3066. 377 @ args = 0, pretend = 0, frame = 8
  3067. 378 @ frame_needed = 1, uses_anonymous_args = 0
  3068. 379 @ link register save eliminated.
  3069. 380 0000 80B4 push {r7}
  3070. 381 .LCFI28:
  3071. 382 .cfi_def_cfa_offset 4
  3072. 383 .cfi_offset 7, -4
  3073. 384 0002 83B0 sub sp, sp, #12
  3074. 385 .LCFI29:
  3075. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 54
  3076. 386 .cfi_def_cfa_offset 16
  3077. 387 0004 00AF add r7, sp, #0
  3078. 388 .LCFI30:
  3079. 389 .cfi_def_cfa_register 7
  3080. 390 0006 0346 mov r3, r0
  3081. 391 0008 FB71 strb r3, [r7, #7]
  3082. 1764:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  3083. 392 .loc 1 1764 6
  3084. 393 000a 97F90730 ldrsb r3, [r7, #7]
  3085. 394 000e 002B cmp r3, #0
  3086. 395 0010 0CDB blt .L25
  3087. 1765:Drivers/CMSIS/Include/core_cm4.h **** {
  3088. 1766:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ISPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  3089. 396 .loc 1 1766 81
  3090. 397 0012 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
  3091. 398 0014 03F01F02 and r2, r3, #31
  3092. 399 .loc 1 1766 9
  3093. 400 0018 0749 ldr r1, .L26
  3094. 401 .loc 1 1766 18
  3095. 402 001a 97F90730 ldrsb r3, [r7, #7]
  3096. 403 .loc 1 1766 34
  3097. 404 001e 5B09 lsrs r3, r3, #5
  3098. 405 .loc 1 1766 45
  3099. 406 0020 0120 movs r0, #1
  3100. 407 0022 00FA02F2 lsl r2, r0, r2
  3101. 408 .loc 1 1766 43
  3102. 409 0026 4033 adds r3, r3, #64
  3103. 410 0028 41F82320 str r2, [r1, r3, lsl #2]
  3104. 411 .L25:
  3105. 1767:Drivers/CMSIS/Include/core_cm4.h **** }
  3106. 1768:Drivers/CMSIS/Include/core_cm4.h **** }
  3107. 412 .loc 1 1768 1
  3108. 413 002c 00BF nop
  3109. 414 002e 0C37 adds r7, r7, #12
  3110. 415 .LCFI31:
  3111. 416 .cfi_def_cfa_offset 4
  3112. 417 0030 BD46 mov sp, r7
  3113. 418 .LCFI32:
  3114. 419 .cfi_def_cfa_register 13
  3115. 420 @ sp needed
  3116. 421 0032 5DF8047B ldr r7, [sp], #4
  3117. 422 .LCFI33:
  3118. 423 .cfi_restore 7
  3119. 424 .cfi_def_cfa_offset 0
  3120. 425 0036 7047 bx lr
  3121. 426 .L27:
  3122. 427 .align 2
  3123. 428 .L26:
  3124. 429 0038 00E100E0 .word -536813312
  3125. 430 .cfi_endproc
  3126. 431 .LFE108:
  3127. 433 .section .text.__NVIC_ClearPendingIRQ,"ax",%progbits
  3128. 434 .align 1
  3129. 435 .syntax unified
  3130. 436 .thumb
  3131. 437 .thumb_func
  3132. 439 __NVIC_ClearPendingIRQ:
  3133. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 55
  3134. 440 .LFB109:
  3135. 1769:Drivers/CMSIS/Include/core_cm4.h ****
  3136. 1770:Drivers/CMSIS/Include/core_cm4.h ****
  3137. 1771:Drivers/CMSIS/Include/core_cm4.h **** /**
  3138. 1772:Drivers/CMSIS/Include/core_cm4.h **** \brief Clear Pending Interrupt
  3139. 1773:Drivers/CMSIS/Include/core_cm4.h **** \details Clears the pending bit of a device specific interrupt in the NVIC pending register.
  3140. 1774:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  3141. 1775:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  3142. 1776:Drivers/CMSIS/Include/core_cm4.h **** */
  3143. 1777:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_ClearPendingIRQ(IRQn_Type IRQn)
  3144. 1778:Drivers/CMSIS/Include/core_cm4.h **** {
  3145. 441 .loc 1 1778 1
  3146. 442 .cfi_startproc
  3147. 443 @ args = 0, pretend = 0, frame = 8
  3148. 444 @ frame_needed = 1, uses_anonymous_args = 0
  3149. 445 @ link register save eliminated.
  3150. 446 0000 80B4 push {r7}
  3151. 447 .LCFI34:
  3152. 448 .cfi_def_cfa_offset 4
  3153. 449 .cfi_offset 7, -4
  3154. 450 0002 83B0 sub sp, sp, #12
  3155. 451 .LCFI35:
  3156. 452 .cfi_def_cfa_offset 16
  3157. 453 0004 00AF add r7, sp, #0
  3158. 454 .LCFI36:
  3159. 455 .cfi_def_cfa_register 7
  3160. 456 0006 0346 mov r3, r0
  3161. 457 0008 FB71 strb r3, [r7, #7]
  3162. 1779:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  3163. 458 .loc 1 1779 6
  3164. 459 000a 97F90730 ldrsb r3, [r7, #7]
  3165. 460 000e 002B cmp r3, #0
  3166. 461 0010 0CDB blt .L30
  3167. 1780:Drivers/CMSIS/Include/core_cm4.h **** {
  3168. 1781:Drivers/CMSIS/Include/core_cm4.h **** NVIC->ICPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  3169. 462 .loc 1 1781 81
  3170. 463 0012 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
  3171. 464 0014 03F01F02 and r2, r3, #31
  3172. 465 .loc 1 1781 9
  3173. 466 0018 0749 ldr r1, .L31
  3174. 467 .loc 1 1781 18
  3175. 468 001a 97F90730 ldrsb r3, [r7, #7]
  3176. 469 .loc 1 1781 34
  3177. 470 001e 5B09 lsrs r3, r3, #5
  3178. 471 .loc 1 1781 45
  3179. 472 0020 0120 movs r0, #1
  3180. 473 0022 00FA02F2 lsl r2, r0, r2
  3181. 474 .loc 1 1781 43
  3182. 475 0026 6033 adds r3, r3, #96
  3183. 476 0028 41F82320 str r2, [r1, r3, lsl #2]
  3184. 477 .L30:
  3185. 1782:Drivers/CMSIS/Include/core_cm4.h **** }
  3186. 1783:Drivers/CMSIS/Include/core_cm4.h **** }
  3187. 478 .loc 1 1783 1
  3188. 479 002c 00BF nop
  3189. 480 002e 0C37 adds r7, r7, #12
  3190. 481 .LCFI37:
  3191. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 56
  3192. 482 .cfi_def_cfa_offset 4
  3193. 483 0030 BD46 mov sp, r7
  3194. 484 .LCFI38:
  3195. 485 .cfi_def_cfa_register 13
  3196. 486 @ sp needed
  3197. 487 0032 5DF8047B ldr r7, [sp], #4
  3198. 488 .LCFI39:
  3199. 489 .cfi_restore 7
  3200. 490 .cfi_def_cfa_offset 0
  3201. 491 0036 7047 bx lr
  3202. 492 .L32:
  3203. 493 .align 2
  3204. 494 .L31:
  3205. 495 0038 00E100E0 .word -536813312
  3206. 496 .cfi_endproc
  3207. 497 .LFE109:
  3208. 499 .section .text.__NVIC_GetActive,"ax",%progbits
  3209. 500 .align 1
  3210. 501 .syntax unified
  3211. 502 .thumb
  3212. 503 .thumb_func
  3213. 505 __NVIC_GetActive:
  3214. 506 .LFB110:
  3215. 1784:Drivers/CMSIS/Include/core_cm4.h ****
  3216. 1785:Drivers/CMSIS/Include/core_cm4.h ****
  3217. 1786:Drivers/CMSIS/Include/core_cm4.h **** /**
  3218. 1787:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Active Interrupt
  3219. 1788:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the active register in the NVIC and returns the active bit for the device specific
  3220. 1789:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Device specific interrupt number.
  3221. 1790:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Interrupt status is not active.
  3222. 1791:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Interrupt status is active.
  3223. 1792:Drivers/CMSIS/Include/core_cm4.h **** \note IRQn must not be negative.
  3224. 1793:Drivers/CMSIS/Include/core_cm4.h **** */
  3225. 1794:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetActive(IRQn_Type IRQn)
  3226. 1795:Drivers/CMSIS/Include/core_cm4.h **** {
  3227. 507 .loc 1 1795 1
  3228. 508 .cfi_startproc
  3229. 509 @ args = 0, pretend = 0, frame = 8
  3230. 510 @ frame_needed = 1, uses_anonymous_args = 0
  3231. 511 @ link register save eliminated.
  3232. 512 0000 80B4 push {r7}
  3233. 513 .LCFI40:
  3234. 514 .cfi_def_cfa_offset 4
  3235. 515 .cfi_offset 7, -4
  3236. 516 0002 83B0 sub sp, sp, #12
  3237. 517 .LCFI41:
  3238. 518 .cfi_def_cfa_offset 16
  3239. 519 0004 00AF add r7, sp, #0
  3240. 520 .LCFI42:
  3241. 521 .cfi_def_cfa_register 7
  3242. 522 0006 0346 mov r3, r0
  3243. 523 0008 FB71 strb r3, [r7, #7]
  3244. 1796:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  3245. 524 .loc 1 1796 6
  3246. 525 000a 97F90730 ldrsb r3, [r7, #7]
  3247. 526 000e 002B cmp r3, #0
  3248. 527 0010 0EDB blt .L34
  3249. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 57
  3250. 1797:Drivers/CMSIS/Include/core_cm4.h **** {
  3251. 1798:Drivers/CMSIS/Include/core_cm4.h **** return((uint32_t)(((NVIC->IABR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
  3252. 528 .loc 1 1798 29
  3253. 529 0012 0B4A ldr r2, .L36
  3254. 530 .loc 1 1798 38
  3255. 531 0014 97F90730 ldrsb r3, [r7, #7]
  3256. 532 .loc 1 1798 54
  3257. 533 0018 5B09 lsrs r3, r3, #5
  3258. 534 .loc 1 1798 35
  3259. 535 001a 8033 adds r3, r3, #128
  3260. 536 001c 52F82320 ldr r2, [r2, r3, lsl #2]
  3261. 537 .loc 1 1798 91
  3262. 538 0020 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
  3263. 539 0022 03F01F03 and r3, r3, #31
  3264. 540 .loc 1 1798 103
  3265. 541 0026 22FA03F3 lsr r3, r2, r3
  3266. 542 .loc 1 1798 12
  3267. 543 002a 03F00103 and r3, r3, #1
  3268. 544 002e 00E0 b .L35
  3269. 545 .L34:
  3270. 1799:Drivers/CMSIS/Include/core_cm4.h **** }
  3271. 1800:Drivers/CMSIS/Include/core_cm4.h **** else
  3272. 1801:Drivers/CMSIS/Include/core_cm4.h **** {
  3273. 1802:Drivers/CMSIS/Include/core_cm4.h **** return(0U);
  3274. 546 .loc 1 1802 11
  3275. 547 0030 0023 movs r3, #0
  3276. 548 .L35:
  3277. 1803:Drivers/CMSIS/Include/core_cm4.h **** }
  3278. 1804:Drivers/CMSIS/Include/core_cm4.h **** }
  3279. 549 .loc 1 1804 1
  3280. 550 0032 1846 mov r0, r3
  3281. 551 0034 0C37 adds r7, r7, #12
  3282. 552 .LCFI43:
  3283. 553 .cfi_def_cfa_offset 4
  3284. 554 0036 BD46 mov sp, r7
  3285. 555 .LCFI44:
  3286. 556 .cfi_def_cfa_register 13
  3287. 557 @ sp needed
  3288. 558 0038 5DF8047B ldr r7, [sp], #4
  3289. 559 .LCFI45:
  3290. 560 .cfi_restore 7
  3291. 561 .cfi_def_cfa_offset 0
  3292. 562 003c 7047 bx lr
  3293. 563 .L37:
  3294. 564 003e 00BF .align 2
  3295. 565 .L36:
  3296. 566 0040 00E100E0 .word -536813312
  3297. 567 .cfi_endproc
  3298. 568 .LFE110:
  3299. 570 .section .text.__NVIC_SetPriority,"ax",%progbits
  3300. 571 .align 1
  3301. 572 .syntax unified
  3302. 573 .thumb
  3303. 574 .thumb_func
  3304. 576 __NVIC_SetPriority:
  3305. 577 .LFB111:
  3306. 1805:Drivers/CMSIS/Include/core_cm4.h ****
  3307. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 58
  3308. 1806:Drivers/CMSIS/Include/core_cm4.h ****
  3309. 1807:Drivers/CMSIS/Include/core_cm4.h **** /**
  3310. 1808:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Interrupt Priority
  3311. 1809:Drivers/CMSIS/Include/core_cm4.h **** \details Sets the priority of a device specific interrupt or a processor exception.
  3312. 1810:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
  3313. 1811:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
  3314. 1812:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number.
  3315. 1813:Drivers/CMSIS/Include/core_cm4.h **** \param [in] priority Priority to set.
  3316. 1814:Drivers/CMSIS/Include/core_cm4.h **** \note The priority cannot be set for every processor exception.
  3317. 1815:Drivers/CMSIS/Include/core_cm4.h **** */
  3318. 1816:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
  3319. 1817:Drivers/CMSIS/Include/core_cm4.h **** {
  3320. 578 .loc 1 1817 1
  3321. 579 .cfi_startproc
  3322. 580 @ args = 0, pretend = 0, frame = 8
  3323. 581 @ frame_needed = 1, uses_anonymous_args = 0
  3324. 582 @ link register save eliminated.
  3325. 583 0000 80B4 push {r7}
  3326. 584 .LCFI46:
  3327. 585 .cfi_def_cfa_offset 4
  3328. 586 .cfi_offset 7, -4
  3329. 587 0002 83B0 sub sp, sp, #12
  3330. 588 .LCFI47:
  3331. 589 .cfi_def_cfa_offset 16
  3332. 590 0004 00AF add r7, sp, #0
  3333. 591 .LCFI48:
  3334. 592 .cfi_def_cfa_register 7
  3335. 593 0006 0346 mov r3, r0
  3336. 594 0008 3960 str r1, [r7]
  3337. 595 000a FB71 strb r3, [r7, #7]
  3338. 1818:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  3339. 596 .loc 1 1818 6
  3340. 597 000c 97F90730 ldrsb r3, [r7, #7]
  3341. 598 0010 002B cmp r3, #0
  3342. 599 0012 0ADB blt .L39
  3343. 1819:Drivers/CMSIS/Include/core_cm4.h **** {
  3344. 1820:Drivers/CMSIS/Include/core_cm4.h **** NVIC->IP[((uint32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (u
  3345. 600 .loc 1 1820 48
  3346. 601 0014 3B68 ldr r3, [r7]
  3347. 602 0016 DAB2 uxtb r2, r3
  3348. 603 .loc 1 1820 9
  3349. 604 0018 0C49 ldr r1, .L42
  3350. 605 .loc 1 1820 15
  3351. 606 001a 97F90730 ldrsb r3, [r7, #7]
  3352. 607 .loc 1 1820 48
  3353. 608 001e 1201 lsls r2, r2, #4
  3354. 609 0020 D2B2 uxtb r2, r2
  3355. 610 .loc 1 1820 46
  3356. 611 0022 0B44 add r3, r3, r1
  3357. 612 0024 83F80023 strb r2, [r3, #768]
  3358. 1821:Drivers/CMSIS/Include/core_cm4.h **** }
  3359. 1822:Drivers/CMSIS/Include/core_cm4.h **** else
  3360. 1823:Drivers/CMSIS/Include/core_cm4.h **** {
  3361. 1824:Drivers/CMSIS/Include/core_cm4.h **** SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (u
  3362. 1825:Drivers/CMSIS/Include/core_cm4.h **** }
  3363. 1826:Drivers/CMSIS/Include/core_cm4.h **** }
  3364. 613 .loc 1 1826 1
  3365. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 59
  3366. 614 0028 0AE0 b .L41
  3367. 615 .L39:
  3368. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  3369. 616 .loc 1 1824 48
  3370. 617 002a 3B68 ldr r3, [r7]
  3371. 618 002c DAB2 uxtb r2, r3
  3372. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  3373. 619 .loc 1 1824 8
  3374. 620 002e 0849 ldr r1, .L42+4
  3375. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  3376. 621 .loc 1 1824 32
  3377. 622 0030 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
  3378. 623 0032 03F00F03 and r3, r3, #15
  3379. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  3380. 624 .loc 1 1824 40
  3381. 625 0036 043B subs r3, r3, #4
  3382. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  3383. 626 .loc 1 1824 48
  3384. 627 0038 1201 lsls r2, r2, #4
  3385. 628 003a D2B2 uxtb r2, r2
  3386. 1824:Drivers/CMSIS/Include/core_cm4.h **** }
  3387. 629 .loc 1 1824 46
  3388. 630 003c 0B44 add r3, r3, r1
  3389. 631 003e 1A76 strb r2, [r3, #24]
  3390. 632 .L41:
  3391. 633 .loc 1 1826 1
  3392. 634 0040 00BF nop
  3393. 635 0042 0C37 adds r7, r7, #12
  3394. 636 .LCFI49:
  3395. 637 .cfi_def_cfa_offset 4
  3396. 638 0044 BD46 mov sp, r7
  3397. 639 .LCFI50:
  3398. 640 .cfi_def_cfa_register 13
  3399. 641 @ sp needed
  3400. 642 0046 5DF8047B ldr r7, [sp], #4
  3401. 643 .LCFI51:
  3402. 644 .cfi_restore 7
  3403. 645 .cfi_def_cfa_offset 0
  3404. 646 004a 7047 bx lr
  3405. 647 .L43:
  3406. 648 .align 2
  3407. 649 .L42:
  3408. 650 004c 00E100E0 .word -536813312
  3409. 651 0050 00ED00E0 .word -536810240
  3410. 652 .cfi_endproc
  3411. 653 .LFE111:
  3412. 655 .section .text.__NVIC_GetPriority,"ax",%progbits
  3413. 656 .align 1
  3414. 657 .syntax unified
  3415. 658 .thumb
  3416. 659 .thumb_func
  3417. 661 __NVIC_GetPriority:
  3418. 662 .LFB112:
  3419. 1827:Drivers/CMSIS/Include/core_cm4.h ****
  3420. 1828:Drivers/CMSIS/Include/core_cm4.h ****
  3421. 1829:Drivers/CMSIS/Include/core_cm4.h **** /**
  3422. 1830:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Interrupt Priority
  3423. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 60
  3424. 1831:Drivers/CMSIS/Include/core_cm4.h **** \details Reads the priority of a device specific interrupt or a processor exception.
  3425. 1832:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
  3426. 1833:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
  3427. 1834:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number.
  3428. 1835:Drivers/CMSIS/Include/core_cm4.h **** \return Interrupt Priority.
  3429. 1836:Drivers/CMSIS/Include/core_cm4.h **** Value is aligned automatically to the implemented priority bits of the microc
  3430. 1837:Drivers/CMSIS/Include/core_cm4.h **** */
  3431. 1838:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetPriority(IRQn_Type IRQn)
  3432. 1839:Drivers/CMSIS/Include/core_cm4.h **** {
  3433. 663 .loc 1 1839 1
  3434. 664 .cfi_startproc
  3435. 665 @ args = 0, pretend = 0, frame = 8
  3436. 666 @ frame_needed = 1, uses_anonymous_args = 0
  3437. 667 @ link register save eliminated.
  3438. 668 0000 80B4 push {r7}
  3439. 669 .LCFI52:
  3440. 670 .cfi_def_cfa_offset 4
  3441. 671 .cfi_offset 7, -4
  3442. 672 0002 83B0 sub sp, sp, #12
  3443. 673 .LCFI53:
  3444. 674 .cfi_def_cfa_offset 16
  3445. 675 0004 00AF add r7, sp, #0
  3446. 676 .LCFI54:
  3447. 677 .cfi_def_cfa_register 7
  3448. 678 0006 0346 mov r3, r0
  3449. 679 0008 FB71 strb r3, [r7, #7]
  3450. 1840:Drivers/CMSIS/Include/core_cm4.h ****
  3451. 1841:Drivers/CMSIS/Include/core_cm4.h **** if ((int32_t)(IRQn) >= 0)
  3452. 680 .loc 1 1841 6
  3453. 681 000a 97F90730 ldrsb r3, [r7, #7]
  3454. 682 000e 002B cmp r3, #0
  3455. 683 0010 09DB blt .L45
  3456. 1842:Drivers/CMSIS/Include/core_cm4.h **** {
  3457. 1843:Drivers/CMSIS/Include/core_cm4.h **** return(((uint32_t)NVIC->IP[((uint32_t)IRQn)] >> (8U - __NVIC_PRIO_BITS)));
  3458. 684 .loc 1 1843 27
  3459. 685 0012 0D4A ldr r2, .L47
  3460. 686 .loc 1 1843 33
  3461. 687 0014 97F90730 ldrsb r3, [r7, #7]
  3462. 688 .loc 1 1843 31
  3463. 689 0018 1344 add r3, r3, r2
  3464. 690 001a 93F80033 ldrb r3, [r3, #768]
  3465. 691 001e DBB2 uxtb r3, r3
  3466. 692 .loc 1 1843 64
  3467. 693 0020 1B09 lsrs r3, r3, #4
  3468. 694 0022 DBB2 uxtb r3, r3
  3469. 695 0024 09E0 b .L46
  3470. 696 .L45:
  3471. 1844:Drivers/CMSIS/Include/core_cm4.h **** }
  3472. 1845:Drivers/CMSIS/Include/core_cm4.h **** else
  3473. 1846:Drivers/CMSIS/Include/core_cm4.h **** {
  3474. 1847:Drivers/CMSIS/Include/core_cm4.h **** return(((uint32_t)SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] >> (8U - __NVIC_PRIO_BITS)));
  3475. 697 .loc 1 1847 26
  3476. 698 0026 094A ldr r2, .L47+4
  3477. 699 .loc 1 1847 50
  3478. 700 0028 FB79 ldrb r3, [r7, #7] @ zero_extendqisi2
  3479. 701 002a 03F00F03 and r3, r3, #15
  3480. 702 .loc 1 1847 58
  3481. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 61
  3482. 703 002e 043B subs r3, r3, #4
  3483. 704 .loc 1 1847 31
  3484. 705 0030 1344 add r3, r3, r2
  3485. 706 0032 1B7E ldrb r3, [r3, #24]
  3486. 707 0034 DBB2 uxtb r3, r3
  3487. 708 .loc 1 1847 64
  3488. 709 0036 1B09 lsrs r3, r3, #4
  3489. 710 0038 DBB2 uxtb r3, r3
  3490. 711 .L46:
  3491. 1848:Drivers/CMSIS/Include/core_cm4.h **** }
  3492. 1849:Drivers/CMSIS/Include/core_cm4.h **** }
  3493. 712 .loc 1 1849 1
  3494. 713 003a 1846 mov r0, r3
  3495. 714 003c 0C37 adds r7, r7, #12
  3496. 715 .LCFI55:
  3497. 716 .cfi_def_cfa_offset 4
  3498. 717 003e BD46 mov sp, r7
  3499. 718 .LCFI56:
  3500. 719 .cfi_def_cfa_register 13
  3501. 720 @ sp needed
  3502. 721 0040 5DF8047B ldr r7, [sp], #4
  3503. 722 .LCFI57:
  3504. 723 .cfi_restore 7
  3505. 724 .cfi_def_cfa_offset 0
  3506. 725 0044 7047 bx lr
  3507. 726 .L48:
  3508. 727 0046 00BF .align 2
  3509. 728 .L47:
  3510. 729 0048 00E100E0 .word -536813312
  3511. 730 004c 00ED00E0 .word -536810240
  3512. 731 .cfi_endproc
  3513. 732 .LFE112:
  3514. 734 .section .text.NVIC_EncodePriority,"ax",%progbits
  3515. 735 .align 1
  3516. 736 .syntax unified
  3517. 737 .thumb
  3518. 738 .thumb_func
  3519. 740 NVIC_EncodePriority:
  3520. 741 .LFB113:
  3521. 1850:Drivers/CMSIS/Include/core_cm4.h ****
  3522. 1851:Drivers/CMSIS/Include/core_cm4.h ****
  3523. 1852:Drivers/CMSIS/Include/core_cm4.h **** /**
  3524. 1853:Drivers/CMSIS/Include/core_cm4.h **** \brief Encode Priority
  3525. 1854:Drivers/CMSIS/Include/core_cm4.h **** \details Encodes the priority for an interrupt with the given priority group,
  3526. 1855:Drivers/CMSIS/Include/core_cm4.h **** preemptive priority value, and subpriority value.
  3527. 1856:Drivers/CMSIS/Include/core_cm4.h **** In case of a conflict between priority grouping and available
  3528. 1857:Drivers/CMSIS/Include/core_cm4.h **** priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
  3529. 1858:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PriorityGroup Used priority group.
  3530. 1859:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PreemptPriority Preemptive priority value (starting from 0).
  3531. 1860:Drivers/CMSIS/Include/core_cm4.h **** \param [in] SubPriority Subpriority value (starting from 0).
  3532. 1861:Drivers/CMSIS/Include/core_cm4.h **** \return Encoded priority. Value can be used in the function \ref NVIC_SetP
  3533. 1862:Drivers/CMSIS/Include/core_cm4.h **** */
  3534. 1863:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uin
  3535. 1864:Drivers/CMSIS/Include/core_cm4.h **** {
  3536. 742 .loc 1 1864 1
  3537. 743 .cfi_startproc
  3538. 744 @ args = 0, pretend = 0, frame = 32
  3539. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 62
  3540. 745 @ frame_needed = 1, uses_anonymous_args = 0
  3541. 746 @ link register save eliminated.
  3542. 747 0000 80B4 push {r7}
  3543. 748 .LCFI58:
  3544. 749 .cfi_def_cfa_offset 4
  3545. 750 .cfi_offset 7, -4
  3546. 751 0002 89B0 sub sp, sp, #36
  3547. 752 .LCFI59:
  3548. 753 .cfi_def_cfa_offset 40
  3549. 754 0004 00AF add r7, sp, #0
  3550. 755 .LCFI60:
  3551. 756 .cfi_def_cfa_register 7
  3552. 757 0006 F860 str r0, [r7, #12]
  3553. 758 0008 B960 str r1, [r7, #8]
  3554. 759 000a 7A60 str r2, [r7, #4]
  3555. 1865:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used
  3556. 760 .loc 1 1865 12
  3557. 761 000c FB68 ldr r3, [r7, #12]
  3558. 762 000e 03F00703 and r3, r3, #7
  3559. 763 0012 FB61 str r3, [r7, #28]
  3560. 1866:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PreemptPriorityBits;
  3561. 1867:Drivers/CMSIS/Include/core_cm4.h **** uint32_t SubPriorityBits;
  3562. 1868:Drivers/CMSIS/Include/core_cm4.h ****
  3563. 1869:Drivers/CMSIS/Include/core_cm4.h **** PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NV
  3564. 764 .loc 1 1869 31
  3565. 765 0014 FB69 ldr r3, [r7, #28]
  3566. 766 0016 C3F10703 rsb r3, r3, #7
  3567. 767 .loc 1 1869 23
  3568. 768 001a 042B cmp r3, #4
  3569. 769 001c 28BF it cs
  3570. 770 001e 0423 movcs r3, #4
  3571. 771 0020 BB61 str r3, [r7, #24]
  3572. 1870:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  3573. 772 .loc 1 1870 44
  3574. 773 0022 FB69 ldr r3, [r7, #28]
  3575. 774 0024 0433 adds r3, r3, #4
  3576. 775 .loc 1 1870 109
  3577. 776 0026 062B cmp r3, #6
  3578. 777 0028 02D9 bls .L50
  3579. 778 .loc 1 1870 109 is_stmt 0 discriminator 1
  3580. 779 002a FB69 ldr r3, [r7, #28]
  3581. 780 002c 033B subs r3, r3, #3
  3582. 781 002e 00E0 b .L51
  3583. 782 .L50:
  3584. 783 .loc 1 1870 109 discriminator 2
  3585. 784 0030 0023 movs r3, #0
  3586. 785 .L51:
  3587. 786 .loc 1 1870 23 is_stmt 1 discriminator 4
  3588. 787 0032 7B61 str r3, [r7, #20]
  3589. 1871:Drivers/CMSIS/Include/core_cm4.h ****
  3590. 1872:Drivers/CMSIS/Include/core_cm4.h **** return (
  3591. 1873:Drivers/CMSIS/Include/core_cm4.h **** ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits
  3592. 788 .loc 1 1873 30 discriminator 4
  3593. 789 0034 4FF0FF32 mov r2, #-1
  3594. 790 0038 BB69 ldr r3, [r7, #24]
  3595. 791 003a 02FA03F3 lsl r3, r2, r3
  3596. 792 003e DA43 mvns r2, r3
  3597. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 63
  3598. 793 0040 BB68 ldr r3, [r7, #8]
  3599. 794 0042 1A40 ands r2, r2, r3
  3600. 795 .loc 1 1873 82 discriminator 4
  3601. 796 0044 7B69 ldr r3, [r7, #20]
  3602. 797 0046 9A40 lsls r2, r2, r3
  3603. 1874:Drivers/CMSIS/Include/core_cm4.h **** ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
  3604. 798 .loc 1 1874 30 discriminator 4
  3605. 799 0048 4FF0FF31 mov r1, #-1
  3606. 800 004c 7B69 ldr r3, [r7, #20]
  3607. 801 004e 01FA03F3 lsl r3, r1, r3
  3608. 802 0052 D943 mvns r1, r3
  3609. 803 0054 7B68 ldr r3, [r7, #4]
  3610. 804 0056 0B40 ands r3, r3, r1
  3611. 1873:Drivers/CMSIS/Include/core_cm4.h **** ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
  3612. 805 .loc 1 1873 102 discriminator 4
  3613. 806 0058 1343 orrs r3, r3, r2
  3614. 1875:Drivers/CMSIS/Include/core_cm4.h **** );
  3615. 1876:Drivers/CMSIS/Include/core_cm4.h **** }
  3616. 807 .loc 1 1876 1 discriminator 4
  3617. 808 005a 1846 mov r0, r3
  3618. 809 005c 2437 adds r7, r7, #36
  3619. 810 .LCFI61:
  3620. 811 .cfi_def_cfa_offset 4
  3621. 812 005e BD46 mov sp, r7
  3622. 813 .LCFI62:
  3623. 814 .cfi_def_cfa_register 13
  3624. 815 @ sp needed
  3625. 816 0060 5DF8047B ldr r7, [sp], #4
  3626. 817 .LCFI63:
  3627. 818 .cfi_restore 7
  3628. 819 .cfi_def_cfa_offset 0
  3629. 820 0064 7047 bx lr
  3630. 821 .cfi_endproc
  3631. 822 .LFE113:
  3632. 824 .section .text.NVIC_DecodePriority,"ax",%progbits
  3633. 825 .align 1
  3634. 826 .syntax unified
  3635. 827 .thumb
  3636. 828 .thumb_func
  3637. 830 NVIC_DecodePriority:
  3638. 831 .LFB114:
  3639. 1877:Drivers/CMSIS/Include/core_cm4.h ****
  3640. 1878:Drivers/CMSIS/Include/core_cm4.h ****
  3641. 1879:Drivers/CMSIS/Include/core_cm4.h **** /**
  3642. 1880:Drivers/CMSIS/Include/core_cm4.h **** \brief Decode Priority
  3643. 1881:Drivers/CMSIS/Include/core_cm4.h **** \details Decodes an interrupt priority value with a given priority group to
  3644. 1882:Drivers/CMSIS/Include/core_cm4.h **** preemptive priority value and subpriority value.
  3645. 1883:Drivers/CMSIS/Include/core_cm4.h **** In case of a conflict between priority grouping and available
  3646. 1884:Drivers/CMSIS/Include/core_cm4.h **** priority bits (__NVIC_PRIO_BITS) the smallest possible priority group is set.
  3647. 1885:Drivers/CMSIS/Include/core_cm4.h **** \param [in] Priority Priority value, which can be retrieved with the function \ref NVIC
  3648. 1886:Drivers/CMSIS/Include/core_cm4.h **** \param [in] PriorityGroup Used priority group.
  3649. 1887:Drivers/CMSIS/Include/core_cm4.h **** \param [out] pPreemptPriority Preemptive priority value (starting from 0).
  3650. 1888:Drivers/CMSIS/Include/core_cm4.h **** \param [out] pSubPriority Subpriority value (starting from 0).
  3651. 1889:Drivers/CMSIS/Include/core_cm4.h **** */
  3652. 1890:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* cons
  3653. 1891:Drivers/CMSIS/Include/core_cm4.h **** {
  3654. 832 .loc 1 1891 1
  3655. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 64
  3656. 833 .cfi_startproc
  3657. 834 @ args = 0, pretend = 0, frame = 32
  3658. 835 @ frame_needed = 1, uses_anonymous_args = 0
  3659. 836 @ link register save eliminated.
  3660. 837 0000 80B4 push {r7}
  3661. 838 .LCFI64:
  3662. 839 .cfi_def_cfa_offset 4
  3663. 840 .cfi_offset 7, -4
  3664. 841 0002 89B0 sub sp, sp, #36
  3665. 842 .LCFI65:
  3666. 843 .cfi_def_cfa_offset 40
  3667. 844 0004 00AF add r7, sp, #0
  3668. 845 .LCFI66:
  3669. 846 .cfi_def_cfa_register 7
  3670. 847 0006 F860 str r0, [r7, #12]
  3671. 848 0008 B960 str r1, [r7, #8]
  3672. 849 000a 7A60 str r2, [r7, #4]
  3673. 850 000c 3B60 str r3, [r7]
  3674. 1892:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used
  3675. 851 .loc 1 1892 12
  3676. 852 000e BB68 ldr r3, [r7, #8]
  3677. 853 0010 03F00703 and r3, r3, #7
  3678. 854 0014 FB61 str r3, [r7, #28]
  3679. 1893:Drivers/CMSIS/Include/core_cm4.h **** uint32_t PreemptPriorityBits;
  3680. 1894:Drivers/CMSIS/Include/core_cm4.h **** uint32_t SubPriorityBits;
  3681. 1895:Drivers/CMSIS/Include/core_cm4.h ****
  3682. 1896:Drivers/CMSIS/Include/core_cm4.h **** PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NV
  3683. 855 .loc 1 1896 31
  3684. 856 0016 FB69 ldr r3, [r7, #28]
  3685. 857 0018 C3F10703 rsb r3, r3, #7
  3686. 858 .loc 1 1896 23
  3687. 859 001c 042B cmp r3, #4
  3688. 860 001e 28BF it cs
  3689. 861 0020 0423 movcs r3, #4
  3690. 862 0022 BB61 str r3, [r7, #24]
  3691. 1897:Drivers/CMSIS/Include/core_cm4.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  3692. 863 .loc 1 1897 44
  3693. 864 0024 FB69 ldr r3, [r7, #28]
  3694. 865 0026 0433 adds r3, r3, #4
  3695. 866 .loc 1 1897 109
  3696. 867 0028 062B cmp r3, #6
  3697. 868 002a 02D9 bls .L54
  3698. 869 .loc 1 1897 109 is_stmt 0 discriminator 1
  3699. 870 002c FB69 ldr r3, [r7, #28]
  3700. 871 002e 033B subs r3, r3, #3
  3701. 872 0030 00E0 b .L55
  3702. 873 .L54:
  3703. 874 .loc 1 1897 109 discriminator 2
  3704. 875 0032 0023 movs r3, #0
  3705. 876 .L55:
  3706. 877 .loc 1 1897 23 is_stmt 1 discriminator 4
  3707. 878 0034 7B61 str r3, [r7, #20]
  3708. 1898:Drivers/CMSIS/Include/core_cm4.h ****
  3709. 1899:Drivers/CMSIS/Include/core_cm4.h **** *pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1
  3710. 879 .loc 1 1899 33 discriminator 4
  3711. 880 0036 FA68 ldr r2, [r7, #12]
  3712. 881 0038 7B69 ldr r3, [r7, #20]
  3713. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 65
  3714. 882 003a DA40 lsrs r2, r2, r3
  3715. 883 .loc 1 1899 53 discriminator 4
  3716. 884 003c 4FF0FF31 mov r1, #-1
  3717. 885 0040 BB69 ldr r3, [r7, #24]
  3718. 886 0042 01FA03F3 lsl r3, r1, r3
  3719. 887 0046 DB43 mvns r3, r3
  3720. 888 0048 1A40 ands r2, r2, r3
  3721. 889 .loc 1 1899 21 discriminator 4
  3722. 890 004a 7B68 ldr r3, [r7, #4]
  3723. 891 004c 1A60 str r2, [r3]
  3724. 1900:Drivers/CMSIS/Include/core_cm4.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  3725. 892 .loc 1 1900 53 discriminator 4
  3726. 893 004e 4FF0FF32 mov r2, #-1
  3727. 894 0052 7B69 ldr r3, [r7, #20]
  3728. 895 0054 02FA03F3 lsl r3, r2, r3
  3729. 896 0058 DA43 mvns r2, r3
  3730. 897 005a FB68 ldr r3, [r7, #12]
  3731. 898 005c 1A40 ands r2, r2, r3
  3732. 899 .loc 1 1900 21 discriminator 4
  3733. 900 005e 3B68 ldr r3, [r7]
  3734. 901 0060 1A60 str r2, [r3]
  3735. 1901:Drivers/CMSIS/Include/core_cm4.h **** }
  3736. 902 .loc 1 1901 1 discriminator 4
  3737. 903 0062 00BF nop
  3738. 904 0064 2437 adds r7, r7, #36
  3739. 905 .LCFI67:
  3740. 906 .cfi_def_cfa_offset 4
  3741. 907 0066 BD46 mov sp, r7
  3742. 908 .LCFI68:
  3743. 909 .cfi_def_cfa_register 13
  3744. 910 @ sp needed
  3745. 911 0068 5DF8047B ldr r7, [sp], #4
  3746. 912 .LCFI69:
  3747. 913 .cfi_restore 7
  3748. 914 .cfi_def_cfa_offset 0
  3749. 915 006c 7047 bx lr
  3750. 916 .cfi_endproc
  3751. 917 .LFE114:
  3752. 919 .section .text.__NVIC_SystemReset,"ax",%progbits
  3753. 920 .align 1
  3754. 921 .syntax unified
  3755. 922 .thumb
  3756. 923 .thumb_func
  3757. 925 __NVIC_SystemReset:
  3758. 926 .LFB117:
  3759. 1902:Drivers/CMSIS/Include/core_cm4.h ****
  3760. 1903:Drivers/CMSIS/Include/core_cm4.h ****
  3761. 1904:Drivers/CMSIS/Include/core_cm4.h **** /**
  3762. 1905:Drivers/CMSIS/Include/core_cm4.h **** \brief Set Interrupt Vector
  3763. 1906:Drivers/CMSIS/Include/core_cm4.h **** \details Sets an interrupt vector in SRAM based interrupt vector table.
  3764. 1907:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
  3765. 1908:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
  3766. 1909:Drivers/CMSIS/Include/core_cm4.h **** VTOR must been relocated to SRAM before.
  3767. 1910:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number
  3768. 1911:Drivers/CMSIS/Include/core_cm4.h **** \param [in] vector Address of interrupt handler function
  3769. 1912:Drivers/CMSIS/Include/core_cm4.h **** */
  3770. 1913:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector)
  3771. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 66
  3772. 1914:Drivers/CMSIS/Include/core_cm4.h **** {
  3773. 1915:Drivers/CMSIS/Include/core_cm4.h **** uint32_t *vectors = (uint32_t *)SCB->VTOR;
  3774. 1916:Drivers/CMSIS/Include/core_cm4.h **** vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET] = vector;
  3775. 1917:Drivers/CMSIS/Include/core_cm4.h **** }
  3776. 1918:Drivers/CMSIS/Include/core_cm4.h ****
  3777. 1919:Drivers/CMSIS/Include/core_cm4.h ****
  3778. 1920:Drivers/CMSIS/Include/core_cm4.h **** /**
  3779. 1921:Drivers/CMSIS/Include/core_cm4.h **** \brief Get Interrupt Vector
  3780. 1922:Drivers/CMSIS/Include/core_cm4.h **** \details Reads an interrupt vector from interrupt vector table.
  3781. 1923:Drivers/CMSIS/Include/core_cm4.h **** The interrupt number can be positive to specify a device specific interrupt,
  3782. 1924:Drivers/CMSIS/Include/core_cm4.h **** or negative to specify a processor exception.
  3783. 1925:Drivers/CMSIS/Include/core_cm4.h **** \param [in] IRQn Interrupt number.
  3784. 1926:Drivers/CMSIS/Include/core_cm4.h **** \return Address of interrupt handler function
  3785. 1927:Drivers/CMSIS/Include/core_cm4.h **** */
  3786. 1928:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t __NVIC_GetVector(IRQn_Type IRQn)
  3787. 1929:Drivers/CMSIS/Include/core_cm4.h **** {
  3788. 1930:Drivers/CMSIS/Include/core_cm4.h **** uint32_t *vectors = (uint32_t *)SCB->VTOR;
  3789. 1931:Drivers/CMSIS/Include/core_cm4.h **** return vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET];
  3790. 1932:Drivers/CMSIS/Include/core_cm4.h **** }
  3791. 1933:Drivers/CMSIS/Include/core_cm4.h ****
  3792. 1934:Drivers/CMSIS/Include/core_cm4.h ****
  3793. 1935:Drivers/CMSIS/Include/core_cm4.h **** /**
  3794. 1936:Drivers/CMSIS/Include/core_cm4.h **** \brief System Reset
  3795. 1937:Drivers/CMSIS/Include/core_cm4.h **** \details Initiates a system reset request to reset the MCU.
  3796. 1938:Drivers/CMSIS/Include/core_cm4.h **** */
  3797. 1939:Drivers/CMSIS/Include/core_cm4.h **** __NO_RETURN __STATIC_INLINE void __NVIC_SystemReset(void)
  3798. 1940:Drivers/CMSIS/Include/core_cm4.h **** {
  3799. 927 .loc 1 1940 1
  3800. 928 .cfi_startproc
  3801. 929 @ args = 0, pretend = 0, frame = 0
  3802. 930 @ frame_needed = 1, uses_anonymous_args = 0
  3803. 931 @ link register save eliminated.
  3804. 932 0000 80B4 push {r7}
  3805. 933 .LCFI70:
  3806. 934 .cfi_def_cfa_offset 4
  3807. 935 .cfi_offset 7, -4
  3808. 936 0002 00AF add r7, sp, #0
  3809. 937 .LCFI71:
  3810. 938 .cfi_def_cfa_register 7
  3811. 939 .LBB20:
  3812. 940 .LBB21:
  3813. 879:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3814. 941 .loc 2 879 3
  3815. 942 .syntax unified
  3816. 943 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3817. 944 0004 BFF34F8F dsb 0xF
  3818. 945 @ 0 "" 2
  3819. 946 .loc 2 880 1
  3820. 947 .thumb
  3821. 948 .syntax unified
  3822. 949 0008 00BF nop
  3823. 950 .LBE21:
  3824. 951 .LBE20:
  3825. 1941:Drivers/CMSIS/Include/core_cm4.h **** __DSB(); /* Ensure all outstanding memor
  3826. 1942:Drivers/CMSIS/Include/core_cm4.h **** buffered write are completed
  3827. 1943:Drivers/CMSIS/Include/core_cm4.h **** SCB->AIRCR = (uint32_t)((0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
  3828. 1944:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
  3829. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 67
  3830. 952 .loc 1 1944 32
  3831. 953 000a 064B ldr r3, .L58
  3832. 954 000c DB68 ldr r3, [r3, #12]
  3833. 955 .loc 1 1944 40
  3834. 956 000e 03F4E062 and r2, r3, #1792
  3835. 1943:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
  3836. 957 .loc 1 1943 6
  3837. 958 0012 0449 ldr r1, .L58
  3838. 1943:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
  3839. 959 .loc 1 1943 17
  3840. 960 0014 044B ldr r3, .L58+4
  3841. 961 0016 1343 orrs r3, r3, r2
  3842. 1943:Drivers/CMSIS/Include/core_cm4.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
  3843. 962 .loc 1 1943 15
  3844. 963 0018 CB60 str r3, [r1, #12]
  3845. 964 .LBB22:
  3846. 965 .LBB23:
  3847. 879:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3848. 966 .loc 2 879 3
  3849. 967 .syntax unified
  3850. 968 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3851. 969 001a BFF34F8F dsb 0xF
  3852. 970 @ 0 "" 2
  3853. 971 .loc 2 880 1
  3854. 972 .thumb
  3855. 973 .syntax unified
  3856. 974 001e 00BF nop
  3857. 975 .L57:
  3858. 976 .LBE23:
  3859. 977 .LBE22:
  3860. 1945:Drivers/CMSIS/Include/core_cm4.h **** SCB_AIRCR_SYSRESETREQ_Msk ); /* Keep priority group unchange
  3861. 1946:Drivers/CMSIS/Include/core_cm4.h **** __DSB(); /* Ensure completion of memory
  3862. 1947:Drivers/CMSIS/Include/core_cm4.h ****
  3863. 1948:Drivers/CMSIS/Include/core_cm4.h **** for(;;) /* wait until reset */
  3864. 1949:Drivers/CMSIS/Include/core_cm4.h **** {
  3865. 1950:Drivers/CMSIS/Include/core_cm4.h **** __NOP();
  3866. 978 .loc 1 1950 5 discriminator 1
  3867. 979 .syntax unified
  3868. 980 @ 1950 "Drivers/CMSIS/Include/core_cm4.h" 1
  3869. 981 0020 00BF nop
  3870. 982 @ 0 "" 2
  3871. 983 .thumb
  3872. 984 .syntax unified
  3873. 985 0022 FDE7 b .L57
  3874. 986 .L59:
  3875. 987 .align 2
  3876. 988 .L58:
  3877. 989 0024 00ED00E0 .word -536810240
  3878. 990 0028 0400FA05 .word 100270084
  3879. 991 .cfi_endproc
  3880. 992 .LFE117:
  3881. 994 .section .text.SysTick_Config,"ax",%progbits
  3882. 995 .align 1
  3883. 996 .syntax unified
  3884. 997 .thumb
  3885. 998 .thumb_func
  3886. 1000 SysTick_Config:
  3887. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 68
  3888. 1001 .LFB126:
  3889. 1951:Drivers/CMSIS/Include/core_cm4.h **** }
  3890. 1952:Drivers/CMSIS/Include/core_cm4.h **** }
  3891. 1953:Drivers/CMSIS/Include/core_cm4.h ****
  3892. 1954:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of CMSIS_Core_NVICFunctions */
  3893. 1955:Drivers/CMSIS/Include/core_cm4.h ****
  3894. 1956:Drivers/CMSIS/Include/core_cm4.h **** /* ########################## MPU functions #################################### */
  3895. 1957:Drivers/CMSIS/Include/core_cm4.h ****
  3896. 1958:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
  3897. 1959:Drivers/CMSIS/Include/core_cm4.h ****
  3898. 1960:Drivers/CMSIS/Include/core_cm4.h **** #include "mpu_armv7.h"
  3899. 1961:Drivers/CMSIS/Include/core_cm4.h ****
  3900. 1962:Drivers/CMSIS/Include/core_cm4.h **** #endif
  3901. 1963:Drivers/CMSIS/Include/core_cm4.h ****
  3902. 1964:Drivers/CMSIS/Include/core_cm4.h ****
  3903. 1965:Drivers/CMSIS/Include/core_cm4.h **** /* ########################## FPU functions #################################### */
  3904. 1966:Drivers/CMSIS/Include/core_cm4.h **** /**
  3905. 1967:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_Core_FunctionInterface
  3906. 1968:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_FpuFunctions FPU Functions
  3907. 1969:Drivers/CMSIS/Include/core_cm4.h **** \brief Function that provides FPU type.
  3908. 1970:Drivers/CMSIS/Include/core_cm4.h **** @{
  3909. 1971:Drivers/CMSIS/Include/core_cm4.h **** */
  3910. 1972:Drivers/CMSIS/Include/core_cm4.h ****
  3911. 1973:Drivers/CMSIS/Include/core_cm4.h **** /**
  3912. 1974:Drivers/CMSIS/Include/core_cm4.h **** \brief get FPU type
  3913. 1975:Drivers/CMSIS/Include/core_cm4.h **** \details returns the FPU type
  3914. 1976:Drivers/CMSIS/Include/core_cm4.h **** \returns
  3915. 1977:Drivers/CMSIS/Include/core_cm4.h **** - \b 0: No FPU
  3916. 1978:Drivers/CMSIS/Include/core_cm4.h **** - \b 1: Single precision FPU
  3917. 1979:Drivers/CMSIS/Include/core_cm4.h **** - \b 2: Double + Single precision FPU
  3918. 1980:Drivers/CMSIS/Include/core_cm4.h **** */
  3919. 1981:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t SCB_GetFPUType(void)
  3920. 1982:Drivers/CMSIS/Include/core_cm4.h **** {
  3921. 1983:Drivers/CMSIS/Include/core_cm4.h **** uint32_t mvfr0;
  3922. 1984:Drivers/CMSIS/Include/core_cm4.h ****
  3923. 1985:Drivers/CMSIS/Include/core_cm4.h **** mvfr0 = FPU->MVFR0;
  3924. 1986:Drivers/CMSIS/Include/core_cm4.h **** if ((mvfr0 & (FPU_MVFR0_Single_precision_Msk | FPU_MVFR0_Double_precision_Msk)) == 0x020U)
  3925. 1987:Drivers/CMSIS/Include/core_cm4.h **** {
  3926. 1988:Drivers/CMSIS/Include/core_cm4.h **** return 1U; /* Single precision FPU */
  3927. 1989:Drivers/CMSIS/Include/core_cm4.h **** }
  3928. 1990:Drivers/CMSIS/Include/core_cm4.h **** else
  3929. 1991:Drivers/CMSIS/Include/core_cm4.h **** {
  3930. 1992:Drivers/CMSIS/Include/core_cm4.h **** return 0U; /* No FPU */
  3931. 1993:Drivers/CMSIS/Include/core_cm4.h **** }
  3932. 1994:Drivers/CMSIS/Include/core_cm4.h **** }
  3933. 1995:Drivers/CMSIS/Include/core_cm4.h ****
  3934. 1996:Drivers/CMSIS/Include/core_cm4.h ****
  3935. 1997:Drivers/CMSIS/Include/core_cm4.h **** /*@} end of CMSIS_Core_FpuFunctions */
  3936. 1998:Drivers/CMSIS/Include/core_cm4.h ****
  3937. 1999:Drivers/CMSIS/Include/core_cm4.h ****
  3938. 2000:Drivers/CMSIS/Include/core_cm4.h ****
  3939. 2001:Drivers/CMSIS/Include/core_cm4.h **** /* ################################## SysTick function ########################################
  3940. 2002:Drivers/CMSIS/Include/core_cm4.h **** /**
  3941. 2003:Drivers/CMSIS/Include/core_cm4.h **** \ingroup CMSIS_Core_FunctionInterface
  3942. 2004:Drivers/CMSIS/Include/core_cm4.h **** \defgroup CMSIS_Core_SysTickFunctions SysTick Functions
  3943. 2005:Drivers/CMSIS/Include/core_cm4.h **** \brief Functions that configure the System.
  3944. 2006:Drivers/CMSIS/Include/core_cm4.h **** @{
  3945. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 69
  3946. 2007:Drivers/CMSIS/Include/core_cm4.h **** */
  3947. 2008:Drivers/CMSIS/Include/core_cm4.h ****
  3948. 2009:Drivers/CMSIS/Include/core_cm4.h **** #if defined (__Vendor_SysTickConfig) && (__Vendor_SysTickConfig == 0U)
  3949. 2010:Drivers/CMSIS/Include/core_cm4.h ****
  3950. 2011:Drivers/CMSIS/Include/core_cm4.h **** /**
  3951. 2012:Drivers/CMSIS/Include/core_cm4.h **** \brief System Tick Configuration
  3952. 2013:Drivers/CMSIS/Include/core_cm4.h **** \details Initializes the System Timer and its interrupt, and starts the System Tick Timer.
  3953. 2014:Drivers/CMSIS/Include/core_cm4.h **** Counter is in free running mode to generate periodic interrupts.
  3954. 2015:Drivers/CMSIS/Include/core_cm4.h **** \param [in] ticks Number of ticks between two interrupts.
  3955. 2016:Drivers/CMSIS/Include/core_cm4.h **** \return 0 Function succeeded.
  3956. 2017:Drivers/CMSIS/Include/core_cm4.h **** \return 1 Function failed.
  3957. 2018:Drivers/CMSIS/Include/core_cm4.h **** \note When the variable <b>__Vendor_SysTickConfig</b> is set to 1, then the
  3958. 2019:Drivers/CMSIS/Include/core_cm4.h **** function <b>SysTick_Config</b> is not included. In this case, the file <b><i>device</i>.
  3959. 2020:Drivers/CMSIS/Include/core_cm4.h **** must contain a vendor-specific implementation of this function.
  3960. 2021:Drivers/CMSIS/Include/core_cm4.h **** */
  3961. 2022:Drivers/CMSIS/Include/core_cm4.h **** __STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
  3962. 2023:Drivers/CMSIS/Include/core_cm4.h **** {
  3963. 1002 .loc 1 2023 1
  3964. 1003 .cfi_startproc
  3965. 1004 @ args = 0, pretend = 0, frame = 8
  3966. 1005 @ frame_needed = 1, uses_anonymous_args = 0
  3967. 1006 0000 80B5 push {r7, lr}
  3968. 1007 .LCFI72:
  3969. 1008 .cfi_def_cfa_offset 8
  3970. 1009 .cfi_offset 7, -8
  3971. 1010 .cfi_offset 14, -4
  3972. 1011 0002 82B0 sub sp, sp, #8
  3973. 1012 .LCFI73:
  3974. 1013 .cfi_def_cfa_offset 16
  3975. 1014 0004 00AF add r7, sp, #0
  3976. 1015 .LCFI74:
  3977. 1016 .cfi_def_cfa_register 7
  3978. 1017 0006 7860 str r0, [r7, #4]
  3979. 2024:Drivers/CMSIS/Include/core_cm4.h **** if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk)
  3980. 1018 .loc 1 2024 14
  3981. 1019 0008 7B68 ldr r3, [r7, #4]
  3982. 1020 000a 013B subs r3, r3, #1
  3983. 1021 .loc 1 2024 6
  3984. 1022 000c B3F1807F cmp r3, #16777216
  3985. 1023 0010 01D3 bcc .L61
  3986. 2025:Drivers/CMSIS/Include/core_cm4.h **** {
  3987. 2026:Drivers/CMSIS/Include/core_cm4.h **** return (1UL); /* Reload value impossible */
  3988. 1024 .loc 1 2026 12
  3989. 1025 0012 0123 movs r3, #1
  3990. 1026 0014 0FE0 b .L62
  3991. 1027 .L61:
  3992. 2027:Drivers/CMSIS/Include/core_cm4.h **** }
  3993. 2028:Drivers/CMSIS/Include/core_cm4.h ****
  3994. 2029:Drivers/CMSIS/Include/core_cm4.h **** SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
  3995. 1028 .loc 1 2029 10
  3996. 1029 0016 0A4A ldr r2, .L63
  3997. 1030 .loc 1 2029 20
  3998. 1031 0018 7B68 ldr r3, [r7, #4]
  3999. 1032 001a 013B subs r3, r3, #1
  4000. 1033 .loc 1 2029 18
  4001. 1034 001c 5360 str r3, [r2, #4]
  4002. 2030:Drivers/CMSIS/Include/core_cm4.h **** NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Int
  4003. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 70
  4004. 1035 .loc 1 2030 3
  4005. 1036 001e 0F21 movs r1, #15
  4006. 1037 0020 4FF0FF30 mov r0, #-1
  4007. 1038 0024 FFF7FEFF bl __NVIC_SetPriority
  4008. 2031:Drivers/CMSIS/Include/core_cm4.h **** SysTick->VAL = 0UL; /* Load the SysTick Counter Val
  4009. 1039 .loc 1 2031 10
  4010. 1040 0028 054B ldr r3, .L63
  4011. 1041 .loc 1 2031 18
  4012. 1042 002a 0022 movs r2, #0
  4013. 1043 002c 9A60 str r2, [r3, #8]
  4014. 2032:Drivers/CMSIS/Include/core_cm4.h **** SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
  4015. 1044 .loc 1 2032 10
  4016. 1045 002e 044B ldr r3, .L63
  4017. 1046 .loc 1 2032 18
  4018. 1047 0030 0722 movs r2, #7
  4019. 1048 0032 1A60 str r2, [r3]
  4020. 2033:Drivers/CMSIS/Include/core_cm4.h **** SysTick_CTRL_TICKINT_Msk |
  4021. 2034:Drivers/CMSIS/Include/core_cm4.h **** SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTi
  4022. 2035:Drivers/CMSIS/Include/core_cm4.h **** return (0UL); /* Function successful */
  4023. 1049 .loc 1 2035 10
  4024. 1050 0034 0023 movs r3, #0
  4025. 1051 .L62:
  4026. 2036:Drivers/CMSIS/Include/core_cm4.h **** }
  4027. 1052 .loc 1 2036 1
  4028. 1053 0036 1846 mov r0, r3
  4029. 1054 0038 0837 adds r7, r7, #8
  4030. 1055 .LCFI75:
  4031. 1056 .cfi_def_cfa_offset 8
  4032. 1057 003a BD46 mov sp, r7
  4033. 1058 .LCFI76:
  4034. 1059 .cfi_def_cfa_register 13
  4035. 1060 @ sp needed
  4036. 1061 003c 80BD pop {r7, pc}
  4037. 1062 .L64:
  4038. 1063 003e 00BF .align 2
  4039. 1064 .L63:
  4040. 1065 0040 10E000E0 .word -536813552
  4041. 1066 .cfi_endproc
  4042. 1067 .LFE126:
  4043. 1069 .section .text.HAL_NVIC_SetPriorityGrouping,"ax",%progbits
  4044. 1070 .align 1
  4045. 1071 .global HAL_NVIC_SetPriorityGrouping
  4046. 1072 .syntax unified
  4047. 1073 .thumb
  4048. 1074 .thumb_func
  4049. 1076 HAL_NVIC_SetPriorityGrouping:
  4050. 1077 .LFB235:
  4051. 1078 .file 3 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c"
  4052. 1:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4053. 2:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ******************************************************************************
  4054. 3:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @file stm32f4xx_hal_cortex.c
  4055. 4:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @author MCD Application Team
  4056. 5:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief CORTEX HAL module driver.
  4057. 6:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This file provides firmware functions to manage the following
  4058. 7:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * functionalities of the CORTEX:
  4059. 8:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * + Initialization and de-initialization functions
  4060. 9:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * + Peripheral Control functions
  4061. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 71
  4062. 10:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *
  4063. 11:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** @verbatim
  4064. 12:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ==============================================================================
  4065. 13:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ##### How to use this driver #####
  4066. 14:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ==============================================================================
  4067. 15:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4068. 16:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** [..]
  4069. 17:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *** How to configure Interrupts using CORTEX HAL driver ***
  4070. 18:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ===========================================================
  4071. 19:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** [..]
  4072. 20:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** This section provides functions allowing to configure the NVIC interrupts (IRQ).
  4073. 21:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** The Cortex-M4 exceptions are managed by CMSIS functions.
  4074. 22:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4075. 23:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (#) Configure the NVIC Priority Grouping using HAL_NVIC_SetPriorityGrouping()
  4076. 24:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** function according to the following table.
  4077. 25:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (#) Configure the priority of the selected IRQ Channels using HAL_NVIC_SetPriority().
  4078. 26:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (#) Enable the selected IRQ Channels using HAL_NVIC_EnableIRQ().
  4079. 27:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (#) please refer to programming manual for details in how to configure priority.
  4080. 28:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4081. 29:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** -@- When the NVIC_PRIORITYGROUP_0 is selected, IRQ preemption is no more possible.
  4082. 30:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** The pending IRQ priority will be managed only by the sub priority.
  4083. 31:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4084. 32:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** -@- IRQ priority order (sorted by highest to lowest priority):
  4085. 33:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (+@) Lowest preemption priority
  4086. 34:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (+@) Lowest sub priority
  4087. 35:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (+@) Lowest hardware priority (IRQ number)
  4088. 36:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4089. 37:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** [..]
  4090. 38:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *** How to configure Systick using CORTEX HAL driver ***
  4091. 39:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ========================================================
  4092. 40:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** [..]
  4093. 41:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** Setup SysTick Timer for time base.
  4094. 42:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4095. 43:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (+) The HAL_SYSTICK_Config() function calls the SysTick_Config() function which
  4096. 44:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** is a CMSIS function that:
  4097. 45:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Configures the SysTick Reload register with value passed as function parameter.
  4098. 46:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Configures the SysTick IRQ priority to the lowest value 0x0F.
  4099. 47:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Resets the SysTick Counter register.
  4100. 48:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Configures the SysTick Counter clock source to be Core Clock Source (HCLK).
  4101. 49:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Enables the SysTick Interrupt.
  4102. 50:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Starts the SysTick Counter.
  4103. 51:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4104. 52:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (+) You can change the SysTick Clock source to be HCLK_Div8 by calling the macro
  4105. 53:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** __HAL_CORTEX_SYSTICKCLK_CONFIG(SYSTICK_CLKSOURCE_HCLK_DIV8) just after the
  4106. 54:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** HAL_SYSTICK_Config() function call. The __HAL_CORTEX_SYSTICKCLK_CONFIG() macro is defined
  4107. 55:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** inside the stm32f4xx_hal_cortex.h file.
  4108. 56:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4109. 57:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (+) You can change the SysTick IRQ priority by calling the
  4110. 58:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** HAL_NVIC_SetPriority(SysTick_IRQn,...) function just after the HAL_SYSTICK_Config() function
  4111. 59:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** call. The HAL_NVIC_SetPriority() call the NVIC_SetPriority() function which is a CMSIS funct
  4112. 60:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4113. 61:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (+) To adjust the SysTick time base, use the following formula:
  4114. 62:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4115. 63:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** Reload Value = SysTick Counter Clock (Hz) x Desired Time base (s)
  4116. 64:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Reload Value is the parameter to be passed for HAL_SYSTICK_Config() function
  4117. 65:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (++) Reload Value should not exceed 0xFFFFFF
  4118. 66:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4119. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 72
  4120. 67:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** @endverbatim
  4121. 68:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ******************************************************************************
  4122. 69:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @attention
  4123. 70:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *
  4124. 71:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * Copyright (c) 2017 STMicroelectronics.
  4125. 72:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * All rights reserved.
  4126. 73:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *
  4127. 74:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This software is licensed under terms that can be found in the LICENSE file in
  4128. 75:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * the root directory of this software component.
  4129. 76:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  4130. 77:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ******************************************************************************
  4131. 78:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4132. 79:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4133. 80:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Includes ------------------------------------------------------------------*/
  4134. 81:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** #include "stm32f4xx_hal.h"
  4135. 82:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4136. 83:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /** @addtogroup STM32F4xx_HAL_Driver
  4137. 84:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @{
  4138. 85:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4139. 86:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4140. 87:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /** @defgroup CORTEX CORTEX
  4141. 88:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief CORTEX HAL module driver
  4142. 89:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @{
  4143. 90:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4144. 91:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4145. 92:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** #ifdef HAL_CORTEX_MODULE_ENABLED
  4146. 93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4147. 94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Private types -------------------------------------------------------------*/
  4148. 95:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Private variables ---------------------------------------------------------*/
  4149. 96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Private constants ---------------------------------------------------------*/
  4150. 97:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Private macros ------------------------------------------------------------*/
  4151. 98:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Private functions ---------------------------------------------------------*/
  4152. 99:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Exported functions --------------------------------------------------------*/
  4153. 100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4154. 101:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions CORTEX Exported Functions
  4155. 102:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @{
  4156. 103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4157. 104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4158. 105:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4159. 106:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions_Group1 Initialization and de-initialization functions
  4160. 107:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Initialization and Configuration functions
  4161. 108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *
  4162. 109:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** @verbatim
  4163. 110:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ==============================================================================
  4164. 111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ##### Initialization and de-initialization functions #####
  4165. 112:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ==============================================================================
  4166. 113:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** [..]
  4167. 114:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** This section provides the CORTEX HAL driver functions allowing to configure Interrupts
  4168. 115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** Systick functionalities
  4169. 116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4170. 117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** @endverbatim
  4171. 118:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @{
  4172. 119:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4173. 120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4174. 121:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4175. 122:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4176. 123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Sets the priority grouping field (preemption priority and subpriority)
  4177. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 73
  4178. 124:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * using the required unlock sequence.
  4179. 125:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param PriorityGroup The priority grouping bits length.
  4180. 126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be one of the following values:
  4181. 127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_0: 0 bits for preemption priority
  4182. 128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 4 bits for subpriority
  4183. 129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_1: 1 bits for preemption priority
  4184. 130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 3 bits for subpriority
  4185. 131:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_2: 2 bits for preemption priority
  4186. 132:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 2 bits for subpriority
  4187. 133:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_3: 3 bits for preemption priority
  4188. 134:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 1 bits for subpriority
  4189. 135:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_4: 4 bits for preemption priority
  4190. 136:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 0 bits for subpriority
  4191. 137:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @note When the NVIC_PriorityGroup_0 is selected, IRQ preemption is no more possible.
  4192. 138:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * The pending IRQ priority will be managed only by the subpriority.
  4193. 139:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  4194. 140:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4195. 141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
  4196. 142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4197. 1079 .loc 3 142 1
  4198. 1080 .cfi_startproc
  4199. 1081 @ args = 0, pretend = 0, frame = 8
  4200. 1082 @ frame_needed = 1, uses_anonymous_args = 0
  4201. 1083 0000 80B5 push {r7, lr}
  4202. 1084 .LCFI77:
  4203. 1085 .cfi_def_cfa_offset 8
  4204. 1086 .cfi_offset 7, -8
  4205. 1087 .cfi_offset 14, -4
  4206. 1088 0002 82B0 sub sp, sp, #8
  4207. 1089 .LCFI78:
  4208. 1090 .cfi_def_cfa_offset 16
  4209. 1091 0004 00AF add r7, sp, #0
  4210. 1092 .LCFI79:
  4211. 1093 .cfi_def_cfa_register 7
  4212. 1094 0006 7860 str r0, [r7, #4]
  4213. 143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  4214. 144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup));
  4215. 145:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4216. 146:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Set the PRIGROUP[10:8] bits according to the PriorityGroup parameter value */
  4217. 147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_SetPriorityGrouping(PriorityGroup);
  4218. 1095 .loc 3 147 3
  4219. 1096 0008 7868 ldr r0, [r7, #4]
  4220. 1097 000a FFF7FEFF bl __NVIC_SetPriorityGrouping
  4221. 148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4222. 1098 .loc 3 148 1
  4223. 1099 000e 00BF nop
  4224. 1100 0010 0837 adds r7, r7, #8
  4225. 1101 .LCFI80:
  4226. 1102 .cfi_def_cfa_offset 8
  4227. 1103 0012 BD46 mov sp, r7
  4228. 1104 .LCFI81:
  4229. 1105 .cfi_def_cfa_register 13
  4230. 1106 @ sp needed
  4231. 1107 0014 80BD pop {r7, pc}
  4232. 1108 .cfi_endproc
  4233. 1109 .LFE235:
  4234. 1111 .section .text.HAL_NVIC_SetPriority,"ax",%progbits
  4235. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 74
  4236. 1112 .align 1
  4237. 1113 .global HAL_NVIC_SetPriority
  4238. 1114 .syntax unified
  4239. 1115 .thumb
  4240. 1116 .thumb_func
  4241. 1118 HAL_NVIC_SetPriority:
  4242. 1119 .LFB236:
  4243. 149:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4244. 150:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4245. 151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Sets the priority of an interrupt.
  4246. 152:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number.
  4247. 153:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4248. 154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4249. 155:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param PreemptPriority The preemption priority for the IRQn channel.
  4250. 156:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be a value between 0 and 15
  4251. 157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * A lower priority value indicates a higher priority
  4252. 158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param SubPriority the subpriority level for the IRQ channel.
  4253. 159:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be a value between 0 and 15
  4254. 160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * A lower priority value indicates a higher priority.
  4255. 161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  4256. 162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4257. 163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
  4258. 164:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4259. 1120 .loc 3 164 1
  4260. 1121 .cfi_startproc
  4261. 1122 @ args = 0, pretend = 0, frame = 24
  4262. 1123 @ frame_needed = 1, uses_anonymous_args = 0
  4263. 1124 0000 80B5 push {r7, lr}
  4264. 1125 .LCFI82:
  4265. 1126 .cfi_def_cfa_offset 8
  4266. 1127 .cfi_offset 7, -8
  4267. 1128 .cfi_offset 14, -4
  4268. 1129 0002 86B0 sub sp, sp, #24
  4269. 1130 .LCFI83:
  4270. 1131 .cfi_def_cfa_offset 32
  4271. 1132 0004 00AF add r7, sp, #0
  4272. 1133 .LCFI84:
  4273. 1134 .cfi_def_cfa_register 7
  4274. 1135 0006 0346 mov r3, r0
  4275. 1136 0008 B960 str r1, [r7, #8]
  4276. 1137 000a 7A60 str r2, [r7, #4]
  4277. 1138 000c FB73 strb r3, [r7, #15]
  4278. 165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** uint32_t prioritygroup = 0x00U;
  4279. 1139 .loc 3 165 12
  4280. 1140 000e 0023 movs r3, #0
  4281. 1141 0010 7B61 str r3, [r7, #20]
  4282. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4283. 167:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  4284. 168:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_SUB_PRIORITY(SubPriority));
  4285. 169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority));
  4286. 170:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4287. 171:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** prioritygroup = NVIC_GetPriorityGrouping();
  4288. 1142 .loc 3 171 19
  4289. 1143 0012 FFF7FEFF bl __NVIC_GetPriorityGrouping
  4290. 1144 0016 7861 str r0, [r7, #20]
  4291. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4292. 173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_SetPriority(IRQn, NVIC_EncodePriority(prioritygroup, PreemptPriority, SubPriority));
  4293. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 75
  4294. 1145 .loc 3 173 3
  4295. 1146 0018 7A68 ldr r2, [r7, #4]
  4296. 1147 001a B968 ldr r1, [r7, #8]
  4297. 1148 001c 7869 ldr r0, [r7, #20]
  4298. 1149 001e FFF7FEFF bl NVIC_EncodePriority
  4299. 1150 0022 0246 mov r2, r0
  4300. 1151 0024 97F90F30 ldrsb r3, [r7, #15]
  4301. 1152 0028 1146 mov r1, r2
  4302. 1153 002a 1846 mov r0, r3
  4303. 1154 002c FFF7FEFF bl __NVIC_SetPriority
  4304. 174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4305. 1155 .loc 3 174 1
  4306. 1156 0030 00BF nop
  4307. 1157 0032 1837 adds r7, r7, #24
  4308. 1158 .LCFI85:
  4309. 1159 .cfi_def_cfa_offset 8
  4310. 1160 0034 BD46 mov sp, r7
  4311. 1161 .LCFI86:
  4312. 1162 .cfi_def_cfa_register 13
  4313. 1163 @ sp needed
  4314. 1164 0036 80BD pop {r7, pc}
  4315. 1165 .cfi_endproc
  4316. 1166 .LFE236:
  4317. 1168 .section .text.HAL_NVIC_EnableIRQ,"ax",%progbits
  4318. 1169 .align 1
  4319. 1170 .global HAL_NVIC_EnableIRQ
  4320. 1171 .syntax unified
  4321. 1172 .thumb
  4322. 1173 .thumb_func
  4323. 1175 HAL_NVIC_EnableIRQ:
  4324. 1176 .LFB237:
  4325. 175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4326. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4327. 177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Enables a device specific interrupt in the NVIC interrupt controller.
  4328. 178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @note To configure interrupts priority correctly, the NVIC_PriorityGroupConfig()
  4329. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * function should be called before.
  4330. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number.
  4331. 181:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4332. 182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4333. 183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  4334. 184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4335. 185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_EnableIRQ(IRQn_Type IRQn)
  4336. 186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4337. 1177 .loc 3 186 1
  4338. 1178 .cfi_startproc
  4339. 1179 @ args = 0, pretend = 0, frame = 8
  4340. 1180 @ frame_needed = 1, uses_anonymous_args = 0
  4341. 1181 0000 80B5 push {r7, lr}
  4342. 1182 .LCFI87:
  4343. 1183 .cfi_def_cfa_offset 8
  4344. 1184 .cfi_offset 7, -8
  4345. 1185 .cfi_offset 14, -4
  4346. 1186 0002 82B0 sub sp, sp, #8
  4347. 1187 .LCFI88:
  4348. 1188 .cfi_def_cfa_offset 16
  4349. 1189 0004 00AF add r7, sp, #0
  4350. 1190 .LCFI89:
  4351. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 76
  4352. 1191 .cfi_def_cfa_register 7
  4353. 1192 0006 0346 mov r3, r0
  4354. 1193 0008 FB71 strb r3, [r7, #7]
  4355. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  4356. 188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  4357. 189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4358. 190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Enable interrupt */
  4359. 191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_EnableIRQ(IRQn);
  4360. 1194 .loc 3 191 3
  4361. 1195 000a 97F90730 ldrsb r3, [r7, #7]
  4362. 1196 000e 1846 mov r0, r3
  4363. 1197 0010 FFF7FEFF bl __NVIC_EnableIRQ
  4364. 192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4365. 1198 .loc 3 192 1
  4366. 1199 0014 00BF nop
  4367. 1200 0016 0837 adds r7, r7, #8
  4368. 1201 .LCFI90:
  4369. 1202 .cfi_def_cfa_offset 8
  4370. 1203 0018 BD46 mov sp, r7
  4371. 1204 .LCFI91:
  4372. 1205 .cfi_def_cfa_register 13
  4373. 1206 @ sp needed
  4374. 1207 001a 80BD pop {r7, pc}
  4375. 1208 .cfi_endproc
  4376. 1209 .LFE237:
  4377. 1211 .section .text.HAL_NVIC_DisableIRQ,"ax",%progbits
  4378. 1212 .align 1
  4379. 1213 .global HAL_NVIC_DisableIRQ
  4380. 1214 .syntax unified
  4381. 1215 .thumb
  4382. 1216 .thumb_func
  4383. 1218 HAL_NVIC_DisableIRQ:
  4384. 1219 .LFB238:
  4385. 193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4386. 194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4387. 195:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Disables a device specific interrupt in the NVIC interrupt controller.
  4388. 196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number.
  4389. 197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4390. 198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4391. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  4392. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4393. 201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_DisableIRQ(IRQn_Type IRQn)
  4394. 202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4395. 1220 .loc 3 202 1
  4396. 1221 .cfi_startproc
  4397. 1222 @ args = 0, pretend = 0, frame = 8
  4398. 1223 @ frame_needed = 1, uses_anonymous_args = 0
  4399. 1224 0000 80B5 push {r7, lr}
  4400. 1225 .LCFI92:
  4401. 1226 .cfi_def_cfa_offset 8
  4402. 1227 .cfi_offset 7, -8
  4403. 1228 .cfi_offset 14, -4
  4404. 1229 0002 82B0 sub sp, sp, #8
  4405. 1230 .LCFI93:
  4406. 1231 .cfi_def_cfa_offset 16
  4407. 1232 0004 00AF add r7, sp, #0
  4408. 1233 .LCFI94:
  4409. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 77
  4410. 1234 .cfi_def_cfa_register 7
  4411. 1235 0006 0346 mov r3, r0
  4412. 1236 0008 FB71 strb r3, [r7, #7]
  4413. 203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  4414. 204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  4415. 205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4416. 206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Disable interrupt */
  4417. 207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_DisableIRQ(IRQn);
  4418. 1237 .loc 3 207 3
  4419. 1238 000a 97F90730 ldrsb r3, [r7, #7]
  4420. 1239 000e 1846 mov r0, r3
  4421. 1240 0010 FFF7FEFF bl __NVIC_DisableIRQ
  4422. 208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4423. 1241 .loc 3 208 1
  4424. 1242 0014 00BF nop
  4425. 1243 0016 0837 adds r7, r7, #8
  4426. 1244 .LCFI95:
  4427. 1245 .cfi_def_cfa_offset 8
  4428. 1246 0018 BD46 mov sp, r7
  4429. 1247 .LCFI96:
  4430. 1248 .cfi_def_cfa_register 13
  4431. 1249 @ sp needed
  4432. 1250 001a 80BD pop {r7, pc}
  4433. 1251 .cfi_endproc
  4434. 1252 .LFE238:
  4435. 1254 .section .text.HAL_NVIC_SystemReset,"ax",%progbits
  4436. 1255 .align 1
  4437. 1256 .global HAL_NVIC_SystemReset
  4438. 1257 .syntax unified
  4439. 1258 .thumb
  4440. 1259 .thumb_func
  4441. 1261 HAL_NVIC_SystemReset:
  4442. 1262 .LFB239:
  4443. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4444. 210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4445. 211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Initiates a system reset request to reset the MCU.
  4446. 212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  4447. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4448. 214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_SystemReset(void)
  4449. 215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4450. 1263 .loc 3 215 1
  4451. 1264 .cfi_startproc
  4452. 1265 @ args = 0, pretend = 0, frame = 0
  4453. 1266 @ frame_needed = 1, uses_anonymous_args = 0
  4454. 1267 0000 80B5 push {r7, lr}
  4455. 1268 .LCFI97:
  4456. 1269 .cfi_def_cfa_offset 8
  4457. 1270 .cfi_offset 7, -8
  4458. 1271 .cfi_offset 14, -4
  4459. 1272 0002 00AF add r7, sp, #0
  4460. 1273 .LCFI98:
  4461. 1274 .cfi_def_cfa_register 7
  4462. 216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* System Reset */
  4463. 217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_SystemReset();
  4464. 1275 .loc 3 217 3
  4465. 1276 0004 FFF7FEFF bl __NVIC_SystemReset
  4466. 1277 .cfi_endproc
  4467. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 78
  4468. 1278 .LFE239:
  4469. 1280 .section .text.HAL_SYSTICK_Config,"ax",%progbits
  4470. 1281 .align 1
  4471. 1282 .global HAL_SYSTICK_Config
  4472. 1283 .syntax unified
  4473. 1284 .thumb
  4474. 1285 .thumb_func
  4475. 1287 HAL_SYSTICK_Config:
  4476. 1288 .LFB240:
  4477. 218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4478. 219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4479. 220:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4480. 221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Initializes the System Timer and its interrupt, and starts the System Tick Timer.
  4481. 222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * Counter is in free running mode to generate periodic interrupts.
  4482. 223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param TicksNumb Specifies the ticks Number of ticks between two interrupts.
  4483. 224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval status: - 0 Function succeeded.
  4484. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * - 1 Function failed.
  4485. 226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4486. 227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb)
  4487. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4488. 1289 .loc 3 228 1
  4489. 1290 .cfi_startproc
  4490. 1291 @ args = 0, pretend = 0, frame = 8
  4491. 1292 @ frame_needed = 1, uses_anonymous_args = 0
  4492. 1293 0000 80B5 push {r7, lr}
  4493. 1294 .LCFI99:
  4494. 1295 .cfi_def_cfa_offset 8
  4495. 1296 .cfi_offset 7, -8
  4496. 1297 .cfi_offset 14, -4
  4497. 1298 0002 82B0 sub sp, sp, #8
  4498. 1299 .LCFI100:
  4499. 1300 .cfi_def_cfa_offset 16
  4500. 1301 0004 00AF add r7, sp, #0
  4501. 1302 .LCFI101:
  4502. 1303 .cfi_def_cfa_register 7
  4503. 1304 0006 7860 str r0, [r7, #4]
  4504. 229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** return SysTick_Config(TicksNumb);
  4505. 1305 .loc 3 229 11
  4506. 1306 0008 7868 ldr r0, [r7, #4]
  4507. 1307 000a FFF7FEFF bl SysTick_Config
  4508. 1308 000e 0346 mov r3, r0
  4509. 230:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4510. 1309 .loc 3 230 1
  4511. 1310 0010 1846 mov r0, r3
  4512. 1311 0012 0837 adds r7, r7, #8
  4513. 1312 .LCFI102:
  4514. 1313 .cfi_def_cfa_offset 8
  4515. 1314 0014 BD46 mov sp, r7
  4516. 1315 .LCFI103:
  4517. 1316 .cfi_def_cfa_register 13
  4518. 1317 @ sp needed
  4519. 1318 0016 80BD pop {r7, pc}
  4520. 1319 .cfi_endproc
  4521. 1320 .LFE240:
  4522. 1322 .section .text.HAL_MPU_Disable,"ax",%progbits
  4523. 1323 .align 1
  4524. 1324 .global HAL_MPU_Disable
  4525. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 79
  4526. 1325 .syntax unified
  4527. 1326 .thumb
  4528. 1327 .thumb_func
  4529. 1329 HAL_MPU_Disable:
  4530. 1330 .LFB241:
  4531. 231:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4532. 232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @}
  4533. 233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4534. 234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4535. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions_Group2 Peripheral Control functions
  4536. 236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Cortex control functions
  4537. 237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** *
  4538. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** @verbatim
  4539. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ==============================================================================
  4540. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ##### Peripheral Control functions #####
  4541. 241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ==============================================================================
  4542. 242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** [..]
  4543. 243:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** This subsection provides a set of functions allowing to control the CORTEX
  4544. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** (NVIC, SYSTICK, MPU) functionalities.
  4545. 245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4546. 246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4547. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** @endverbatim
  4548. 248:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @{
  4549. 249:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4550. 250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4551. 251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** #if (__MPU_PRESENT == 1U)
  4552. 252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4553. 253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Disables the MPU
  4554. 254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  4555. 255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4556. 256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_MPU_Disable(void)
  4557. 257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4558. 1331 .loc 3 257 1
  4559. 1332 .cfi_startproc
  4560. 1333 @ args = 0, pretend = 0, frame = 0
  4561. 1334 @ frame_needed = 1, uses_anonymous_args = 0
  4562. 1335 @ link register save eliminated.
  4563. 1336 0000 80B4 push {r7}
  4564. 1337 .LCFI104:
  4565. 1338 .cfi_def_cfa_offset 4
  4566. 1339 .cfi_offset 7, -4
  4567. 1340 0002 00AF add r7, sp, #0
  4568. 1341 .LCFI105:
  4569. 1342 .cfi_def_cfa_register 7
  4570. 1343 .LBB24:
  4571. 1344 .LBB25:
  4572. 881:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4573. 882:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4574. 883:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  4575. 884:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Memory Barrier
  4576. 885:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Ensures the apparent order of the explicit memory operations before
  4577. 886:Drivers/CMSIS/Include/cmsis_gcc.h **** and after the instruction, without ensuring their completion.
  4578. 887:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  4579. 888:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DMB(void)
  4580. 889:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  4581. 890:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dmb 0xF":::"memory");
  4582. 1345 .loc 2 890 3
  4583. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 80
  4584. 1346 .syntax unified
  4585. 1347 @ 890 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4586. 1348 0004 BFF35F8F dmb 0xF
  4587. 1349 @ 0 "" 2
  4588. 891:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4589. 1350 .loc 2 891 1
  4590. 1351 .thumb
  4591. 1352 .syntax unified
  4592. 1353 0008 00BF nop
  4593. 1354 .LBE25:
  4594. 1355 .LBE24:
  4595. 258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Make sure outstanding transfers are done */
  4596. 259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** __DMB();
  4597. 260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4598. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Disable fault exceptions */
  4599. 262:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** SCB->SHCSR &= ~SCB_SHCSR_MEMFAULTENA_Msk;
  4600. 1356 .loc 3 262 14
  4601. 1357 000a 074B ldr r3, .L73
  4602. 1358 000c 5B6A ldr r3, [r3, #36]
  4603. 1359 000e 064A ldr r2, .L73
  4604. 1360 0010 23F48033 bic r3, r3, #65536
  4605. 1361 0014 5362 str r3, [r2, #36]
  4606. 263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4607. 264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Disable the MPU and clear the control register*/
  4608. 265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->CTRL = 0U;
  4609. 1362 .loc 3 265 6
  4610. 1363 0016 054B ldr r3, .L73+4
  4611. 1364 .loc 3 265 13
  4612. 1365 0018 0022 movs r2, #0
  4613. 1366 001a 5A60 str r2, [r3, #4]
  4614. 266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4615. 1367 .loc 3 266 1
  4616. 1368 001c 00BF nop
  4617. 1369 001e BD46 mov sp, r7
  4618. 1370 .LCFI106:
  4619. 1371 .cfi_def_cfa_register 13
  4620. 1372 @ sp needed
  4621. 1373 0020 5DF8047B ldr r7, [sp], #4
  4622. 1374 .LCFI107:
  4623. 1375 .cfi_restore 7
  4624. 1376 .cfi_def_cfa_offset 0
  4625. 1377 0024 7047 bx lr
  4626. 1378 .L74:
  4627. 1379 0026 00BF .align 2
  4628. 1380 .L73:
  4629. 1381 0028 00ED00E0 .word -536810240
  4630. 1382 002c 90ED00E0 .word -536810096
  4631. 1383 .cfi_endproc
  4632. 1384 .LFE241:
  4633. 1386 .section .text.HAL_MPU_Enable,"ax",%progbits
  4634. 1387 .align 1
  4635. 1388 .global HAL_MPU_Enable
  4636. 1389 .syntax unified
  4637. 1390 .thumb
  4638. 1391 .thumb_func
  4639. 1393 HAL_MPU_Enable:
  4640. 1394 .LFB242:
  4641. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 81
  4642. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4643. 268:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4644. 269:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Enable the MPU.
  4645. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param MPU_Control Specifies the control mode of the MPU during hard fault,
  4646. 271:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * NMI, FAULTMASK and privileged access to the default memory
  4647. 272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be one of the following values:
  4648. 273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg MPU_HFNMI_PRIVDEF_NONE
  4649. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg MPU_HARDFAULT_NMI
  4650. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg MPU_PRIVILEGED_DEFAULT
  4651. 276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg MPU_HFNMI_PRIVDEF
  4652. 277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  4653. 278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4654. 279:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_MPU_Enable(uint32_t MPU_Control)
  4655. 280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4656. 1395 .loc 3 280 1
  4657. 1396 .cfi_startproc
  4658. 1397 @ args = 0, pretend = 0, frame = 8
  4659. 1398 @ frame_needed = 1, uses_anonymous_args = 0
  4660. 1399 @ link register save eliminated.
  4661. 1400 0000 80B4 push {r7}
  4662. 1401 .LCFI108:
  4663. 1402 .cfi_def_cfa_offset 4
  4664. 1403 .cfi_offset 7, -4
  4665. 1404 0002 83B0 sub sp, sp, #12
  4666. 1405 .LCFI109:
  4667. 1406 .cfi_def_cfa_offset 16
  4668. 1407 0004 00AF add r7, sp, #0
  4669. 1408 .LCFI110:
  4670. 1409 .cfi_def_cfa_register 7
  4671. 1410 0006 7860 str r0, [r7, #4]
  4672. 281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Enable the MPU */
  4673. 282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->CTRL = MPU_Control | MPU_CTRL_ENABLE_Msk;
  4674. 1411 .loc 3 282 6
  4675. 1412 0008 0B4A ldr r2, .L76
  4676. 1413 .loc 3 282 27
  4677. 1414 000a 7B68 ldr r3, [r7, #4]
  4678. 1415 000c 43F00103 orr r3, r3, #1
  4679. 1416 .loc 3 282 13
  4680. 1417 0010 5360 str r3, [r2, #4]
  4681. 283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4682. 284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Enable fault exceptions */
  4683. 285:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** SCB->SHCSR |= SCB_SHCSR_MEMFAULTENA_Msk;
  4684. 1418 .loc 3 285 14
  4685. 1419 0012 0A4B ldr r3, .L76+4
  4686. 1420 0014 5B6A ldr r3, [r3, #36]
  4687. 1421 0016 094A ldr r2, .L76+4
  4688. 1422 0018 43F48033 orr r3, r3, #65536
  4689. 1423 001c 5362 str r3, [r2, #36]
  4690. 1424 .LBB26:
  4691. 1425 .LBB27:
  4692. 879:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4693. 1426 .loc 2 879 3
  4694. 1427 .syntax unified
  4695. 1428 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4696. 1429 001e BFF34F8F dsb 0xF
  4697. 1430 @ 0 "" 2
  4698. 880:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4699. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 82
  4700. 1431 .loc 2 880 1
  4701. 1432 .thumb
  4702. 1433 .syntax unified
  4703. 1434 0022 00BF nop
  4704. 1435 .LBE27:
  4705. 1436 .LBE26:
  4706. 1437 .LBB28:
  4707. 1438 .LBB29:
  4708. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  4709. 1439 .loc 2 868 3
  4710. 1440 .syntax unified
  4711. 1441 @ 868 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  4712. 1442 0024 BFF36F8F isb 0xF
  4713. 1443 @ 0 "" 2
  4714. 869:Drivers/CMSIS/Include/cmsis_gcc.h ****
  4715. 1444 .loc 2 869 1
  4716. 1445 .thumb
  4717. 1446 .syntax unified
  4718. 1447 0028 00BF nop
  4719. 1448 .LBE29:
  4720. 1449 .LBE28:
  4721. 286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4722. 287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Ensure MPU setting take effects */
  4723. 288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** __DSB();
  4724. 289:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** __ISB();
  4725. 290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4726. 1450 .loc 3 290 1
  4727. 1451 002a 00BF nop
  4728. 1452 002c 0C37 adds r7, r7, #12
  4729. 1453 .LCFI111:
  4730. 1454 .cfi_def_cfa_offset 4
  4731. 1455 002e BD46 mov sp, r7
  4732. 1456 .LCFI112:
  4733. 1457 .cfi_def_cfa_register 13
  4734. 1458 @ sp needed
  4735. 1459 0030 5DF8047B ldr r7, [sp], #4
  4736. 1460 .LCFI113:
  4737. 1461 .cfi_restore 7
  4738. 1462 .cfi_def_cfa_offset 0
  4739. 1463 0034 7047 bx lr
  4740. 1464 .L77:
  4741. 1465 0036 00BF .align 2
  4742. 1466 .L76:
  4743. 1467 0038 90ED00E0 .word -536810096
  4744. 1468 003c 00ED00E0 .word -536810240
  4745. 1469 .cfi_endproc
  4746. 1470 .LFE242:
  4747. 1472 .section .text.HAL_MPU_ConfigRegion,"ax",%progbits
  4748. 1473 .align 1
  4749. 1474 .global HAL_MPU_ConfigRegion
  4750. 1475 .syntax unified
  4751. 1476 .thumb
  4752. 1477 .thumb_func
  4753. 1479 HAL_MPU_ConfigRegion:
  4754. 1480 .LFB243:
  4755. 291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4756. 292:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4757. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 83
  4758. 293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Initializes and configures the Region and the memory to be protected.
  4759. 294:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param MPU_Init Pointer to a MPU_Region_InitTypeDef structure that contains
  4760. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * the initialization and configuration information.
  4761. 296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  4762. 297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4763. 298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_MPU_ConfigRegion(MPU_Region_InitTypeDef *MPU_Init)
  4764. 299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4765. 1481 .loc 3 299 1
  4766. 1482 .cfi_startproc
  4767. 1483 @ args = 0, pretend = 0, frame = 8
  4768. 1484 @ frame_needed = 1, uses_anonymous_args = 0
  4769. 1485 @ link register save eliminated.
  4770. 1486 0000 80B4 push {r7}
  4771. 1487 .LCFI114:
  4772. 1488 .cfi_def_cfa_offset 4
  4773. 1489 .cfi_offset 7, -4
  4774. 1490 0002 83B0 sub sp, sp, #12
  4775. 1491 .LCFI115:
  4776. 1492 .cfi_def_cfa_offset 16
  4777. 1493 0004 00AF add r7, sp, #0
  4778. 1494 .LCFI116:
  4779. 1495 .cfi_def_cfa_register 7
  4780. 1496 0006 7860 str r0, [r7, #4]
  4781. 300:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  4782. 301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_REGION_NUMBER(MPU_Init->Number));
  4783. 302:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_REGION_ENABLE(MPU_Init->Enable));
  4784. 303:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4785. 304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Set the Region number */
  4786. 305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->RNR = MPU_Init->Number;
  4787. 1497 .loc 3 305 22
  4788. 1498 0008 7B68 ldr r3, [r7, #4]
  4789. 1499 000a 5A78 ldrb r2, [r3, #1] @ zero_extendqisi2
  4790. 1500 .loc 3 305 6
  4791. 1501 000c 1D4B ldr r3, .L82
  4792. 1502 .loc 3 305 12
  4793. 1503 000e 9A60 str r2, [r3, #8]
  4794. 306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4795. 307:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** if ((MPU_Init->Enable) != RESET)
  4796. 1504 .loc 3 307 16
  4797. 1505 0010 7B68 ldr r3, [r7, #4]
  4798. 1506 0012 1B78 ldrb r3, [r3] @ zero_extendqisi2
  4799. 1507 .loc 3 307 6
  4800. 1508 0014 002B cmp r3, #0
  4801. 1509 0016 29D0 beq .L79
  4802. 308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4803. 309:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  4804. 310:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_INSTRUCTION_ACCESS(MPU_Init->DisableExec));
  4805. 311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_REGION_PERMISSION_ATTRIBUTE(MPU_Init->AccessPermission));
  4806. 312:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_TEX_LEVEL(MPU_Init->TypeExtField));
  4807. 313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_SHAREABLE(MPU_Init->IsShareable));
  4808. 314:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_CACHEABLE(MPU_Init->IsCacheable));
  4809. 315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_BUFFERABLE(MPU_Init->IsBufferable));
  4810. 316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_SUB_REGION_DISABLE(MPU_Init->SubRegionDisable));
  4811. 317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_MPU_REGION_SIZE(MPU_Init->Size));
  4812. 318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4813. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->RBAR = MPU_Init->BaseAddress;
  4814. 1510 .loc 3 319 8
  4815. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 84
  4816. 1511 0018 1A4A ldr r2, .L82
  4817. 1512 .loc 3 319 25
  4818. 1513 001a 7B68 ldr r3, [r7, #4]
  4819. 1514 001c 5B68 ldr r3, [r3, #4]
  4820. 1515 .loc 3 319 15
  4821. 1516 001e D360 str r3, [r2, #12]
  4822. 320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->RASR = ((uint32_t)MPU_Init->DisableExec << MPU_RASR_XN_Pos) |
  4823. 1517 .loc 3 320 36
  4824. 1518 0020 7B68 ldr r3, [r7, #4]
  4825. 1519 0022 1B7B ldrb r3, [r3, #12] @ zero_extendqisi2
  4826. 1520 .loc 3 320 62
  4827. 1521 0024 1A07 lsls r2, r3, #28
  4828. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
  4829. 1522 .loc 3 321 36
  4830. 1523 0026 7B68 ldr r3, [r7, #4]
  4831. 1524 0028 DB7A ldrb r3, [r3, #11] @ zero_extendqisi2
  4832. 1525 .loc 3 321 62
  4833. 1526 002a 1B06 lsls r3, r3, #24
  4834. 320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->RASR = ((uint32_t)MPU_Init->DisableExec << MPU_RASR_XN_Pos) |
  4835. 1527 .loc 3 320 84
  4836. 1528 002c 1A43 orrs r2, r2, r3
  4837. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->TypeExtField << MPU_RASR_TEX_Pos) |
  4838. 1529 .loc 3 322 36
  4839. 1530 002e 7B68 ldr r3, [r7, #4]
  4840. 1531 0030 9B7A ldrb r3, [r3, #10] @ zero_extendqisi2
  4841. 1532 .loc 3 322 62
  4842. 1533 0032 DB04 lsls r3, r3, #19
  4843. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
  4844. 1534 .loc 3 321 84
  4845. 1535 0034 1A43 orrs r2, r2, r3
  4846. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsShareable << MPU_RASR_S_Pos) |
  4847. 1536 .loc 3 323 36
  4848. 1537 0036 7B68 ldr r3, [r7, #4]
  4849. 1538 0038 5B7B ldrb r3, [r3, #13] @ zero_extendqisi2
  4850. 1539 .loc 3 323 62
  4851. 1540 003a 9B04 lsls r3, r3, #18
  4852. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->TypeExtField << MPU_RASR_TEX_Pos) |
  4853. 1541 .loc 3 322 84
  4854. 1542 003c 1A43 orrs r2, r2, r3
  4855. 324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsCacheable << MPU_RASR_C_Pos) |
  4856. 1543 .loc 3 324 36
  4857. 1544 003e 7B68 ldr r3, [r7, #4]
  4858. 1545 0040 9B7B ldrb r3, [r3, #14] @ zero_extendqisi2
  4859. 1546 .loc 3 324 62
  4860. 1547 0042 5B04 lsls r3, r3, #17
  4861. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsShareable << MPU_RASR_S_Pos) |
  4862. 1548 .loc 3 323 84
  4863. 1549 0044 1A43 orrs r2, r2, r3
  4864. 325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsBufferable << MPU_RASR_B_Pos) |
  4865. 1550 .loc 3 325 36
  4866. 1551 0046 7B68 ldr r3, [r7, #4]
  4867. 1552 0048 DB7B ldrb r3, [r3, #15] @ zero_extendqisi2
  4868. 1553 .loc 3 325 62
  4869. 1554 004a 1B04 lsls r3, r3, #16
  4870. 324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsCacheable << MPU_RASR_C_Pos) |
  4871. 1555 .loc 3 324 84
  4872. 1556 004c 1A43 orrs r2, r2, r3
  4873. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 85
  4874. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->SubRegionDisable << MPU_RASR_SRD_Pos) |
  4875. 1557 .loc 3 326 36
  4876. 1558 004e 7B68 ldr r3, [r7, #4]
  4877. 1559 0050 5B7A ldrb r3, [r3, #9] @ zero_extendqisi2
  4878. 1560 .loc 3 326 62
  4879. 1561 0052 1B02 lsls r3, r3, #8
  4880. 325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsBufferable << MPU_RASR_B_Pos) |
  4881. 1562 .loc 3 325 84
  4882. 1563 0054 1A43 orrs r2, r2, r3
  4883. 327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->Size << MPU_RASR_SIZE_Pos) |
  4884. 1564 .loc 3 327 36
  4885. 1565 0056 7B68 ldr r3, [r7, #4]
  4886. 1566 0058 1B7A ldrb r3, [r3, #8] @ zero_extendqisi2
  4887. 1567 .loc 3 327 62
  4888. 1568 005a 5B00 lsls r3, r3, #1
  4889. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->SubRegionDisable << MPU_RASR_SRD_Pos) |
  4890. 1569 .loc 3 326 84
  4891. 1570 005c 1343 orrs r3, r3, r2
  4892. 328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->Enable << MPU_RASR_ENABLE_Pos);
  4893. 1571 .loc 3 328 36
  4894. 1572 005e 7A68 ldr r2, [r7, #4]
  4895. 1573 0060 1278 ldrb r2, [r2] @ zero_extendqisi2
  4896. 1574 .loc 3 328 62
  4897. 1575 0062 1146 mov r1, r2
  4898. 320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
  4899. 1576 .loc 3 320 8
  4900. 1577 0064 074A ldr r2, .L82
  4901. 327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->Size << MPU_RASR_SIZE_Pos) |
  4902. 1578 .loc 3 327 84
  4903. 1579 0066 0B43 orrs r3, r3, r1
  4904. 320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
  4905. 1580 .loc 3 320 15
  4906. 1581 0068 1361 str r3, [r2, #16]
  4907. 329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4908. 330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** else
  4909. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4910. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->RBAR = 0x00U;
  4911. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->RASR = 0x00U;
  4912. 334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4913. 335:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4914. 1582 .loc 3 335 1
  4915. 1583 006a 05E0 b .L81
  4916. 1584 .L79:
  4917. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->RASR = 0x00U;
  4918. 1585 .loc 3 332 8
  4919. 1586 006c 054B ldr r3, .L82
  4920. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** MPU->RASR = 0x00U;
  4921. 1587 .loc 3 332 15
  4922. 1588 006e 0022 movs r2, #0
  4923. 1589 0070 DA60 str r2, [r3, #12]
  4924. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4925. 1590 .loc 3 333 8
  4926. 1591 0072 044B ldr r3, .L82
  4927. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4928. 1592 .loc 3 333 15
  4929. 1593 0074 0022 movs r2, #0
  4930. 1594 0076 1A61 str r2, [r3, #16]
  4931. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 86
  4932. 1595 .L81:
  4933. 1596 .loc 3 335 1
  4934. 1597 0078 00BF nop
  4935. 1598 007a 0C37 adds r7, r7, #12
  4936. 1599 .LCFI117:
  4937. 1600 .cfi_def_cfa_offset 4
  4938. 1601 007c BD46 mov sp, r7
  4939. 1602 .LCFI118:
  4940. 1603 .cfi_def_cfa_register 13
  4941. 1604 @ sp needed
  4942. 1605 007e 5DF8047B ldr r7, [sp], #4
  4943. 1606 .LCFI119:
  4944. 1607 .cfi_restore 7
  4945. 1608 .cfi_def_cfa_offset 0
  4946. 1609 0082 7047 bx lr
  4947. 1610 .L83:
  4948. 1611 .align 2
  4949. 1612 .L82:
  4950. 1613 0084 90ED00E0 .word -536810096
  4951. 1614 .cfi_endproc
  4952. 1615 .LFE243:
  4953. 1617 .section .text.HAL_NVIC_GetPriorityGrouping,"ax",%progbits
  4954. 1618 .align 1
  4955. 1619 .global HAL_NVIC_GetPriorityGrouping
  4956. 1620 .syntax unified
  4957. 1621 .thumb
  4958. 1622 .thumb_func
  4959. 1624 HAL_NVIC_GetPriorityGrouping:
  4960. 1625 .LFB244:
  4961. 336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** #endif /* __MPU_PRESENT */
  4962. 337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  4963. 338:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  4964. 339:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Gets the priority grouping field from the NVIC Interrupt Controller.
  4965. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field)
  4966. 341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  4967. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** uint32_t HAL_NVIC_GetPriorityGrouping(void)
  4968. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  4969. 1626 .loc 3 343 1
  4970. 1627 .cfi_startproc
  4971. 1628 @ args = 0, pretend = 0, frame = 0
  4972. 1629 @ frame_needed = 1, uses_anonymous_args = 0
  4973. 1630 0000 80B5 push {r7, lr}
  4974. 1631 .LCFI120:
  4975. 1632 .cfi_def_cfa_offset 8
  4976. 1633 .cfi_offset 7, -8
  4977. 1634 .cfi_offset 14, -4
  4978. 1635 0002 00AF add r7, sp, #0
  4979. 1636 .LCFI121:
  4980. 1637 .cfi_def_cfa_register 7
  4981. 344:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Get the PRIGROUP[10:8] field value */
  4982. 345:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** return NVIC_GetPriorityGrouping();
  4983. 1638 .loc 3 345 10
  4984. 1639 0004 FFF7FEFF bl __NVIC_GetPriorityGrouping
  4985. 1640 0008 0346 mov r3, r0
  4986. 346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  4987. 1641 .loc 3 346 1
  4988. 1642 000a 1846 mov r0, r3
  4989. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 87
  4990. 1643 000c 80BD pop {r7, pc}
  4991. 1644 .cfi_endproc
  4992. 1645 .LFE244:
  4993. 1647 .section .text.HAL_NVIC_GetPriority,"ax",%progbits
  4994. 1648 .align 1
  4995. 1649 .global HAL_NVIC_GetPriority
  4996. 1650 .syntax unified
  4997. 1651 .thumb
  4998. 1652 .thumb_func
  4999. 1654 HAL_NVIC_GetPriority:
  5000. 1655 .LFB245:
  5001. 347:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  5002. 348:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  5003. 349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Gets the priority of an interrupt.
  5004. 350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number.
  5005. 351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  5006. 352:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  5007. 353:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param PriorityGroup the priority grouping bits length.
  5008. 354:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be one of the following values:
  5009. 355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_0: 0 bits for preemption priority
  5010. 356:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 4 bits for subpriority
  5011. 357:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_1: 1 bits for preemption priority
  5012. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 3 bits for subpriority
  5013. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_2: 2 bits for preemption priority
  5014. 360:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 2 bits for subpriority
  5015. 361:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_3: 3 bits for preemption priority
  5016. 362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 1 bits for subpriority
  5017. 363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_4: 4 bits for preemption priority
  5018. 364:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * 0 bits for subpriority
  5019. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param pPreemptPriority Pointer on the Preemptive priority value (starting from 0).
  5020. 366:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param pSubPriority Pointer on the Subpriority value (starting from 0).
  5021. 367:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  5022. 368:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  5023. 369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_GetPriority(IRQn_Type IRQn, uint32_t PriorityGroup, uint32_t *pPreemptPriority, uint3
  5024. 370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  5025. 1656 .loc 3 370 1
  5026. 1657 .cfi_startproc
  5027. 1658 @ args = 0, pretend = 0, frame = 16
  5028. 1659 @ frame_needed = 1, uses_anonymous_args = 0
  5029. 1660 0000 80B5 push {r7, lr}
  5030. 1661 .LCFI122:
  5031. 1662 .cfi_def_cfa_offset 8
  5032. 1663 .cfi_offset 7, -8
  5033. 1664 .cfi_offset 14, -4
  5034. 1665 0002 84B0 sub sp, sp, #16
  5035. 1666 .LCFI123:
  5036. 1667 .cfi_def_cfa_offset 24
  5037. 1668 0004 00AF add r7, sp, #0
  5038. 1669 .LCFI124:
  5039. 1670 .cfi_def_cfa_register 7
  5040. 1671 0006 B960 str r1, [r7, #8]
  5041. 1672 0008 7A60 str r2, [r7, #4]
  5042. 1673 000a 3B60 str r3, [r7]
  5043. 1674 000c 0346 mov r3, r0
  5044. 1675 000e FB73 strb r3, [r7, #15]
  5045. 371:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  5046. 372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup));
  5047. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 88
  5048. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Get priority for Cortex-M system or device specific interrupts */
  5049. 374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_DecodePriority(NVIC_GetPriority(IRQn), PriorityGroup, pPreemptPriority, pSubPriority);
  5050. 1676 .loc 3 374 3
  5051. 1677 0010 97F90F30 ldrsb r3, [r7, #15]
  5052. 1678 0014 1846 mov r0, r3
  5053. 1679 0016 FFF7FEFF bl __NVIC_GetPriority
  5054. 1680 001a 3B68 ldr r3, [r7]
  5055. 1681 001c 7A68 ldr r2, [r7, #4]
  5056. 1682 001e B968 ldr r1, [r7, #8]
  5057. 1683 0020 FFF7FEFF bl NVIC_DecodePriority
  5058. 375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  5059. 1684 .loc 3 375 1
  5060. 1685 0024 00BF nop
  5061. 1686 0026 1037 adds r7, r7, #16
  5062. 1687 .LCFI125:
  5063. 1688 .cfi_def_cfa_offset 8
  5064. 1689 0028 BD46 mov sp, r7
  5065. 1690 .LCFI126:
  5066. 1691 .cfi_def_cfa_register 13
  5067. 1692 @ sp needed
  5068. 1693 002a 80BD pop {r7, pc}
  5069. 1694 .cfi_endproc
  5070. 1695 .LFE245:
  5071. 1697 .section .text.HAL_NVIC_SetPendingIRQ,"ax",%progbits
  5072. 1698 .align 1
  5073. 1699 .global HAL_NVIC_SetPendingIRQ
  5074. 1700 .syntax unified
  5075. 1701 .thumb
  5076. 1702 .thumb_func
  5077. 1704 HAL_NVIC_SetPendingIRQ:
  5078. 1705 .LFB246:
  5079. 376:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  5080. 377:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  5081. 378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Sets Pending bit of an external interrupt.
  5082. 379:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number
  5083. 380:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  5084. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  5085. 382:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  5086. 383:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  5087. 384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_SetPendingIRQ(IRQn_Type IRQn)
  5088. 385:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  5089. 1706 .loc 3 385 1
  5090. 1707 .cfi_startproc
  5091. 1708 @ args = 0, pretend = 0, frame = 8
  5092. 1709 @ frame_needed = 1, uses_anonymous_args = 0
  5093. 1710 0000 80B5 push {r7, lr}
  5094. 1711 .LCFI127:
  5095. 1712 .cfi_def_cfa_offset 8
  5096. 1713 .cfi_offset 7, -8
  5097. 1714 .cfi_offset 14, -4
  5098. 1715 0002 82B0 sub sp, sp, #8
  5099. 1716 .LCFI128:
  5100. 1717 .cfi_def_cfa_offset 16
  5101. 1718 0004 00AF add r7, sp, #0
  5102. 1719 .LCFI129:
  5103. 1720 .cfi_def_cfa_register 7
  5104. 1721 0006 0346 mov r3, r0
  5105. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 89
  5106. 1722 0008 FB71 strb r3, [r7, #7]
  5107. 386:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  5108. 387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  5109. 388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  5110. 389:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Set interrupt pending */
  5111. 390:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_SetPendingIRQ(IRQn);
  5112. 1723 .loc 3 390 3
  5113. 1724 000a 97F90730 ldrsb r3, [r7, #7]
  5114. 1725 000e 1846 mov r0, r3
  5115. 1726 0010 FFF7FEFF bl __NVIC_SetPendingIRQ
  5116. 391:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  5117. 1727 .loc 3 391 1
  5118. 1728 0014 00BF nop
  5119. 1729 0016 0837 adds r7, r7, #8
  5120. 1730 .LCFI130:
  5121. 1731 .cfi_def_cfa_offset 8
  5122. 1732 0018 BD46 mov sp, r7
  5123. 1733 .LCFI131:
  5124. 1734 .cfi_def_cfa_register 13
  5125. 1735 @ sp needed
  5126. 1736 001a 80BD pop {r7, pc}
  5127. 1737 .cfi_endproc
  5128. 1738 .LFE246:
  5129. 1740 .section .text.HAL_NVIC_GetPendingIRQ,"ax",%progbits
  5130. 1741 .align 1
  5131. 1742 .global HAL_NVIC_GetPendingIRQ
  5132. 1743 .syntax unified
  5133. 1744 .thumb
  5134. 1745 .thumb_func
  5135. 1747 HAL_NVIC_GetPendingIRQ:
  5136. 1748 .LFB247:
  5137. 392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  5138. 393:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  5139. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Gets Pending Interrupt (reads the pending register in the NVIC
  5140. 395:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * and returns the pending bit for the specified interrupt).
  5141. 396:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number.
  5142. 397:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  5143. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  5144. 399:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval status: - 0 Interrupt status is not pending.
  5145. 400:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * - 1 Interrupt status is pending.
  5146. 401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  5147. 402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** uint32_t HAL_NVIC_GetPendingIRQ(IRQn_Type IRQn)
  5148. 403:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  5149. 1749 .loc 3 403 1
  5150. 1750 .cfi_startproc
  5151. 1751 @ args = 0, pretend = 0, frame = 8
  5152. 1752 @ frame_needed = 1, uses_anonymous_args = 0
  5153. 1753 0000 80B5 push {r7, lr}
  5154. 1754 .LCFI132:
  5155. 1755 .cfi_def_cfa_offset 8
  5156. 1756 .cfi_offset 7, -8
  5157. 1757 .cfi_offset 14, -4
  5158. 1758 0002 82B0 sub sp, sp, #8
  5159. 1759 .LCFI133:
  5160. 1760 .cfi_def_cfa_offset 16
  5161. 1761 0004 00AF add r7, sp, #0
  5162. 1762 .LCFI134:
  5163. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 90
  5164. 1763 .cfi_def_cfa_register 7
  5165. 1764 0006 0346 mov r3, r0
  5166. 1765 0008 FB71 strb r3, [r7, #7]
  5167. 404:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  5168. 405:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  5169. 406:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  5170. 407:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Return 1 if pending else 0 */
  5171. 408:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** return NVIC_GetPendingIRQ(IRQn);
  5172. 1766 .loc 3 408 10
  5173. 1767 000a 97F90730 ldrsb r3, [r7, #7]
  5174. 1768 000e 1846 mov r0, r3
  5175. 1769 0010 FFF7FEFF bl __NVIC_GetPendingIRQ
  5176. 1770 0014 0346 mov r3, r0
  5177. 409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  5178. 1771 .loc 3 409 1
  5179. 1772 0016 1846 mov r0, r3
  5180. 1773 0018 0837 adds r7, r7, #8
  5181. 1774 .LCFI135:
  5182. 1775 .cfi_def_cfa_offset 8
  5183. 1776 001a BD46 mov sp, r7
  5184. 1777 .LCFI136:
  5185. 1778 .cfi_def_cfa_register 13
  5186. 1779 @ sp needed
  5187. 1780 001c 80BD pop {r7, pc}
  5188. 1781 .cfi_endproc
  5189. 1782 .LFE247:
  5190. 1784 .section .text.HAL_NVIC_ClearPendingIRQ,"ax",%progbits
  5191. 1785 .align 1
  5192. 1786 .global HAL_NVIC_ClearPendingIRQ
  5193. 1787 .syntax unified
  5194. 1788 .thumb
  5195. 1789 .thumb_func
  5196. 1791 HAL_NVIC_ClearPendingIRQ:
  5197. 1792 .LFB248:
  5198. 410:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  5199. 411:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  5200. 412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Clears the pending bit of an external interrupt.
  5201. 413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number.
  5202. 414:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  5203. 415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  5204. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  5205. 417:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  5206. 418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_NVIC_ClearPendingIRQ(IRQn_Type IRQn)
  5207. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  5208. 1793 .loc 3 419 1
  5209. 1794 .cfi_startproc
  5210. 1795 @ args = 0, pretend = 0, frame = 8
  5211. 1796 @ frame_needed = 1, uses_anonymous_args = 0
  5212. 1797 0000 80B5 push {r7, lr}
  5213. 1798 .LCFI137:
  5214. 1799 .cfi_def_cfa_offset 8
  5215. 1800 .cfi_offset 7, -8
  5216. 1801 .cfi_offset 14, -4
  5217. 1802 0002 82B0 sub sp, sp, #8
  5218. 1803 .LCFI138:
  5219. 1804 .cfi_def_cfa_offset 16
  5220. 1805 0004 00AF add r7, sp, #0
  5221. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 91
  5222. 1806 .LCFI139:
  5223. 1807 .cfi_def_cfa_register 7
  5224. 1808 0006 0346 mov r3, r0
  5225. 1809 0008 FB71 strb r3, [r7, #7]
  5226. 420:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  5227. 421:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  5228. 422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  5229. 423:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Clear pending interrupt */
  5230. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** NVIC_ClearPendingIRQ(IRQn);
  5231. 1810 .loc 3 424 3
  5232. 1811 000a 97F90730 ldrsb r3, [r7, #7]
  5233. 1812 000e 1846 mov r0, r3
  5234. 1813 0010 FFF7FEFF bl __NVIC_ClearPendingIRQ
  5235. 425:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  5236. 1814 .loc 3 425 1
  5237. 1815 0014 00BF nop
  5238. 1816 0016 0837 adds r7, r7, #8
  5239. 1817 .LCFI140:
  5240. 1818 .cfi_def_cfa_offset 8
  5241. 1819 0018 BD46 mov sp, r7
  5242. 1820 .LCFI141:
  5243. 1821 .cfi_def_cfa_register 13
  5244. 1822 @ sp needed
  5245. 1823 001a 80BD pop {r7, pc}
  5246. 1824 .cfi_endproc
  5247. 1825 .LFE248:
  5248. 1827 .section .text.HAL_NVIC_GetActive,"ax",%progbits
  5249. 1828 .align 1
  5250. 1829 .global HAL_NVIC_GetActive
  5251. 1830 .syntax unified
  5252. 1831 .thumb
  5253. 1832 .thumb_func
  5254. 1834 HAL_NVIC_GetActive:
  5255. 1835 .LFB249:
  5256. 426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  5257. 427:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  5258. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Gets active interrupt ( reads the active register in NVIC and returns the active bit).
  5259. 429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param IRQn External interrupt number
  5260. 430:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  5261. 431:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  5262. 432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval status: - 0 Interrupt status is not pending.
  5263. 433:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * - 1 Interrupt status is pending.
  5264. 434:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  5265. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** uint32_t HAL_NVIC_GetActive(IRQn_Type IRQn)
  5266. 436:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  5267. 1836 .loc 3 436 1
  5268. 1837 .cfi_startproc
  5269. 1838 @ args = 0, pretend = 0, frame = 8
  5270. 1839 @ frame_needed = 1, uses_anonymous_args = 0
  5271. 1840 0000 80B5 push {r7, lr}
  5272. 1841 .LCFI142:
  5273. 1842 .cfi_def_cfa_offset 8
  5274. 1843 .cfi_offset 7, -8
  5275. 1844 .cfi_offset 14, -4
  5276. 1845 0002 82B0 sub sp, sp, #8
  5277. 1846 .LCFI143:
  5278. 1847 .cfi_def_cfa_offset 16
  5279. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 92
  5280. 1848 0004 00AF add r7, sp, #0
  5281. 1849 .LCFI144:
  5282. 1850 .cfi_def_cfa_register 7
  5283. 1851 0006 0346 mov r3, r0
  5284. 1852 0008 FB71 strb r3, [r7, #7]
  5285. 437:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  5286. 438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  5287. 439:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  5288. 440:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Return 1 if active else 0 */
  5289. 441:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** return NVIC_GetActive(IRQn);
  5290. 1853 .loc 3 441 10
  5291. 1854 000a 97F90730 ldrsb r3, [r7, #7]
  5292. 1855 000e 1846 mov r0, r3
  5293. 1856 0010 FFF7FEFF bl __NVIC_GetActive
  5294. 1857 0014 0346 mov r3, r0
  5295. 442:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  5296. 1858 .loc 3 442 1
  5297. 1859 0016 1846 mov r0, r3
  5298. 1860 0018 0837 adds r7, r7, #8
  5299. 1861 .LCFI145:
  5300. 1862 .cfi_def_cfa_offset 8
  5301. 1863 001a BD46 mov sp, r7
  5302. 1864 .LCFI146:
  5303. 1865 .cfi_def_cfa_register 13
  5304. 1866 @ sp needed
  5305. 1867 001c 80BD pop {r7, pc}
  5306. 1868 .cfi_endproc
  5307. 1869 .LFE249:
  5308. 1871 .section .text.HAL_SYSTICK_CLKSourceConfig,"ax",%progbits
  5309. 1872 .align 1
  5310. 1873 .global HAL_SYSTICK_CLKSourceConfig
  5311. 1874 .syntax unified
  5312. 1875 .thumb
  5313. 1876 .thumb_func
  5314. 1878 HAL_SYSTICK_CLKSourceConfig:
  5315. 1879 .LFB250:
  5316. 443:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  5317. 444:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  5318. 445:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief Configures the SysTick clock source.
  5319. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @param CLKSource specifies the SysTick clock source.
  5320. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * This parameter can be one of the following values:
  5321. 448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg SYSTICK_CLKSOURCE_HCLK_DIV8: AHB clock divided by 8 selected as SysTick clock
  5322. 449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @arg SYSTICK_CLKSOURCE_HCLK: AHB clock selected as SysTick clock source.
  5323. 450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  5324. 451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  5325. 452:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_SYSTICK_CLKSourceConfig(uint32_t CLKSource)
  5326. 453:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  5327. 1880 .loc 3 453 1
  5328. 1881 .cfi_startproc
  5329. 1882 @ args = 0, pretend = 0, frame = 8
  5330. 1883 @ frame_needed = 1, uses_anonymous_args = 0
  5331. 1884 @ link register save eliminated.
  5332. 1885 0000 80B4 push {r7}
  5333. 1886 .LCFI147:
  5334. 1887 .cfi_def_cfa_offset 4
  5335. 1888 .cfi_offset 7, -4
  5336. 1889 0002 83B0 sub sp, sp, #12
  5337. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 93
  5338. 1890 .LCFI148:
  5339. 1891 .cfi_def_cfa_offset 16
  5340. 1892 0004 00AF add r7, sp, #0
  5341. 1893 .LCFI149:
  5342. 1894 .cfi_def_cfa_register 7
  5343. 1895 0006 7860 str r0, [r7, #4]
  5344. 454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* Check the parameters */
  5345. 455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** assert_param(IS_SYSTICK_CLK_SOURCE(CLKSource));
  5346. 456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** if (CLKSource == SYSTICK_CLKSOURCE_HCLK)
  5347. 1896 .loc 3 456 6
  5348. 1897 0008 7B68 ldr r3, [r7, #4]
  5349. 1898 000a 042B cmp r3, #4
  5350. 1899 000c 06D1 bne .L94
  5351. 457:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  5352. 458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** SysTick->CTRL |= SYSTICK_CLKSOURCE_HCLK;
  5353. 1900 .loc 3 458 19
  5354. 1901 000e 094B ldr r3, .L97
  5355. 1902 0010 1B68 ldr r3, [r3]
  5356. 1903 0012 084A ldr r2, .L97
  5357. 1904 0014 43F00403 orr r3, r3, #4
  5358. 1905 0018 1360 str r3, [r2]
  5359. 459:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  5360. 460:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** else
  5361. 461:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  5362. 462:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** SysTick->CTRL &= ~SYSTICK_CLKSOURCE_HCLK;
  5363. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  5364. 464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  5365. 1906 .loc 3 464 1
  5366. 1907 001a 05E0 b .L96
  5367. 1908 .L94:
  5368. 462:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  5369. 1909 .loc 3 462 19
  5370. 1910 001c 054B ldr r3, .L97
  5371. 1911 001e 1B68 ldr r3, [r3]
  5372. 1912 0020 044A ldr r2, .L97
  5373. 1913 0022 23F00403 bic r3, r3, #4
  5374. 1914 0026 1360 str r3, [r2]
  5375. 1915 .L96:
  5376. 1916 .loc 3 464 1
  5377. 1917 0028 00BF nop
  5378. 1918 002a 0C37 adds r7, r7, #12
  5379. 1919 .LCFI150:
  5380. 1920 .cfi_def_cfa_offset 4
  5381. 1921 002c BD46 mov sp, r7
  5382. 1922 .LCFI151:
  5383. 1923 .cfi_def_cfa_register 13
  5384. 1924 @ sp needed
  5385. 1925 002e 5DF8047B ldr r7, [sp], #4
  5386. 1926 .LCFI152:
  5387. 1927 .cfi_restore 7
  5388. 1928 .cfi_def_cfa_offset 0
  5389. 1929 0032 7047 bx lr
  5390. 1930 .L98:
  5391. 1931 .align 2
  5392. 1932 .L97:
  5393. 1933 0034 10E000E0 .word -536813552
  5394. 1934 .cfi_endproc
  5395. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 94
  5396. 1935 .LFE250:
  5397. 1937 .section .text.HAL_SYSTICK_IRQHandler,"ax",%progbits
  5398. 1938 .align 1
  5399. 1939 .global HAL_SYSTICK_IRQHandler
  5400. 1940 .syntax unified
  5401. 1941 .thumb
  5402. 1942 .thumb_func
  5403. 1944 HAL_SYSTICK_IRQHandler:
  5404. 1945 .LFB251:
  5405. 465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  5406. 466:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  5407. 467:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief This function handles SYSTICK interrupt request.
  5408. 468:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  5409. 469:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  5410. 470:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** void HAL_SYSTICK_IRQHandler(void)
  5411. 471:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  5412. 1946 .loc 3 471 1
  5413. 1947 .cfi_startproc
  5414. 1948 @ args = 0, pretend = 0, frame = 0
  5415. 1949 @ frame_needed = 1, uses_anonymous_args = 0
  5416. 1950 0000 80B5 push {r7, lr}
  5417. 1951 .LCFI153:
  5418. 1952 .cfi_def_cfa_offset 8
  5419. 1953 .cfi_offset 7, -8
  5420. 1954 .cfi_offset 14, -4
  5421. 1955 0002 00AF add r7, sp, #0
  5422. 1956 .LCFI154:
  5423. 1957 .cfi_def_cfa_register 7
  5424. 472:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** HAL_SYSTICK_Callback();
  5425. 1958 .loc 3 472 3
  5426. 1959 0004 FFF7FEFF bl HAL_SYSTICK_Callback
  5427. 473:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  5428. 1960 .loc 3 473 1
  5429. 1961 0008 00BF nop
  5430. 1962 000a 80BD pop {r7, pc}
  5431. 1963 .cfi_endproc
  5432. 1964 .LFE251:
  5433. 1966 .section .text.HAL_SYSTICK_Callback,"ax",%progbits
  5434. 1967 .align 1
  5435. 1968 .weak HAL_SYSTICK_Callback
  5436. 1969 .syntax unified
  5437. 1970 .thumb
  5438. 1971 .thumb_func
  5439. 1973 HAL_SYSTICK_Callback:
  5440. 1974 .LFB252:
  5441. 474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c ****
  5442. 475:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /**
  5443. 476:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @brief SYSTICK callback.
  5444. 477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** * @retval None
  5445. 478:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  5446. 479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** __weak void HAL_SYSTICK_Callback(void)
  5447. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** {
  5448. 1975 .loc 3 480 1
  5449. 1976 .cfi_startproc
  5450. 1977 @ args = 0, pretend = 0, frame = 0
  5451. 1978 @ frame_needed = 1, uses_anonymous_args = 0
  5452. 1979 @ link register save eliminated.
  5453. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 95
  5454. 1980 0000 80B4 push {r7}
  5455. 1981 .LCFI155:
  5456. 1982 .cfi_def_cfa_offset 4
  5457. 1983 .cfi_offset 7, -4
  5458. 1984 0002 00AF add r7, sp, #0
  5459. 1985 .LCFI156:
  5460. 1986 .cfi_def_cfa_register 7
  5461. 481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  5462. 482:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** the HAL_SYSTICK_Callback could be implemented in the user file
  5463. 483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** */
  5464. 484:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c **** }
  5465. 1987 .loc 3 484 1
  5466. 1988 0004 00BF nop
  5467. 1989 0006 BD46 mov sp, r7
  5468. 1990 .LCFI157:
  5469. 1991 .cfi_def_cfa_register 13
  5470. 1992 @ sp needed
  5471. 1993 0008 5DF8047B ldr r7, [sp], #4
  5472. 1994 .LCFI158:
  5473. 1995 .cfi_restore 7
  5474. 1996 .cfi_def_cfa_offset 0
  5475. 1997 000c 7047 bx lr
  5476. 1998 .cfi_endproc
  5477. 1999 .LFE252:
  5478. 2001 .text
  5479. 2002 .Letext0:
  5480. 2003 .file 4 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f405xx.h"
  5481. 2004 .file 5 "d:\\arm-gcc\\arm-none-eabi\\include\\machine\\_default_types.h"
  5482. 2005 .file 6 "d:\\arm-gcc\\arm-none-eabi\\include\\sys\\_stdint.h"
  5483. 2006 .file 7 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
  5484. 2007 .file 8 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h"
  5485. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 96
  5486. DEFINED SYMBOLS
  5487. *ABS*:00000000 stm32f4xx_hal_cortex.c
  5488. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:20 .text.__NVIC_SetPriorityGrouping:00000000 $t
  5489. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:25 .text.__NVIC_SetPriorityGrouping:00000000 __NVIC_SetPriorityGrouping
  5490. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:90 .text.__NVIC_SetPriorityGrouping:00000044 $d
  5491. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:95 .text.__NVIC_GetPriorityGrouping:00000000 $t
  5492. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:100 .text.__NVIC_GetPriorityGrouping:00000000 __NVIC_GetPriorityGrouping
  5493. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:134 .text.__NVIC_GetPriorityGrouping:00000018 $d
  5494. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:139 .text.__NVIC_EnableIRQ:00000000 $t
  5495. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:144 .text.__NVIC_EnableIRQ:00000000 __NVIC_EnableIRQ
  5496. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:199 .text.__NVIC_EnableIRQ:00000038 $d
  5497. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:204 .text.__NVIC_DisableIRQ:00000000 $t
  5498. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:209 .text.__NVIC_DisableIRQ:00000000 __NVIC_DisableIRQ
  5499. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:292 .text.__NVIC_DisableIRQ:00000044 $d
  5500. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:297 .text.__NVIC_GetPendingIRQ:00000000 $t
  5501. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:302 .text.__NVIC_GetPendingIRQ:00000000 __NVIC_GetPendingIRQ
  5502. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:363 .text.__NVIC_GetPendingIRQ:00000040 $d
  5503. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:368 .text.__NVIC_SetPendingIRQ:00000000 $t
  5504. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:373 .text.__NVIC_SetPendingIRQ:00000000 __NVIC_SetPendingIRQ
  5505. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:429 .text.__NVIC_SetPendingIRQ:00000038 $d
  5506. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:434 .text.__NVIC_ClearPendingIRQ:00000000 $t
  5507. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:439 .text.__NVIC_ClearPendingIRQ:00000000 __NVIC_ClearPendingIRQ
  5508. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:495 .text.__NVIC_ClearPendingIRQ:00000038 $d
  5509. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:500 .text.__NVIC_GetActive:00000000 $t
  5510. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:505 .text.__NVIC_GetActive:00000000 __NVIC_GetActive
  5511. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:566 .text.__NVIC_GetActive:00000040 $d
  5512. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:571 .text.__NVIC_SetPriority:00000000 $t
  5513. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:576 .text.__NVIC_SetPriority:00000000 __NVIC_SetPriority
  5514. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:650 .text.__NVIC_SetPriority:0000004c $d
  5515. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:656 .text.__NVIC_GetPriority:00000000 $t
  5516. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:661 .text.__NVIC_GetPriority:00000000 __NVIC_GetPriority
  5517. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:729 .text.__NVIC_GetPriority:00000048 $d
  5518. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:735 .text.NVIC_EncodePriority:00000000 $t
  5519. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:740 .text.NVIC_EncodePriority:00000000 NVIC_EncodePriority
  5520. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:825 .text.NVIC_DecodePriority:00000000 $t
  5521. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:830 .text.NVIC_DecodePriority:00000000 NVIC_DecodePriority
  5522. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:920 .text.__NVIC_SystemReset:00000000 $t
  5523. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:925 .text.__NVIC_SystemReset:00000000 __NVIC_SystemReset
  5524. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:989 .text.__NVIC_SystemReset:00000024 $d
  5525. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:995 .text.SysTick_Config:00000000 $t
  5526. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1000 .text.SysTick_Config:00000000 SysTick_Config
  5527. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1065 .text.SysTick_Config:00000040 $d
  5528. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1070 .text.HAL_NVIC_SetPriorityGrouping:00000000 $t
  5529. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1076 .text.HAL_NVIC_SetPriorityGrouping:00000000 HAL_NVIC_SetPriorityGrouping
  5530. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1112 .text.HAL_NVIC_SetPriority:00000000 $t
  5531. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1118 .text.HAL_NVIC_SetPriority:00000000 HAL_NVIC_SetPriority
  5532. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1169 .text.HAL_NVIC_EnableIRQ:00000000 $t
  5533. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1175 .text.HAL_NVIC_EnableIRQ:00000000 HAL_NVIC_EnableIRQ
  5534. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1212 .text.HAL_NVIC_DisableIRQ:00000000 $t
  5535. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1218 .text.HAL_NVIC_DisableIRQ:00000000 HAL_NVIC_DisableIRQ
  5536. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1255 .text.HAL_NVIC_SystemReset:00000000 $t
  5537. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1261 .text.HAL_NVIC_SystemReset:00000000 HAL_NVIC_SystemReset
  5538. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1281 .text.HAL_SYSTICK_Config:00000000 $t
  5539. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1287 .text.HAL_SYSTICK_Config:00000000 HAL_SYSTICK_Config
  5540. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1323 .text.HAL_MPU_Disable:00000000 $t
  5541. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1329 .text.HAL_MPU_Disable:00000000 HAL_MPU_Disable
  5542. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1381 .text.HAL_MPU_Disable:00000028 $d
  5543. ARM GAS C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s page 97
  5544. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1387 .text.HAL_MPU_Enable:00000000 $t
  5545. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1393 .text.HAL_MPU_Enable:00000000 HAL_MPU_Enable
  5546. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1467 .text.HAL_MPU_Enable:00000038 $d
  5547. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1473 .text.HAL_MPU_ConfigRegion:00000000 $t
  5548. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1479 .text.HAL_MPU_ConfigRegion:00000000 HAL_MPU_ConfigRegion
  5549. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1613 .text.HAL_MPU_ConfigRegion:00000084 $d
  5550. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1618 .text.HAL_NVIC_GetPriorityGrouping:00000000 $t
  5551. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1624 .text.HAL_NVIC_GetPriorityGrouping:00000000 HAL_NVIC_GetPriorityGrouping
  5552. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1648 .text.HAL_NVIC_GetPriority:00000000 $t
  5553. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1654 .text.HAL_NVIC_GetPriority:00000000 HAL_NVIC_GetPriority
  5554. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1698 .text.HAL_NVIC_SetPendingIRQ:00000000 $t
  5555. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1704 .text.HAL_NVIC_SetPendingIRQ:00000000 HAL_NVIC_SetPendingIRQ
  5556. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1741 .text.HAL_NVIC_GetPendingIRQ:00000000 $t
  5557. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1747 .text.HAL_NVIC_GetPendingIRQ:00000000 HAL_NVIC_GetPendingIRQ
  5558. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1785 .text.HAL_NVIC_ClearPendingIRQ:00000000 $t
  5559. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1791 .text.HAL_NVIC_ClearPendingIRQ:00000000 HAL_NVIC_ClearPendingIRQ
  5560. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1828 .text.HAL_NVIC_GetActive:00000000 $t
  5561. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1834 .text.HAL_NVIC_GetActive:00000000 HAL_NVIC_GetActive
  5562. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1872 .text.HAL_SYSTICK_CLKSourceConfig:00000000 $t
  5563. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1878 .text.HAL_SYSTICK_CLKSourceConfig:00000000 HAL_SYSTICK_CLKSourceConfig
  5564. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1933 .text.HAL_SYSTICK_CLKSourceConfig:00000034 $d
  5565. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1938 .text.HAL_SYSTICK_IRQHandler:00000000 $t
  5566. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1944 .text.HAL_SYSTICK_IRQHandler:00000000 HAL_SYSTICK_IRQHandler
  5567. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1973 .text.HAL_SYSTICK_Callback:00000000 HAL_SYSTICK_Callback
  5568. C:\Users\10728\AppData\Local\Temp\cc6Eavpa.s:1967 .text.HAL_SYSTICK_Callback:00000000 $t
  5569. NO UNDEFINED SYMBOLS