stm32f1xx_hal_cortex.lst 334 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613
  1. ARM GAS /tmp/ccMY5QHu.s page 1
  2. 1 .cpu cortex-m3
  3. 2 .arch armv7-m
  4. 3 .fpu softvfp
  5. 4 .eabi_attribute 20, 1
  6. 5 .eabi_attribute 21, 1
  7. 6 .eabi_attribute 23, 3
  8. 7 .eabi_attribute 24, 1
  9. 8 .eabi_attribute 25, 1
  10. 9 .eabi_attribute 26, 1
  11. 10 .eabi_attribute 30, 1
  12. 11 .eabi_attribute 34, 1
  13. 12 .eabi_attribute 18, 4
  14. 13 .file "stm32f1xx_hal_cortex.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.HAL_NVIC_SetPriorityGrouping,"ax",%progbits
  19. 18 .align 1
  20. 19 .global HAL_NVIC_SetPriorityGrouping
  21. 20 .syntax unified
  22. 21 .thumb
  23. 22 .thumb_func
  24. 24 HAL_NVIC_SetPriorityGrouping:
  25. 25 .LVL0:
  26. 26 .LFB65:
  27. 27 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c"
  28. 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  29. 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ******************************************************************************
  30. 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @file stm32f1xx_hal_cortex.c
  31. 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @author MCD Application Team
  32. 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief CORTEX HAL module driver.
  33. 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This file provides firmware functions to manage the following
  34. 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * functionalities of the CORTEX:
  35. 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * + Initialization and de-initialization functions
  36. 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * + Peripheral Control functions
  37. 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *
  38. 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** @verbatim
  39. 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ==============================================================================
  40. 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ##### How to use this driver #####
  41. 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ==============================================================================
  42. 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  43. 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** [..]
  44. 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *** How to configure Interrupts using CORTEX HAL driver ***
  45. 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ===========================================================
  46. 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** [..]
  47. 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** This section provides functions allowing to configure the NVIC interrupts (IRQ).
  48. 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** The Cortex-M3 exceptions are managed by CMSIS functions.
  49. 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  50. 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (#) Configure the NVIC Priority Grouping using HAL_NVIC_SetPriorityGrouping()
  51. 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** function according to the following table.
  52. 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (#) Configure the priority of the selected IRQ Channels using HAL_NVIC_SetPriority().
  53. 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (#) Enable the selected IRQ Channels using HAL_NVIC_EnableIRQ().
  54. 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (#) please refer to programming manual for details in how to configure priority.
  55. 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  56. 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** -@- When the NVIC_PRIORITYGROUP_0 is selected, IRQ preemption is no more possible.
  57. 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** The pending IRQ priority will be managed only by the sub priority.
  58. 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  59. ARM GAS /tmp/ccMY5QHu.s page 2
  60. 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** -@- IRQ priority order (sorted by highest to lowest priority):
  61. 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (+@) Lowest preemption priority
  62. 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (+@) Lowest sub priority
  63. 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (+@) Lowest hardware priority (IRQ number)
  64. 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  65. 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** [..]
  66. 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *** How to configure Systick using CORTEX HAL driver ***
  67. 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ========================================================
  68. 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** [..]
  69. 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** Setup SysTick Timer for time base.
  70. 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  71. 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (+) The HAL_SYSTICK_Config()function calls the SysTick_Config() function which
  72. 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** is a CMSIS function that:
  73. 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Configures the SysTick Reload register with value passed as function parameter.
  74. 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Configures the SysTick IRQ priority to the lowest value 0x0F.
  75. 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Resets the SysTick Counter register.
  76. 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Configures the SysTick Counter clock source to be Core Clock Source (HCLK).
  77. 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Enables the SysTick Interrupt.
  78. 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Starts the SysTick Counter.
  79. 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  80. 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (+) You can change the SysTick Clock source to be HCLK_Div8 by calling the macro
  81. 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** __HAL_CORTEX_SYSTICKCLK_CONFIG(SYSTICK_CLKSOURCE_HCLK_DIV8) just after the
  82. 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** HAL_SYSTICK_Config() function call. The __HAL_CORTEX_SYSTICKCLK_CONFIG() macro is defined
  83. 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** inside the stm32f1xx_hal_cortex.h file.
  84. 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  85. 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (+) You can change the SysTick IRQ priority by calling the
  86. 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** HAL_NVIC_SetPriority(SysTick_IRQn,...) function just after the HAL_SYSTICK_Config() function
  87. 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** call. The HAL_NVIC_SetPriority() call the NVIC_SetPriority() function which is a CMSIS funct
  88. 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  89. 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (+) To adjust the SysTick time base, use the following formula:
  90. 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  91. 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** Reload Value = SysTick Counter Clock (Hz) x Desired Time base (s)
  92. 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Reload Value is the parameter to be passed for HAL_SYSTICK_Config() function
  93. 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Reload Value should not exceed 0xFFFFFF
  94. 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  95. 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** @endverbatim
  96. 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ******************************************************************************
  97. 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @attention
  98. 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *
  99. 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * Copyright (c) 2017 STMicroelectronics.
  100. 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * All rights reserved.
  101. 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *
  102. 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This software is licensed under terms that can be found in the LICENSE file in
  103. 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * the root directory of this software component.
  104. 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  105. 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *
  106. 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ******************************************************************************
  107. 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  108. 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  109. 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Includes ------------------------------------------------------------------*/
  110. 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** #include "stm32f1xx_hal.h"
  111. 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  112. 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /** @addtogroup STM32F1xx_HAL_Driver
  113. 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @{
  114. 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  115. 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  116. 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /** @defgroup CORTEX CORTEX
  117. ARM GAS /tmp/ccMY5QHu.s page 3
  118. 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief CORTEX HAL module driver
  119. 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @{
  120. 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  121. 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  122. 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** #ifdef HAL_CORTEX_MODULE_ENABLED
  123. 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  124. 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Private types -------------------------------------------------------------*/
  125. 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Private variables ---------------------------------------------------------*/
  126. 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Private constants ---------------------------------------------------------*/
  127. 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Private macros ------------------------------------------------------------*/
  128. 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Private functions ---------------------------------------------------------*/
  129. 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Exported functions --------------------------------------------------------*/
  130. 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  131. 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions CORTEX Exported Functions
  132. 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @{
  133. 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  134. 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  135. 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  136. 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions_Group1 Initialization and de-initialization functions
  137. 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Initialization and Configuration functions
  138. 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *
  139. 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** @verbatim
  140. 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ==============================================================================
  141. 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ##### Initialization and de-initialization functions #####
  142. 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ==============================================================================
  143. 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** [..]
  144. 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** This section provides the CORTEX HAL driver functions allowing to configure Interrupts
  145. 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** Systick functionalities
  146. 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  147. 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** @endverbatim
  148. 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @{
  149. 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  150. 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  151. 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  152. 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  153. 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Sets the priority grouping field (preemption priority and subpriority)
  154. 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * using the required unlock sequence.
  155. 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param PriorityGroup: The priority grouping bits length.
  156. 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be one of the following values:
  157. 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_0: 0 bits for preemption priority
  158. 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 4 bits for subpriority
  159. 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_1: 1 bits for preemption priority
  160. 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 3 bits for subpriority
  161. 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_2: 2 bits for preemption priority
  162. 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 2 bits for subpriority
  163. 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_3: 3 bits for preemption priority
  164. 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 1 bits for subpriority
  165. 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_4: 4 bits for preemption priority
  166. 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 0 bits for subpriority
  167. 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @note When the NVIC_PriorityGroup_0 is selected, IRQ preemption is no more possible.
  168. 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * The pending IRQ priority will be managed only by the subpriority.
  169. 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
  170. 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  171. 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
  172. 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  173. 28 .loc 1 143 1 view -0
  174. 29 .cfi_startproc
  175. ARM GAS /tmp/ccMY5QHu.s page 4
  176. 30 @ args = 0, pretend = 0, frame = 0
  177. 31 @ frame_needed = 0, uses_anonymous_args = 0
  178. 32 @ link register save eliminated.
  179. 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
  180. 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup));
  181. 33 .loc 1 145 3 view .LVU1
  182. 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  183. 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Set the PRIGROUP[10:8] bits according to the PriorityGroup parameter value */
  184. 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_SetPriorityGrouping(PriorityGroup);
  185. 34 .loc 1 148 3 view .LVU2
  186. 35 .LBB32:
  187. 36 .LBI32:
  188. 37 .file 2 "Drivers/CMSIS/Include/core_cm3.h"
  189. 1:Drivers/CMSIS/Include/core_cm3.h **** /**************************************************************************//**
  190. 2:Drivers/CMSIS/Include/core_cm3.h **** * @file core_cm3.h
  191. 3:Drivers/CMSIS/Include/core_cm3.h **** * @brief CMSIS Cortex-M3 Core Peripheral Access Layer Header File
  192. 4:Drivers/CMSIS/Include/core_cm3.h **** * @version V5.0.8
  193. 5:Drivers/CMSIS/Include/core_cm3.h **** * @date 04. June 2018
  194. 6:Drivers/CMSIS/Include/core_cm3.h **** ******************************************************************************/
  195. 7:Drivers/CMSIS/Include/core_cm3.h **** /*
  196. 8:Drivers/CMSIS/Include/core_cm3.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
  197. 9:Drivers/CMSIS/Include/core_cm3.h **** *
  198. 10:Drivers/CMSIS/Include/core_cm3.h **** * SPDX-License-Identifier: Apache-2.0
  199. 11:Drivers/CMSIS/Include/core_cm3.h **** *
  200. 12:Drivers/CMSIS/Include/core_cm3.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
  201. 13:Drivers/CMSIS/Include/core_cm3.h **** * not use this file except in compliance with the License.
  202. 14:Drivers/CMSIS/Include/core_cm3.h **** * You may obtain a copy of the License at
  203. 15:Drivers/CMSIS/Include/core_cm3.h **** *
  204. 16:Drivers/CMSIS/Include/core_cm3.h **** * www.apache.org/licenses/LICENSE-2.0
  205. 17:Drivers/CMSIS/Include/core_cm3.h **** *
  206. 18:Drivers/CMSIS/Include/core_cm3.h **** * Unless required by applicable law or agreed to in writing, software
  207. 19:Drivers/CMSIS/Include/core_cm3.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  208. 20:Drivers/CMSIS/Include/core_cm3.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  209. 21:Drivers/CMSIS/Include/core_cm3.h **** * See the License for the specific language governing permissions and
  210. 22:Drivers/CMSIS/Include/core_cm3.h **** * limitations under the License.
  211. 23:Drivers/CMSIS/Include/core_cm3.h **** */
  212. 24:Drivers/CMSIS/Include/core_cm3.h ****
  213. 25:Drivers/CMSIS/Include/core_cm3.h **** #if defined ( __ICCARM__ )
  214. 26:Drivers/CMSIS/Include/core_cm3.h **** #pragma system_include /* treat file as system include file for MISRA check */
  215. 27:Drivers/CMSIS/Include/core_cm3.h **** #elif defined (__clang__)
  216. 28:Drivers/CMSIS/Include/core_cm3.h **** #pragma clang system_header /* treat file as system include file */
  217. 29:Drivers/CMSIS/Include/core_cm3.h **** #endif
  218. 30:Drivers/CMSIS/Include/core_cm3.h ****
  219. 31:Drivers/CMSIS/Include/core_cm3.h **** #ifndef __CORE_CM3_H_GENERIC
  220. 32:Drivers/CMSIS/Include/core_cm3.h **** #define __CORE_CM3_H_GENERIC
  221. 33:Drivers/CMSIS/Include/core_cm3.h ****
  222. 34:Drivers/CMSIS/Include/core_cm3.h **** #include <stdint.h>
  223. 35:Drivers/CMSIS/Include/core_cm3.h ****
  224. 36:Drivers/CMSIS/Include/core_cm3.h **** #ifdef __cplusplus
  225. 37:Drivers/CMSIS/Include/core_cm3.h **** extern "C" {
  226. 38:Drivers/CMSIS/Include/core_cm3.h **** #endif
  227. 39:Drivers/CMSIS/Include/core_cm3.h ****
  228. 40:Drivers/CMSIS/Include/core_cm3.h **** /**
  229. 41:Drivers/CMSIS/Include/core_cm3.h **** \page CMSIS_MISRA_Exceptions MISRA-C:2004 Compliance Exceptions
  230. 42:Drivers/CMSIS/Include/core_cm3.h **** CMSIS violates the following MISRA-C:2004 rules:
  231. 43:Drivers/CMSIS/Include/core_cm3.h ****
  232. 44:Drivers/CMSIS/Include/core_cm3.h **** \li Required Rule 8.5, object/function definition in header file.<br>
  233. ARM GAS /tmp/ccMY5QHu.s page 5
  234. 45:Drivers/CMSIS/Include/core_cm3.h **** Function definitions in header files are used to allow 'inlining'.
  235. 46:Drivers/CMSIS/Include/core_cm3.h ****
  236. 47:Drivers/CMSIS/Include/core_cm3.h **** \li Required Rule 18.4, declaration of union type or object of union type: '{...}'.<br>
  237. 48:Drivers/CMSIS/Include/core_cm3.h **** Unions are used for effective representation of core registers.
  238. 49:Drivers/CMSIS/Include/core_cm3.h ****
  239. 50:Drivers/CMSIS/Include/core_cm3.h **** \li Advisory Rule 19.7, Function-like macro defined.<br>
  240. 51:Drivers/CMSIS/Include/core_cm3.h **** Function-like macros are used to allow more efficient code.
  241. 52:Drivers/CMSIS/Include/core_cm3.h **** */
  242. 53:Drivers/CMSIS/Include/core_cm3.h ****
  243. 54:Drivers/CMSIS/Include/core_cm3.h ****
  244. 55:Drivers/CMSIS/Include/core_cm3.h **** /*******************************************************************************
  245. 56:Drivers/CMSIS/Include/core_cm3.h **** * CMSIS definitions
  246. 57:Drivers/CMSIS/Include/core_cm3.h **** ******************************************************************************/
  247. 58:Drivers/CMSIS/Include/core_cm3.h **** /**
  248. 59:Drivers/CMSIS/Include/core_cm3.h **** \ingroup Cortex_M3
  249. 60:Drivers/CMSIS/Include/core_cm3.h **** @{
  250. 61:Drivers/CMSIS/Include/core_cm3.h **** */
  251. 62:Drivers/CMSIS/Include/core_cm3.h ****
  252. 63:Drivers/CMSIS/Include/core_cm3.h **** #include "cmsis_version.h"
  253. 64:Drivers/CMSIS/Include/core_cm3.h ****
  254. 65:Drivers/CMSIS/Include/core_cm3.h **** /* CMSIS CM3 definitions */
  255. 66:Drivers/CMSIS/Include/core_cm3.h **** #define __CM3_CMSIS_VERSION_MAIN (__CM_CMSIS_VERSION_MAIN) /*!< \deprecated [31:16] C
  256. 67:Drivers/CMSIS/Include/core_cm3.h **** #define __CM3_CMSIS_VERSION_SUB (__CM_CMSIS_VERSION_SUB) /*!< \deprecated [15:0] C
  257. 68:Drivers/CMSIS/Include/core_cm3.h **** #define __CM3_CMSIS_VERSION ((__CM3_CMSIS_VERSION_MAIN << 16U) | \
  258. 69:Drivers/CMSIS/Include/core_cm3.h **** __CM3_CMSIS_VERSION_SUB ) /*!< \deprecated CMSIS HAL
  259. 70:Drivers/CMSIS/Include/core_cm3.h ****
  260. 71:Drivers/CMSIS/Include/core_cm3.h **** #define __CORTEX_M (3U) /*!< Cortex-M Core */
  261. 72:Drivers/CMSIS/Include/core_cm3.h ****
  262. 73:Drivers/CMSIS/Include/core_cm3.h **** /** __FPU_USED indicates whether an FPU is used or not.
  263. 74:Drivers/CMSIS/Include/core_cm3.h **** This core does not support an FPU at all
  264. 75:Drivers/CMSIS/Include/core_cm3.h **** */
  265. 76:Drivers/CMSIS/Include/core_cm3.h **** #define __FPU_USED 0U
  266. 77:Drivers/CMSIS/Include/core_cm3.h ****
  267. 78:Drivers/CMSIS/Include/core_cm3.h **** #if defined ( __CC_ARM )
  268. 79:Drivers/CMSIS/Include/core_cm3.h **** #if defined __TARGET_FPU_VFP
  269. 80:Drivers/CMSIS/Include/core_cm3.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
  270. 81:Drivers/CMSIS/Include/core_cm3.h **** #endif
  271. 82:Drivers/CMSIS/Include/core_cm3.h ****
  272. 83:Drivers/CMSIS/Include/core_cm3.h **** #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
  273. 84:Drivers/CMSIS/Include/core_cm3.h **** #if defined __ARM_PCS_VFP
  274. 85:Drivers/CMSIS/Include/core_cm3.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
  275. 86:Drivers/CMSIS/Include/core_cm3.h **** #endif
  276. 87:Drivers/CMSIS/Include/core_cm3.h ****
  277. 88:Drivers/CMSIS/Include/core_cm3.h **** #elif defined ( __GNUC__ )
  278. 89:Drivers/CMSIS/Include/core_cm3.h **** #if defined (__VFP_FP__) && !defined(__SOFTFP__)
  279. 90:Drivers/CMSIS/Include/core_cm3.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
  280. 91:Drivers/CMSIS/Include/core_cm3.h **** #endif
  281. 92:Drivers/CMSIS/Include/core_cm3.h ****
  282. 93:Drivers/CMSIS/Include/core_cm3.h **** #elif defined ( __ICCARM__ )
  283. 94:Drivers/CMSIS/Include/core_cm3.h **** #if defined __ARMVFP__
  284. 95:Drivers/CMSIS/Include/core_cm3.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
  285. 96:Drivers/CMSIS/Include/core_cm3.h **** #endif
  286. 97:Drivers/CMSIS/Include/core_cm3.h ****
  287. 98:Drivers/CMSIS/Include/core_cm3.h **** #elif defined ( __TI_ARM__ )
  288. 99:Drivers/CMSIS/Include/core_cm3.h **** #if defined __TI_VFP_SUPPORT__
  289. 100:Drivers/CMSIS/Include/core_cm3.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
  290. 101:Drivers/CMSIS/Include/core_cm3.h **** #endif
  291. ARM GAS /tmp/ccMY5QHu.s page 6
  292. 102:Drivers/CMSIS/Include/core_cm3.h ****
  293. 103:Drivers/CMSIS/Include/core_cm3.h **** #elif defined ( __TASKING__ )
  294. 104:Drivers/CMSIS/Include/core_cm3.h **** #if defined __FPU_VFP__
  295. 105:Drivers/CMSIS/Include/core_cm3.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
  296. 106:Drivers/CMSIS/Include/core_cm3.h **** #endif
  297. 107:Drivers/CMSIS/Include/core_cm3.h ****
  298. 108:Drivers/CMSIS/Include/core_cm3.h **** #elif defined ( __CSMC__ )
  299. 109:Drivers/CMSIS/Include/core_cm3.h **** #if ( __CSMC__ & 0x400U)
  300. 110:Drivers/CMSIS/Include/core_cm3.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
  301. 111:Drivers/CMSIS/Include/core_cm3.h **** #endif
  302. 112:Drivers/CMSIS/Include/core_cm3.h ****
  303. 113:Drivers/CMSIS/Include/core_cm3.h **** #endif
  304. 114:Drivers/CMSIS/Include/core_cm3.h ****
  305. 115:Drivers/CMSIS/Include/core_cm3.h **** #include "cmsis_compiler.h" /* CMSIS compiler specific defines */
  306. 116:Drivers/CMSIS/Include/core_cm3.h ****
  307. 117:Drivers/CMSIS/Include/core_cm3.h ****
  308. 118:Drivers/CMSIS/Include/core_cm3.h **** #ifdef __cplusplus
  309. 119:Drivers/CMSIS/Include/core_cm3.h **** }
  310. 120:Drivers/CMSIS/Include/core_cm3.h **** #endif
  311. 121:Drivers/CMSIS/Include/core_cm3.h ****
  312. 122:Drivers/CMSIS/Include/core_cm3.h **** #endif /* __CORE_CM3_H_GENERIC */
  313. 123:Drivers/CMSIS/Include/core_cm3.h ****
  314. 124:Drivers/CMSIS/Include/core_cm3.h **** #ifndef __CMSIS_GENERIC
  315. 125:Drivers/CMSIS/Include/core_cm3.h ****
  316. 126:Drivers/CMSIS/Include/core_cm3.h **** #ifndef __CORE_CM3_H_DEPENDANT
  317. 127:Drivers/CMSIS/Include/core_cm3.h **** #define __CORE_CM3_H_DEPENDANT
  318. 128:Drivers/CMSIS/Include/core_cm3.h ****
  319. 129:Drivers/CMSIS/Include/core_cm3.h **** #ifdef __cplusplus
  320. 130:Drivers/CMSIS/Include/core_cm3.h **** extern "C" {
  321. 131:Drivers/CMSIS/Include/core_cm3.h **** #endif
  322. 132:Drivers/CMSIS/Include/core_cm3.h ****
  323. 133:Drivers/CMSIS/Include/core_cm3.h **** /* check device defines and use defaults */
  324. 134:Drivers/CMSIS/Include/core_cm3.h **** #if defined __CHECK_DEVICE_DEFINES
  325. 135:Drivers/CMSIS/Include/core_cm3.h **** #ifndef __CM3_REV
  326. 136:Drivers/CMSIS/Include/core_cm3.h **** #define __CM3_REV 0x0200U
  327. 137:Drivers/CMSIS/Include/core_cm3.h **** #warning "__CM3_REV not defined in device header file; using default!"
  328. 138:Drivers/CMSIS/Include/core_cm3.h **** #endif
  329. 139:Drivers/CMSIS/Include/core_cm3.h ****
  330. 140:Drivers/CMSIS/Include/core_cm3.h **** #ifndef __MPU_PRESENT
  331. 141:Drivers/CMSIS/Include/core_cm3.h **** #define __MPU_PRESENT 0U
  332. 142:Drivers/CMSIS/Include/core_cm3.h **** #warning "__MPU_PRESENT not defined in device header file; using default!"
  333. 143:Drivers/CMSIS/Include/core_cm3.h **** #endif
  334. 144:Drivers/CMSIS/Include/core_cm3.h ****
  335. 145:Drivers/CMSIS/Include/core_cm3.h **** #ifndef __NVIC_PRIO_BITS
  336. 146:Drivers/CMSIS/Include/core_cm3.h **** #define __NVIC_PRIO_BITS 3U
  337. 147:Drivers/CMSIS/Include/core_cm3.h **** #warning "__NVIC_PRIO_BITS not defined in device header file; using default!"
  338. 148:Drivers/CMSIS/Include/core_cm3.h **** #endif
  339. 149:Drivers/CMSIS/Include/core_cm3.h ****
  340. 150:Drivers/CMSIS/Include/core_cm3.h **** #ifndef __Vendor_SysTickConfig
  341. 151:Drivers/CMSIS/Include/core_cm3.h **** #define __Vendor_SysTickConfig 0U
  342. 152:Drivers/CMSIS/Include/core_cm3.h **** #warning "__Vendor_SysTickConfig not defined in device header file; using default!"
  343. 153:Drivers/CMSIS/Include/core_cm3.h **** #endif
  344. 154:Drivers/CMSIS/Include/core_cm3.h **** #endif
  345. 155:Drivers/CMSIS/Include/core_cm3.h ****
  346. 156:Drivers/CMSIS/Include/core_cm3.h **** /* IO definitions (access restrictions to peripheral registers) */
  347. 157:Drivers/CMSIS/Include/core_cm3.h **** /**
  348. 158:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_glob_defs CMSIS Global Defines
  349. ARM GAS /tmp/ccMY5QHu.s page 7
  350. 159:Drivers/CMSIS/Include/core_cm3.h ****
  351. 160:Drivers/CMSIS/Include/core_cm3.h **** <strong>IO Type Qualifiers</strong> are used
  352. 161:Drivers/CMSIS/Include/core_cm3.h **** \li to specify the access to peripheral variables.
  353. 162:Drivers/CMSIS/Include/core_cm3.h **** \li for automatic generation of peripheral register debug information.
  354. 163:Drivers/CMSIS/Include/core_cm3.h **** */
  355. 164:Drivers/CMSIS/Include/core_cm3.h **** #ifdef __cplusplus
  356. 165:Drivers/CMSIS/Include/core_cm3.h **** #define __I volatile /*!< Defines 'read only' permissions */
  357. 166:Drivers/CMSIS/Include/core_cm3.h **** #else
  358. 167:Drivers/CMSIS/Include/core_cm3.h **** #define __I volatile const /*!< Defines 'read only' permissions */
  359. 168:Drivers/CMSIS/Include/core_cm3.h **** #endif
  360. 169:Drivers/CMSIS/Include/core_cm3.h **** #define __O volatile /*!< Defines 'write only' permissions */
  361. 170:Drivers/CMSIS/Include/core_cm3.h **** #define __IO volatile /*!< Defines 'read / write' permissions */
  362. 171:Drivers/CMSIS/Include/core_cm3.h ****
  363. 172:Drivers/CMSIS/Include/core_cm3.h **** /* following defines should be used for structure members */
  364. 173:Drivers/CMSIS/Include/core_cm3.h **** #define __IM volatile const /*! Defines 'read only' structure member permissions */
  365. 174:Drivers/CMSIS/Include/core_cm3.h **** #define __OM volatile /*! Defines 'write only' structure member permissions */
  366. 175:Drivers/CMSIS/Include/core_cm3.h **** #define __IOM volatile /*! Defines 'read / write' structure member permissions */
  367. 176:Drivers/CMSIS/Include/core_cm3.h ****
  368. 177:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group Cortex_M3 */
  369. 178:Drivers/CMSIS/Include/core_cm3.h ****
  370. 179:Drivers/CMSIS/Include/core_cm3.h ****
  371. 180:Drivers/CMSIS/Include/core_cm3.h ****
  372. 181:Drivers/CMSIS/Include/core_cm3.h **** /*******************************************************************************
  373. 182:Drivers/CMSIS/Include/core_cm3.h **** * Register Abstraction
  374. 183:Drivers/CMSIS/Include/core_cm3.h **** Core Register contain:
  375. 184:Drivers/CMSIS/Include/core_cm3.h **** - Core Register
  376. 185:Drivers/CMSIS/Include/core_cm3.h **** - Core NVIC Register
  377. 186:Drivers/CMSIS/Include/core_cm3.h **** - Core SCB Register
  378. 187:Drivers/CMSIS/Include/core_cm3.h **** - Core SysTick Register
  379. 188:Drivers/CMSIS/Include/core_cm3.h **** - Core Debug Register
  380. 189:Drivers/CMSIS/Include/core_cm3.h **** - Core MPU Register
  381. 190:Drivers/CMSIS/Include/core_cm3.h **** ******************************************************************************/
  382. 191:Drivers/CMSIS/Include/core_cm3.h **** /**
  383. 192:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_core_register Defines and Type Definitions
  384. 193:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions and defines for Cortex-M processor based devices.
  385. 194:Drivers/CMSIS/Include/core_cm3.h **** */
  386. 195:Drivers/CMSIS/Include/core_cm3.h ****
  387. 196:Drivers/CMSIS/Include/core_cm3.h **** /**
  388. 197:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
  389. 198:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_CORE Status and Control Registers
  390. 199:Drivers/CMSIS/Include/core_cm3.h **** \brief Core Register type definitions.
  391. 200:Drivers/CMSIS/Include/core_cm3.h **** @{
  392. 201:Drivers/CMSIS/Include/core_cm3.h **** */
  393. 202:Drivers/CMSIS/Include/core_cm3.h ****
  394. 203:Drivers/CMSIS/Include/core_cm3.h **** /**
  395. 204:Drivers/CMSIS/Include/core_cm3.h **** \brief Union type to access the Application Program Status Register (APSR).
  396. 205:Drivers/CMSIS/Include/core_cm3.h **** */
  397. 206:Drivers/CMSIS/Include/core_cm3.h **** typedef union
  398. 207:Drivers/CMSIS/Include/core_cm3.h **** {
  399. 208:Drivers/CMSIS/Include/core_cm3.h **** struct
  400. 209:Drivers/CMSIS/Include/core_cm3.h **** {
  401. 210:Drivers/CMSIS/Include/core_cm3.h **** uint32_t _reserved0:27; /*!< bit: 0..26 Reserved */
  402. 211:Drivers/CMSIS/Include/core_cm3.h **** uint32_t Q:1; /*!< bit: 27 Saturation condition flag */
  403. 212:Drivers/CMSIS/Include/core_cm3.h **** uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
  404. 213:Drivers/CMSIS/Include/core_cm3.h **** uint32_t C:1; /*!< bit: 29 Carry condition code flag */
  405. 214:Drivers/CMSIS/Include/core_cm3.h **** uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
  406. 215:Drivers/CMSIS/Include/core_cm3.h **** uint32_t N:1; /*!< bit: 31 Negative condition code flag */
  407. ARM GAS /tmp/ccMY5QHu.s page 8
  408. 216:Drivers/CMSIS/Include/core_cm3.h **** } b; /*!< Structure used for bit access */
  409. 217:Drivers/CMSIS/Include/core_cm3.h **** uint32_t w; /*!< Type used for word access */
  410. 218:Drivers/CMSIS/Include/core_cm3.h **** } APSR_Type;
  411. 219:Drivers/CMSIS/Include/core_cm3.h ****
  412. 220:Drivers/CMSIS/Include/core_cm3.h **** /* APSR Register Definitions */
  413. 221:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_N_Pos 31U /*!< APSR
  414. 222:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_N_Msk (1UL << APSR_N_Pos) /*!< APSR
  415. 223:Drivers/CMSIS/Include/core_cm3.h ****
  416. 224:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_Z_Pos 30U /*!< APSR
  417. 225:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_Z_Msk (1UL << APSR_Z_Pos) /*!< APSR
  418. 226:Drivers/CMSIS/Include/core_cm3.h ****
  419. 227:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_C_Pos 29U /*!< APSR
  420. 228:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_C_Msk (1UL << APSR_C_Pos) /*!< APSR
  421. 229:Drivers/CMSIS/Include/core_cm3.h ****
  422. 230:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_V_Pos 28U /*!< APSR
  423. 231:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_V_Msk (1UL << APSR_V_Pos) /*!< APSR
  424. 232:Drivers/CMSIS/Include/core_cm3.h ****
  425. 233:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_Q_Pos 27U /*!< APSR
  426. 234:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_Q_Msk (1UL << APSR_Q_Pos) /*!< APSR
  427. 235:Drivers/CMSIS/Include/core_cm3.h ****
  428. 236:Drivers/CMSIS/Include/core_cm3.h ****
  429. 237:Drivers/CMSIS/Include/core_cm3.h **** /**
  430. 238:Drivers/CMSIS/Include/core_cm3.h **** \brief Union type to access the Interrupt Program Status Register (IPSR).
  431. 239:Drivers/CMSIS/Include/core_cm3.h **** */
  432. 240:Drivers/CMSIS/Include/core_cm3.h **** typedef union
  433. 241:Drivers/CMSIS/Include/core_cm3.h **** {
  434. 242:Drivers/CMSIS/Include/core_cm3.h **** struct
  435. 243:Drivers/CMSIS/Include/core_cm3.h **** {
  436. 244:Drivers/CMSIS/Include/core_cm3.h **** uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
  437. 245:Drivers/CMSIS/Include/core_cm3.h **** uint32_t _reserved0:23; /*!< bit: 9..31 Reserved */
  438. 246:Drivers/CMSIS/Include/core_cm3.h **** } b; /*!< Structure used for bit access */
  439. 247:Drivers/CMSIS/Include/core_cm3.h **** uint32_t w; /*!< Type used for word access */
  440. 248:Drivers/CMSIS/Include/core_cm3.h **** } IPSR_Type;
  441. 249:Drivers/CMSIS/Include/core_cm3.h ****
  442. 250:Drivers/CMSIS/Include/core_cm3.h **** /* IPSR Register Definitions */
  443. 251:Drivers/CMSIS/Include/core_cm3.h **** #define IPSR_ISR_Pos 0U /*!< IPSR
  444. 252:Drivers/CMSIS/Include/core_cm3.h **** #define IPSR_ISR_Msk (0x1FFUL /*<< IPSR_ISR_Pos*/) /*!< IPSR
  445. 253:Drivers/CMSIS/Include/core_cm3.h ****
  446. 254:Drivers/CMSIS/Include/core_cm3.h ****
  447. 255:Drivers/CMSIS/Include/core_cm3.h **** /**
  448. 256:Drivers/CMSIS/Include/core_cm3.h **** \brief Union type to access the Special-Purpose Program Status Registers (xPSR).
  449. 257:Drivers/CMSIS/Include/core_cm3.h **** */
  450. 258:Drivers/CMSIS/Include/core_cm3.h **** typedef union
  451. 259:Drivers/CMSIS/Include/core_cm3.h **** {
  452. 260:Drivers/CMSIS/Include/core_cm3.h **** struct
  453. 261:Drivers/CMSIS/Include/core_cm3.h **** {
  454. 262:Drivers/CMSIS/Include/core_cm3.h **** uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
  455. 263:Drivers/CMSIS/Include/core_cm3.h **** uint32_t _reserved0:1; /*!< bit: 9 Reserved */
  456. 264:Drivers/CMSIS/Include/core_cm3.h **** uint32_t ICI_IT_1:6; /*!< bit: 10..15 ICI/IT part 1 */
  457. 265:Drivers/CMSIS/Include/core_cm3.h **** uint32_t _reserved1:8; /*!< bit: 16..23 Reserved */
  458. 266:Drivers/CMSIS/Include/core_cm3.h **** uint32_t T:1; /*!< bit: 24 Thumb bit */
  459. 267:Drivers/CMSIS/Include/core_cm3.h **** uint32_t ICI_IT_2:2; /*!< bit: 25..26 ICI/IT part 2 */
  460. 268:Drivers/CMSIS/Include/core_cm3.h **** uint32_t Q:1; /*!< bit: 27 Saturation condition flag */
  461. 269:Drivers/CMSIS/Include/core_cm3.h **** uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
  462. 270:Drivers/CMSIS/Include/core_cm3.h **** uint32_t C:1; /*!< bit: 29 Carry condition code flag */
  463. 271:Drivers/CMSIS/Include/core_cm3.h **** uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
  464. 272:Drivers/CMSIS/Include/core_cm3.h **** uint32_t N:1; /*!< bit: 31 Negative condition code flag */
  465. ARM GAS /tmp/ccMY5QHu.s page 9
  466. 273:Drivers/CMSIS/Include/core_cm3.h **** } b; /*!< Structure used for bit access */
  467. 274:Drivers/CMSIS/Include/core_cm3.h **** uint32_t w; /*!< Type used for word access */
  468. 275:Drivers/CMSIS/Include/core_cm3.h **** } xPSR_Type;
  469. 276:Drivers/CMSIS/Include/core_cm3.h ****
  470. 277:Drivers/CMSIS/Include/core_cm3.h **** /* xPSR Register Definitions */
  471. 278:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_N_Pos 31U /*!< xPSR
  472. 279:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_N_Msk (1UL << xPSR_N_Pos) /*!< xPSR
  473. 280:Drivers/CMSIS/Include/core_cm3.h ****
  474. 281:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_Z_Pos 30U /*!< xPSR
  475. 282:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_Z_Msk (1UL << xPSR_Z_Pos) /*!< xPSR
  476. 283:Drivers/CMSIS/Include/core_cm3.h ****
  477. 284:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_C_Pos 29U /*!< xPSR
  478. 285:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_C_Msk (1UL << xPSR_C_Pos) /*!< xPSR
  479. 286:Drivers/CMSIS/Include/core_cm3.h ****
  480. 287:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_V_Pos 28U /*!< xPSR
  481. 288:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_V_Msk (1UL << xPSR_V_Pos) /*!< xPSR
  482. 289:Drivers/CMSIS/Include/core_cm3.h ****
  483. 290:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_Q_Pos 27U /*!< xPSR
  484. 291:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_Q_Msk (1UL << xPSR_Q_Pos) /*!< xPSR
  485. 292:Drivers/CMSIS/Include/core_cm3.h ****
  486. 293:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_ICI_IT_2_Pos 25U /*!< xPSR
  487. 294:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_ICI_IT_2_Msk (3UL << xPSR_ICI_IT_2_Pos) /*!< xPSR
  488. 295:Drivers/CMSIS/Include/core_cm3.h ****
  489. 296:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_T_Pos 24U /*!< xPSR
  490. 297:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_T_Msk (1UL << xPSR_T_Pos) /*!< xPSR
  491. 298:Drivers/CMSIS/Include/core_cm3.h ****
  492. 299:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_ICI_IT_1_Pos 10U /*!< xPSR
  493. 300:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_ICI_IT_1_Msk (0x3FUL << xPSR_ICI_IT_1_Pos) /*!< xPSR
  494. 301:Drivers/CMSIS/Include/core_cm3.h ****
  495. 302:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_ISR_Pos 0U /*!< xPSR
  496. 303:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_ISR_Msk (0x1FFUL /*<< xPSR_ISR_Pos*/) /*!< xPSR
  497. 304:Drivers/CMSIS/Include/core_cm3.h ****
  498. 305:Drivers/CMSIS/Include/core_cm3.h ****
  499. 306:Drivers/CMSIS/Include/core_cm3.h **** /**
  500. 307:Drivers/CMSIS/Include/core_cm3.h **** \brief Union type to access the Control Registers (CONTROL).
  501. 308:Drivers/CMSIS/Include/core_cm3.h **** */
  502. 309:Drivers/CMSIS/Include/core_cm3.h **** typedef union
  503. 310:Drivers/CMSIS/Include/core_cm3.h **** {
  504. 311:Drivers/CMSIS/Include/core_cm3.h **** struct
  505. 312:Drivers/CMSIS/Include/core_cm3.h **** {
  506. 313:Drivers/CMSIS/Include/core_cm3.h **** uint32_t nPRIV:1; /*!< bit: 0 Execution privilege in Thread mode */
  507. 314:Drivers/CMSIS/Include/core_cm3.h **** uint32_t SPSEL:1; /*!< bit: 1 Stack to be used */
  508. 315:Drivers/CMSIS/Include/core_cm3.h **** uint32_t _reserved1:30; /*!< bit: 2..31 Reserved */
  509. 316:Drivers/CMSIS/Include/core_cm3.h **** } b; /*!< Structure used for bit access */
  510. 317:Drivers/CMSIS/Include/core_cm3.h **** uint32_t w; /*!< Type used for word access */
  511. 318:Drivers/CMSIS/Include/core_cm3.h **** } CONTROL_Type;
  512. 319:Drivers/CMSIS/Include/core_cm3.h ****
  513. 320:Drivers/CMSIS/Include/core_cm3.h **** /* CONTROL Register Definitions */
  514. 321:Drivers/CMSIS/Include/core_cm3.h **** #define CONTROL_SPSEL_Pos 1U /*!< CONT
  515. 322:Drivers/CMSIS/Include/core_cm3.h **** #define CONTROL_SPSEL_Msk (1UL << CONTROL_SPSEL_Pos) /*!< CONT
  516. 323:Drivers/CMSIS/Include/core_cm3.h ****
  517. 324:Drivers/CMSIS/Include/core_cm3.h **** #define CONTROL_nPRIV_Pos 0U /*!< CONT
  518. 325:Drivers/CMSIS/Include/core_cm3.h **** #define CONTROL_nPRIV_Msk (1UL /*<< CONTROL_nPRIV_Pos*/) /*!< CONT
  519. 326:Drivers/CMSIS/Include/core_cm3.h ****
  520. 327:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_CORE */
  521. 328:Drivers/CMSIS/Include/core_cm3.h ****
  522. 329:Drivers/CMSIS/Include/core_cm3.h ****
  523. ARM GAS /tmp/ccMY5QHu.s page 10
  524. 330:Drivers/CMSIS/Include/core_cm3.h **** /**
  525. 331:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
  526. 332:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_NVIC Nested Vectored Interrupt Controller (NVIC)
  527. 333:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the NVIC Registers
  528. 334:Drivers/CMSIS/Include/core_cm3.h **** @{
  529. 335:Drivers/CMSIS/Include/core_cm3.h **** */
  530. 336:Drivers/CMSIS/Include/core_cm3.h ****
  531. 337:Drivers/CMSIS/Include/core_cm3.h **** /**
  532. 338:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the Nested Vectored Interrupt Controller (NVIC).
  533. 339:Drivers/CMSIS/Include/core_cm3.h **** */
  534. 340:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
  535. 341:Drivers/CMSIS/Include/core_cm3.h **** {
  536. 342:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ISER[8U]; /*!< Offset: 0x000 (R/W) Interrupt Set Enable Register */
  537. 343:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED0[24U];
  538. 344:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ICER[8U]; /*!< Offset: 0x080 (R/W) Interrupt Clear Enable Register
  539. 345:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RSERVED1[24U];
  540. 346:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ISPR[8U]; /*!< Offset: 0x100 (R/W) Interrupt Set Pending Register *
  541. 347:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED2[24U];
  542. 348:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ICPR[8U]; /*!< Offset: 0x180 (R/W) Interrupt Clear Pending Register
  543. 349:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED3[24U];
  544. 350:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t IABR[8U]; /*!< Offset: 0x200 (R/W) Interrupt Active bit Register */
  545. 351:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED4[56U];
  546. 352:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint8_t IP[240U]; /*!< Offset: 0x300 (R/W) Interrupt Priority Register (8Bi
  547. 353:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED5[644U];
  548. 354:Drivers/CMSIS/Include/core_cm3.h **** __OM uint32_t STIR; /*!< Offset: 0xE00 ( /W) Software Trigger Interrupt Regis
  549. 355:Drivers/CMSIS/Include/core_cm3.h **** } NVIC_Type;
  550. 356:Drivers/CMSIS/Include/core_cm3.h ****
  551. 357:Drivers/CMSIS/Include/core_cm3.h **** /* Software Triggered Interrupt Register Definitions */
  552. 358:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_STIR_INTID_Pos 0U /*!< STIR: I
  553. 359:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_STIR_INTID_Msk (0x1FFUL /*<< NVIC_STIR_INTID_Pos*/) /*!< STIR: I
  554. 360:Drivers/CMSIS/Include/core_cm3.h ****
  555. 361:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_NVIC */
  556. 362:Drivers/CMSIS/Include/core_cm3.h ****
  557. 363:Drivers/CMSIS/Include/core_cm3.h ****
  558. 364:Drivers/CMSIS/Include/core_cm3.h **** /**
  559. 365:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
  560. 366:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_SCB System Control Block (SCB)
  561. 367:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the System Control Block Registers
  562. 368:Drivers/CMSIS/Include/core_cm3.h **** @{
  563. 369:Drivers/CMSIS/Include/core_cm3.h **** */
  564. 370:Drivers/CMSIS/Include/core_cm3.h ****
  565. 371:Drivers/CMSIS/Include/core_cm3.h **** /**
  566. 372:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the System Control Block (SCB).
  567. 373:Drivers/CMSIS/Include/core_cm3.h **** */
  568. 374:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
  569. 375:Drivers/CMSIS/Include/core_cm3.h **** {
  570. 376:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t CPUID; /*!< Offset: 0x000 (R/ ) CPUID Base Register */
  571. 377:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ICSR; /*!< Offset: 0x004 (R/W) Interrupt Control and State Regi
  572. 378:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t VTOR; /*!< Offset: 0x008 (R/W) Vector Table Offset Register */
  573. 379:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t AIRCR; /*!< Offset: 0x00C (R/W) Application Interrupt and Reset
  574. 380:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t SCR; /*!< Offset: 0x010 (R/W) System Control Register */
  575. 381:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CCR; /*!< Offset: 0x014 (R/W) Configuration Control Register *
  576. 382:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint8_t SHP[12U]; /*!< Offset: 0x018 (R/W) System Handlers Priority Registe
  577. 383:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t SHCSR; /*!< Offset: 0x024 (R/W) System Handler Control and State
  578. 384:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CFSR; /*!< Offset: 0x028 (R/W) Configurable Fault Status Regist
  579. 385:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t HFSR; /*!< Offset: 0x02C (R/W) HardFault Status Register */
  580. 386:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t DFSR; /*!< Offset: 0x030 (R/W) Debug Fault Status Register */
  581. ARM GAS /tmp/ccMY5QHu.s page 11
  582. 387:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t MMFAR; /*!< Offset: 0x034 (R/W) MemManage Fault Address Register
  583. 388:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t BFAR; /*!< Offset: 0x038 (R/W) BusFault Address Register */
  584. 389:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t AFSR; /*!< Offset: 0x03C (R/W) Auxiliary Fault Status Register
  585. 390:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PFR[2U]; /*!< Offset: 0x040 (R/ ) Processor Feature Register */
  586. 391:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t DFR; /*!< Offset: 0x048 (R/ ) Debug Feature Register */
  587. 392:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t ADR; /*!< Offset: 0x04C (R/ ) Auxiliary Feature Register */
  588. 393:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t MMFR[4U]; /*!< Offset: 0x050 (R/ ) Memory Model Feature Register */
  589. 394:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t ISAR[5U]; /*!< Offset: 0x060 (R/ ) Instruction Set Attributes Regis
  590. 395:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED0[5U];
  591. 396:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CPACR; /*!< Offset: 0x088 (R/W) Coprocessor Access Control Regis
  592. 397:Drivers/CMSIS/Include/core_cm3.h **** } SCB_Type;
  593. 398:Drivers/CMSIS/Include/core_cm3.h ****
  594. 399:Drivers/CMSIS/Include/core_cm3.h **** /* SCB CPUID Register Definitions */
  595. 400:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_IMPLEMENTER_Pos 24U /*!< SCB
  596. 401:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_IMPLEMENTER_Msk (0xFFUL << SCB_CPUID_IMPLEMENTER_Pos) /*!< SCB
  597. 402:Drivers/CMSIS/Include/core_cm3.h ****
  598. 403:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_VARIANT_Pos 20U /*!< SCB
  599. 404:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_VARIANT_Msk (0xFUL << SCB_CPUID_VARIANT_Pos) /*!< SCB
  600. 405:Drivers/CMSIS/Include/core_cm3.h ****
  601. 406:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_ARCHITECTURE_Pos 16U /*!< SCB
  602. 407:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_ARCHITECTURE_Msk (0xFUL << SCB_CPUID_ARCHITECTURE_Pos) /*!< SCB
  603. 408:Drivers/CMSIS/Include/core_cm3.h ****
  604. 409:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_PARTNO_Pos 4U /*!< SCB
  605. 410:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_PARTNO_Msk (0xFFFUL << SCB_CPUID_PARTNO_Pos) /*!< SCB
  606. 411:Drivers/CMSIS/Include/core_cm3.h ****
  607. 412:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_REVISION_Pos 0U /*!< SCB
  608. 413:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_REVISION_Msk (0xFUL /*<< SCB_CPUID_REVISION_Pos*/) /*!< SCB
  609. 414:Drivers/CMSIS/Include/core_cm3.h ****
  610. 415:Drivers/CMSIS/Include/core_cm3.h **** /* SCB Interrupt Control State Register Definitions */
  611. 416:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_NMIPENDSET_Pos 31U /*!< SCB
  612. 417:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_NMIPENDSET_Msk (1UL << SCB_ICSR_NMIPENDSET_Pos) /*!< SCB
  613. 418:Drivers/CMSIS/Include/core_cm3.h ****
  614. 419:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSVSET_Pos 28U /*!< SCB
  615. 420:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSVSET_Msk (1UL << SCB_ICSR_PENDSVSET_Pos) /*!< SCB
  616. 421:Drivers/CMSIS/Include/core_cm3.h ****
  617. 422:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSVCLR_Pos 27U /*!< SCB
  618. 423:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSVCLR_Msk (1UL << SCB_ICSR_PENDSVCLR_Pos) /*!< SCB
  619. 424:Drivers/CMSIS/Include/core_cm3.h ****
  620. 425:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSTSET_Pos 26U /*!< SCB
  621. 426:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSTSET_Msk (1UL << SCB_ICSR_PENDSTSET_Pos) /*!< SCB
  622. 427:Drivers/CMSIS/Include/core_cm3.h ****
  623. 428:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSTCLR_Pos 25U /*!< SCB
  624. 429:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSTCLR_Msk (1UL << SCB_ICSR_PENDSTCLR_Pos) /*!< SCB
  625. 430:Drivers/CMSIS/Include/core_cm3.h ****
  626. 431:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_ISRPREEMPT_Pos 23U /*!< SCB
  627. 432:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_ISRPREEMPT_Msk (1UL << SCB_ICSR_ISRPREEMPT_Pos) /*!< SCB
  628. 433:Drivers/CMSIS/Include/core_cm3.h ****
  629. 434:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_ISRPENDING_Pos 22U /*!< SCB
  630. 435:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_ISRPENDING_Msk (1UL << SCB_ICSR_ISRPENDING_Pos) /*!< SCB
  631. 436:Drivers/CMSIS/Include/core_cm3.h ****
  632. 437:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_VECTPENDING_Pos 12U /*!< SCB
  633. 438:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_VECTPENDING_Msk (0x1FFUL << SCB_ICSR_VECTPENDING_Pos) /*!< SCB
  634. 439:Drivers/CMSIS/Include/core_cm3.h ****
  635. 440:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_RETTOBASE_Pos 11U /*!< SCB
  636. 441:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_RETTOBASE_Msk (1UL << SCB_ICSR_RETTOBASE_Pos) /*!< SCB
  637. 442:Drivers/CMSIS/Include/core_cm3.h ****
  638. 443:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_VECTACTIVE_Pos 0U /*!< SCB
  639. ARM GAS /tmp/ccMY5QHu.s page 12
  640. 444:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_VECTACTIVE_Msk (0x1FFUL /*<< SCB_ICSR_VECTACTIVE_Pos*/) /*!< SCB
  641. 445:Drivers/CMSIS/Include/core_cm3.h ****
  642. 446:Drivers/CMSIS/Include/core_cm3.h **** /* SCB Vector Table Offset Register Definitions */
  643. 447:Drivers/CMSIS/Include/core_cm3.h **** #if defined (__CM3_REV) && (__CM3_REV < 0x0201U) /* core r2p1 */
  644. 448:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_VTOR_TBLBASE_Pos 29U /*!< SCB
  645. 449:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_VTOR_TBLBASE_Msk (1UL << SCB_VTOR_TBLBASE_Pos) /*!< SCB
  646. 450:Drivers/CMSIS/Include/core_cm3.h ****
  647. 451:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_VTOR_TBLOFF_Pos 7U /*!< SCB
  648. 452:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_VTOR_TBLOFF_Msk (0x3FFFFFUL << SCB_VTOR_TBLOFF_Pos) /*!< SCB
  649. 453:Drivers/CMSIS/Include/core_cm3.h **** #else
  650. 454:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_VTOR_TBLOFF_Pos 7U /*!< SCB
  651. 455:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_VTOR_TBLOFF_Msk (0x1FFFFFFUL << SCB_VTOR_TBLOFF_Pos) /*!< SCB
  652. 456:Drivers/CMSIS/Include/core_cm3.h **** #endif
  653. 457:Drivers/CMSIS/Include/core_cm3.h ****
  654. 458:Drivers/CMSIS/Include/core_cm3.h **** /* SCB Application Interrupt and Reset Control Register Definitions */
  655. 459:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTKEY_Pos 16U /*!< SCB
  656. 460:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTKEY_Msk (0xFFFFUL << SCB_AIRCR_VECTKEY_Pos) /*!< SCB
  657. 461:Drivers/CMSIS/Include/core_cm3.h ****
  658. 462:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTKEYSTAT_Pos 16U /*!< SCB
  659. 463:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTKEYSTAT_Msk (0xFFFFUL << SCB_AIRCR_VECTKEYSTAT_Pos) /*!< SCB
  660. 464:Drivers/CMSIS/Include/core_cm3.h ****
  661. 465:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_ENDIANESS_Pos 15U /*!< SCB
  662. 466:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_ENDIANESS_Msk (1UL << SCB_AIRCR_ENDIANESS_Pos) /*!< SCB
  663. 467:Drivers/CMSIS/Include/core_cm3.h ****
  664. 468:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_PRIGROUP_Pos 8U /*!< SCB
  665. 469:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_PRIGROUP_Msk (7UL << SCB_AIRCR_PRIGROUP_Pos) /*!< SCB
  666. 470:Drivers/CMSIS/Include/core_cm3.h ****
  667. 471:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_SYSRESETREQ_Pos 2U /*!< SCB
  668. 472:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_SYSRESETREQ_Msk (1UL << SCB_AIRCR_SYSRESETREQ_Pos) /*!< SCB
  669. 473:Drivers/CMSIS/Include/core_cm3.h ****
  670. 474:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTCLRACTIVE_Pos 1U /*!< SCB
  671. 475:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTCLRACTIVE_Msk (1UL << SCB_AIRCR_VECTCLRACTIVE_Pos) /*!< SCB
  672. 476:Drivers/CMSIS/Include/core_cm3.h ****
  673. 477:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTRESET_Pos 0U /*!< SCB
  674. 478:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTRESET_Msk (1UL /*<< SCB_AIRCR_VECTRESET_Pos*/) /*!< SCB
  675. 479:Drivers/CMSIS/Include/core_cm3.h ****
  676. 480:Drivers/CMSIS/Include/core_cm3.h **** /* SCB System Control Register Definitions */
  677. 481:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SCR_SEVONPEND_Pos 4U /*!< SCB
  678. 482:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SCR_SEVONPEND_Msk (1UL << SCB_SCR_SEVONPEND_Pos) /*!< SCB
  679. 483:Drivers/CMSIS/Include/core_cm3.h ****
  680. 484:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SCR_SLEEPDEEP_Pos 2U /*!< SCB
  681. 485:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SCR_SLEEPDEEP_Msk (1UL << SCB_SCR_SLEEPDEEP_Pos) /*!< SCB
  682. 486:Drivers/CMSIS/Include/core_cm3.h ****
  683. 487:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SCR_SLEEPONEXIT_Pos 1U /*!< SCB
  684. 488:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SCR_SLEEPONEXIT_Msk (1UL << SCB_SCR_SLEEPONEXIT_Pos) /*!< SCB
  685. 489:Drivers/CMSIS/Include/core_cm3.h ****
  686. 490:Drivers/CMSIS/Include/core_cm3.h **** /* SCB Configuration Control Register Definitions */
  687. 491:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_STKALIGN_Pos 9U /*!< SCB
  688. 492:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_STKALIGN_Msk (1UL << SCB_CCR_STKALIGN_Pos) /*!< SCB
  689. 493:Drivers/CMSIS/Include/core_cm3.h ****
  690. 494:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_BFHFNMIGN_Pos 8U /*!< SCB
  691. 495:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_BFHFNMIGN_Msk (1UL << SCB_CCR_BFHFNMIGN_Pos) /*!< SCB
  692. 496:Drivers/CMSIS/Include/core_cm3.h ****
  693. 497:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_DIV_0_TRP_Pos 4U /*!< SCB
  694. 498:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_DIV_0_TRP_Msk (1UL << SCB_CCR_DIV_0_TRP_Pos) /*!< SCB
  695. 499:Drivers/CMSIS/Include/core_cm3.h ****
  696. 500:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_UNALIGN_TRP_Pos 3U /*!< SCB
  697. ARM GAS /tmp/ccMY5QHu.s page 13
  698. 501:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_UNALIGN_TRP_Msk (1UL << SCB_CCR_UNALIGN_TRP_Pos) /*!< SCB
  699. 502:Drivers/CMSIS/Include/core_cm3.h ****
  700. 503:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_USERSETMPEND_Pos 1U /*!< SCB
  701. 504:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_USERSETMPEND_Msk (1UL << SCB_CCR_USERSETMPEND_Pos) /*!< SCB
  702. 505:Drivers/CMSIS/Include/core_cm3.h ****
  703. 506:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_NONBASETHRDENA_Pos 0U /*!< SCB
  704. 507:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_NONBASETHRDENA_Msk (1UL /*<< SCB_CCR_NONBASETHRDENA_Pos*/) /*!< SCB
  705. 508:Drivers/CMSIS/Include/core_cm3.h ****
  706. 509:Drivers/CMSIS/Include/core_cm3.h **** /* SCB System Handler Control and State Register Definitions */
  707. 510:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_USGFAULTENA_Pos 18U /*!< SCB
  708. 511:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_USGFAULTENA_Msk (1UL << SCB_SHCSR_USGFAULTENA_Pos) /*!< SCB
  709. 512:Drivers/CMSIS/Include/core_cm3.h ****
  710. 513:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_BUSFAULTENA_Pos 17U /*!< SCB
  711. 514:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_BUSFAULTENA_Msk (1UL << SCB_SHCSR_BUSFAULTENA_Pos) /*!< SCB
  712. 515:Drivers/CMSIS/Include/core_cm3.h ****
  713. 516:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MEMFAULTENA_Pos 16U /*!< SCB
  714. 517:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MEMFAULTENA_Msk (1UL << SCB_SHCSR_MEMFAULTENA_Pos) /*!< SCB
  715. 518:Drivers/CMSIS/Include/core_cm3.h ****
  716. 519:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_SVCALLPENDED_Pos 15U /*!< SCB
  717. 520:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_SVCALLPENDED_Msk (1UL << SCB_SHCSR_SVCALLPENDED_Pos) /*!< SCB
  718. 521:Drivers/CMSIS/Include/core_cm3.h ****
  719. 522:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_BUSFAULTPENDED_Pos 14U /*!< SCB
  720. 523:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_BUSFAULTPENDED_Msk (1UL << SCB_SHCSR_BUSFAULTPENDED_Pos) /*!< SCB
  721. 524:Drivers/CMSIS/Include/core_cm3.h ****
  722. 525:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MEMFAULTPENDED_Pos 13U /*!< SCB
  723. 526:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MEMFAULTPENDED_Msk (1UL << SCB_SHCSR_MEMFAULTPENDED_Pos) /*!< SCB
  724. 527:Drivers/CMSIS/Include/core_cm3.h ****
  725. 528:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_USGFAULTPENDED_Pos 12U /*!< SCB
  726. 529:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_USGFAULTPENDED_Msk (1UL << SCB_SHCSR_USGFAULTPENDED_Pos) /*!< SCB
  727. 530:Drivers/CMSIS/Include/core_cm3.h ****
  728. 531:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_SYSTICKACT_Pos 11U /*!< SCB
  729. 532:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_SYSTICKACT_Msk (1UL << SCB_SHCSR_SYSTICKACT_Pos) /*!< SCB
  730. 533:Drivers/CMSIS/Include/core_cm3.h ****
  731. 534:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_PENDSVACT_Pos 10U /*!< SCB
  732. 535:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_PENDSVACT_Msk (1UL << SCB_SHCSR_PENDSVACT_Pos) /*!< SCB
  733. 536:Drivers/CMSIS/Include/core_cm3.h ****
  734. 537:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MONITORACT_Pos 8U /*!< SCB
  735. 538:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MONITORACT_Msk (1UL << SCB_SHCSR_MONITORACT_Pos) /*!< SCB
  736. 539:Drivers/CMSIS/Include/core_cm3.h ****
  737. 540:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_SVCALLACT_Pos 7U /*!< SCB
  738. 541:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_SVCALLACT_Msk (1UL << SCB_SHCSR_SVCALLACT_Pos) /*!< SCB
  739. 542:Drivers/CMSIS/Include/core_cm3.h ****
  740. 543:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_USGFAULTACT_Pos 3U /*!< SCB
  741. 544:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_USGFAULTACT_Msk (1UL << SCB_SHCSR_USGFAULTACT_Pos) /*!< SCB
  742. 545:Drivers/CMSIS/Include/core_cm3.h ****
  743. 546:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_BUSFAULTACT_Pos 1U /*!< SCB
  744. 547:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_BUSFAULTACT_Msk (1UL << SCB_SHCSR_BUSFAULTACT_Pos) /*!< SCB
  745. 548:Drivers/CMSIS/Include/core_cm3.h ****
  746. 549:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MEMFAULTACT_Pos 0U /*!< SCB
  747. 550:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MEMFAULTACT_Msk (1UL /*<< SCB_SHCSR_MEMFAULTACT_Pos*/) /*!< SCB
  748. 551:Drivers/CMSIS/Include/core_cm3.h ****
  749. 552:Drivers/CMSIS/Include/core_cm3.h **** /* SCB Configurable Fault Status Register Definitions */
  750. 553:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_USGFAULTSR_Pos 16U /*!< SCB
  751. 554:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_USGFAULTSR_Msk (0xFFFFUL << SCB_CFSR_USGFAULTSR_Pos) /*!< SCB
  752. 555:Drivers/CMSIS/Include/core_cm3.h ****
  753. 556:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_BUSFAULTSR_Pos 8U /*!< SCB
  754. 557:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_BUSFAULTSR_Msk (0xFFUL << SCB_CFSR_BUSFAULTSR_Pos) /*!< SCB
  755. ARM GAS /tmp/ccMY5QHu.s page 14
  756. 558:Drivers/CMSIS/Include/core_cm3.h ****
  757. 559:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MEMFAULTSR_Pos 0U /*!< SCB
  758. 560:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MEMFAULTSR_Msk (0xFFUL /*<< SCB_CFSR_MEMFAULTSR_Pos*/) /*!< SCB
  759. 561:Drivers/CMSIS/Include/core_cm3.h ****
  760. 562:Drivers/CMSIS/Include/core_cm3.h **** /* MemManage Fault Status Register (part of SCB Configurable Fault Status Register) */
  761. 563:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MMARVALID_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 7U) /*!< SCB
  762. 564:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MMARVALID_Msk (1UL << SCB_CFSR_MMARVALID_Pos) /*!< SCB
  763. 565:Drivers/CMSIS/Include/core_cm3.h ****
  764. 566:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MSTKERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 4U) /*!< SCB
  765. 567:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MSTKERR_Msk (1UL << SCB_CFSR_MSTKERR_Pos) /*!< SCB
  766. 568:Drivers/CMSIS/Include/core_cm3.h ****
  767. 569:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MUNSTKERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 3U) /*!< SCB
  768. 570:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MUNSTKERR_Msk (1UL << SCB_CFSR_MUNSTKERR_Pos) /*!< SCB
  769. 571:Drivers/CMSIS/Include/core_cm3.h ****
  770. 572:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_DACCVIOL_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 1U) /*!< SCB
  771. 573:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_DACCVIOL_Msk (1UL << SCB_CFSR_DACCVIOL_Pos) /*!< SCB
  772. 574:Drivers/CMSIS/Include/core_cm3.h ****
  773. 575:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_IACCVIOL_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 0U) /*!< SCB
  774. 576:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_IACCVIOL_Msk (1UL /*<< SCB_CFSR_IACCVIOL_Pos*/) /*!< SCB
  775. 577:Drivers/CMSIS/Include/core_cm3.h ****
  776. 578:Drivers/CMSIS/Include/core_cm3.h **** /* BusFault Status Register (part of SCB Configurable Fault Status Register) */
  777. 579:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_BFARVALID_Pos (SCB_CFSR_BUSFAULTSR_Pos + 7U) /*!< SCB
  778. 580:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_BFARVALID_Msk (1UL << SCB_CFSR_BFARVALID_Pos) /*!< SCB
  779. 581:Drivers/CMSIS/Include/core_cm3.h ****
  780. 582:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_STKERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 4U) /*!< SCB
  781. 583:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_STKERR_Msk (1UL << SCB_CFSR_STKERR_Pos) /*!< SCB
  782. 584:Drivers/CMSIS/Include/core_cm3.h ****
  783. 585:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_UNSTKERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 3U) /*!< SCB
  784. 586:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_UNSTKERR_Msk (1UL << SCB_CFSR_UNSTKERR_Pos) /*!< SCB
  785. 587:Drivers/CMSIS/Include/core_cm3.h ****
  786. 588:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_IMPRECISERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 2U) /*!< SCB
  787. 589:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_IMPRECISERR_Msk (1UL << SCB_CFSR_IMPRECISERR_Pos) /*!< SCB
  788. 590:Drivers/CMSIS/Include/core_cm3.h ****
  789. 591:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_PRECISERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 1U) /*!< SCB
  790. 592:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_PRECISERR_Msk (1UL << SCB_CFSR_PRECISERR_Pos) /*!< SCB
  791. 593:Drivers/CMSIS/Include/core_cm3.h ****
  792. 594:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_IBUSERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 0U) /*!< SCB
  793. 595:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_IBUSERR_Msk (1UL << SCB_CFSR_IBUSERR_Pos) /*!< SCB
  794. 596:Drivers/CMSIS/Include/core_cm3.h ****
  795. 597:Drivers/CMSIS/Include/core_cm3.h **** /* UsageFault Status Register (part of SCB Configurable Fault Status Register) */
  796. 598:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_DIVBYZERO_Pos (SCB_CFSR_USGFAULTSR_Pos + 9U) /*!< SCB
  797. 599:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_DIVBYZERO_Msk (1UL << SCB_CFSR_DIVBYZERO_Pos) /*!< SCB
  798. 600:Drivers/CMSIS/Include/core_cm3.h ****
  799. 601:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_UNALIGNED_Pos (SCB_CFSR_USGFAULTSR_Pos + 8U) /*!< SCB
  800. 602:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_UNALIGNED_Msk (1UL << SCB_CFSR_UNALIGNED_Pos) /*!< SCB
  801. 603:Drivers/CMSIS/Include/core_cm3.h ****
  802. 604:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_NOCP_Pos (SCB_CFSR_USGFAULTSR_Pos + 3U) /*!< SCB
  803. 605:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_NOCP_Msk (1UL << SCB_CFSR_NOCP_Pos) /*!< SCB
  804. 606:Drivers/CMSIS/Include/core_cm3.h ****
  805. 607:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_INVPC_Pos (SCB_CFSR_USGFAULTSR_Pos + 2U) /*!< SCB
  806. 608:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_INVPC_Msk (1UL << SCB_CFSR_INVPC_Pos) /*!< SCB
  807. 609:Drivers/CMSIS/Include/core_cm3.h ****
  808. 610:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_INVSTATE_Pos (SCB_CFSR_USGFAULTSR_Pos + 1U) /*!< SCB
  809. 611:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_INVSTATE_Msk (1UL << SCB_CFSR_INVSTATE_Pos) /*!< SCB
  810. 612:Drivers/CMSIS/Include/core_cm3.h ****
  811. 613:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_UNDEFINSTR_Pos (SCB_CFSR_USGFAULTSR_Pos + 0U) /*!< SCB
  812. 614:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_UNDEFINSTR_Msk (1UL << SCB_CFSR_UNDEFINSTR_Pos) /*!< SCB
  813. ARM GAS /tmp/ccMY5QHu.s page 15
  814. 615:Drivers/CMSIS/Include/core_cm3.h ****
  815. 616:Drivers/CMSIS/Include/core_cm3.h **** /* SCB Hard Fault Status Register Definitions */
  816. 617:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_HFSR_DEBUGEVT_Pos 31U /*!< SCB
  817. 618:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_HFSR_DEBUGEVT_Msk (1UL << SCB_HFSR_DEBUGEVT_Pos) /*!< SCB
  818. 619:Drivers/CMSIS/Include/core_cm3.h ****
  819. 620:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_HFSR_FORCED_Pos 30U /*!< SCB
  820. 621:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_HFSR_FORCED_Msk (1UL << SCB_HFSR_FORCED_Pos) /*!< SCB
  821. 622:Drivers/CMSIS/Include/core_cm3.h ****
  822. 623:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_HFSR_VECTTBL_Pos 1U /*!< SCB
  823. 624:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_HFSR_VECTTBL_Msk (1UL << SCB_HFSR_VECTTBL_Pos) /*!< SCB
  824. 625:Drivers/CMSIS/Include/core_cm3.h ****
  825. 626:Drivers/CMSIS/Include/core_cm3.h **** /* SCB Debug Fault Status Register Definitions */
  826. 627:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_EXTERNAL_Pos 4U /*!< SCB
  827. 628:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_EXTERNAL_Msk (1UL << SCB_DFSR_EXTERNAL_Pos) /*!< SCB
  828. 629:Drivers/CMSIS/Include/core_cm3.h ****
  829. 630:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_VCATCH_Pos 3U /*!< SCB
  830. 631:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_VCATCH_Msk (1UL << SCB_DFSR_VCATCH_Pos) /*!< SCB
  831. 632:Drivers/CMSIS/Include/core_cm3.h ****
  832. 633:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_DWTTRAP_Pos 2U /*!< SCB
  833. 634:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_DWTTRAP_Msk (1UL << SCB_DFSR_DWTTRAP_Pos) /*!< SCB
  834. 635:Drivers/CMSIS/Include/core_cm3.h ****
  835. 636:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_BKPT_Pos 1U /*!< SCB
  836. 637:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_BKPT_Msk (1UL << SCB_DFSR_BKPT_Pos) /*!< SCB
  837. 638:Drivers/CMSIS/Include/core_cm3.h ****
  838. 639:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_HALTED_Pos 0U /*!< SCB
  839. 640:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_HALTED_Msk (1UL /*<< SCB_DFSR_HALTED_Pos*/) /*!< SCB
  840. 641:Drivers/CMSIS/Include/core_cm3.h ****
  841. 642:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_SCB */
  842. 643:Drivers/CMSIS/Include/core_cm3.h ****
  843. 644:Drivers/CMSIS/Include/core_cm3.h ****
  844. 645:Drivers/CMSIS/Include/core_cm3.h **** /**
  845. 646:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
  846. 647:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_SCnSCB System Controls not in SCB (SCnSCB)
  847. 648:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the System Control and ID Register not in the SCB
  848. 649:Drivers/CMSIS/Include/core_cm3.h **** @{
  849. 650:Drivers/CMSIS/Include/core_cm3.h **** */
  850. 651:Drivers/CMSIS/Include/core_cm3.h ****
  851. 652:Drivers/CMSIS/Include/core_cm3.h **** /**
  852. 653:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the System Control and ID Register not in the SCB.
  853. 654:Drivers/CMSIS/Include/core_cm3.h **** */
  854. 655:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
  855. 656:Drivers/CMSIS/Include/core_cm3.h **** {
  856. 657:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED0[1U];
  857. 658:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t ICTR; /*!< Offset: 0x004 (R/ ) Interrupt Controller Type Regist
  858. 659:Drivers/CMSIS/Include/core_cm3.h **** #if defined (__CM3_REV) && (__CM3_REV >= 0x200U)
  859. 660:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ACTLR; /*!< Offset: 0x008 (R/W) Auxiliary Control Register */
  860. 661:Drivers/CMSIS/Include/core_cm3.h **** #else
  861. 662:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED1[1U];
  862. 663:Drivers/CMSIS/Include/core_cm3.h **** #endif
  863. 664:Drivers/CMSIS/Include/core_cm3.h **** } SCnSCB_Type;
  864. 665:Drivers/CMSIS/Include/core_cm3.h ****
  865. 666:Drivers/CMSIS/Include/core_cm3.h **** /* Interrupt Controller Type Register Definitions */
  866. 667:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ICTR_INTLINESNUM_Pos 0U /*!< ICTR: I
  867. 668:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ICTR_INTLINESNUM_Msk (0xFUL /*<< SCnSCB_ICTR_INTLINESNUM_Pos*/) /*!< ICTR: I
  868. 669:Drivers/CMSIS/Include/core_cm3.h ****
  869. 670:Drivers/CMSIS/Include/core_cm3.h **** /* Auxiliary Control Register Definitions */
  870. 671:Drivers/CMSIS/Include/core_cm3.h ****
  871. ARM GAS /tmp/ccMY5QHu.s page 16
  872. 672:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ACTLR_DISFOLD_Pos 2U /*!< ACTLR:
  873. 673:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ACTLR_DISFOLD_Msk (1UL << SCnSCB_ACTLR_DISFOLD_Pos) /*!< ACTLR:
  874. 674:Drivers/CMSIS/Include/core_cm3.h ****
  875. 675:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ACTLR_DISDEFWBUF_Pos 1U /*!< ACTLR:
  876. 676:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ACTLR_DISDEFWBUF_Msk (1UL << SCnSCB_ACTLR_DISDEFWBUF_Pos) /*!< ACTLR:
  877. 677:Drivers/CMSIS/Include/core_cm3.h ****
  878. 678:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ACTLR_DISMCYCINT_Pos 0U /*!< ACTLR:
  879. 679:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ACTLR_DISMCYCINT_Msk (1UL /*<< SCnSCB_ACTLR_DISMCYCINT_Pos*/) /*!< ACTLR:
  880. 680:Drivers/CMSIS/Include/core_cm3.h ****
  881. 681:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_SCnotSCB */
  882. 682:Drivers/CMSIS/Include/core_cm3.h ****
  883. 683:Drivers/CMSIS/Include/core_cm3.h ****
  884. 684:Drivers/CMSIS/Include/core_cm3.h **** /**
  885. 685:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
  886. 686:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_SysTick System Tick Timer (SysTick)
  887. 687:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the System Timer Registers.
  888. 688:Drivers/CMSIS/Include/core_cm3.h **** @{
  889. 689:Drivers/CMSIS/Include/core_cm3.h **** */
  890. 690:Drivers/CMSIS/Include/core_cm3.h ****
  891. 691:Drivers/CMSIS/Include/core_cm3.h **** /**
  892. 692:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the System Timer (SysTick).
  893. 693:Drivers/CMSIS/Include/core_cm3.h **** */
  894. 694:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
  895. 695:Drivers/CMSIS/Include/core_cm3.h **** {
  896. 696:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Regis
  897. 697:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t LOAD; /*!< Offset: 0x004 (R/W) SysTick Reload Value Register */
  898. 698:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t VAL; /*!< Offset: 0x008 (R/W) SysTick Current Value Register *
  899. 699:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t CALIB; /*!< Offset: 0x00C (R/ ) SysTick Calibration Register */
  900. 700:Drivers/CMSIS/Include/core_cm3.h **** } SysTick_Type;
  901. 701:Drivers/CMSIS/Include/core_cm3.h ****
  902. 702:Drivers/CMSIS/Include/core_cm3.h **** /* SysTick Control / Status Register Definitions */
  903. 703:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_COUNTFLAG_Pos 16U /*!< SysT
  904. 704:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_COUNTFLAG_Msk (1UL << SysTick_CTRL_COUNTFLAG_Pos) /*!< SysT
  905. 705:Drivers/CMSIS/Include/core_cm3.h ****
  906. 706:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_CLKSOURCE_Pos 2U /*!< SysT
  907. 707:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_CLKSOURCE_Msk (1UL << SysTick_CTRL_CLKSOURCE_Pos) /*!< SysT
  908. 708:Drivers/CMSIS/Include/core_cm3.h ****
  909. 709:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_TICKINT_Pos 1U /*!< SysT
  910. 710:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_TICKINT_Msk (1UL << SysTick_CTRL_TICKINT_Pos) /*!< SysT
  911. 711:Drivers/CMSIS/Include/core_cm3.h ****
  912. 712:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_ENABLE_Pos 0U /*!< SysT
  913. 713:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_ENABLE_Msk (1UL /*<< SysTick_CTRL_ENABLE_Pos*/) /*!< SysT
  914. 714:Drivers/CMSIS/Include/core_cm3.h ****
  915. 715:Drivers/CMSIS/Include/core_cm3.h **** /* SysTick Reload Register Definitions */
  916. 716:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_LOAD_RELOAD_Pos 0U /*!< SysT
  917. 717:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_LOAD_RELOAD_Msk (0xFFFFFFUL /*<< SysTick_LOAD_RELOAD_Pos*/) /*!< SysT
  918. 718:Drivers/CMSIS/Include/core_cm3.h ****
  919. 719:Drivers/CMSIS/Include/core_cm3.h **** /* SysTick Current Register Definitions */
  920. 720:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_VAL_CURRENT_Pos 0U /*!< SysT
  921. 721:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_VAL_CURRENT_Msk (0xFFFFFFUL /*<< SysTick_VAL_CURRENT_Pos*/) /*!< SysT
  922. 722:Drivers/CMSIS/Include/core_cm3.h ****
  923. 723:Drivers/CMSIS/Include/core_cm3.h **** /* SysTick Calibration Register Definitions */
  924. 724:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CALIB_NOREF_Pos 31U /*!< SysT
  925. 725:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CALIB_NOREF_Msk (1UL << SysTick_CALIB_NOREF_Pos) /*!< SysT
  926. 726:Drivers/CMSIS/Include/core_cm3.h ****
  927. 727:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CALIB_SKEW_Pos 30U /*!< SysT
  928. 728:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CALIB_SKEW_Msk (1UL << SysTick_CALIB_SKEW_Pos) /*!< SysT
  929. ARM GAS /tmp/ccMY5QHu.s page 17
  930. 729:Drivers/CMSIS/Include/core_cm3.h ****
  931. 730:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CALIB_TENMS_Pos 0U /*!< SysT
  932. 731:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CALIB_TENMS_Msk (0xFFFFFFUL /*<< SysTick_CALIB_TENMS_Pos*/) /*!< SysT
  933. 732:Drivers/CMSIS/Include/core_cm3.h ****
  934. 733:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_SysTick */
  935. 734:Drivers/CMSIS/Include/core_cm3.h ****
  936. 735:Drivers/CMSIS/Include/core_cm3.h ****
  937. 736:Drivers/CMSIS/Include/core_cm3.h **** /**
  938. 737:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
  939. 738:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_ITM Instrumentation Trace Macrocell (ITM)
  940. 739:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the Instrumentation Trace Macrocell (ITM)
  941. 740:Drivers/CMSIS/Include/core_cm3.h **** @{
  942. 741:Drivers/CMSIS/Include/core_cm3.h **** */
  943. 742:Drivers/CMSIS/Include/core_cm3.h ****
  944. 743:Drivers/CMSIS/Include/core_cm3.h **** /**
  945. 744:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the Instrumentation Trace Macrocell Register (ITM).
  946. 745:Drivers/CMSIS/Include/core_cm3.h **** */
  947. 746:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
  948. 747:Drivers/CMSIS/Include/core_cm3.h **** {
  949. 748:Drivers/CMSIS/Include/core_cm3.h **** __OM union
  950. 749:Drivers/CMSIS/Include/core_cm3.h **** {
  951. 750:Drivers/CMSIS/Include/core_cm3.h **** __OM uint8_t u8; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 8-bit */
  952. 751:Drivers/CMSIS/Include/core_cm3.h **** __OM uint16_t u16; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 16-bit */
  953. 752:Drivers/CMSIS/Include/core_cm3.h **** __OM uint32_t u32; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 32-bit */
  954. 753:Drivers/CMSIS/Include/core_cm3.h **** } PORT [32U]; /*!< Offset: 0x000 ( /W) ITM Stimulus Port Registers */
  955. 754:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED0[864U];
  956. 755:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t TER; /*!< Offset: 0xE00 (R/W) ITM Trace Enable Register */
  957. 756:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED1[15U];
  958. 757:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t TPR; /*!< Offset: 0xE40 (R/W) ITM Trace Privilege Register */
  959. 758:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED2[15U];
  960. 759:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t TCR; /*!< Offset: 0xE80 (R/W) ITM Trace Control Register */
  961. 760:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED3[29U];
  962. 761:Drivers/CMSIS/Include/core_cm3.h **** __OM uint32_t IWR; /*!< Offset: 0xEF8 ( /W) ITM Integration Write Register *
  963. 762:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t IRR; /*!< Offset: 0xEFC (R/ ) ITM Integration Read Register */
  964. 763:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t IMCR; /*!< Offset: 0xF00 (R/W) ITM Integration Mode Control Reg
  965. 764:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED4[43U];
  966. 765:Drivers/CMSIS/Include/core_cm3.h **** __OM uint32_t LAR; /*!< Offset: 0xFB0 ( /W) ITM Lock Access Register */
  967. 766:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t LSR; /*!< Offset: 0xFB4 (R/ ) ITM Lock Status Register */
  968. 767:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED5[6U];
  969. 768:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID4; /*!< Offset: 0xFD0 (R/ ) ITM Peripheral Identification Re
  970. 769:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID5; /*!< Offset: 0xFD4 (R/ ) ITM Peripheral Identification Re
  971. 770:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID6; /*!< Offset: 0xFD8 (R/ ) ITM Peripheral Identification Re
  972. 771:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID7; /*!< Offset: 0xFDC (R/ ) ITM Peripheral Identification Re
  973. 772:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID0; /*!< Offset: 0xFE0 (R/ ) ITM Peripheral Identification Re
  974. 773:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID1; /*!< Offset: 0xFE4 (R/ ) ITM Peripheral Identification Re
  975. 774:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID2; /*!< Offset: 0xFE8 (R/ ) ITM Peripheral Identification Re
  976. 775:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID3; /*!< Offset: 0xFEC (R/ ) ITM Peripheral Identification Re
  977. 776:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t CID0; /*!< Offset: 0xFF0 (R/ ) ITM Component Identification Re
  978. 777:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t CID1; /*!< Offset: 0xFF4 (R/ ) ITM Component Identification Re
  979. 778:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t CID2; /*!< Offset: 0xFF8 (R/ ) ITM Component Identification Re
  980. 779:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t CID3; /*!< Offset: 0xFFC (R/ ) ITM Component Identification Re
  981. 780:Drivers/CMSIS/Include/core_cm3.h **** } ITM_Type;
  982. 781:Drivers/CMSIS/Include/core_cm3.h ****
  983. 782:Drivers/CMSIS/Include/core_cm3.h **** /* ITM Trace Privilege Register Definitions */
  984. 783:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TPR_PRIVMASK_Pos 0U /*!< ITM
  985. 784:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TPR_PRIVMASK_Msk (0xFFFFFFFFUL /*<< ITM_TPR_PRIVMASK_Pos*/) /*!< ITM
  986. 785:Drivers/CMSIS/Include/core_cm3.h ****
  987. ARM GAS /tmp/ccMY5QHu.s page 18
  988. 786:Drivers/CMSIS/Include/core_cm3.h **** /* ITM Trace Control Register Definitions */
  989. 787:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_BUSY_Pos 23U /*!< ITM
  990. 788:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_BUSY_Msk (1UL << ITM_TCR_BUSY_Pos) /*!< ITM
  991. 789:Drivers/CMSIS/Include/core_cm3.h ****
  992. 790:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_TraceBusID_Pos 16U /*!< ITM
  993. 791:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_TraceBusID_Msk (0x7FUL << ITM_TCR_TraceBusID_Pos) /*!< ITM
  994. 792:Drivers/CMSIS/Include/core_cm3.h ****
  995. 793:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_GTSFREQ_Pos 10U /*!< ITM
  996. 794:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_GTSFREQ_Msk (3UL << ITM_TCR_GTSFREQ_Pos) /*!< ITM
  997. 795:Drivers/CMSIS/Include/core_cm3.h ****
  998. 796:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_TSPrescale_Pos 8U /*!< ITM
  999. 797:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_TSPrescale_Msk (3UL << ITM_TCR_TSPrescale_Pos) /*!< ITM
  1000. 798:Drivers/CMSIS/Include/core_cm3.h ****
  1001. 799:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_SWOENA_Pos 4U /*!< ITM
  1002. 800:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_SWOENA_Msk (1UL << ITM_TCR_SWOENA_Pos) /*!< ITM
  1003. 801:Drivers/CMSIS/Include/core_cm3.h ****
  1004. 802:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_DWTENA_Pos 3U /*!< ITM
  1005. 803:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_DWTENA_Msk (1UL << ITM_TCR_DWTENA_Pos) /*!< ITM
  1006. 804:Drivers/CMSIS/Include/core_cm3.h ****
  1007. 805:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_SYNCENA_Pos 2U /*!< ITM
  1008. 806:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_SYNCENA_Msk (1UL << ITM_TCR_SYNCENA_Pos) /*!< ITM
  1009. 807:Drivers/CMSIS/Include/core_cm3.h ****
  1010. 808:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_TSENA_Pos 1U /*!< ITM
  1011. 809:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_TSENA_Msk (1UL << ITM_TCR_TSENA_Pos) /*!< ITM
  1012. 810:Drivers/CMSIS/Include/core_cm3.h ****
  1013. 811:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_ITMENA_Pos 0U /*!< ITM
  1014. 812:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_ITMENA_Msk (1UL /*<< ITM_TCR_ITMENA_Pos*/) /*!< ITM
  1015. 813:Drivers/CMSIS/Include/core_cm3.h ****
  1016. 814:Drivers/CMSIS/Include/core_cm3.h **** /* ITM Integration Write Register Definitions */
  1017. 815:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_IWR_ATVALIDM_Pos 0U /*!< ITM
  1018. 816:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_IWR_ATVALIDM_Msk (1UL /*<< ITM_IWR_ATVALIDM_Pos*/) /*!< ITM
  1019. 817:Drivers/CMSIS/Include/core_cm3.h ****
  1020. 818:Drivers/CMSIS/Include/core_cm3.h **** /* ITM Integration Read Register Definitions */
  1021. 819:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_IRR_ATREADYM_Pos 0U /*!< ITM
  1022. 820:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_IRR_ATREADYM_Msk (1UL /*<< ITM_IRR_ATREADYM_Pos*/) /*!< ITM
  1023. 821:Drivers/CMSIS/Include/core_cm3.h ****
  1024. 822:Drivers/CMSIS/Include/core_cm3.h **** /* ITM Integration Mode Control Register Definitions */
  1025. 823:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_IMCR_INTEGRATION_Pos 0U /*!< ITM
  1026. 824:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_IMCR_INTEGRATION_Msk (1UL /*<< ITM_IMCR_INTEGRATION_Pos*/) /*!< ITM
  1027. 825:Drivers/CMSIS/Include/core_cm3.h ****
  1028. 826:Drivers/CMSIS/Include/core_cm3.h **** /* ITM Lock Status Register Definitions */
  1029. 827:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_LSR_ByteAcc_Pos 2U /*!< ITM
  1030. 828:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_LSR_ByteAcc_Msk (1UL << ITM_LSR_ByteAcc_Pos) /*!< ITM
  1031. 829:Drivers/CMSIS/Include/core_cm3.h ****
  1032. 830:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_LSR_Access_Pos 1U /*!< ITM
  1033. 831:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_LSR_Access_Msk (1UL << ITM_LSR_Access_Pos) /*!< ITM
  1034. 832:Drivers/CMSIS/Include/core_cm3.h ****
  1035. 833:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_LSR_Present_Pos 0U /*!< ITM
  1036. 834:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_LSR_Present_Msk (1UL /*<< ITM_LSR_Present_Pos*/) /*!< ITM
  1037. 835:Drivers/CMSIS/Include/core_cm3.h ****
  1038. 836:Drivers/CMSIS/Include/core_cm3.h **** /*@}*/ /* end of group CMSIS_ITM */
  1039. 837:Drivers/CMSIS/Include/core_cm3.h ****
  1040. 838:Drivers/CMSIS/Include/core_cm3.h ****
  1041. 839:Drivers/CMSIS/Include/core_cm3.h **** /**
  1042. 840:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
  1043. 841:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_DWT Data Watchpoint and Trace (DWT)
  1044. 842:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the Data Watchpoint and Trace (DWT)
  1045. ARM GAS /tmp/ccMY5QHu.s page 19
  1046. 843:Drivers/CMSIS/Include/core_cm3.h **** @{
  1047. 844:Drivers/CMSIS/Include/core_cm3.h **** */
  1048. 845:Drivers/CMSIS/Include/core_cm3.h ****
  1049. 846:Drivers/CMSIS/Include/core_cm3.h **** /**
  1050. 847:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the Data Watchpoint and Trace Register (DWT).
  1051. 848:Drivers/CMSIS/Include/core_cm3.h **** */
  1052. 849:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
  1053. 850:Drivers/CMSIS/Include/core_cm3.h **** {
  1054. 851:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) Control Register */
  1055. 852:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CYCCNT; /*!< Offset: 0x004 (R/W) Cycle Count Register */
  1056. 853:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CPICNT; /*!< Offset: 0x008 (R/W) CPI Count Register */
  1057. 854:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t EXCCNT; /*!< Offset: 0x00C (R/W) Exception Overhead Count Registe
  1058. 855:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t SLEEPCNT; /*!< Offset: 0x010 (R/W) Sleep Count Register */
  1059. 856:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t LSUCNT; /*!< Offset: 0x014 (R/W) LSU Count Register */
  1060. 857:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t FOLDCNT; /*!< Offset: 0x018 (R/W) Folded-instruction Count Registe
  1061. 858:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PCSR; /*!< Offset: 0x01C (R/ ) Program Counter Sample Register
  1062. 859:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t COMP0; /*!< Offset: 0x020 (R/W) Comparator Register 0 */
  1063. 860:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t MASK0; /*!< Offset: 0x024 (R/W) Mask Register 0 */
  1064. 861:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t FUNCTION0; /*!< Offset: 0x028 (R/W) Function Register 0 */
  1065. 862:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED0[1U];
  1066. 863:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t COMP1; /*!< Offset: 0x030 (R/W) Comparator Register 1 */
  1067. 864:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t MASK1; /*!< Offset: 0x034 (R/W) Mask Register 1 */
  1068. 865:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t FUNCTION1; /*!< Offset: 0x038 (R/W) Function Register 1 */
  1069. 866:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED1[1U];
  1070. 867:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t COMP2; /*!< Offset: 0x040 (R/W) Comparator Register 2 */
  1071. 868:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t MASK2; /*!< Offset: 0x044 (R/W) Mask Register 2 */
  1072. 869:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t FUNCTION2; /*!< Offset: 0x048 (R/W) Function Register 2 */
  1073. 870:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED2[1U];
  1074. 871:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t COMP3; /*!< Offset: 0x050 (R/W) Comparator Register 3 */
  1075. 872:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t MASK3; /*!< Offset: 0x054 (R/W) Mask Register 3 */
  1076. 873:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t FUNCTION3; /*!< Offset: 0x058 (R/W) Function Register 3 */
  1077. 874:Drivers/CMSIS/Include/core_cm3.h **** } DWT_Type;
  1078. 875:Drivers/CMSIS/Include/core_cm3.h ****
  1079. 876:Drivers/CMSIS/Include/core_cm3.h **** /* DWT Control Register Definitions */
  1080. 877:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NUMCOMP_Pos 28U /*!< DWT CTR
  1081. 878:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NUMCOMP_Msk (0xFUL << DWT_CTRL_NUMCOMP_Pos) /*!< DWT CTR
  1082. 879:Drivers/CMSIS/Include/core_cm3.h ****
  1083. 880:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOTRCPKT_Pos 27U /*!< DWT CTR
  1084. 881:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOTRCPKT_Msk (0x1UL << DWT_CTRL_NOTRCPKT_Pos) /*!< DWT CTR
  1085. 882:Drivers/CMSIS/Include/core_cm3.h ****
  1086. 883:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOEXTTRIG_Pos 26U /*!< DWT CTR
  1087. 884:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOEXTTRIG_Msk (0x1UL << DWT_CTRL_NOEXTTRIG_Pos) /*!< DWT CTR
  1088. 885:Drivers/CMSIS/Include/core_cm3.h ****
  1089. 886:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOCYCCNT_Pos 25U /*!< DWT CTR
  1090. 887:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOCYCCNT_Msk (0x1UL << DWT_CTRL_NOCYCCNT_Pos) /*!< DWT CTR
  1091. 888:Drivers/CMSIS/Include/core_cm3.h ****
  1092. 889:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOPRFCNT_Pos 24U /*!< DWT CTR
  1093. 890:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOPRFCNT_Msk (0x1UL << DWT_CTRL_NOPRFCNT_Pos) /*!< DWT CTR
  1094. 891:Drivers/CMSIS/Include/core_cm3.h ****
  1095. 892:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CYCEVTENA_Pos 22U /*!< DWT CTR
  1096. 893:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CYCEVTENA_Msk (0x1UL << DWT_CTRL_CYCEVTENA_Pos) /*!< DWT CTR
  1097. 894:Drivers/CMSIS/Include/core_cm3.h ****
  1098. 895:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_FOLDEVTENA_Pos 21U /*!< DWT CTR
  1099. 896:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_FOLDEVTENA_Msk (0x1UL << DWT_CTRL_FOLDEVTENA_Pos) /*!< DWT CTR
  1100. 897:Drivers/CMSIS/Include/core_cm3.h ****
  1101. 898:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_LSUEVTENA_Pos 20U /*!< DWT CTR
  1102. 899:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_LSUEVTENA_Msk (0x1UL << DWT_CTRL_LSUEVTENA_Pos) /*!< DWT CTR
  1103. ARM GAS /tmp/ccMY5QHu.s page 20
  1104. 900:Drivers/CMSIS/Include/core_cm3.h ****
  1105. 901:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_SLEEPEVTENA_Pos 19U /*!< DWT CTR
  1106. 902:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_SLEEPEVTENA_Msk (0x1UL << DWT_CTRL_SLEEPEVTENA_Pos) /*!< DWT CTR
  1107. 903:Drivers/CMSIS/Include/core_cm3.h ****
  1108. 904:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_EXCEVTENA_Pos 18U /*!< DWT CTR
  1109. 905:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_EXCEVTENA_Msk (0x1UL << DWT_CTRL_EXCEVTENA_Pos) /*!< DWT CTR
  1110. 906:Drivers/CMSIS/Include/core_cm3.h ****
  1111. 907:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CPIEVTENA_Pos 17U /*!< DWT CTR
  1112. 908:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CPIEVTENA_Msk (0x1UL << DWT_CTRL_CPIEVTENA_Pos) /*!< DWT CTR
  1113. 909:Drivers/CMSIS/Include/core_cm3.h ****
  1114. 910:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_EXCTRCENA_Pos 16U /*!< DWT CTR
  1115. 911:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_EXCTRCENA_Msk (0x1UL << DWT_CTRL_EXCTRCENA_Pos) /*!< DWT CTR
  1116. 912:Drivers/CMSIS/Include/core_cm3.h ****
  1117. 913:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_PCSAMPLENA_Pos 12U /*!< DWT CTR
  1118. 914:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_PCSAMPLENA_Msk (0x1UL << DWT_CTRL_PCSAMPLENA_Pos) /*!< DWT CTR
  1119. 915:Drivers/CMSIS/Include/core_cm3.h ****
  1120. 916:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_SYNCTAP_Pos 10U /*!< DWT CTR
  1121. 917:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_SYNCTAP_Msk (0x3UL << DWT_CTRL_SYNCTAP_Pos) /*!< DWT CTR
  1122. 918:Drivers/CMSIS/Include/core_cm3.h ****
  1123. 919:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CYCTAP_Pos 9U /*!< DWT CTR
  1124. 920:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CYCTAP_Msk (0x1UL << DWT_CTRL_CYCTAP_Pos) /*!< DWT CTR
  1125. 921:Drivers/CMSIS/Include/core_cm3.h ****
  1126. 922:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_POSTINIT_Pos 5U /*!< DWT CTR
  1127. 923:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_POSTINIT_Msk (0xFUL << DWT_CTRL_POSTINIT_Pos) /*!< DWT CTR
  1128. 924:Drivers/CMSIS/Include/core_cm3.h ****
  1129. 925:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_POSTPRESET_Pos 1U /*!< DWT CTR
  1130. 926:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_POSTPRESET_Msk (0xFUL << DWT_CTRL_POSTPRESET_Pos) /*!< DWT CTR
  1131. 927:Drivers/CMSIS/Include/core_cm3.h ****
  1132. 928:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CYCCNTENA_Pos 0U /*!< DWT CTR
  1133. 929:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CYCCNTENA_Msk (0x1UL /*<< DWT_CTRL_CYCCNTENA_Pos*/) /*!< DWT CTR
  1134. 930:Drivers/CMSIS/Include/core_cm3.h ****
  1135. 931:Drivers/CMSIS/Include/core_cm3.h **** /* DWT CPI Count Register Definitions */
  1136. 932:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CPICNT_CPICNT_Pos 0U /*!< DWT CPI
  1137. 933:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CPICNT_CPICNT_Msk (0xFFUL /*<< DWT_CPICNT_CPICNT_Pos*/) /*!< DWT CPI
  1138. 934:Drivers/CMSIS/Include/core_cm3.h ****
  1139. 935:Drivers/CMSIS/Include/core_cm3.h **** /* DWT Exception Overhead Count Register Definitions */
  1140. 936:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_EXCCNT_EXCCNT_Pos 0U /*!< DWT EXC
  1141. 937:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_EXCCNT_EXCCNT_Msk (0xFFUL /*<< DWT_EXCCNT_EXCCNT_Pos*/) /*!< DWT EXC
  1142. 938:Drivers/CMSIS/Include/core_cm3.h ****
  1143. 939:Drivers/CMSIS/Include/core_cm3.h **** /* DWT Sleep Count Register Definitions */
  1144. 940:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_SLEEPCNT_SLEEPCNT_Pos 0U /*!< DWT SLE
  1145. 941:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_SLEEPCNT_SLEEPCNT_Msk (0xFFUL /*<< DWT_SLEEPCNT_SLEEPCNT_Pos*/) /*!< DWT SLE
  1146. 942:Drivers/CMSIS/Include/core_cm3.h ****
  1147. 943:Drivers/CMSIS/Include/core_cm3.h **** /* DWT LSU Count Register Definitions */
  1148. 944:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_LSUCNT_LSUCNT_Pos 0U /*!< DWT LSU
  1149. 945:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_LSUCNT_LSUCNT_Msk (0xFFUL /*<< DWT_LSUCNT_LSUCNT_Pos*/) /*!< DWT LSU
  1150. 946:Drivers/CMSIS/Include/core_cm3.h ****
  1151. 947:Drivers/CMSIS/Include/core_cm3.h **** /* DWT Folded-instruction Count Register Definitions */
  1152. 948:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FOLDCNT_FOLDCNT_Pos 0U /*!< DWT FOL
  1153. 949:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FOLDCNT_FOLDCNT_Msk (0xFFUL /*<< DWT_FOLDCNT_FOLDCNT_Pos*/) /*!< DWT FOL
  1154. 950:Drivers/CMSIS/Include/core_cm3.h ****
  1155. 951:Drivers/CMSIS/Include/core_cm3.h **** /* DWT Comparator Mask Register Definitions */
  1156. 952:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_MASK_MASK_Pos 0U /*!< DWT MAS
  1157. 953:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_MASK_MASK_Msk (0x1FUL /*<< DWT_MASK_MASK_Pos*/) /*!< DWT MAS
  1158. 954:Drivers/CMSIS/Include/core_cm3.h ****
  1159. 955:Drivers/CMSIS/Include/core_cm3.h **** /* DWT Comparator Function Register Definitions */
  1160. 956:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_MATCHED_Pos 24U /*!< DWT FUN
  1161. ARM GAS /tmp/ccMY5QHu.s page 21
  1162. 957:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_MATCHED_Msk (0x1UL << DWT_FUNCTION_MATCHED_Pos) /*!< DWT FUN
  1163. 958:Drivers/CMSIS/Include/core_cm3.h ****
  1164. 959:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVADDR1_Pos 16U /*!< DWT FUN
  1165. 960:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVADDR1_Msk (0xFUL << DWT_FUNCTION_DATAVADDR1_Pos) /*!< DWT FUN
  1166. 961:Drivers/CMSIS/Include/core_cm3.h ****
  1167. 962:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVADDR0_Pos 12U /*!< DWT FUN
  1168. 963:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVADDR0_Msk (0xFUL << DWT_FUNCTION_DATAVADDR0_Pos) /*!< DWT FUN
  1169. 964:Drivers/CMSIS/Include/core_cm3.h ****
  1170. 965:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVSIZE_Pos 10U /*!< DWT FUN
  1171. 966:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVSIZE_Msk (0x3UL << DWT_FUNCTION_DATAVSIZE_Pos) /*!< DWT FUN
  1172. 967:Drivers/CMSIS/Include/core_cm3.h ****
  1173. 968:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_LNK1ENA_Pos 9U /*!< DWT FUN
  1174. 969:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_LNK1ENA_Msk (0x1UL << DWT_FUNCTION_LNK1ENA_Pos) /*!< DWT FUN
  1175. 970:Drivers/CMSIS/Include/core_cm3.h ****
  1176. 971:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVMATCH_Pos 8U /*!< DWT FUN
  1177. 972:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVMATCH_Msk (0x1UL << DWT_FUNCTION_DATAVMATCH_Pos) /*!< DWT FUN
  1178. 973:Drivers/CMSIS/Include/core_cm3.h ****
  1179. 974:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_CYCMATCH_Pos 7U /*!< DWT FUN
  1180. 975:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_CYCMATCH_Msk (0x1UL << DWT_FUNCTION_CYCMATCH_Pos) /*!< DWT FUN
  1181. 976:Drivers/CMSIS/Include/core_cm3.h ****
  1182. 977:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_EMITRANGE_Pos 5U /*!< DWT FUN
  1183. 978:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_EMITRANGE_Msk (0x1UL << DWT_FUNCTION_EMITRANGE_Pos) /*!< DWT FUN
  1184. 979:Drivers/CMSIS/Include/core_cm3.h ****
  1185. 980:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_FUNCTION_Pos 0U /*!< DWT FUN
  1186. 981:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_FUNCTION_Msk (0xFUL /*<< DWT_FUNCTION_FUNCTION_Pos*/) /*!< DWT FUN
  1187. 982:Drivers/CMSIS/Include/core_cm3.h ****
  1188. 983:Drivers/CMSIS/Include/core_cm3.h **** /*@}*/ /* end of group CMSIS_DWT */
  1189. 984:Drivers/CMSIS/Include/core_cm3.h ****
  1190. 985:Drivers/CMSIS/Include/core_cm3.h ****
  1191. 986:Drivers/CMSIS/Include/core_cm3.h **** /**
  1192. 987:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
  1193. 988:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_TPI Trace Port Interface (TPI)
  1194. 989:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the Trace Port Interface (TPI)
  1195. 990:Drivers/CMSIS/Include/core_cm3.h **** @{
  1196. 991:Drivers/CMSIS/Include/core_cm3.h **** */
  1197. 992:Drivers/CMSIS/Include/core_cm3.h ****
  1198. 993:Drivers/CMSIS/Include/core_cm3.h **** /**
  1199. 994:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the Trace Port Interface Register (TPI).
  1200. 995:Drivers/CMSIS/Include/core_cm3.h **** */
  1201. 996:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
  1202. 997:Drivers/CMSIS/Include/core_cm3.h **** {
  1203. 998:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t SSPSR; /*!< Offset: 0x000 (R/ ) Supported Parallel Port Size Reg
  1204. 999:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CSPSR; /*!< Offset: 0x004 (R/W) Current Parallel Port Size Regis
  1205. 1000:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED0[2U];
  1206. 1001:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ACPR; /*!< Offset: 0x010 (R/W) Asynchronous Clock Prescaler Reg
  1207. 1002:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED1[55U];
  1208. 1003:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t SPPR; /*!< Offset: 0x0F0 (R/W) Selected Pin Protocol Register *
  1209. 1004:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED2[131U];
  1210. 1005:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t FFSR; /*!< Offset: 0x300 (R/ ) Formatter and Flush Status Regis
  1211. 1006:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t FFCR; /*!< Offset: 0x304 (R/W) Formatter and Flush Control Regi
  1212. 1007:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t FSCR; /*!< Offset: 0x308 (R/ ) Formatter Synchronization Counte
  1213. 1008:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED3[759U];
  1214. 1009:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t TRIGGER; /*!< Offset: 0xEE8 (R/ ) TRIGGER Register */
  1215. 1010:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t FIFO0; /*!< Offset: 0xEEC (R/ ) Integration ETM Data */
  1216. 1011:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t ITATBCTR2; /*!< Offset: 0xEF0 (R/ ) ITATBCTR2 */
  1217. 1012:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED4[1U];
  1218. 1013:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t ITATBCTR0; /*!< Offset: 0xEF8 (R/ ) ITATBCTR0 */
  1219. ARM GAS /tmp/ccMY5QHu.s page 22
  1220. 1014:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t FIFO1; /*!< Offset: 0xEFC (R/ ) Integration ITM Data */
  1221. 1015:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ITCTRL; /*!< Offset: 0xF00 (R/W) Integration Mode Control */
  1222. 1016:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED5[39U];
  1223. 1017:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CLAIMSET; /*!< Offset: 0xFA0 (R/W) Claim tag set */
  1224. 1018:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CLAIMCLR; /*!< Offset: 0xFA4 (R/W) Claim tag clear */
  1225. 1019:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED7[8U];
  1226. 1020:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t DEVID; /*!< Offset: 0xFC8 (R/ ) TPIU_DEVID */
  1227. 1021:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t DEVTYPE; /*!< Offset: 0xFCC (R/ ) TPIU_DEVTYPE */
  1228. 1022:Drivers/CMSIS/Include/core_cm3.h **** } TPI_Type;
  1229. 1023:Drivers/CMSIS/Include/core_cm3.h ****
  1230. 1024:Drivers/CMSIS/Include/core_cm3.h **** /* TPI Asynchronous Clock Prescaler Register Definitions */
  1231. 1025:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ACPR_PRESCALER_Pos 0U /*!< TPI ACP
  1232. 1026:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ACPR_PRESCALER_Msk (0x1FFFUL /*<< TPI_ACPR_PRESCALER_Pos*/) /*!< TPI ACP
  1233. 1027:Drivers/CMSIS/Include/core_cm3.h ****
  1234. 1028:Drivers/CMSIS/Include/core_cm3.h **** /* TPI Selected Pin Protocol Register Definitions */
  1235. 1029:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_SPPR_TXMODE_Pos 0U /*!< TPI SPP
  1236. 1030:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_SPPR_TXMODE_Msk (0x3UL /*<< TPI_SPPR_TXMODE_Pos*/) /*!< TPI SPP
  1237. 1031:Drivers/CMSIS/Include/core_cm3.h ****
  1238. 1032:Drivers/CMSIS/Include/core_cm3.h **** /* TPI Formatter and Flush Status Register Definitions */
  1239. 1033:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_FtNonStop_Pos 3U /*!< TPI FFS
  1240. 1034:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_FtNonStop_Msk (0x1UL << TPI_FFSR_FtNonStop_Pos) /*!< TPI FFS
  1241. 1035:Drivers/CMSIS/Include/core_cm3.h ****
  1242. 1036:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_TCPresent_Pos 2U /*!< TPI FFS
  1243. 1037:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_TCPresent_Msk (0x1UL << TPI_FFSR_TCPresent_Pos) /*!< TPI FFS
  1244. 1038:Drivers/CMSIS/Include/core_cm3.h ****
  1245. 1039:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_FtStopped_Pos 1U /*!< TPI FFS
  1246. 1040:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_FtStopped_Msk (0x1UL << TPI_FFSR_FtStopped_Pos) /*!< TPI FFS
  1247. 1041:Drivers/CMSIS/Include/core_cm3.h ****
  1248. 1042:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_FlInProg_Pos 0U /*!< TPI FFS
  1249. 1043:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_FlInProg_Msk (0x1UL /*<< TPI_FFSR_FlInProg_Pos*/) /*!< TPI FFS
  1250. 1044:Drivers/CMSIS/Include/core_cm3.h ****
  1251. 1045:Drivers/CMSIS/Include/core_cm3.h **** /* TPI Formatter and Flush Control Register Definitions */
  1252. 1046:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFCR_TrigIn_Pos 8U /*!< TPI FFC
  1253. 1047:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFCR_TrigIn_Msk (0x1UL << TPI_FFCR_TrigIn_Pos) /*!< TPI FFC
  1254. 1048:Drivers/CMSIS/Include/core_cm3.h ****
  1255. 1049:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFCR_EnFCont_Pos 1U /*!< TPI FFC
  1256. 1050:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFCR_EnFCont_Msk (0x1UL << TPI_FFCR_EnFCont_Pos) /*!< TPI FFC
  1257. 1051:Drivers/CMSIS/Include/core_cm3.h ****
  1258. 1052:Drivers/CMSIS/Include/core_cm3.h **** /* TPI TRIGGER Register Definitions */
  1259. 1053:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_TRIGGER_TRIGGER_Pos 0U /*!< TPI TRI
  1260. 1054:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_TRIGGER_TRIGGER_Msk (0x1UL /*<< TPI_TRIGGER_TRIGGER_Pos*/) /*!< TPI TRI
  1261. 1055:Drivers/CMSIS/Include/core_cm3.h ****
  1262. 1056:Drivers/CMSIS/Include/core_cm3.h **** /* TPI Integration ETM Data Register Definitions (FIFO0) */
  1263. 1057:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ITM_ATVALID_Pos 29U /*!< TPI FIF
  1264. 1058:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ITM_ATVALID_Msk (0x3UL << TPI_FIFO0_ITM_ATVALID_Pos) /*!< TPI FIF
  1265. 1059:Drivers/CMSIS/Include/core_cm3.h ****
  1266. 1060:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ITM_bytecount_Pos 27U /*!< TPI FIF
  1267. 1061:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ITM_bytecount_Msk (0x3UL << TPI_FIFO0_ITM_bytecount_Pos) /*!< TPI FIF
  1268. 1062:Drivers/CMSIS/Include/core_cm3.h ****
  1269. 1063:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM_ATVALID_Pos 26U /*!< TPI FIF
  1270. 1064:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM_ATVALID_Msk (0x3UL << TPI_FIFO0_ETM_ATVALID_Pos) /*!< TPI FIF
  1271. 1065:Drivers/CMSIS/Include/core_cm3.h ****
  1272. 1066:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM_bytecount_Pos 24U /*!< TPI FIF
  1273. 1067:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM_bytecount_Msk (0x3UL << TPI_FIFO0_ETM_bytecount_Pos) /*!< TPI FIF
  1274. 1068:Drivers/CMSIS/Include/core_cm3.h ****
  1275. 1069:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM2_Pos 16U /*!< TPI FIF
  1276. 1070:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM2_Msk (0xFFUL << TPI_FIFO0_ETM2_Pos) /*!< TPI FIF
  1277. ARM GAS /tmp/ccMY5QHu.s page 23
  1278. 1071:Drivers/CMSIS/Include/core_cm3.h ****
  1279. 1072:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM1_Pos 8U /*!< TPI FIF
  1280. 1073:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM1_Msk (0xFFUL << TPI_FIFO0_ETM1_Pos) /*!< TPI FIF
  1281. 1074:Drivers/CMSIS/Include/core_cm3.h ****
  1282. 1075:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM0_Pos 0U /*!< TPI FIF
  1283. 1076:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM0_Msk (0xFFUL /*<< TPI_FIFO0_ETM0_Pos*/) /*!< TPI FIF
  1284. 1077:Drivers/CMSIS/Include/core_cm3.h ****
  1285. 1078:Drivers/CMSIS/Include/core_cm3.h **** /* TPI ITATBCTR2 Register Definitions */
  1286. 1079:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR2_ATREADY2_Pos 0U /*!< TPI ITA
  1287. 1080:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR2_ATREADY2_Msk (0x1UL /*<< TPI_ITATBCTR2_ATREADY2_Pos*/) /*!< TPI ITA
  1288. 1081:Drivers/CMSIS/Include/core_cm3.h ****
  1289. 1082:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR2_ATREADY1_Pos 0U /*!< TPI ITA
  1290. 1083:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR2_ATREADY1_Msk (0x1UL /*<< TPI_ITATBCTR2_ATREADY1_Pos*/) /*!< TPI ITA
  1291. 1084:Drivers/CMSIS/Include/core_cm3.h ****
  1292. 1085:Drivers/CMSIS/Include/core_cm3.h **** /* TPI Integration ITM Data Register Definitions (FIFO1) */
  1293. 1086:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM_ATVALID_Pos 29U /*!< TPI FIF
  1294. 1087:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM_ATVALID_Msk (0x3UL << TPI_FIFO1_ITM_ATVALID_Pos) /*!< TPI FIF
  1295. 1088:Drivers/CMSIS/Include/core_cm3.h ****
  1296. 1089:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM_bytecount_Pos 27U /*!< TPI FIF
  1297. 1090:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM_bytecount_Msk (0x3UL << TPI_FIFO1_ITM_bytecount_Pos) /*!< TPI FIF
  1298. 1091:Drivers/CMSIS/Include/core_cm3.h ****
  1299. 1092:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ETM_ATVALID_Pos 26U /*!< TPI FIF
  1300. 1093:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ETM_ATVALID_Msk (0x3UL << TPI_FIFO1_ETM_ATVALID_Pos) /*!< TPI FIF
  1301. 1094:Drivers/CMSIS/Include/core_cm3.h ****
  1302. 1095:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ETM_bytecount_Pos 24U /*!< TPI FIF
  1303. 1096:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ETM_bytecount_Msk (0x3UL << TPI_FIFO1_ETM_bytecount_Pos) /*!< TPI FIF
  1304. 1097:Drivers/CMSIS/Include/core_cm3.h ****
  1305. 1098:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM2_Pos 16U /*!< TPI FIF
  1306. 1099:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM2_Msk (0xFFUL << TPI_FIFO1_ITM2_Pos) /*!< TPI FIF
  1307. 1100:Drivers/CMSIS/Include/core_cm3.h ****
  1308. 1101:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM1_Pos 8U /*!< TPI FIF
  1309. 1102:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM1_Msk (0xFFUL << TPI_FIFO1_ITM1_Pos) /*!< TPI FIF
  1310. 1103:Drivers/CMSIS/Include/core_cm3.h ****
  1311. 1104:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM0_Pos 0U /*!< TPI FIF
  1312. 1105:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM0_Msk (0xFFUL /*<< TPI_FIFO1_ITM0_Pos*/) /*!< TPI FIF
  1313. 1106:Drivers/CMSIS/Include/core_cm3.h ****
  1314. 1107:Drivers/CMSIS/Include/core_cm3.h **** /* TPI ITATBCTR0 Register Definitions */
  1315. 1108:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR0_ATREADY2_Pos 0U /*!< TPI ITA
  1316. 1109:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR0_ATREADY2_Msk (0x1UL /*<< TPI_ITATBCTR0_ATREADY2_Pos*/) /*!< TPI ITA
  1317. 1110:Drivers/CMSIS/Include/core_cm3.h ****
  1318. 1111:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR0_ATREADY1_Pos 0U /*!< TPI ITA
  1319. 1112:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR0_ATREADY1_Msk (0x1UL /*<< TPI_ITATBCTR0_ATREADY1_Pos*/) /*!< TPI ITA
  1320. 1113:Drivers/CMSIS/Include/core_cm3.h ****
  1321. 1114:Drivers/CMSIS/Include/core_cm3.h **** /* TPI Integration Mode Control Register Definitions */
  1322. 1115:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITCTRL_Mode_Pos 0U /*!< TPI ITC
  1323. 1116:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITCTRL_Mode_Msk (0x3UL /*<< TPI_ITCTRL_Mode_Pos*/) /*!< TPI ITC
  1324. 1117:Drivers/CMSIS/Include/core_cm3.h ****
  1325. 1118:Drivers/CMSIS/Include/core_cm3.h **** /* TPI DEVID Register Definitions */
  1326. 1119:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_NRZVALID_Pos 11U /*!< TPI DEV
  1327. 1120:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_NRZVALID_Msk (0x1UL << TPI_DEVID_NRZVALID_Pos) /*!< TPI DEV
  1328. 1121:Drivers/CMSIS/Include/core_cm3.h ****
  1329. 1122:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_MANCVALID_Pos 10U /*!< TPI DEV
  1330. 1123:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_MANCVALID_Msk (0x1UL << TPI_DEVID_MANCVALID_Pos) /*!< TPI DEV
  1331. 1124:Drivers/CMSIS/Include/core_cm3.h ****
  1332. 1125:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_PTINVALID_Pos 9U /*!< TPI DEV
  1333. 1126:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_PTINVALID_Msk (0x1UL << TPI_DEVID_PTINVALID_Pos) /*!< TPI DEV
  1334. 1127:Drivers/CMSIS/Include/core_cm3.h ****
  1335. ARM GAS /tmp/ccMY5QHu.s page 24
  1336. 1128:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_MinBufSz_Pos 6U /*!< TPI DEV
  1337. 1129:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_MinBufSz_Msk (0x7UL << TPI_DEVID_MinBufSz_Pos) /*!< TPI DEV
  1338. 1130:Drivers/CMSIS/Include/core_cm3.h ****
  1339. 1131:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_AsynClkIn_Pos 5U /*!< TPI DEV
  1340. 1132:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_AsynClkIn_Msk (0x1UL << TPI_DEVID_AsynClkIn_Pos) /*!< TPI DEV
  1341. 1133:Drivers/CMSIS/Include/core_cm3.h ****
  1342. 1134:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_NrTraceInput_Pos 0U /*!< TPI DEV
  1343. 1135:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_NrTraceInput_Msk (0x1FUL /*<< TPI_DEVID_NrTraceInput_Pos*/) /*!< TPI DEV
  1344. 1136:Drivers/CMSIS/Include/core_cm3.h ****
  1345. 1137:Drivers/CMSIS/Include/core_cm3.h **** /* TPI DEVTYPE Register Definitions */
  1346. 1138:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVTYPE_SubType_Pos 4U /*!< TPI DEV
  1347. 1139:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVTYPE_SubType_Msk (0xFUL /*<< TPI_DEVTYPE_SubType_Pos*/) /*!< TPI DEV
  1348. 1140:Drivers/CMSIS/Include/core_cm3.h ****
  1349. 1141:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVTYPE_MajorType_Pos 0U /*!< TPI DEV
  1350. 1142:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVTYPE_MajorType_Msk (0xFUL << TPI_DEVTYPE_MajorType_Pos) /*!< TPI DEV
  1351. 1143:Drivers/CMSIS/Include/core_cm3.h ****
  1352. 1144:Drivers/CMSIS/Include/core_cm3.h **** /*@}*/ /* end of group CMSIS_TPI */
  1353. 1145:Drivers/CMSIS/Include/core_cm3.h ****
  1354. 1146:Drivers/CMSIS/Include/core_cm3.h ****
  1355. 1147:Drivers/CMSIS/Include/core_cm3.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
  1356. 1148:Drivers/CMSIS/Include/core_cm3.h **** /**
  1357. 1149:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
  1358. 1150:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_MPU Memory Protection Unit (MPU)
  1359. 1151:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the Memory Protection Unit (MPU)
  1360. 1152:Drivers/CMSIS/Include/core_cm3.h **** @{
  1361. 1153:Drivers/CMSIS/Include/core_cm3.h **** */
  1362. 1154:Drivers/CMSIS/Include/core_cm3.h ****
  1363. 1155:Drivers/CMSIS/Include/core_cm3.h **** /**
  1364. 1156:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the Memory Protection Unit (MPU).
  1365. 1157:Drivers/CMSIS/Include/core_cm3.h **** */
  1366. 1158:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
  1367. 1159:Drivers/CMSIS/Include/core_cm3.h **** {
  1368. 1160:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t TYPE; /*!< Offset: 0x000 (R/ ) MPU Type Register */
  1369. 1161:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CTRL; /*!< Offset: 0x004 (R/W) MPU Control Register */
  1370. 1162:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RNR; /*!< Offset: 0x008 (R/W) MPU Region RNRber Register */
  1371. 1163:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RBAR; /*!< Offset: 0x00C (R/W) MPU Region Base Address Register
  1372. 1164:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RASR; /*!< Offset: 0x010 (R/W) MPU Region Attribute and Size Re
  1373. 1165:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RBAR_A1; /*!< Offset: 0x014 (R/W) MPU Alias 1 Region Base Address
  1374. 1166:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RASR_A1; /*!< Offset: 0x018 (R/W) MPU Alias 1 Region Attribute and
  1375. 1167:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RBAR_A2; /*!< Offset: 0x01C (R/W) MPU Alias 2 Region Base Address
  1376. 1168:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RASR_A2; /*!< Offset: 0x020 (R/W) MPU Alias 2 Region Attribute and
  1377. 1169:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RBAR_A3; /*!< Offset: 0x024 (R/W) MPU Alias 3 Region Base Address
  1378. 1170:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RASR_A3; /*!< Offset: 0x028 (R/W) MPU Alias 3 Region Attribute and
  1379. 1171:Drivers/CMSIS/Include/core_cm3.h **** } MPU_Type;
  1380. 1172:Drivers/CMSIS/Include/core_cm3.h ****
  1381. 1173:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_TYPE_RALIASES 4U
  1382. 1174:Drivers/CMSIS/Include/core_cm3.h ****
  1383. 1175:Drivers/CMSIS/Include/core_cm3.h **** /* MPU Type Register Definitions */
  1384. 1176:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_TYPE_IREGION_Pos 16U /*!< MPU
  1385. 1177:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_TYPE_IREGION_Msk (0xFFUL << MPU_TYPE_IREGION_Pos) /*!< MPU
  1386. 1178:Drivers/CMSIS/Include/core_cm3.h ****
  1387. 1179:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_TYPE_DREGION_Pos 8U /*!< MPU
  1388. 1180:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_TYPE_DREGION_Msk (0xFFUL << MPU_TYPE_DREGION_Pos) /*!< MPU
  1389. 1181:Drivers/CMSIS/Include/core_cm3.h ****
  1390. 1182:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_TYPE_SEPARATE_Pos 0U /*!< MPU
  1391. 1183:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_TYPE_SEPARATE_Msk (1UL /*<< MPU_TYPE_SEPARATE_Pos*/) /*!< MPU
  1392. 1184:Drivers/CMSIS/Include/core_cm3.h ****
  1393. ARM GAS /tmp/ccMY5QHu.s page 25
  1394. 1185:Drivers/CMSIS/Include/core_cm3.h **** /* MPU Control Register Definitions */
  1395. 1186:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_CTRL_PRIVDEFENA_Pos 2U /*!< MPU
  1396. 1187:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_CTRL_PRIVDEFENA_Msk (1UL << MPU_CTRL_PRIVDEFENA_Pos) /*!< MPU
  1397. 1188:Drivers/CMSIS/Include/core_cm3.h ****
  1398. 1189:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_CTRL_HFNMIENA_Pos 1U /*!< MPU
  1399. 1190:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_CTRL_HFNMIENA_Msk (1UL << MPU_CTRL_HFNMIENA_Pos) /*!< MPU
  1400. 1191:Drivers/CMSIS/Include/core_cm3.h ****
  1401. 1192:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_CTRL_ENABLE_Pos 0U /*!< MPU
  1402. 1193:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_CTRL_ENABLE_Msk (1UL /*<< MPU_CTRL_ENABLE_Pos*/) /*!< MPU
  1403. 1194:Drivers/CMSIS/Include/core_cm3.h ****
  1404. 1195:Drivers/CMSIS/Include/core_cm3.h **** /* MPU Region Number Register Definitions */
  1405. 1196:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RNR_REGION_Pos 0U /*!< MPU
  1406. 1197:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RNR_REGION_Msk (0xFFUL /*<< MPU_RNR_REGION_Pos*/) /*!< MPU
  1407. 1198:Drivers/CMSIS/Include/core_cm3.h ****
  1408. 1199:Drivers/CMSIS/Include/core_cm3.h **** /* MPU Region Base Address Register Definitions */
  1409. 1200:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RBAR_ADDR_Pos 5U /*!< MPU
  1410. 1201:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RBAR_ADDR_Msk (0x7FFFFFFUL << MPU_RBAR_ADDR_Pos) /*!< MPU
  1411. 1202:Drivers/CMSIS/Include/core_cm3.h ****
  1412. 1203:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RBAR_VALID_Pos 4U /*!< MPU
  1413. 1204:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RBAR_VALID_Msk (1UL << MPU_RBAR_VALID_Pos) /*!< MPU
  1414. 1205:Drivers/CMSIS/Include/core_cm3.h ****
  1415. 1206:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RBAR_REGION_Pos 0U /*!< MPU
  1416. 1207:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RBAR_REGION_Msk (0xFUL /*<< MPU_RBAR_REGION_Pos*/) /*!< MPU
  1417. 1208:Drivers/CMSIS/Include/core_cm3.h ****
  1418. 1209:Drivers/CMSIS/Include/core_cm3.h **** /* MPU Region Attribute and Size Register Definitions */
  1419. 1210:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_ATTRS_Pos 16U /*!< MPU
  1420. 1211:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_ATTRS_Msk (0xFFFFUL << MPU_RASR_ATTRS_Pos) /*!< MPU
  1421. 1212:Drivers/CMSIS/Include/core_cm3.h ****
  1422. 1213:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_XN_Pos 28U /*!< MPU
  1423. 1214:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_XN_Msk (1UL << MPU_RASR_XN_Pos) /*!< MPU
  1424. 1215:Drivers/CMSIS/Include/core_cm3.h ****
  1425. 1216:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_AP_Pos 24U /*!< MPU
  1426. 1217:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_AP_Msk (0x7UL << MPU_RASR_AP_Pos) /*!< MPU
  1427. 1218:Drivers/CMSIS/Include/core_cm3.h ****
  1428. 1219:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_TEX_Pos 19U /*!< MPU
  1429. 1220:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_TEX_Msk (0x7UL << MPU_RASR_TEX_Pos) /*!< MPU
  1430. 1221:Drivers/CMSIS/Include/core_cm3.h ****
  1431. 1222:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_S_Pos 18U /*!< MPU
  1432. 1223:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_S_Msk (1UL << MPU_RASR_S_Pos) /*!< MPU
  1433. 1224:Drivers/CMSIS/Include/core_cm3.h ****
  1434. 1225:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_C_Pos 17U /*!< MPU
  1435. 1226:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_C_Msk (1UL << MPU_RASR_C_Pos) /*!< MPU
  1436. 1227:Drivers/CMSIS/Include/core_cm3.h ****
  1437. 1228:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_B_Pos 16U /*!< MPU
  1438. 1229:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_B_Msk (1UL << MPU_RASR_B_Pos) /*!< MPU
  1439. 1230:Drivers/CMSIS/Include/core_cm3.h ****
  1440. 1231:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_SRD_Pos 8U /*!< MPU
  1441. 1232:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_SRD_Msk (0xFFUL << MPU_RASR_SRD_Pos) /*!< MPU
  1442. 1233:Drivers/CMSIS/Include/core_cm3.h ****
  1443. 1234:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_SIZE_Pos 1U /*!< MPU
  1444. 1235:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_SIZE_Msk (0x1FUL << MPU_RASR_SIZE_Pos) /*!< MPU
  1445. 1236:Drivers/CMSIS/Include/core_cm3.h ****
  1446. 1237:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_ENABLE_Pos 0U /*!< MPU
  1447. 1238:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_ENABLE_Msk (1UL /*<< MPU_RASR_ENABLE_Pos*/) /*!< MPU
  1448. 1239:Drivers/CMSIS/Include/core_cm3.h ****
  1449. 1240:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_MPU */
  1450. 1241:Drivers/CMSIS/Include/core_cm3.h **** #endif
  1451. ARM GAS /tmp/ccMY5QHu.s page 26
  1452. 1242:Drivers/CMSIS/Include/core_cm3.h ****
  1453. 1243:Drivers/CMSIS/Include/core_cm3.h ****
  1454. 1244:Drivers/CMSIS/Include/core_cm3.h **** /**
  1455. 1245:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
  1456. 1246:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_CoreDebug Core Debug Registers (CoreDebug)
  1457. 1247:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the Core Debug Registers
  1458. 1248:Drivers/CMSIS/Include/core_cm3.h **** @{
  1459. 1249:Drivers/CMSIS/Include/core_cm3.h **** */
  1460. 1250:Drivers/CMSIS/Include/core_cm3.h ****
  1461. 1251:Drivers/CMSIS/Include/core_cm3.h **** /**
  1462. 1252:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the Core Debug Register (CoreDebug).
  1463. 1253:Drivers/CMSIS/Include/core_cm3.h **** */
  1464. 1254:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
  1465. 1255:Drivers/CMSIS/Include/core_cm3.h **** {
  1466. 1256:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t DHCSR; /*!< Offset: 0x000 (R/W) Debug Halting Control and Status
  1467. 1257:Drivers/CMSIS/Include/core_cm3.h **** __OM uint32_t DCRSR; /*!< Offset: 0x004 ( /W) Debug Core Register Selector Reg
  1468. 1258:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t DCRDR; /*!< Offset: 0x008 (R/W) Debug Core Register Data Registe
  1469. 1259:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t DEMCR; /*!< Offset: 0x00C (R/W) Debug Exception and Monitor Cont
  1470. 1260:Drivers/CMSIS/Include/core_cm3.h **** } CoreDebug_Type;
  1471. 1261:Drivers/CMSIS/Include/core_cm3.h ****
  1472. 1262:Drivers/CMSIS/Include/core_cm3.h **** /* Debug Halting Control and Status Register Definitions */
  1473. 1263:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_DBGKEY_Pos 16U /*!< Core
  1474. 1264:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_DBGKEY_Msk (0xFFFFUL << CoreDebug_DHCSR_DBGKEY_Pos) /*!< Core
  1475. 1265:Drivers/CMSIS/Include/core_cm3.h ****
  1476. 1266:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_RESET_ST_Pos 25U /*!< Core
  1477. 1267:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_RESET_ST_Msk (1UL << CoreDebug_DHCSR_S_RESET_ST_Pos) /*!< Core
  1478. 1268:Drivers/CMSIS/Include/core_cm3.h ****
  1479. 1269:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_RETIRE_ST_Pos 24U /*!< Core
  1480. 1270:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_RETIRE_ST_Msk (1UL << CoreDebug_DHCSR_S_RETIRE_ST_Pos) /*!< Core
  1481. 1271:Drivers/CMSIS/Include/core_cm3.h ****
  1482. 1272:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_LOCKUP_Pos 19U /*!< Core
  1483. 1273:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_LOCKUP_Msk (1UL << CoreDebug_DHCSR_S_LOCKUP_Pos) /*!< Core
  1484. 1274:Drivers/CMSIS/Include/core_cm3.h ****
  1485. 1275:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_SLEEP_Pos 18U /*!< Core
  1486. 1276:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_SLEEP_Msk (1UL << CoreDebug_DHCSR_S_SLEEP_Pos) /*!< Core
  1487. 1277:Drivers/CMSIS/Include/core_cm3.h ****
  1488. 1278:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_HALT_Pos 17U /*!< Core
  1489. 1279:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_HALT_Msk (1UL << CoreDebug_DHCSR_S_HALT_Pos) /*!< Core
  1490. 1280:Drivers/CMSIS/Include/core_cm3.h ****
  1491. 1281:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_REGRDY_Pos 16U /*!< Core
  1492. 1282:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_REGRDY_Msk (1UL << CoreDebug_DHCSR_S_REGRDY_Pos) /*!< Core
  1493. 1283:Drivers/CMSIS/Include/core_cm3.h ****
  1494. 1284:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_SNAPSTALL_Pos 5U /*!< Core
  1495. 1285:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_SNAPSTALL_Msk (1UL << CoreDebug_DHCSR_C_SNAPSTALL_Pos) /*!< Core
  1496. 1286:Drivers/CMSIS/Include/core_cm3.h ****
  1497. 1287:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_MASKINTS_Pos 3U /*!< Core
  1498. 1288:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_MASKINTS_Msk (1UL << CoreDebug_DHCSR_C_MASKINTS_Pos) /*!< Core
  1499. 1289:Drivers/CMSIS/Include/core_cm3.h ****
  1500. 1290:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_STEP_Pos 2U /*!< Core
  1501. 1291:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_STEP_Msk (1UL << CoreDebug_DHCSR_C_STEP_Pos) /*!< Core
  1502. 1292:Drivers/CMSIS/Include/core_cm3.h ****
  1503. 1293:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_HALT_Pos 1U /*!< Core
  1504. 1294:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_HALT_Msk (1UL << CoreDebug_DHCSR_C_HALT_Pos) /*!< Core
  1505. 1295:Drivers/CMSIS/Include/core_cm3.h ****
  1506. 1296:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_DEBUGEN_Pos 0U /*!< Core
  1507. 1297:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_DEBUGEN_Msk (1UL /*<< CoreDebug_DHCSR_C_DEBUGEN_Pos*/) /*!< Core
  1508. 1298:Drivers/CMSIS/Include/core_cm3.h ****
  1509. ARM GAS /tmp/ccMY5QHu.s page 27
  1510. 1299:Drivers/CMSIS/Include/core_cm3.h **** /* Debug Core Register Selector Register Definitions */
  1511. 1300:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DCRSR_REGWnR_Pos 16U /*!< Core
  1512. 1301:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DCRSR_REGWnR_Msk (1UL << CoreDebug_DCRSR_REGWnR_Pos) /*!< Core
  1513. 1302:Drivers/CMSIS/Include/core_cm3.h ****
  1514. 1303:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DCRSR_REGSEL_Pos 0U /*!< Core
  1515. 1304:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DCRSR_REGSEL_Msk (0x1FUL /*<< CoreDebug_DCRSR_REGSEL_Pos*/) /*!< Core
  1516. 1305:Drivers/CMSIS/Include/core_cm3.h ****
  1517. 1306:Drivers/CMSIS/Include/core_cm3.h **** /* Debug Exception and Monitor Control Register Definitions */
  1518. 1307:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_TRCENA_Pos 24U /*!< Core
  1519. 1308:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_TRCENA_Msk (1UL << CoreDebug_DEMCR_TRCENA_Pos) /*!< Core
  1520. 1309:Drivers/CMSIS/Include/core_cm3.h ****
  1521. 1310:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_REQ_Pos 19U /*!< Core
  1522. 1311:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_REQ_Msk (1UL << CoreDebug_DEMCR_MON_REQ_Pos) /*!< Core
  1523. 1312:Drivers/CMSIS/Include/core_cm3.h ****
  1524. 1313:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_STEP_Pos 18U /*!< Core
  1525. 1314:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_STEP_Msk (1UL << CoreDebug_DEMCR_MON_STEP_Pos) /*!< Core
  1526. 1315:Drivers/CMSIS/Include/core_cm3.h ****
  1527. 1316:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_PEND_Pos 17U /*!< Core
  1528. 1317:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_PEND_Msk (1UL << CoreDebug_DEMCR_MON_PEND_Pos) /*!< Core
  1529. 1318:Drivers/CMSIS/Include/core_cm3.h ****
  1530. 1319:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_EN_Pos 16U /*!< Core
  1531. 1320:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_EN_Msk (1UL << CoreDebug_DEMCR_MON_EN_Pos) /*!< Core
  1532. 1321:Drivers/CMSIS/Include/core_cm3.h ****
  1533. 1322:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_HARDERR_Pos 10U /*!< Core
  1534. 1323:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_HARDERR_Msk (1UL << CoreDebug_DEMCR_VC_HARDERR_Pos) /*!< Core
  1535. 1324:Drivers/CMSIS/Include/core_cm3.h ****
  1536. 1325:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_INTERR_Pos 9U /*!< Core
  1537. 1326:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_INTERR_Msk (1UL << CoreDebug_DEMCR_VC_INTERR_Pos) /*!< Core
  1538. 1327:Drivers/CMSIS/Include/core_cm3.h ****
  1539. 1328:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_BUSERR_Pos 8U /*!< Core
  1540. 1329:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_BUSERR_Msk (1UL << CoreDebug_DEMCR_VC_BUSERR_Pos) /*!< Core
  1541. 1330:Drivers/CMSIS/Include/core_cm3.h ****
  1542. 1331:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_STATERR_Pos 7U /*!< Core
  1543. 1332:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_STATERR_Msk (1UL << CoreDebug_DEMCR_VC_STATERR_Pos) /*!< Core
  1544. 1333:Drivers/CMSIS/Include/core_cm3.h ****
  1545. 1334:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_CHKERR_Pos 6U /*!< Core
  1546. 1335:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_CHKERR_Msk (1UL << CoreDebug_DEMCR_VC_CHKERR_Pos) /*!< Core
  1547. 1336:Drivers/CMSIS/Include/core_cm3.h ****
  1548. 1337:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_NOCPERR_Pos 5U /*!< Core
  1549. 1338:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_NOCPERR_Msk (1UL << CoreDebug_DEMCR_VC_NOCPERR_Pos) /*!< Core
  1550. 1339:Drivers/CMSIS/Include/core_cm3.h ****
  1551. 1340:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_MMERR_Pos 4U /*!< Core
  1552. 1341:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_MMERR_Msk (1UL << CoreDebug_DEMCR_VC_MMERR_Pos) /*!< Core
  1553. 1342:Drivers/CMSIS/Include/core_cm3.h ****
  1554. 1343:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_CORERESET_Pos 0U /*!< Core
  1555. 1344:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_CORERESET_Msk (1UL /*<< CoreDebug_DEMCR_VC_CORERESET_Pos*/) /*!< Core
  1556. 1345:Drivers/CMSIS/Include/core_cm3.h ****
  1557. 1346:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_CoreDebug */
  1558. 1347:Drivers/CMSIS/Include/core_cm3.h ****
  1559. 1348:Drivers/CMSIS/Include/core_cm3.h ****
  1560. 1349:Drivers/CMSIS/Include/core_cm3.h **** /**
  1561. 1350:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
  1562. 1351:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_core_bitfield Core register bit field macros
  1563. 1352:Drivers/CMSIS/Include/core_cm3.h **** \brief Macros for use with bit field definitions (xxx_Pos, xxx_Msk).
  1564. 1353:Drivers/CMSIS/Include/core_cm3.h **** @{
  1565. 1354:Drivers/CMSIS/Include/core_cm3.h **** */
  1566. 1355:Drivers/CMSIS/Include/core_cm3.h ****
  1567. ARM GAS /tmp/ccMY5QHu.s page 28
  1568. 1356:Drivers/CMSIS/Include/core_cm3.h **** /**
  1569. 1357:Drivers/CMSIS/Include/core_cm3.h **** \brief Mask and shift a bit field value for use in a register bit range.
  1570. 1358:Drivers/CMSIS/Include/core_cm3.h **** \param[in] field Name of the register bit field.
  1571. 1359:Drivers/CMSIS/Include/core_cm3.h **** \param[in] value Value of the bit field. This parameter is interpreted as an uint32_t type.
  1572. 1360:Drivers/CMSIS/Include/core_cm3.h **** \return Masked and shifted value.
  1573. 1361:Drivers/CMSIS/Include/core_cm3.h **** */
  1574. 1362:Drivers/CMSIS/Include/core_cm3.h **** #define _VAL2FLD(field, value) (((uint32_t)(value) << field ## _Pos) & field ## _Msk)
  1575. 1363:Drivers/CMSIS/Include/core_cm3.h ****
  1576. 1364:Drivers/CMSIS/Include/core_cm3.h **** /**
  1577. 1365:Drivers/CMSIS/Include/core_cm3.h **** \brief Mask and shift a register value to extract a bit filed value.
  1578. 1366:Drivers/CMSIS/Include/core_cm3.h **** \param[in] field Name of the register bit field.
  1579. 1367:Drivers/CMSIS/Include/core_cm3.h **** \param[in] value Value of register. This parameter is interpreted as an uint32_t type.
  1580. 1368:Drivers/CMSIS/Include/core_cm3.h **** \return Masked and shifted bit field value.
  1581. 1369:Drivers/CMSIS/Include/core_cm3.h **** */
  1582. 1370:Drivers/CMSIS/Include/core_cm3.h **** #define _FLD2VAL(field, value) (((uint32_t)(value) & field ## _Msk) >> field ## _Pos)
  1583. 1371:Drivers/CMSIS/Include/core_cm3.h ****
  1584. 1372:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_core_bitfield */
  1585. 1373:Drivers/CMSIS/Include/core_cm3.h ****
  1586. 1374:Drivers/CMSIS/Include/core_cm3.h ****
  1587. 1375:Drivers/CMSIS/Include/core_cm3.h **** /**
  1588. 1376:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
  1589. 1377:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_core_base Core Definitions
  1590. 1378:Drivers/CMSIS/Include/core_cm3.h **** \brief Definitions for base addresses, unions, and structures.
  1591. 1379:Drivers/CMSIS/Include/core_cm3.h **** @{
  1592. 1380:Drivers/CMSIS/Include/core_cm3.h **** */
  1593. 1381:Drivers/CMSIS/Include/core_cm3.h ****
  1594. 1382:Drivers/CMSIS/Include/core_cm3.h **** /* Memory mapping of Core Hardware */
  1595. 1383:Drivers/CMSIS/Include/core_cm3.h **** #define SCS_BASE (0xE000E000UL) /*!< System Control Space Bas
  1596. 1384:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_BASE (0xE0000000UL) /*!< ITM Base Address */
  1597. 1385:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_BASE (0xE0001000UL) /*!< DWT Base Address */
  1598. 1386:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_BASE (0xE0040000UL) /*!< TPI Base Address */
  1599. 1387:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_BASE (0xE000EDF0UL) /*!< Core Debug Base Address
  1600. 1388:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_BASE (SCS_BASE + 0x0010UL) /*!< SysTick Base Address */
  1601. 1389:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_BASE (SCS_BASE + 0x0100UL) /*!< NVIC Base Address */
  1602. 1390:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_BASE (SCS_BASE + 0x0D00UL) /*!< System Control Block Bas
  1603. 1391:Drivers/CMSIS/Include/core_cm3.h ****
  1604. 1392:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB ((SCnSCB_Type *) SCS_BASE ) /*!< System control Register
  1605. 1393:Drivers/CMSIS/Include/core_cm3.h **** #define SCB ((SCB_Type *) SCB_BASE ) /*!< SCB configuration struct
  1606. 1394:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st
  1607. 1395:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC ((NVIC_Type *) NVIC_BASE ) /*!< NVIC configuration struc
  1608. 1396:Drivers/CMSIS/Include/core_cm3.h **** #define ITM ((ITM_Type *) ITM_BASE ) /*!< ITM configuration struct
  1609. 1397:Drivers/CMSIS/Include/core_cm3.h **** #define DWT ((DWT_Type *) DWT_BASE ) /*!< DWT configuration struct
  1610. 1398:Drivers/CMSIS/Include/core_cm3.h **** #define TPI ((TPI_Type *) TPI_BASE ) /*!< TPI configuration struct
  1611. 1399:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug ((CoreDebug_Type *) CoreDebug_BASE) /*!< Core Debug configuration
  1612. 1400:Drivers/CMSIS/Include/core_cm3.h ****
  1613. 1401:Drivers/CMSIS/Include/core_cm3.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
  1614. 1402:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_BASE (SCS_BASE + 0x0D90UL) /*!< Memory Protection Unit *
  1615. 1403:Drivers/CMSIS/Include/core_cm3.h **** #define MPU ((MPU_Type *) MPU_BASE ) /*!< Memory Protection Unit *
  1616. 1404:Drivers/CMSIS/Include/core_cm3.h **** #endif
  1617. 1405:Drivers/CMSIS/Include/core_cm3.h ****
  1618. 1406:Drivers/CMSIS/Include/core_cm3.h **** /*@} */
  1619. 1407:Drivers/CMSIS/Include/core_cm3.h ****
  1620. 1408:Drivers/CMSIS/Include/core_cm3.h ****
  1621. 1409:Drivers/CMSIS/Include/core_cm3.h ****
  1622. 1410:Drivers/CMSIS/Include/core_cm3.h **** /*******************************************************************************
  1623. 1411:Drivers/CMSIS/Include/core_cm3.h **** * Hardware Abstraction Layer
  1624. 1412:Drivers/CMSIS/Include/core_cm3.h **** Core Function Interface contains:
  1625. ARM GAS /tmp/ccMY5QHu.s page 29
  1626. 1413:Drivers/CMSIS/Include/core_cm3.h **** - Core NVIC Functions
  1627. 1414:Drivers/CMSIS/Include/core_cm3.h **** - Core SysTick Functions
  1628. 1415:Drivers/CMSIS/Include/core_cm3.h **** - Core Debug Functions
  1629. 1416:Drivers/CMSIS/Include/core_cm3.h **** - Core Register Access Functions
  1630. 1417:Drivers/CMSIS/Include/core_cm3.h **** ******************************************************************************/
  1631. 1418:Drivers/CMSIS/Include/core_cm3.h **** /**
  1632. 1419:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_Core_FunctionInterface Functions and Instructions Reference
  1633. 1420:Drivers/CMSIS/Include/core_cm3.h **** */
  1634. 1421:Drivers/CMSIS/Include/core_cm3.h ****
  1635. 1422:Drivers/CMSIS/Include/core_cm3.h ****
  1636. 1423:Drivers/CMSIS/Include/core_cm3.h ****
  1637. 1424:Drivers/CMSIS/Include/core_cm3.h **** /* ########################## NVIC functions #################################### */
  1638. 1425:Drivers/CMSIS/Include/core_cm3.h **** /**
  1639. 1426:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_Core_FunctionInterface
  1640. 1427:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_Core_NVICFunctions NVIC Functions
  1641. 1428:Drivers/CMSIS/Include/core_cm3.h **** \brief Functions that manage interrupts and exceptions via the NVIC.
  1642. 1429:Drivers/CMSIS/Include/core_cm3.h **** @{
  1643. 1430:Drivers/CMSIS/Include/core_cm3.h **** */
  1644. 1431:Drivers/CMSIS/Include/core_cm3.h ****
  1645. 1432:Drivers/CMSIS/Include/core_cm3.h **** #ifdef CMSIS_NVIC_VIRTUAL
  1646. 1433:Drivers/CMSIS/Include/core_cm3.h **** #ifndef CMSIS_NVIC_VIRTUAL_HEADER_FILE
  1647. 1434:Drivers/CMSIS/Include/core_cm3.h **** #define CMSIS_NVIC_VIRTUAL_HEADER_FILE "cmsis_nvic_virtual.h"
  1648. 1435:Drivers/CMSIS/Include/core_cm3.h **** #endif
  1649. 1436:Drivers/CMSIS/Include/core_cm3.h **** #include CMSIS_NVIC_VIRTUAL_HEADER_FILE
  1650. 1437:Drivers/CMSIS/Include/core_cm3.h **** #else
  1651. 1438:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_SetPriorityGrouping __NVIC_SetPriorityGrouping
  1652. 1439:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_GetPriorityGrouping __NVIC_GetPriorityGrouping
  1653. 1440:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_EnableIRQ __NVIC_EnableIRQ
  1654. 1441:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_GetEnableIRQ __NVIC_GetEnableIRQ
  1655. 1442:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_DisableIRQ __NVIC_DisableIRQ
  1656. 1443:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_GetPendingIRQ __NVIC_GetPendingIRQ
  1657. 1444:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_SetPendingIRQ __NVIC_SetPendingIRQ
  1658. 1445:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_ClearPendingIRQ __NVIC_ClearPendingIRQ
  1659. 1446:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_GetActive __NVIC_GetActive
  1660. 1447:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_SetPriority __NVIC_SetPriority
  1661. 1448:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_GetPriority __NVIC_GetPriority
  1662. 1449:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_SystemReset __NVIC_SystemReset
  1663. 1450:Drivers/CMSIS/Include/core_cm3.h **** #endif /* CMSIS_NVIC_VIRTUAL */
  1664. 1451:Drivers/CMSIS/Include/core_cm3.h ****
  1665. 1452:Drivers/CMSIS/Include/core_cm3.h **** #ifdef CMSIS_VECTAB_VIRTUAL
  1666. 1453:Drivers/CMSIS/Include/core_cm3.h **** #ifndef CMSIS_VECTAB_VIRTUAL_HEADER_FILE
  1667. 1454:Drivers/CMSIS/Include/core_cm3.h **** #define CMSIS_VECTAB_VIRTUAL_HEADER_FILE "cmsis_vectab_virtual.h"
  1668. 1455:Drivers/CMSIS/Include/core_cm3.h **** #endif
  1669. 1456:Drivers/CMSIS/Include/core_cm3.h **** #include CMSIS_VECTAB_VIRTUAL_HEADER_FILE
  1670. 1457:Drivers/CMSIS/Include/core_cm3.h **** #else
  1671. 1458:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_SetVector __NVIC_SetVector
  1672. 1459:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_GetVector __NVIC_GetVector
  1673. 1460:Drivers/CMSIS/Include/core_cm3.h **** #endif /* (CMSIS_VECTAB_VIRTUAL) */
  1674. 1461:Drivers/CMSIS/Include/core_cm3.h ****
  1675. 1462:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_USER_IRQ_OFFSET 16
  1676. 1463:Drivers/CMSIS/Include/core_cm3.h ****
  1677. 1464:Drivers/CMSIS/Include/core_cm3.h ****
  1678. 1465:Drivers/CMSIS/Include/core_cm3.h **** /* The following EXC_RETURN values are saved the LR on exception entry */
  1679. 1466:Drivers/CMSIS/Include/core_cm3.h **** #define EXC_RETURN_HANDLER (0xFFFFFFF1UL) /* return to Handler mode, uses MSP after ret
  1680. 1467:Drivers/CMSIS/Include/core_cm3.h **** #define EXC_RETURN_THREAD_MSP (0xFFFFFFF9UL) /* return to Thread mode, uses MSP after retu
  1681. 1468:Drivers/CMSIS/Include/core_cm3.h **** #define EXC_RETURN_THREAD_PSP (0xFFFFFFFDUL) /* return to Thread mode, uses PSP after retu
  1682. 1469:Drivers/CMSIS/Include/core_cm3.h ****
  1683. ARM GAS /tmp/ccMY5QHu.s page 30
  1684. 1470:Drivers/CMSIS/Include/core_cm3.h ****
  1685. 1471:Drivers/CMSIS/Include/core_cm3.h **** /**
  1686. 1472:Drivers/CMSIS/Include/core_cm3.h **** \brief Set Priority Grouping
  1687. 1473:Drivers/CMSIS/Include/core_cm3.h **** \details Sets the priority grouping field using the required unlock sequence.
  1688. 1474:Drivers/CMSIS/Include/core_cm3.h **** The parameter PriorityGroup is assigned to the field SCB->AIRCR [10:8] PRIGROUP field.
  1689. 1475:Drivers/CMSIS/Include/core_cm3.h **** Only values from 0..7 are used.
  1690. 1476:Drivers/CMSIS/Include/core_cm3.h **** In case of a conflict between priority grouping and available
  1691. 1477:Drivers/CMSIS/Include/core_cm3.h **** priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
  1692. 1478:Drivers/CMSIS/Include/core_cm3.h **** \param [in] PriorityGroup Priority grouping field.
  1693. 1479:Drivers/CMSIS/Include/core_cm3.h **** */
  1694. 1480:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void __NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
  1695. 38 .loc 2 1480 22 view .LVU3
  1696. 39 .LBB33:
  1697. 1481:Drivers/CMSIS/Include/core_cm3.h **** {
  1698. 1482:Drivers/CMSIS/Include/core_cm3.h **** uint32_t reg_value;
  1699. 40 .loc 2 1482 3 view .LVU4
  1700. 1483:Drivers/CMSIS/Include/core_cm3.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 a
  1701. 41 .loc 2 1483 3 view .LVU5
  1702. 1484:Drivers/CMSIS/Include/core_cm3.h ****
  1703. 1485:Drivers/CMSIS/Include/core_cm3.h **** reg_value = SCB->AIRCR; /* read old register
  1704. 42 .loc 2 1485 3 view .LVU6
  1705. 43 .loc 2 1485 14 is_stmt 0 view .LVU7
  1706. 44 0000 074A ldr r2, .L2
  1707. 45 0002 D368 ldr r3, [r2, #12]
  1708. 46 .LVL1:
  1709. 1486:Drivers/CMSIS/Include/core_cm3.h **** reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to chan
  1710. 47 .loc 2 1486 3 is_stmt 1 view .LVU8
  1711. 48 .loc 2 1486 13 is_stmt 0 view .LVU9
  1712. 49 0004 23F4E063 bic r3, r3, #1792
  1713. 50 .LVL2:
  1714. 51 .loc 2 1486 13 view .LVU10
  1715. 52 0008 1B04 lsls r3, r3, #16
  1716. 53 000a 1B0C lsrs r3, r3, #16
  1717. 54 .LVL3:
  1718. 1487:Drivers/CMSIS/Include/core_cm3.h **** reg_value = (reg_value |
  1719. 55 .loc 2 1487 3 is_stmt 1 view .LVU11
  1720. 1488:Drivers/CMSIS/Include/core_cm3.h **** ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
  1721. 1489:Drivers/CMSIS/Include/core_cm3.h **** (PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key a
  1722. 56 .loc 2 1489 35 is_stmt 0 view .LVU12
  1723. 57 000c 0002 lsls r0, r0, #8
  1724. 58 .LVL4:
  1725. 59 .loc 2 1489 35 view .LVU13
  1726. 60 000e 00F4E060 and r0, r0, #1792
  1727. 1488:Drivers/CMSIS/Include/core_cm3.h **** ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
  1728. 61 .loc 2 1488 62 view .LVU14
  1729. 62 0012 0343 orrs r3, r3, r0
  1730. 63 .LVL5:
  1731. 1487:Drivers/CMSIS/Include/core_cm3.h **** reg_value = (reg_value |
  1732. 64 .loc 2 1487 14 view .LVU15
  1733. 65 0014 43F0BF63 orr r3, r3, #100139008
  1734. 66 0018 43F40033 orr r3, r3, #131072
  1735. 67 .LVL6:
  1736. 1490:Drivers/CMSIS/Include/core_cm3.h **** SCB->AIRCR = reg_value;
  1737. 68 .loc 2 1490 3 is_stmt 1 view .LVU16
  1738. 69 .loc 2 1490 14 is_stmt 0 view .LVU17
  1739. 70 001c D360 str r3, [r2, #12]
  1740. 71 .LVL7:
  1741. ARM GAS /tmp/ccMY5QHu.s page 31
  1742. 72 .loc 2 1490 14 view .LVU18
  1743. 73 .LBE33:
  1744. 74 .LBE32:
  1745. 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  1746. 75 .loc 1 149 1 view .LVU19
  1747. 76 001e 7047 bx lr
  1748. 77 .L3:
  1749. 78 .align 2
  1750. 79 .L2:
  1751. 80 0020 00ED00E0 .word -536810240
  1752. 81 .cfi_endproc
  1753. 82 .LFE65:
  1754. 84 .section .text.HAL_NVIC_SetPriority,"ax",%progbits
  1755. 85 .align 1
  1756. 86 .global HAL_NVIC_SetPriority
  1757. 87 .syntax unified
  1758. 88 .thumb
  1759. 89 .thumb_func
  1760. 91 HAL_NVIC_SetPriority:
  1761. 92 .LVL8:
  1762. 93 .LFB66:
  1763. 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  1764. 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  1765. 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Sets the priority of an interrupt.
  1766. 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn: External interrupt number.
  1767. 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  1768. 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  1769. 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param PreemptPriority: The preemption priority for the IRQn channel.
  1770. 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be a value between 0 and 15
  1771. 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * A lower priority value indicates a higher priority
  1772. 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param SubPriority: the subpriority level for the IRQ channel.
  1773. 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be a value between 0 and 15
  1774. 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * A lower priority value indicates a higher priority.
  1775. 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
  1776. 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  1777. 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
  1778. 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  1779. 94 .loc 1 165 1 is_stmt 1 view -0
  1780. 95 .cfi_startproc
  1781. 96 @ args = 0, pretend = 0, frame = 0
  1782. 97 @ frame_needed = 0, uses_anonymous_args = 0
  1783. 98 .loc 1 165 1 is_stmt 0 view .LVU21
  1784. 99 0000 00B5 push {lr}
  1785. 100 .LCFI0:
  1786. 101 .cfi_def_cfa_offset 4
  1787. 102 .cfi_offset 14, -4
  1788. 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** uint32_t prioritygroup = 0x00U;
  1789. 103 .loc 1 166 3 is_stmt 1 view .LVU22
  1790. 104 .LVL9:
  1791. 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  1792. 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
  1793. 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_SUB_PRIORITY(SubPriority));
  1794. 105 .loc 1 169 3 view .LVU23
  1795. 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority));
  1796. 106 .loc 1 170 3 view .LVU24
  1797. 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  1798. 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** prioritygroup = NVIC_GetPriorityGrouping();
  1799. ARM GAS /tmp/ccMY5QHu.s page 32
  1800. 107 .loc 1 172 3 view .LVU25
  1801. 108 .LBB40:
  1802. 109 .LBI40:
  1803. 1491:Drivers/CMSIS/Include/core_cm3.h **** }
  1804. 1492:Drivers/CMSIS/Include/core_cm3.h ****
  1805. 1493:Drivers/CMSIS/Include/core_cm3.h ****
  1806. 1494:Drivers/CMSIS/Include/core_cm3.h **** /**
  1807. 1495:Drivers/CMSIS/Include/core_cm3.h **** \brief Get Priority Grouping
  1808. 1496:Drivers/CMSIS/Include/core_cm3.h **** \details Reads the priority grouping field from the NVIC Interrupt Controller.
  1809. 1497:Drivers/CMSIS/Include/core_cm3.h **** \return Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field).
  1810. 1498:Drivers/CMSIS/Include/core_cm3.h **** */
  1811. 1499:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t __NVIC_GetPriorityGrouping(void)
  1812. 110 .loc 2 1499 26 view .LVU26
  1813. 111 .LBB41:
  1814. 1500:Drivers/CMSIS/Include/core_cm3.h **** {
  1815. 1501:Drivers/CMSIS/Include/core_cm3.h **** return ((uint32_t)((SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) >> SCB_AIRCR_PRIGROUP_Pos));
  1816. 112 .loc 2 1501 3 view .LVU27
  1817. 113 .loc 2 1501 26 is_stmt 0 view .LVU28
  1818. 114 0002 194B ldr r3, .L10
  1819. 115 0004 DB68 ldr r3, [r3, #12]
  1820. 116 .loc 2 1501 11 view .LVU29
  1821. 117 0006 C3F30223 ubfx r3, r3, #8, #3
  1822. 118 .LVL10:
  1823. 119 .loc 2 1501 11 view .LVU30
  1824. 120 .LBE41:
  1825. 121 .LBE40:
  1826. 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  1827. 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_SetPriority(IRQn, NVIC_EncodePriority(prioritygroup, PreemptPriority, SubPriority));
  1828. 122 .loc 1 174 3 is_stmt 1 view .LVU31
  1829. 123 .LBB42:
  1830. 124 .LBI42:
  1831. 1502:Drivers/CMSIS/Include/core_cm3.h **** }
  1832. 1503:Drivers/CMSIS/Include/core_cm3.h ****
  1833. 1504:Drivers/CMSIS/Include/core_cm3.h ****
  1834. 1505:Drivers/CMSIS/Include/core_cm3.h **** /**
  1835. 1506:Drivers/CMSIS/Include/core_cm3.h **** \brief Enable Interrupt
  1836. 1507:Drivers/CMSIS/Include/core_cm3.h **** \details Enables a device specific interrupt in the NVIC interrupt controller.
  1837. 1508:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Device specific interrupt number.
  1838. 1509:Drivers/CMSIS/Include/core_cm3.h **** \note IRQn must not be negative.
  1839. 1510:Drivers/CMSIS/Include/core_cm3.h **** */
  1840. 1511:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn)
  1841. 1512:Drivers/CMSIS/Include/core_cm3.h **** {
  1842. 1513:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
  1843. 1514:Drivers/CMSIS/Include/core_cm3.h **** {
  1844. 1515:Drivers/CMSIS/Include/core_cm3.h **** NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  1845. 1516:Drivers/CMSIS/Include/core_cm3.h **** }
  1846. 1517:Drivers/CMSIS/Include/core_cm3.h **** }
  1847. 1518:Drivers/CMSIS/Include/core_cm3.h ****
  1848. 1519:Drivers/CMSIS/Include/core_cm3.h ****
  1849. 1520:Drivers/CMSIS/Include/core_cm3.h **** /**
  1850. 1521:Drivers/CMSIS/Include/core_cm3.h **** \brief Get Interrupt Enable status
  1851. 1522:Drivers/CMSIS/Include/core_cm3.h **** \details Returns a device specific interrupt enable status from the NVIC interrupt controller.
  1852. 1523:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Device specific interrupt number.
  1853. 1524:Drivers/CMSIS/Include/core_cm3.h **** \return 0 Interrupt is not enabled.
  1854. 1525:Drivers/CMSIS/Include/core_cm3.h **** \return 1 Interrupt is enabled.
  1855. 1526:Drivers/CMSIS/Include/core_cm3.h **** \note IRQn must not be negative.
  1856. 1527:Drivers/CMSIS/Include/core_cm3.h **** */
  1857. ARM GAS /tmp/ccMY5QHu.s page 33
  1858. 1528:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn)
  1859. 1529:Drivers/CMSIS/Include/core_cm3.h **** {
  1860. 1530:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
  1861. 1531:Drivers/CMSIS/Include/core_cm3.h **** {
  1862. 1532:Drivers/CMSIS/Include/core_cm3.h **** return((uint32_t)(((NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
  1863. 1533:Drivers/CMSIS/Include/core_cm3.h **** }
  1864. 1534:Drivers/CMSIS/Include/core_cm3.h **** else
  1865. 1535:Drivers/CMSIS/Include/core_cm3.h **** {
  1866. 1536:Drivers/CMSIS/Include/core_cm3.h **** return(0U);
  1867. 1537:Drivers/CMSIS/Include/core_cm3.h **** }
  1868. 1538:Drivers/CMSIS/Include/core_cm3.h **** }
  1869. 1539:Drivers/CMSIS/Include/core_cm3.h ****
  1870. 1540:Drivers/CMSIS/Include/core_cm3.h ****
  1871. 1541:Drivers/CMSIS/Include/core_cm3.h **** /**
  1872. 1542:Drivers/CMSIS/Include/core_cm3.h **** \brief Disable Interrupt
  1873. 1543:Drivers/CMSIS/Include/core_cm3.h **** \details Disables a device specific interrupt in the NVIC interrupt controller.
  1874. 1544:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Device specific interrupt number.
  1875. 1545:Drivers/CMSIS/Include/core_cm3.h **** \note IRQn must not be negative.
  1876. 1546:Drivers/CMSIS/Include/core_cm3.h **** */
  1877. 1547:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void __NVIC_DisableIRQ(IRQn_Type IRQn)
  1878. 1548:Drivers/CMSIS/Include/core_cm3.h **** {
  1879. 1549:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
  1880. 1550:Drivers/CMSIS/Include/core_cm3.h **** {
  1881. 1551:Drivers/CMSIS/Include/core_cm3.h **** NVIC->ICER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  1882. 1552:Drivers/CMSIS/Include/core_cm3.h **** __DSB();
  1883. 1553:Drivers/CMSIS/Include/core_cm3.h **** __ISB();
  1884. 1554:Drivers/CMSIS/Include/core_cm3.h **** }
  1885. 1555:Drivers/CMSIS/Include/core_cm3.h **** }
  1886. 1556:Drivers/CMSIS/Include/core_cm3.h ****
  1887. 1557:Drivers/CMSIS/Include/core_cm3.h ****
  1888. 1558:Drivers/CMSIS/Include/core_cm3.h **** /**
  1889. 1559:Drivers/CMSIS/Include/core_cm3.h **** \brief Get Pending Interrupt
  1890. 1560:Drivers/CMSIS/Include/core_cm3.h **** \details Reads the NVIC pending register and returns the pending bit for the specified device spe
  1891. 1561:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Device specific interrupt number.
  1892. 1562:Drivers/CMSIS/Include/core_cm3.h **** \return 0 Interrupt status is not pending.
  1893. 1563:Drivers/CMSIS/Include/core_cm3.h **** \return 1 Interrupt status is pending.
  1894. 1564:Drivers/CMSIS/Include/core_cm3.h **** \note IRQn must not be negative.
  1895. 1565:Drivers/CMSIS/Include/core_cm3.h **** */
  1896. 1566:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t __NVIC_GetPendingIRQ(IRQn_Type IRQn)
  1897. 1567:Drivers/CMSIS/Include/core_cm3.h **** {
  1898. 1568:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
  1899. 1569:Drivers/CMSIS/Include/core_cm3.h **** {
  1900. 1570:Drivers/CMSIS/Include/core_cm3.h **** return((uint32_t)(((NVIC->ISPR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
  1901. 1571:Drivers/CMSIS/Include/core_cm3.h **** }
  1902. 1572:Drivers/CMSIS/Include/core_cm3.h **** else
  1903. 1573:Drivers/CMSIS/Include/core_cm3.h **** {
  1904. 1574:Drivers/CMSIS/Include/core_cm3.h **** return(0U);
  1905. 1575:Drivers/CMSIS/Include/core_cm3.h **** }
  1906. 1576:Drivers/CMSIS/Include/core_cm3.h **** }
  1907. 1577:Drivers/CMSIS/Include/core_cm3.h ****
  1908. 1578:Drivers/CMSIS/Include/core_cm3.h ****
  1909. 1579:Drivers/CMSIS/Include/core_cm3.h **** /**
  1910. 1580:Drivers/CMSIS/Include/core_cm3.h **** \brief Set Pending Interrupt
  1911. 1581:Drivers/CMSIS/Include/core_cm3.h **** \details Sets the pending bit of a device specific interrupt in the NVIC pending register.
  1912. 1582:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Device specific interrupt number.
  1913. 1583:Drivers/CMSIS/Include/core_cm3.h **** \note IRQn must not be negative.
  1914. 1584:Drivers/CMSIS/Include/core_cm3.h **** */
  1915. ARM GAS /tmp/ccMY5QHu.s page 34
  1916. 1585:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void __NVIC_SetPendingIRQ(IRQn_Type IRQn)
  1917. 1586:Drivers/CMSIS/Include/core_cm3.h **** {
  1918. 1587:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
  1919. 1588:Drivers/CMSIS/Include/core_cm3.h **** {
  1920. 1589:Drivers/CMSIS/Include/core_cm3.h **** NVIC->ISPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  1921. 1590:Drivers/CMSIS/Include/core_cm3.h **** }
  1922. 1591:Drivers/CMSIS/Include/core_cm3.h **** }
  1923. 1592:Drivers/CMSIS/Include/core_cm3.h ****
  1924. 1593:Drivers/CMSIS/Include/core_cm3.h ****
  1925. 1594:Drivers/CMSIS/Include/core_cm3.h **** /**
  1926. 1595:Drivers/CMSIS/Include/core_cm3.h **** \brief Clear Pending Interrupt
  1927. 1596:Drivers/CMSIS/Include/core_cm3.h **** \details Clears the pending bit of a device specific interrupt in the NVIC pending register.
  1928. 1597:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Device specific interrupt number.
  1929. 1598:Drivers/CMSIS/Include/core_cm3.h **** \note IRQn must not be negative.
  1930. 1599:Drivers/CMSIS/Include/core_cm3.h **** */
  1931. 1600:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void __NVIC_ClearPendingIRQ(IRQn_Type IRQn)
  1932. 1601:Drivers/CMSIS/Include/core_cm3.h **** {
  1933. 1602:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
  1934. 1603:Drivers/CMSIS/Include/core_cm3.h **** {
  1935. 1604:Drivers/CMSIS/Include/core_cm3.h **** NVIC->ICPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
  1936. 1605:Drivers/CMSIS/Include/core_cm3.h **** }
  1937. 1606:Drivers/CMSIS/Include/core_cm3.h **** }
  1938. 1607:Drivers/CMSIS/Include/core_cm3.h ****
  1939. 1608:Drivers/CMSIS/Include/core_cm3.h ****
  1940. 1609:Drivers/CMSIS/Include/core_cm3.h **** /**
  1941. 1610:Drivers/CMSIS/Include/core_cm3.h **** \brief Get Active Interrupt
  1942. 1611:Drivers/CMSIS/Include/core_cm3.h **** \details Reads the active register in the NVIC and returns the active bit for the device specific
  1943. 1612:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Device specific interrupt number.
  1944. 1613:Drivers/CMSIS/Include/core_cm3.h **** \return 0 Interrupt status is not active.
  1945. 1614:Drivers/CMSIS/Include/core_cm3.h **** \return 1 Interrupt status is active.
  1946. 1615:Drivers/CMSIS/Include/core_cm3.h **** \note IRQn must not be negative.
  1947. 1616:Drivers/CMSIS/Include/core_cm3.h **** */
  1948. 1617:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t __NVIC_GetActive(IRQn_Type IRQn)
  1949. 1618:Drivers/CMSIS/Include/core_cm3.h **** {
  1950. 1619:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
  1951. 1620:Drivers/CMSIS/Include/core_cm3.h **** {
  1952. 1621:Drivers/CMSIS/Include/core_cm3.h **** return((uint32_t)(((NVIC->IABR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
  1953. 1622:Drivers/CMSIS/Include/core_cm3.h **** }
  1954. 1623:Drivers/CMSIS/Include/core_cm3.h **** else
  1955. 1624:Drivers/CMSIS/Include/core_cm3.h **** {
  1956. 1625:Drivers/CMSIS/Include/core_cm3.h **** return(0U);
  1957. 1626:Drivers/CMSIS/Include/core_cm3.h **** }
  1958. 1627:Drivers/CMSIS/Include/core_cm3.h **** }
  1959. 1628:Drivers/CMSIS/Include/core_cm3.h ****
  1960. 1629:Drivers/CMSIS/Include/core_cm3.h ****
  1961. 1630:Drivers/CMSIS/Include/core_cm3.h **** /**
  1962. 1631:Drivers/CMSIS/Include/core_cm3.h **** \brief Set Interrupt Priority
  1963. 1632:Drivers/CMSIS/Include/core_cm3.h **** \details Sets the priority of a device specific interrupt or a processor exception.
  1964. 1633:Drivers/CMSIS/Include/core_cm3.h **** The interrupt number can be positive to specify a device specific interrupt,
  1965. 1634:Drivers/CMSIS/Include/core_cm3.h **** or negative to specify a processor exception.
  1966. 1635:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Interrupt number.
  1967. 1636:Drivers/CMSIS/Include/core_cm3.h **** \param [in] priority Priority to set.
  1968. 1637:Drivers/CMSIS/Include/core_cm3.h **** \note The priority cannot be set for every processor exception.
  1969. 1638:Drivers/CMSIS/Include/core_cm3.h **** */
  1970. 1639:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
  1971. 1640:Drivers/CMSIS/Include/core_cm3.h **** {
  1972. 1641:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
  1973. ARM GAS /tmp/ccMY5QHu.s page 35
  1974. 1642:Drivers/CMSIS/Include/core_cm3.h **** {
  1975. 1643:Drivers/CMSIS/Include/core_cm3.h **** NVIC->IP[((uint32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (u
  1976. 1644:Drivers/CMSIS/Include/core_cm3.h **** }
  1977. 1645:Drivers/CMSIS/Include/core_cm3.h **** else
  1978. 1646:Drivers/CMSIS/Include/core_cm3.h **** {
  1979. 1647:Drivers/CMSIS/Include/core_cm3.h **** SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (u
  1980. 1648:Drivers/CMSIS/Include/core_cm3.h **** }
  1981. 1649:Drivers/CMSIS/Include/core_cm3.h **** }
  1982. 1650:Drivers/CMSIS/Include/core_cm3.h ****
  1983. 1651:Drivers/CMSIS/Include/core_cm3.h ****
  1984. 1652:Drivers/CMSIS/Include/core_cm3.h **** /**
  1985. 1653:Drivers/CMSIS/Include/core_cm3.h **** \brief Get Interrupt Priority
  1986. 1654:Drivers/CMSIS/Include/core_cm3.h **** \details Reads the priority of a device specific interrupt or a processor exception.
  1987. 1655:Drivers/CMSIS/Include/core_cm3.h **** The interrupt number can be positive to specify a device specific interrupt,
  1988. 1656:Drivers/CMSIS/Include/core_cm3.h **** or negative to specify a processor exception.
  1989. 1657:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Interrupt number.
  1990. 1658:Drivers/CMSIS/Include/core_cm3.h **** \return Interrupt Priority.
  1991. 1659:Drivers/CMSIS/Include/core_cm3.h **** Value is aligned automatically to the implemented priority bits of the microc
  1992. 1660:Drivers/CMSIS/Include/core_cm3.h **** */
  1993. 1661:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t __NVIC_GetPriority(IRQn_Type IRQn)
  1994. 1662:Drivers/CMSIS/Include/core_cm3.h **** {
  1995. 1663:Drivers/CMSIS/Include/core_cm3.h ****
  1996. 1664:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
  1997. 1665:Drivers/CMSIS/Include/core_cm3.h **** {
  1998. 1666:Drivers/CMSIS/Include/core_cm3.h **** return(((uint32_t)NVIC->IP[((uint32_t)IRQn)] >> (8U - __NVIC_PRIO_BITS)));
  1999. 1667:Drivers/CMSIS/Include/core_cm3.h **** }
  2000. 1668:Drivers/CMSIS/Include/core_cm3.h **** else
  2001. 1669:Drivers/CMSIS/Include/core_cm3.h **** {
  2002. 1670:Drivers/CMSIS/Include/core_cm3.h **** return(((uint32_t)SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] >> (8U - __NVIC_PRIO_BITS)));
  2003. 1671:Drivers/CMSIS/Include/core_cm3.h **** }
  2004. 1672:Drivers/CMSIS/Include/core_cm3.h **** }
  2005. 1673:Drivers/CMSIS/Include/core_cm3.h ****
  2006. 1674:Drivers/CMSIS/Include/core_cm3.h ****
  2007. 1675:Drivers/CMSIS/Include/core_cm3.h **** /**
  2008. 1676:Drivers/CMSIS/Include/core_cm3.h **** \brief Encode Priority
  2009. 1677:Drivers/CMSIS/Include/core_cm3.h **** \details Encodes the priority for an interrupt with the given priority group,
  2010. 1678:Drivers/CMSIS/Include/core_cm3.h **** preemptive priority value, and subpriority value.
  2011. 1679:Drivers/CMSIS/Include/core_cm3.h **** In case of a conflict between priority grouping and available
  2012. 1680:Drivers/CMSIS/Include/core_cm3.h **** priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
  2013. 1681:Drivers/CMSIS/Include/core_cm3.h **** \param [in] PriorityGroup Used priority group.
  2014. 1682:Drivers/CMSIS/Include/core_cm3.h **** \param [in] PreemptPriority Preemptive priority value (starting from 0).
  2015. 1683:Drivers/CMSIS/Include/core_cm3.h **** \param [in] SubPriority Subpriority value (starting from 0).
  2016. 1684:Drivers/CMSIS/Include/core_cm3.h **** \return Encoded priority. Value can be used in the function \ref NVIC_SetP
  2017. 1685:Drivers/CMSIS/Include/core_cm3.h **** */
  2018. 1686:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uin
  2019. 125 .loc 2 1686 26 view .LVU32
  2020. 126 .LBB43:
  2021. 1687:Drivers/CMSIS/Include/core_cm3.h **** {
  2022. 1688:Drivers/CMSIS/Include/core_cm3.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used
  2023. 127 .loc 2 1688 3 view .LVU33
  2024. 1689:Drivers/CMSIS/Include/core_cm3.h **** uint32_t PreemptPriorityBits;
  2025. 128 .loc 2 1689 3 view .LVU34
  2026. 1690:Drivers/CMSIS/Include/core_cm3.h **** uint32_t SubPriorityBits;
  2027. 129 .loc 2 1690 3 view .LVU35
  2028. 1691:Drivers/CMSIS/Include/core_cm3.h ****
  2029. 1692:Drivers/CMSIS/Include/core_cm3.h **** PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NV
  2030. 130 .loc 2 1692 3 view .LVU36
  2031. ARM GAS /tmp/ccMY5QHu.s page 36
  2032. 131 .loc 2 1692 31 is_stmt 0 view .LVU37
  2033. 132 000a C3F1070C rsb ip, r3, #7
  2034. 133 .loc 2 1692 23 view .LVU38
  2035. 134 000e BCF1040F cmp ip, #4
  2036. 135 0012 28BF it cs
  2037. 136 0014 4FF0040C movcs ip, #4
  2038. 137 .LVL11:
  2039. 1693:Drivers/CMSIS/Include/core_cm3.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  2040. 138 .loc 2 1693 3 is_stmt 1 view .LVU39
  2041. 139 .loc 2 1693 44 is_stmt 0 view .LVU40
  2042. 140 0018 03F1040E add lr, r3, #4
  2043. 141 .loc 2 1693 109 view .LVU41
  2044. 142 001c BEF1060F cmp lr, #6
  2045. 143 0020 18D9 bls .L8
  2046. 144 0022 033B subs r3, r3, #3
  2047. 145 .LVL12:
  2048. 146 .L5:
  2049. 1694:Drivers/CMSIS/Include/core_cm3.h ****
  2050. 1695:Drivers/CMSIS/Include/core_cm3.h **** return (
  2051. 147 .loc 2 1695 3 is_stmt 1 view .LVU42
  2052. 1696:Drivers/CMSIS/Include/core_cm3.h **** ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits
  2053. 148 .loc 2 1696 30 is_stmt 0 view .LVU43
  2054. 149 0024 4FF0FF3E mov lr, #-1
  2055. 150 .LVL13:
  2056. 151 .loc 2 1696 30 view .LVU44
  2057. 152 0028 0EFA0CFC lsl ip, lr, ip
  2058. 153 .LVL14:
  2059. 154 .loc 2 1696 30 view .LVU45
  2060. 155 002c 21EA0C01 bic r1, r1, ip
  2061. 156 .LVL15:
  2062. 157 .loc 2 1696 82 view .LVU46
  2063. 158 0030 9940 lsls r1, r1, r3
  2064. 1697:Drivers/CMSIS/Include/core_cm3.h **** ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
  2065. 159 .loc 2 1697 30 view .LVU47
  2066. 160 0032 0EFA03F3 lsl r3, lr, r3
  2067. 161 .LVL16:
  2068. 162 .loc 2 1697 30 view .LVU48
  2069. 163 0036 22EA0303 bic r3, r2, r3
  2070. 1696:Drivers/CMSIS/Include/core_cm3.h **** ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits
  2071. 164 .loc 2 1696 102 view .LVU49
  2072. 165 003a 1943 orrs r1, r1, r3
  2073. 166 .LVL17:
  2074. 1696:Drivers/CMSIS/Include/core_cm3.h **** ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits
  2075. 167 .loc 2 1696 102 view .LVU50
  2076. 168 .LBE43:
  2077. 169 .LBE42:
  2078. 170 .LBB45:
  2079. 171 .LBI45:
  2080. 1639:Drivers/CMSIS/Include/core_cm3.h **** {
  2081. 172 .loc 2 1639 22 is_stmt 1 view .LVU51
  2082. 173 .LBB46:
  2083. 1641:Drivers/CMSIS/Include/core_cm3.h **** {
  2084. 174 .loc 2 1641 3 view .LVU52
  2085. 1641:Drivers/CMSIS/Include/core_cm3.h **** {
  2086. 175 .loc 2 1641 6 is_stmt 0 view .LVU53
  2087. 176 003c 0028 cmp r0, #0
  2088. 177 003e 0BDB blt .L6
  2089. ARM GAS /tmp/ccMY5QHu.s page 37
  2090. 1643:Drivers/CMSIS/Include/core_cm3.h **** }
  2091. 178 .loc 2 1643 5 is_stmt 1 view .LVU54
  2092. 1643:Drivers/CMSIS/Include/core_cm3.h **** }
  2093. 179 .loc 2 1643 48 is_stmt 0 view .LVU55
  2094. 180 0040 0901 lsls r1, r1, #4
  2095. 181 .LVL18:
  2096. 1643:Drivers/CMSIS/Include/core_cm3.h **** }
  2097. 182 .loc 2 1643 48 view .LVU56
  2098. 183 0042 C9B2 uxtb r1, r1
  2099. 1643:Drivers/CMSIS/Include/core_cm3.h **** }
  2100. 184 .loc 2 1643 46 view .LVU57
  2101. 185 0044 00F16040 add r0, r0, #-536870912
  2102. 186 .LVL19:
  2103. 1643:Drivers/CMSIS/Include/core_cm3.h **** }
  2104. 187 .loc 2 1643 46 view .LVU58
  2105. 188 0048 00F56140 add r0, r0, #57600
  2106. 189 004c 80F80013 strb r1, [r0, #768]
  2107. 190 .LVL20:
  2108. 191 .L4:
  2109. 1643:Drivers/CMSIS/Include/core_cm3.h **** }
  2110. 192 .loc 2 1643 46 view .LVU59
  2111. 193 .LBE46:
  2112. 194 .LBE45:
  2113. 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  2114. 195 .loc 1 175 1 view .LVU60
  2115. 196 0050 5DF804FB ldr pc, [sp], #4
  2116. 197 .LVL21:
  2117. 198 .L8:
  2118. 199 .LBB48:
  2119. 200 .LBB44:
  2120. 1693:Drivers/CMSIS/Include/core_cm3.h ****
  2121. 201 .loc 2 1693 109 view .LVU61
  2122. 202 0054 0023 movs r3, #0
  2123. 203 .LVL22:
  2124. 1693:Drivers/CMSIS/Include/core_cm3.h ****
  2125. 204 .loc 2 1693 109 view .LVU62
  2126. 205 0056 E5E7 b .L5
  2127. 206 .LVL23:
  2128. 207 .L6:
  2129. 1693:Drivers/CMSIS/Include/core_cm3.h ****
  2130. 208 .loc 2 1693 109 view .LVU63
  2131. 209 .LBE44:
  2132. 210 .LBE48:
  2133. 211 .LBB49:
  2134. 212 .LBB47:
  2135. 1647:Drivers/CMSIS/Include/core_cm3.h **** }
  2136. 213 .loc 2 1647 5 is_stmt 1 view .LVU64
  2137. 1647:Drivers/CMSIS/Include/core_cm3.h **** }
  2138. 214 .loc 2 1647 32 is_stmt 0 view .LVU65
  2139. 215 0058 00F00F00 and r0, r0, #15
  2140. 216 .LVL24:
  2141. 1647:Drivers/CMSIS/Include/core_cm3.h **** }
  2142. 217 .loc 2 1647 48 view .LVU66
  2143. 218 005c 0901 lsls r1, r1, #4
  2144. 219 .LVL25:
  2145. 1647:Drivers/CMSIS/Include/core_cm3.h **** }
  2146. 220 .loc 2 1647 48 view .LVU67
  2147. ARM GAS /tmp/ccMY5QHu.s page 38
  2148. 221 005e C9B2 uxtb r1, r1
  2149. 1647:Drivers/CMSIS/Include/core_cm3.h **** }
  2150. 222 .loc 2 1647 46 view .LVU68
  2151. 223 0060 024B ldr r3, .L10+4
  2152. 224 0062 1954 strb r1, [r3, r0]
  2153. 225 .LVL26:
  2154. 1647:Drivers/CMSIS/Include/core_cm3.h **** }
  2155. 226 .loc 2 1647 46 view .LVU69
  2156. 227 .LBE47:
  2157. 228 .LBE49:
  2158. 229 .loc 1 175 1 view .LVU70
  2159. 230 0064 F4E7 b .L4
  2160. 231 .L11:
  2161. 232 0066 00BF .align 2
  2162. 233 .L10:
  2163. 234 0068 00ED00E0 .word -536810240
  2164. 235 006c 14ED00E0 .word -536810220
  2165. 236 .cfi_endproc
  2166. 237 .LFE66:
  2167. 239 .section .text.HAL_NVIC_EnableIRQ,"ax",%progbits
  2168. 240 .align 1
  2169. 241 .global HAL_NVIC_EnableIRQ
  2170. 242 .syntax unified
  2171. 243 .thumb
  2172. 244 .thumb_func
  2173. 246 HAL_NVIC_EnableIRQ:
  2174. 247 .LVL27:
  2175. 248 .LFB67:
  2176. 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  2177. 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  2178. 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Enables a device specific interrupt in the NVIC interrupt controller.
  2179. 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @note To configure interrupts priority correctly, the NVIC_PriorityGroupConfig()
  2180. 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * function should be called before.
  2181. 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn External interrupt number.
  2182. 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  2183. 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  2184. 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
  2185. 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  2186. 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_EnableIRQ(IRQn_Type IRQn)
  2187. 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  2188. 249 .loc 1 187 1 is_stmt 1 view -0
  2189. 250 .cfi_startproc
  2190. 251 @ args = 0, pretend = 0, frame = 0
  2191. 252 @ frame_needed = 0, uses_anonymous_args = 0
  2192. 253 @ link register save eliminated.
  2193. 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
  2194. 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  2195. 254 .loc 1 189 3 view .LVU72
  2196. 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  2197. 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Enable interrupt */
  2198. 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_EnableIRQ(IRQn);
  2199. 255 .loc 1 192 3 view .LVU73
  2200. 256 .LBB50:
  2201. 257 .LBI50:
  2202. 1511:Drivers/CMSIS/Include/core_cm3.h **** {
  2203. 258 .loc 2 1511 22 view .LVU74
  2204. 259 .LBB51:
  2205. ARM GAS /tmp/ccMY5QHu.s page 39
  2206. 1513:Drivers/CMSIS/Include/core_cm3.h **** {
  2207. 260 .loc 2 1513 3 view .LVU75
  2208. 1513:Drivers/CMSIS/Include/core_cm3.h **** {
  2209. 261 .loc 2 1513 6 is_stmt 0 view .LVU76
  2210. 262 0000 0028 cmp r0, #0
  2211. 263 .LVL28:
  2212. 1513:Drivers/CMSIS/Include/core_cm3.h **** {
  2213. 264 .loc 2 1513 6 view .LVU77
  2214. 265 0002 07DB blt .L12
  2215. 1515:Drivers/CMSIS/Include/core_cm3.h **** }
  2216. 266 .loc 2 1515 5 is_stmt 1 view .LVU78
  2217. 1515:Drivers/CMSIS/Include/core_cm3.h **** }
  2218. 267 .loc 2 1515 81 is_stmt 0 view .LVU79
  2219. 268 0004 00F01F02 and r2, r0, #31
  2220. 1515:Drivers/CMSIS/Include/core_cm3.h **** }
  2221. 269 .loc 2 1515 34 view .LVU80
  2222. 270 0008 4009 lsrs r0, r0, #5
  2223. 1515:Drivers/CMSIS/Include/core_cm3.h **** }
  2224. 271 .loc 2 1515 45 view .LVU81
  2225. 272 000a 0123 movs r3, #1
  2226. 273 000c 9340 lsls r3, r3, r2
  2227. 1515:Drivers/CMSIS/Include/core_cm3.h **** }
  2228. 274 .loc 2 1515 43 view .LVU82
  2229. 275 000e 024A ldr r2, .L14
  2230. 276 0010 42F82030 str r3, [r2, r0, lsl #2]
  2231. 277 .LVL29:
  2232. 278 .L12:
  2233. 1515:Drivers/CMSIS/Include/core_cm3.h **** }
  2234. 279 .loc 2 1515 43 view .LVU83
  2235. 280 .LBE51:
  2236. 281 .LBE50:
  2237. 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  2238. 282 .loc 1 193 1 view .LVU84
  2239. 283 0014 7047 bx lr
  2240. 284 .L15:
  2241. 285 0016 00BF .align 2
  2242. 286 .L14:
  2243. 287 0018 00E100E0 .word -536813312
  2244. 288 .cfi_endproc
  2245. 289 .LFE67:
  2246. 291 .section .text.HAL_NVIC_DisableIRQ,"ax",%progbits
  2247. 292 .align 1
  2248. 293 .global HAL_NVIC_DisableIRQ
  2249. 294 .syntax unified
  2250. 295 .thumb
  2251. 296 .thumb_func
  2252. 298 HAL_NVIC_DisableIRQ:
  2253. 299 .LVL30:
  2254. 300 .LFB68:
  2255. 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  2256. 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  2257. 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Disables a device specific interrupt in the NVIC interrupt controller.
  2258. 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn External interrupt number.
  2259. 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  2260. 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  2261. 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
  2262. 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  2263. ARM GAS /tmp/ccMY5QHu.s page 40
  2264. 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_DisableIRQ(IRQn_Type IRQn)
  2265. 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  2266. 301 .loc 1 203 1 is_stmt 1 view -0
  2267. 302 .cfi_startproc
  2268. 303 @ args = 0, pretend = 0, frame = 0
  2269. 304 @ frame_needed = 0, uses_anonymous_args = 0
  2270. 305 @ link register save eliminated.
  2271. 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
  2272. 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  2273. 306 .loc 1 205 3 view .LVU86
  2274. 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  2275. 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Disable interrupt */
  2276. 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_DisableIRQ(IRQn);
  2277. 307 .loc 1 208 3 view .LVU87
  2278. 308 .LBB58:
  2279. 309 .LBI58:
  2280. 1547:Drivers/CMSIS/Include/core_cm3.h **** {
  2281. 310 .loc 2 1547 22 view .LVU88
  2282. 311 .LBB59:
  2283. 1549:Drivers/CMSIS/Include/core_cm3.h **** {
  2284. 312 .loc 2 1549 3 view .LVU89
  2285. 1549:Drivers/CMSIS/Include/core_cm3.h **** {
  2286. 313 .loc 2 1549 6 is_stmt 0 view .LVU90
  2287. 314 0000 0028 cmp r0, #0
  2288. 315 .LVL31:
  2289. 1549:Drivers/CMSIS/Include/core_cm3.h **** {
  2290. 316 .loc 2 1549 6 view .LVU91
  2291. 317 0002 0CDB blt .L16
  2292. 1551:Drivers/CMSIS/Include/core_cm3.h **** __DSB();
  2293. 318 .loc 2 1551 5 is_stmt 1 view .LVU92
  2294. 1551:Drivers/CMSIS/Include/core_cm3.h **** __DSB();
  2295. 319 .loc 2 1551 81 is_stmt 0 view .LVU93
  2296. 320 0004 00F01F02 and r2, r0, #31
  2297. 1551:Drivers/CMSIS/Include/core_cm3.h **** __DSB();
  2298. 321 .loc 2 1551 34 view .LVU94
  2299. 322 0008 4009 lsrs r0, r0, #5
  2300. 1551:Drivers/CMSIS/Include/core_cm3.h **** __DSB();
  2301. 323 .loc 2 1551 45 view .LVU95
  2302. 324 000a 0123 movs r3, #1
  2303. 325 000c 9340 lsls r3, r3, r2
  2304. 1551:Drivers/CMSIS/Include/core_cm3.h **** __DSB();
  2305. 326 .loc 2 1551 43 view .LVU96
  2306. 327 000e 2030 adds r0, r0, #32
  2307. 328 0010 034A ldr r2, .L18
  2308. 329 0012 42F82030 str r3, [r2, r0, lsl #2]
  2309. 1552:Drivers/CMSIS/Include/core_cm3.h **** __ISB();
  2310. 330 .loc 2 1552 5 is_stmt 1 view .LVU97
  2311. 331 .LBB60:
  2312. 332 .LBI60:
  2313. 333 .file 3 "Drivers/CMSIS/Include/cmsis_gcc.h"
  2314. 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
  2315. 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
  2316. 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
  2317. 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.0.4
  2318. 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 09. April 2018
  2319. 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
  2320. 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
  2321. ARM GAS /tmp/ccMY5QHu.s page 41
  2322. 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
  2323. 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2324. 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
  2325. 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2326. 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
  2327. 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
  2328. 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
  2329. 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2330. 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
  2331. 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
  2332. 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
  2333. 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  2334. 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  2335. 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
  2336. 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
  2337. 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2338. 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2339. 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
  2340. 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
  2341. 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2342. 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
  2343. 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2344. 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
  2345. 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
  2346. 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
  2347. 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2348. 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
  2349. 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
  2350. 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
  2351. 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2352. 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2353. 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
  2354. 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
  2355. 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
  2356. 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2357. 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
  2358. 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
  2359. 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2360. 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
  2361. 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
  2362. 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2363. 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
  2364. 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
  2365. 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2366. 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
  2367. 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
  2368. 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2369. 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
  2370. 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
  2371. 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2372. 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
  2373. 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
  2374. 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2375. 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
  2376. 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
  2377. 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2378. 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
  2379. ARM GAS /tmp/ccMY5QHu.s page 42
  2380. 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
  2381. 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2382. 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
  2383. 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
  2384. 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2385. 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
  2386. 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2387. 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2388. 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2389. 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
  2390. 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2391. 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
  2392. 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2393. 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
  2394. 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2395. 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2396. 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2397. 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
  2398. 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2399. 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
  2400. 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2401. 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
  2402. 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2403. 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2404. 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2405. 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
  2406. 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2407. 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
  2408. 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2409. 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
  2410. 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2411. 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2412. 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2413. 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
  2414. 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2415. 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
  2416. 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2417. 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
  2418. 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
  2419. 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
  2420. 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
  2421. 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
  2422. 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
  2423. 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
  2424. 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2425. 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
  2426. 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
  2427. 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2428. 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
  2429. 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
  2430. 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2431. 116:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2432. 117:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2433. 118:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
  2434. 119:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
  2435. 120:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
  2436. 121:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  2437. ARM GAS /tmp/ccMY5QHu.s page 43
  2438. 122:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2439. 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2440. 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2441. 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
  2442. 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
  2443. 127:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  2444. 128:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2445. 129:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
  2446. 130:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2447. 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
  2448. 132:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2449. 133:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2450. 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2451. 135:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2452. 136:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
  2453. 137:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
  2454. 138:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  2455. 139:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2456. 140:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
  2457. 141:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2458. 142:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
  2459. 143:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2460. 144:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2461. 145:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2462. 146:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2463. 147:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
  2464. 148:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
  2465. 149:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
  2466. 150:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2467. 151:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
  2468. 152:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2469. 153:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2470. 154:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2471. 155:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
  2472. 156:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2473. 157:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2474. 158:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2475. 159:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2476. 160:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2477. 161:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2478. 162:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
  2479. 163:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
  2480. 164:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
  2481. 165:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2482. 166:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
  2483. 167:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2484. 168:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2485. 169:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2486. 170:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
  2487. 171:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2488. 172:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2489. 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2490. 174:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2491. 175:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2492. 176:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2493. 177:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
  2494. 178:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
  2495. ARM GAS /tmp/ccMY5QHu.s page 44
  2496. 179:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  2497. 180:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2498. 181:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
  2499. 182:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2500. 183:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
  2501. 184:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2502. 185:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2503. 186:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2504. 187:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2505. 188:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2506. 189:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
  2507. 190:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
  2508. 191:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
  2509. 192:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2510. 193:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
  2511. 194:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2512. 195:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
  2513. 196:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2514. 197:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2515. 198:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2516. 199:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2517. 200:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2518. 201:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
  2519. 202:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
  2520. 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
  2521. 204:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2522. 205:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
  2523. 206:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2524. 207:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2525. 208:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2526. 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
  2527. 210:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2528. 211:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2529. 212:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2530. 213:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2531. 214:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2532. 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
  2533. 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
  2534. 217:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
  2535. 218:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2536. 219:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
  2537. 220:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2538. 221:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2539. 222:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2540. 223:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
  2541. 224:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2542. 225:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2543. 226:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2544. 227:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2545. 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2546. 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
  2547. 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
  2548. 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
  2549. 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2550. 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
  2551. 234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2552. 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2553. ARM GAS /tmp/ccMY5QHu.s page 45
  2554. 236:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2555. 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
  2556. 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2557. 239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2558. 240:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2559. 241:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2560. 242:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2561. 243:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
  2562. 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
  2563. 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  2564. 246:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2565. 247:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
  2566. 248:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2567. 249:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2568. 250:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2569. 251:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
  2570. 252:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2571. 253:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2572. 254:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2573. 255:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2574. 256:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2575. 257:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2576. 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
  2577. 259:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
  2578. 260:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
  2579. 261:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2580. 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
  2581. 263:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2582. 264:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2583. 265:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2584. 266:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
  2585. 267:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2586. 268:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2587. 269:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2588. 270:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2589. 271:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2590. 272:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2591. 273:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
  2592. 274:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
  2593. 275:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  2594. 276:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2595. 277:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
  2596. 278:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2597. 279:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
  2598. 280:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2599. 281:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2600. 282:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2601. 283:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2602. 284:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2603. 285:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  2604. 286:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
  2605. 287:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
  2606. 288:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2607. 289:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
  2608. 290:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2609. 291:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
  2610. 292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2611. ARM GAS /tmp/ccMY5QHu.s page 46
  2612. 293:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2613. 294:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2614. 295:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2615. 296:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2616. 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
  2617. 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
  2618. 299:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  2619. 300:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2620. 301:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
  2621. 302:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2622. 303:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2623. 304:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2624. 305:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
  2625. 306:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2626. 307:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2627. 308:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2628. 309:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2629. 310:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2630. 311:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2631. 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
  2632. 313:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
  2633. 314:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
  2634. 315:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2635. 316:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
  2636. 317:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2637. 318:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2638. 319:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2639. 320:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
  2640. 321:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2641. 322:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2642. 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2643. 324:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2644. 325:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2645. 326:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2646. 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
  2647. 328:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
  2648. 329:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  2649. 330:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2650. 331:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
  2651. 332:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2652. 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
  2653. 334:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2654. 335:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2655. 336:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2656. 337:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2657. 338:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2658. 339:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
  2659. 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
  2660. 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
  2661. 342:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2662. 343:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
  2663. 344:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2664. 345:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
  2665. 346:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2666. 347:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2667. 348:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2668. 349:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2669. ARM GAS /tmp/ccMY5QHu.s page 47
  2670. 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2671. 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2672. 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
  2673. 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
  2674. 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
  2675. 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2676. 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
  2677. 357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2678. 358:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2679. 359:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2680. 360:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
  2681. 361:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2682. 362:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2683. 363:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2684. 364:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2685. 365:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2686. 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
  2687. 367:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
  2688. 368:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
  2689. 369:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2690. 370:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
  2691. 371:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2692. 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
  2693. 373:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2694. 374:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2695. 375:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2696. 376:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2697. 377:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2698. 378:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
  2699. 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
  2700. 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  2701. 381:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2702. 382:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
  2703. 383:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2704. 384:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2705. 385:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2706. 386:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
  2707. 387:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2708. 388:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2709. 389:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2710. 390:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2711. 391:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2712. 392:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2713. 393:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
  2714. 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
  2715. 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
  2716. 396:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2717. 397:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
  2718. 398:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2719. 399:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2720. 400:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2721. 401:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
  2722. 402:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2723. 403:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2724. 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2725. 405:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2726. 406:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2727. ARM GAS /tmp/ccMY5QHu.s page 48
  2728. 407:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2729. 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
  2730. 409:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
  2731. 410:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  2732. 411:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2733. 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
  2734. 413:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2735. 414:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
  2736. 415:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2737. 416:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2738. 417:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2739. 418:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2740. 419:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2741. 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask (non-secure)
  2742. 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Priority Mask Register when in secure state.
  2743. 422:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
  2744. 423:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2745. 424:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PRIMASK_NS(uint32_t priMask)
  2746. 425:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2747. 426:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask_ns, %0" : : "r" (priMask) : "memory");
  2748. 427:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2749. 428:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2750. 429:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2751. 430:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2752. 431:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  2753. 432:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  2754. 433:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
  2755. 434:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2756. 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable FIQ
  2757. 436:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables FIQ interrupts by clearing the F-bit in the CPSR.
  2758. 437:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  2759. 438:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2760. 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_fault_irq(void)
  2761. 440:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2762. 441:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie f" : : : "memory");
  2763. 442:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2764. 443:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2765. 444:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2766. 445:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2767. 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable FIQ
  2768. 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables FIQ interrupts by setting the F-bit in the CPSR.
  2769. 448:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
  2770. 449:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2771. 450:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_fault_irq(void)
  2772. 451:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2773. 452:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid f" : : : "memory");
  2774. 453:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2775. 454:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2776. 455:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2777. 456:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2778. 457:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority
  2779. 458:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Base Priority register.
  2780. 459:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
  2781. 460:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2782. 461:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_BASEPRI(void)
  2783. 462:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2784. 463:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2785. ARM GAS /tmp/ccMY5QHu.s page 49
  2786. 464:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2787. 465:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri" : "=r" (result) );
  2788. 466:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2789. 467:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2790. 468:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2791. 469:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2792. 470:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2793. 471:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2794. 472:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority (non-secure)
  2795. 473:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Base Priority register when in secure state.
  2796. 474:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
  2797. 475:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2798. 476:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_BASEPRI_NS(void)
  2799. 477:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2800. 478:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2801. 479:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2802. 480:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri_ns" : "=r" (result) );
  2803. 481:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2804. 482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2805. 483:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2806. 484:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2807. 485:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2808. 486:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2809. 487:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority
  2810. 488:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register.
  2811. 489:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  2812. 490:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2813. 491:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI(uint32_t basePri)
  2814. 492:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2815. 493:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri, %0" : : "r" (basePri) : "memory");
  2816. 494:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2817. 495:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2818. 496:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2819. 497:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2820. 498:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2821. 499:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority (non-secure)
  2822. 500:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Base Priority register when in secure state.
  2823. 501:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  2824. 502:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2825. 503:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_BASEPRI_NS(uint32_t basePri)
  2826. 504:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2827. 505:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_ns, %0" : : "r" (basePri) : "memory");
  2828. 506:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2829. 507:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2830. 508:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2831. 509:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2832. 510:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2833. 511:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority with condition
  2834. 512:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register only if BASEPRI masking is disable
  2835. 513:Drivers/CMSIS/Include/cmsis_gcc.h **** or the new value increases the BASEPRI priority level.
  2836. 514:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
  2837. 515:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2838. 516:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI_MAX(uint32_t basePri)
  2839. 517:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2840. 518:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_max, %0" : : "r" (basePri) : "memory");
  2841. 519:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2842. 520:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2843. ARM GAS /tmp/ccMY5QHu.s page 50
  2844. 521:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2845. 522:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2846. 523:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask
  2847. 524:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Fault Mask register.
  2848. 525:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
  2849. 526:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2850. 527:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FAULTMASK(void)
  2851. 528:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2852. 529:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2853. 530:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2854. 531:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask" : "=r" (result) );
  2855. 532:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2856. 533:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2857. 534:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2858. 535:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2859. 536:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2860. 537:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2861. 538:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask (non-secure)
  2862. 539:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Fault Mask register when in secure state.
  2863. 540:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
  2864. 541:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2865. 542:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_FAULTMASK_NS(void)
  2866. 543:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2867. 544:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2868. 545:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2869. 546:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask_ns" : "=r" (result) );
  2870. 547:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  2871. 548:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2872. 549:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2873. 550:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2874. 551:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2875. 552:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2876. 553:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask
  2877. 554:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Fault Mask register.
  2878. 555:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
  2879. 556:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2880. 557:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FAULTMASK(uint32_t faultMask)
  2881. 558:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2882. 559:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory");
  2883. 560:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2884. 561:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2885. 562:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2886. 563:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2887. 564:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2888. 565:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask (non-secure)
  2889. 566:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Fault Mask register when in secure state.
  2890. 567:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
  2891. 568:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2892. 569:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_FAULTMASK_NS(uint32_t faultMask)
  2893. 570:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2894. 571:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask_ns, %0" : : "r" (faultMask) : "memory");
  2895. 572:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2896. 573:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2897. 574:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2898. 575:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
  2899. 576:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
  2900. 577:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) */
  2901. ARM GAS /tmp/ccMY5QHu.s page 51
  2902. 578:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2903. 579:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2904. 580:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
  2905. 581:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) )
  2906. 582:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2907. 583:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2908. 584:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit
  2909. 585:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  2910. 586:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
  2911. 587:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  2912. 588:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2913. 589:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer Limit (PSPLIM).
  2914. 590:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
  2915. 591:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2916. 592:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSPLIM(void)
  2917. 593:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2918. 594:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  2919. 595:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  2920. 596:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  2921. 597:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  2922. 598:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2923. 599:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2924. 600:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim" : "=r" (result) );
  2925. 601:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  2926. 602:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2927. 603:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2928. 604:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2929. 605:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3))
  2930. 606:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2931. 607:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit (non-secure)
  2932. 608:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  2933. 609:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
  2934. 610:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2935. 611:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in
  2936. 612:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
  2937. 613:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2938. 614:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSPLIM_NS(void)
  2939. 615:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2940. 616:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  2941. 617:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  2942. 618:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  2943. 619:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2944. 620:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  2945. 621:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim_ns" : "=r" (result) );
  2946. 622:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  2947. 623:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2948. 624:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2949. 625:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2950. 626:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2951. 627:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2952. 628:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2953. 629:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer Limit
  2954. 630:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  2955. 631:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
  2956. 632:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  2957. 633:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2958. 634:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer Limit (PSPLIM).
  2959. ARM GAS /tmp/ccMY5QHu.s page 52
  2960. 635:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
  2961. 636:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2962. 637:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSPLIM(uint32_t ProcStackPtrLimit)
  2963. 638:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2964. 639:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  2965. 640:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  2966. 641:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  2967. 642:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
  2968. 643:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2969. 644:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim, %0" : : "r" (ProcStackPtrLimit));
  2970. 645:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2971. 646:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2972. 647:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2973. 648:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2974. 649:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  2975. 650:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2976. 651:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
  2977. 652:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  2978. 653:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
  2979. 654:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2980. 655:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in s
  2981. 656:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
  2982. 657:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  2983. 658:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSPLIM_NS(uint32_t ProcStackPtrLimit)
  2984. 659:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  2985. 660:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  2986. 661:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
  2987. 662:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
  2988. 663:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  2989. 664:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim_ns, %0\n" : : "r" (ProcStackPtrLimit));
  2990. 665:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2991. 666:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  2992. 667:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  2993. 668:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2994. 669:Drivers/CMSIS/Include/cmsis_gcc.h ****
  2995. 670:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  2996. 671:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit
  2997. 672:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  2998. 673:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
  2999. 674:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  3000. 675:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3001. 676:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer Limit (MSPLIM).
  3002. 677:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
  3003. 678:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3004. 679:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSPLIM(void)
  3005. 680:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3006. 681:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  3007. 682:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  3008. 683:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3009. 684:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  3010. 685:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3011. 686:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3012. 687:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim" : "=r" (result) );
  3013. 688:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  3014. 689:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3015. 690:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3016. 691:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3017. ARM GAS /tmp/ccMY5QHu.s page 53
  3018. 692:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3019. 693:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3020. 694:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3021. 695:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit (non-secure)
  3022. 696:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3023. 697:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
  3024. 698:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3025. 699:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in sec
  3026. 700:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
  3027. 701:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3028. 702:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSPLIM_NS(void)
  3029. 703:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3030. 704:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  3031. 705:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3032. 706:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
  3033. 707:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3034. 708:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3035. 709:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim_ns" : "=r" (result) );
  3036. 710:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
  3037. 711:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3038. 712:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3039. 713:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3040. 714:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3041. 715:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3042. 716:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3043. 717:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit
  3044. 718:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3045. 719:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
  3046. 720:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
  3047. 721:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3048. 722:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer Limit (MSPLIM).
  3049. 723:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer Limit value to set
  3050. 724:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3051. 725:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSPLIM(uint32_t MainStackPtrLimit)
  3052. 726:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3053. 727:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
  3054. 728:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
  3055. 729:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3056. 730:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
  3057. 731:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3058. 732:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim, %0" : : "r" (MainStackPtrLimit));
  3059. 733:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3060. 734:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3061. 735:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3062. 736:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3063. 737:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
  3064. 738:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3065. 739:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit (non-secure)
  3066. 740:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
  3067. 741:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
  3068. 742:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3069. 743:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secu
  3070. 744:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer value to set
  3071. 745:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3072. 746:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSPLIM_NS(uint32_t MainStackPtrLimit)
  3073. 747:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3074. 748:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
  3075. ARM GAS /tmp/ccMY5QHu.s page 54
  3076. 749:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
  3077. 750:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
  3078. 751:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3079. 752:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim_ns, %0" : : "r" (MainStackPtrLimit));
  3080. 753:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3081. 754:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3082. 755:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3083. 756:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3084. 757:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
  3085. 758:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) */
  3086. 759:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3087. 760:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3088. 761:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3089. 762:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get FPSCR
  3090. 763:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Floating Point Status/Control register.
  3091. 764:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Floating Point Status/Control register value
  3092. 765:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3093. 766:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FPSCR(void)
  3094. 767:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3095. 768:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
  3096. 769:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
  3097. 770:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_get_fpscr)
  3098. 771:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
  3099. 772:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
  3100. 773:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
  3101. 774:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_arm_get_fpscr();
  3102. 775:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3103. 776:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
  3104. 777:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3105. 778:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMRS %0, fpscr" : "=r" (result) );
  3106. 779:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
  3107. 780:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3108. 781:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3109. 782:Drivers/CMSIS/Include/cmsis_gcc.h **** return(0U);
  3110. 783:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3111. 784:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3112. 785:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3113. 786:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3114. 787:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3115. 788:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set FPSCR
  3116. 789:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Floating Point Status/Control register.
  3117. 790:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] fpscr Floating Point Status/Control value to set
  3118. 791:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3119. 792:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FPSCR(uint32_t fpscr)
  3120. 793:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3121. 794:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
  3122. 795:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
  3123. 796:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_set_fpscr)
  3124. 797:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
  3125. 798:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
  3126. 799:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
  3127. 800:Drivers/CMSIS/Include/cmsis_gcc.h **** __builtin_arm_set_fpscr(fpscr);
  3128. 801:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3129. 802:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc", "memory");
  3130. 803:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3131. 804:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3132. 805:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)fpscr;
  3133. ARM GAS /tmp/ccMY5QHu.s page 55
  3134. 806:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3135. 807:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3136. 808:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3137. 809:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3138. 810:Drivers/CMSIS/Include/cmsis_gcc.h **** /*@} end of CMSIS_Core_RegAccFunctions */
  3139. 811:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3140. 812:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3141. 813:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################## Core Instruction Access ######################### */
  3142. 814:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
  3143. 815:Drivers/CMSIS/Include/cmsis_gcc.h **** Access to dedicated instructions
  3144. 816:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
  3145. 817:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3146. 818:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3147. 819:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Define macros for porting to both thumb1 and thumb2.
  3148. 820:Drivers/CMSIS/Include/cmsis_gcc.h **** * For thumb1, use low register (r0-r7), specified by constraint "l"
  3149. 821:Drivers/CMSIS/Include/cmsis_gcc.h **** * Otherwise, use general registers, specified by constraint "r" */
  3150. 822:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined (__thumb__) && !defined (__thumb2__)
  3151. 823:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=l" (r)
  3152. 824:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+l" (r)
  3153. 825:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "l" (r)
  3154. 826:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
  3155. 827:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=r" (r)
  3156. 828:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+r" (r)
  3157. 829:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "r" (r)
  3158. 830:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
  3159. 831:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3160. 832:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3161. 833:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief No Operation
  3162. 834:Drivers/CMSIS/Include/cmsis_gcc.h **** \details No Operation does nothing. This instruction can be used for code alignment purposes.
  3163. 835:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3164. 836:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NOP() __ASM volatile ("nop")
  3165. 837:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3166. 838:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3167. 839:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Interrupt
  3168. 840:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Interrupt is a hint instruction that suspends execution until one of a number o
  3169. 841:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3170. 842:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFI() __ASM volatile ("wfi")
  3171. 843:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3172. 844:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3173. 845:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3174. 846:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Event
  3175. 847:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Event is a hint instruction that permits the processor to enter
  3176. 848:Drivers/CMSIS/Include/cmsis_gcc.h **** a low-power state until one of a number of events occurs.
  3177. 849:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3178. 850:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFE() __ASM volatile ("wfe")
  3179. 851:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3180. 852:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3181. 853:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3182. 854:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Send Event
  3183. 855:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Send Event is a hint instruction. It causes an event to be signaled to the CPU.
  3184. 856:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3185. 857:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __SEV() __ASM volatile ("sev")
  3186. 858:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3187. 859:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3188. 860:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3189. 861:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Instruction Synchronization Barrier
  3190. 862:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Instruction Synchronization Barrier flushes the pipeline in the processor,
  3191. ARM GAS /tmp/ccMY5QHu.s page 56
  3192. 863:Drivers/CMSIS/Include/cmsis_gcc.h **** so that all instructions following the ISB are fetched from cache or memory,
  3193. 864:Drivers/CMSIS/Include/cmsis_gcc.h **** after the instruction has been completed.
  3194. 865:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3195. 866:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __ISB(void)
  3196. 867:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3197. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("isb 0xF":::"memory");
  3198. 869:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3199. 870:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3200. 871:Drivers/CMSIS/Include/cmsis_gcc.h ****
  3201. 872:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
  3202. 873:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Synchronization Barrier
  3203. 874:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Acts as a special kind of Data Memory Barrier.
  3204. 875:Drivers/CMSIS/Include/cmsis_gcc.h **** It completes when all explicit memory accesses before this instruction complete.
  3205. 876:Drivers/CMSIS/Include/cmsis_gcc.h **** */
  3206. 877:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DSB(void)
  3207. 334 .loc 3 877 27 view .LVU98
  3208. 335 .LBB61:
  3209. 878:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3210. 879:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dsb 0xF":::"memory");
  3211. 336 .loc 3 879 3 view .LVU99
  3212. 337 .syntax unified
  3213. 338 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3214. 339 0016 BFF34F8F dsb 0xF
  3215. 340 @ 0 "" 2
  3216. 341 .thumb
  3217. 342 .syntax unified
  3218. 343 .LBE61:
  3219. 344 .LBE60:
  3220. 1553:Drivers/CMSIS/Include/core_cm3.h **** }
  3221. 345 .loc 2 1553 5 view .LVU100
  3222. 346 .LBB62:
  3223. 347 .LBI62:
  3224. 866:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3225. 348 .loc 3 866 27 view .LVU101
  3226. 349 .LBB63:
  3227. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3228. 350 .loc 3 868 3 view .LVU102
  3229. 351 .syntax unified
  3230. 352 @ 868 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3231. 353 001a BFF36F8F isb 0xF
  3232. 354 @ 0 "" 2
  3233. 355 .LVL32:
  3234. 356 .thumb
  3235. 357 .syntax unified
  3236. 358 .L16:
  3237. 868:Drivers/CMSIS/Include/cmsis_gcc.h **** }
  3238. 359 .loc 3 868 3 is_stmt 0 view .LVU103
  3239. 360 .LBE63:
  3240. 361 .LBE62:
  3241. 362 .LBE59:
  3242. 363 .LBE58:
  3243. 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  3244. 364 .loc 1 209 1 view .LVU104
  3245. 365 001e 7047 bx lr
  3246. 366 .L19:
  3247. 367 .align 2
  3248. 368 .L18:
  3249. ARM GAS /tmp/ccMY5QHu.s page 57
  3250. 369 0020 00E100E0 .word -536813312
  3251. 370 .cfi_endproc
  3252. 371 .LFE68:
  3253. 373 .section .text.HAL_NVIC_SystemReset,"ax",%progbits
  3254. 374 .align 1
  3255. 375 .global HAL_NVIC_SystemReset
  3256. 376 .syntax unified
  3257. 377 .thumb
  3258. 378 .thumb_func
  3259. 380 HAL_NVIC_SystemReset:
  3260. 381 .LFB69:
  3261. 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3262. 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  3263. 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Initiates a system reset request to reset the MCU.
  3264. 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
  3265. 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  3266. 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_SystemReset(void)
  3267. 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  3268. 382 .loc 1 216 1 is_stmt 1 view -0
  3269. 383 .cfi_startproc
  3270. 384 @ Volatile: function does not return.
  3271. 385 @ args = 0, pretend = 0, frame = 0
  3272. 386 @ frame_needed = 0, uses_anonymous_args = 0
  3273. 387 @ link register save eliminated.
  3274. 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* System Reset */
  3275. 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_SystemReset();
  3276. 388 .loc 1 218 3 view .LVU106
  3277. 389 .LBB70:
  3278. 390 .LBI70:
  3279. 1698:Drivers/CMSIS/Include/core_cm3.h **** );
  3280. 1699:Drivers/CMSIS/Include/core_cm3.h **** }
  3281. 1700:Drivers/CMSIS/Include/core_cm3.h ****
  3282. 1701:Drivers/CMSIS/Include/core_cm3.h ****
  3283. 1702:Drivers/CMSIS/Include/core_cm3.h **** /**
  3284. 1703:Drivers/CMSIS/Include/core_cm3.h **** \brief Decode Priority
  3285. 1704:Drivers/CMSIS/Include/core_cm3.h **** \details Decodes an interrupt priority value with a given priority group to
  3286. 1705:Drivers/CMSIS/Include/core_cm3.h **** preemptive priority value and subpriority value.
  3287. 1706:Drivers/CMSIS/Include/core_cm3.h **** In case of a conflict between priority grouping and available
  3288. 1707:Drivers/CMSIS/Include/core_cm3.h **** priority bits (__NVIC_PRIO_BITS) the smallest possible priority group is set.
  3289. 1708:Drivers/CMSIS/Include/core_cm3.h **** \param [in] Priority Priority value, which can be retrieved with the function \ref NVIC
  3290. 1709:Drivers/CMSIS/Include/core_cm3.h **** \param [in] PriorityGroup Used priority group.
  3291. 1710:Drivers/CMSIS/Include/core_cm3.h **** \param [out] pPreemptPriority Preemptive priority value (starting from 0).
  3292. 1711:Drivers/CMSIS/Include/core_cm3.h **** \param [out] pSubPriority Subpriority value (starting from 0).
  3293. 1712:Drivers/CMSIS/Include/core_cm3.h **** */
  3294. 1713:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* cons
  3295. 1714:Drivers/CMSIS/Include/core_cm3.h **** {
  3296. 1715:Drivers/CMSIS/Include/core_cm3.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used
  3297. 1716:Drivers/CMSIS/Include/core_cm3.h **** uint32_t PreemptPriorityBits;
  3298. 1717:Drivers/CMSIS/Include/core_cm3.h **** uint32_t SubPriorityBits;
  3299. 1718:Drivers/CMSIS/Include/core_cm3.h ****
  3300. 1719:Drivers/CMSIS/Include/core_cm3.h **** PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NV
  3301. 1720:Drivers/CMSIS/Include/core_cm3.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  3302. 1721:Drivers/CMSIS/Include/core_cm3.h ****
  3303. 1722:Drivers/CMSIS/Include/core_cm3.h **** *pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1
  3304. 1723:Drivers/CMSIS/Include/core_cm3.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  3305. 1724:Drivers/CMSIS/Include/core_cm3.h **** }
  3306. 1725:Drivers/CMSIS/Include/core_cm3.h ****
  3307. ARM GAS /tmp/ccMY5QHu.s page 58
  3308. 1726:Drivers/CMSIS/Include/core_cm3.h ****
  3309. 1727:Drivers/CMSIS/Include/core_cm3.h **** /**
  3310. 1728:Drivers/CMSIS/Include/core_cm3.h **** \brief Set Interrupt Vector
  3311. 1729:Drivers/CMSIS/Include/core_cm3.h **** \details Sets an interrupt vector in SRAM based interrupt vector table.
  3312. 1730:Drivers/CMSIS/Include/core_cm3.h **** The interrupt number can be positive to specify a device specific interrupt,
  3313. 1731:Drivers/CMSIS/Include/core_cm3.h **** or negative to specify a processor exception.
  3314. 1732:Drivers/CMSIS/Include/core_cm3.h **** VTOR must been relocated to SRAM before.
  3315. 1733:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Interrupt number
  3316. 1734:Drivers/CMSIS/Include/core_cm3.h **** \param [in] vector Address of interrupt handler function
  3317. 1735:Drivers/CMSIS/Include/core_cm3.h **** */
  3318. 1736:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector)
  3319. 1737:Drivers/CMSIS/Include/core_cm3.h **** {
  3320. 1738:Drivers/CMSIS/Include/core_cm3.h **** uint32_t *vectors = (uint32_t *)SCB->VTOR;
  3321. 1739:Drivers/CMSIS/Include/core_cm3.h **** vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET] = vector;
  3322. 1740:Drivers/CMSIS/Include/core_cm3.h **** }
  3323. 1741:Drivers/CMSIS/Include/core_cm3.h ****
  3324. 1742:Drivers/CMSIS/Include/core_cm3.h ****
  3325. 1743:Drivers/CMSIS/Include/core_cm3.h **** /**
  3326. 1744:Drivers/CMSIS/Include/core_cm3.h **** \brief Get Interrupt Vector
  3327. 1745:Drivers/CMSIS/Include/core_cm3.h **** \details Reads an interrupt vector from interrupt vector table.
  3328. 1746:Drivers/CMSIS/Include/core_cm3.h **** The interrupt number can be positive to specify a device specific interrupt,
  3329. 1747:Drivers/CMSIS/Include/core_cm3.h **** or negative to specify a processor exception.
  3330. 1748:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Interrupt number.
  3331. 1749:Drivers/CMSIS/Include/core_cm3.h **** \return Address of interrupt handler function
  3332. 1750:Drivers/CMSIS/Include/core_cm3.h **** */
  3333. 1751:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t __NVIC_GetVector(IRQn_Type IRQn)
  3334. 1752:Drivers/CMSIS/Include/core_cm3.h **** {
  3335. 1753:Drivers/CMSIS/Include/core_cm3.h **** uint32_t *vectors = (uint32_t *)SCB->VTOR;
  3336. 1754:Drivers/CMSIS/Include/core_cm3.h **** return vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET];
  3337. 1755:Drivers/CMSIS/Include/core_cm3.h **** }
  3338. 1756:Drivers/CMSIS/Include/core_cm3.h ****
  3339. 1757:Drivers/CMSIS/Include/core_cm3.h ****
  3340. 1758:Drivers/CMSIS/Include/core_cm3.h **** /**
  3341. 1759:Drivers/CMSIS/Include/core_cm3.h **** \brief System Reset
  3342. 1760:Drivers/CMSIS/Include/core_cm3.h **** \details Initiates a system reset request to reset the MCU.
  3343. 1761:Drivers/CMSIS/Include/core_cm3.h **** */
  3344. 1762:Drivers/CMSIS/Include/core_cm3.h **** __NO_RETURN __STATIC_INLINE void __NVIC_SystemReset(void)
  3345. 391 .loc 2 1762 34 view .LVU107
  3346. 392 .LBB71:
  3347. 1763:Drivers/CMSIS/Include/core_cm3.h **** {
  3348. 1764:Drivers/CMSIS/Include/core_cm3.h **** __DSB(); /* Ensure all outstanding memor
  3349. 393 .loc 2 1764 3 view .LVU108
  3350. 394 .LBB72:
  3351. 395 .LBI72:
  3352. 877:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3353. 396 .loc 3 877 27 view .LVU109
  3354. 397 .LBB73:
  3355. 398 .loc 3 879 3 view .LVU110
  3356. 399 .syntax unified
  3357. 400 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3358. 401 0000 BFF34F8F dsb 0xF
  3359. 402 @ 0 "" 2
  3360. 403 .thumb
  3361. 404 .syntax unified
  3362. 405 .LBE73:
  3363. 406 .LBE72:
  3364. 1765:Drivers/CMSIS/Include/core_cm3.h **** buffered write are completed
  3365. ARM GAS /tmp/ccMY5QHu.s page 59
  3366. 1766:Drivers/CMSIS/Include/core_cm3.h **** SCB->AIRCR = (uint32_t)((0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
  3367. 407 .loc 2 1766 3 view .LVU111
  3368. 1767:Drivers/CMSIS/Include/core_cm3.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
  3369. 408 .loc 2 1767 32 is_stmt 0 view .LVU112
  3370. 409 0004 0549 ldr r1, .L22
  3371. 410 0006 CA68 ldr r2, [r1, #12]
  3372. 411 .loc 2 1767 40 view .LVU113
  3373. 412 0008 02F4E062 and r2, r2, #1792
  3374. 1766:Drivers/CMSIS/Include/core_cm3.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
  3375. 413 .loc 2 1766 17 view .LVU114
  3376. 414 000c 044B ldr r3, .L22+4
  3377. 415 000e 1343 orrs r3, r3, r2
  3378. 1766:Drivers/CMSIS/Include/core_cm3.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
  3379. 416 .loc 2 1766 15 view .LVU115
  3380. 417 0010 CB60 str r3, [r1, #12]
  3381. 1768:Drivers/CMSIS/Include/core_cm3.h **** SCB_AIRCR_SYSRESETREQ_Msk ); /* Keep priority group unchange
  3382. 1769:Drivers/CMSIS/Include/core_cm3.h **** __DSB(); /* Ensure completion of memory
  3383. 418 .loc 2 1769 3 is_stmt 1 view .LVU116
  3384. 419 .LBB74:
  3385. 420 .LBI74:
  3386. 877:Drivers/CMSIS/Include/cmsis_gcc.h **** {
  3387. 421 .loc 3 877 27 view .LVU117
  3388. 422 .LBB75:
  3389. 423 .loc 3 879 3 view .LVU118
  3390. 424 .syntax unified
  3391. 425 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
  3392. 426 0012 BFF34F8F dsb 0xF
  3393. 427 @ 0 "" 2
  3394. 428 .thumb
  3395. 429 .syntax unified
  3396. 430 .L21:
  3397. 431 .LBE75:
  3398. 432 .LBE74:
  3399. 1770:Drivers/CMSIS/Include/core_cm3.h ****
  3400. 1771:Drivers/CMSIS/Include/core_cm3.h **** for(;;) /* wait until reset */
  3401. 433 .loc 2 1771 3 view .LVU119
  3402. 1772:Drivers/CMSIS/Include/core_cm3.h **** {
  3403. 1773:Drivers/CMSIS/Include/core_cm3.h **** __NOP();
  3404. 434 .loc 2 1773 5 view .LVU120
  3405. 435 .syntax unified
  3406. 436 @ 1773 "Drivers/CMSIS/Include/core_cm3.h" 1
  3407. 437 0016 00BF nop
  3408. 438 @ 0 "" 2
  3409. 1771:Drivers/CMSIS/Include/core_cm3.h **** {
  3410. 439 .loc 2 1771 8 view .LVU121
  3411. 440 .thumb
  3412. 441 .syntax unified
  3413. 442 0018 FDE7 b .L21
  3414. 443 .L23:
  3415. 444 001a 00BF .align 2
  3416. 445 .L22:
  3417. 446 001c 00ED00E0 .word -536810240
  3418. 447 0020 0400FA05 .word 100270084
  3419. 448 .LBE71:
  3420. 449 .LBE70:
  3421. 450 .cfi_endproc
  3422. 451 .LFE69:
  3423. ARM GAS /tmp/ccMY5QHu.s page 60
  3424. 453 .section .text.HAL_SYSTICK_Config,"ax",%progbits
  3425. 454 .align 1
  3426. 455 .global HAL_SYSTICK_Config
  3427. 456 .syntax unified
  3428. 457 .thumb
  3429. 458 .thumb_func
  3430. 460 HAL_SYSTICK_Config:
  3431. 461 .LVL33:
  3432. 462 .LFB70:
  3433. 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  3434. 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3435. 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  3436. 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Initializes the System Timer and its interrupt, and starts the System Tick Timer.
  3437. 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * Counter is in free running mode to generate periodic interrupts.
  3438. 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param TicksNumb: Specifies the ticks Number of ticks between two interrupts.
  3439. 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval status: - 0 Function succeeded.
  3440. 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * - 1 Function failed.
  3441. 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  3442. 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb)
  3443. 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  3444. 463 .loc 1 229 1 view -0
  3445. 464 .cfi_startproc
  3446. 465 @ args = 0, pretend = 0, frame = 0
  3447. 466 @ frame_needed = 0, uses_anonymous_args = 0
  3448. 467 @ link register save eliminated.
  3449. 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** return SysTick_Config(TicksNumb);
  3450. 468 .loc 1 230 4 view .LVU123
  3451. 469 .LBB76:
  3452. 470 .LBI76:
  3453. 1774:Drivers/CMSIS/Include/core_cm3.h **** }
  3454. 1775:Drivers/CMSIS/Include/core_cm3.h **** }
  3455. 1776:Drivers/CMSIS/Include/core_cm3.h ****
  3456. 1777:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of CMSIS_Core_NVICFunctions */
  3457. 1778:Drivers/CMSIS/Include/core_cm3.h ****
  3458. 1779:Drivers/CMSIS/Include/core_cm3.h **** /* ########################## MPU functions #################################### */
  3459. 1780:Drivers/CMSIS/Include/core_cm3.h ****
  3460. 1781:Drivers/CMSIS/Include/core_cm3.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
  3461. 1782:Drivers/CMSIS/Include/core_cm3.h ****
  3462. 1783:Drivers/CMSIS/Include/core_cm3.h **** #include "mpu_armv7.h"
  3463. 1784:Drivers/CMSIS/Include/core_cm3.h ****
  3464. 1785:Drivers/CMSIS/Include/core_cm3.h **** #endif
  3465. 1786:Drivers/CMSIS/Include/core_cm3.h ****
  3466. 1787:Drivers/CMSIS/Include/core_cm3.h **** /* ########################## FPU functions #################################### */
  3467. 1788:Drivers/CMSIS/Include/core_cm3.h **** /**
  3468. 1789:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_Core_FunctionInterface
  3469. 1790:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_Core_FpuFunctions FPU Functions
  3470. 1791:Drivers/CMSIS/Include/core_cm3.h **** \brief Function that provides FPU type.
  3471. 1792:Drivers/CMSIS/Include/core_cm3.h **** @{
  3472. 1793:Drivers/CMSIS/Include/core_cm3.h **** */
  3473. 1794:Drivers/CMSIS/Include/core_cm3.h ****
  3474. 1795:Drivers/CMSIS/Include/core_cm3.h **** /**
  3475. 1796:Drivers/CMSIS/Include/core_cm3.h **** \brief get FPU type
  3476. 1797:Drivers/CMSIS/Include/core_cm3.h **** \details returns the FPU type
  3477. 1798:Drivers/CMSIS/Include/core_cm3.h **** \returns
  3478. 1799:Drivers/CMSIS/Include/core_cm3.h **** - \b 0: No FPU
  3479. 1800:Drivers/CMSIS/Include/core_cm3.h **** - \b 1: Single precision FPU
  3480. 1801:Drivers/CMSIS/Include/core_cm3.h **** - \b 2: Double + Single precision FPU
  3481. ARM GAS /tmp/ccMY5QHu.s page 61
  3482. 1802:Drivers/CMSIS/Include/core_cm3.h **** */
  3483. 1803:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t SCB_GetFPUType(void)
  3484. 1804:Drivers/CMSIS/Include/core_cm3.h **** {
  3485. 1805:Drivers/CMSIS/Include/core_cm3.h **** return 0U; /* No FPU */
  3486. 1806:Drivers/CMSIS/Include/core_cm3.h **** }
  3487. 1807:Drivers/CMSIS/Include/core_cm3.h ****
  3488. 1808:Drivers/CMSIS/Include/core_cm3.h ****
  3489. 1809:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of CMSIS_Core_FpuFunctions */
  3490. 1810:Drivers/CMSIS/Include/core_cm3.h ****
  3491. 1811:Drivers/CMSIS/Include/core_cm3.h ****
  3492. 1812:Drivers/CMSIS/Include/core_cm3.h ****
  3493. 1813:Drivers/CMSIS/Include/core_cm3.h **** /* ################################## SysTick function ########################################
  3494. 1814:Drivers/CMSIS/Include/core_cm3.h **** /**
  3495. 1815:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_Core_FunctionInterface
  3496. 1816:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_Core_SysTickFunctions SysTick Functions
  3497. 1817:Drivers/CMSIS/Include/core_cm3.h **** \brief Functions that configure the System.
  3498. 1818:Drivers/CMSIS/Include/core_cm3.h **** @{
  3499. 1819:Drivers/CMSIS/Include/core_cm3.h **** */
  3500. 1820:Drivers/CMSIS/Include/core_cm3.h ****
  3501. 1821:Drivers/CMSIS/Include/core_cm3.h **** #if defined (__Vendor_SysTickConfig) && (__Vendor_SysTickConfig == 0U)
  3502. 1822:Drivers/CMSIS/Include/core_cm3.h ****
  3503. 1823:Drivers/CMSIS/Include/core_cm3.h **** /**
  3504. 1824:Drivers/CMSIS/Include/core_cm3.h **** \brief System Tick Configuration
  3505. 1825:Drivers/CMSIS/Include/core_cm3.h **** \details Initializes the System Timer and its interrupt, and starts the System Tick Timer.
  3506. 1826:Drivers/CMSIS/Include/core_cm3.h **** Counter is in free running mode to generate periodic interrupts.
  3507. 1827:Drivers/CMSIS/Include/core_cm3.h **** \param [in] ticks Number of ticks between two interrupts.
  3508. 1828:Drivers/CMSIS/Include/core_cm3.h **** \return 0 Function succeeded.
  3509. 1829:Drivers/CMSIS/Include/core_cm3.h **** \return 1 Function failed.
  3510. 1830:Drivers/CMSIS/Include/core_cm3.h **** \note When the variable <b>__Vendor_SysTickConfig</b> is set to 1, then the
  3511. 1831:Drivers/CMSIS/Include/core_cm3.h **** function <b>SysTick_Config</b> is not included. In this case, the file <b><i>device</i>.
  3512. 1832:Drivers/CMSIS/Include/core_cm3.h **** must contain a vendor-specific implementation of this function.
  3513. 1833:Drivers/CMSIS/Include/core_cm3.h **** */
  3514. 1834:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
  3515. 471 .loc 2 1834 26 view .LVU124
  3516. 472 .LBB77:
  3517. 1835:Drivers/CMSIS/Include/core_cm3.h **** {
  3518. 1836:Drivers/CMSIS/Include/core_cm3.h **** if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk)
  3519. 473 .loc 2 1836 3 view .LVU125
  3520. 474 .loc 2 1836 14 is_stmt 0 view .LVU126
  3521. 475 0000 0138 subs r0, r0, #1
  3522. 476 .LVL34:
  3523. 477 .loc 2 1836 6 view .LVU127
  3524. 478 0002 B0F1807F cmp r0, #16777216
  3525. 479 0006 0BD2 bcs .L26
  3526. 1837:Drivers/CMSIS/Include/core_cm3.h **** {
  3527. 1838:Drivers/CMSIS/Include/core_cm3.h **** return (1UL); /* Reload value impossible */
  3528. 1839:Drivers/CMSIS/Include/core_cm3.h **** }
  3529. 1840:Drivers/CMSIS/Include/core_cm3.h ****
  3530. 1841:Drivers/CMSIS/Include/core_cm3.h **** SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
  3531. 480 .loc 2 1841 3 is_stmt 1 view .LVU128
  3532. 481 .loc 2 1841 18 is_stmt 0 view .LVU129
  3533. 482 0008 4FF0E023 mov r3, #-536813568
  3534. 483 000c 5861 str r0, [r3, #20]
  3535. 1842:Drivers/CMSIS/Include/core_cm3.h **** NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Int
  3536. 484 .loc 2 1842 3 is_stmt 1 view .LVU130
  3537. 485 .LVL35:
  3538. 486 .LBB78:
  3539. ARM GAS /tmp/ccMY5QHu.s page 62
  3540. 487 .LBI78:
  3541. 1639:Drivers/CMSIS/Include/core_cm3.h **** {
  3542. 488 .loc 2 1639 22 view .LVU131
  3543. 489 .LBB79:
  3544. 1641:Drivers/CMSIS/Include/core_cm3.h **** {
  3545. 490 .loc 2 1641 3 view .LVU132
  3546. 1647:Drivers/CMSIS/Include/core_cm3.h **** }
  3547. 491 .loc 2 1647 5 view .LVU133
  3548. 1647:Drivers/CMSIS/Include/core_cm3.h **** }
  3549. 492 .loc 2 1647 46 is_stmt 0 view .LVU134
  3550. 493 000e 054A ldr r2, .L27
  3551. 494 0010 F021 movs r1, #240
  3552. 495 0012 82F82310 strb r1, [r2, #35]
  3553. 496 .LVL36:
  3554. 1647:Drivers/CMSIS/Include/core_cm3.h **** }
  3555. 497 .loc 2 1647 46 view .LVU135
  3556. 498 .LBE79:
  3557. 499 .LBE78:
  3558. 1843:Drivers/CMSIS/Include/core_cm3.h **** SysTick->VAL = 0UL; /* Load the SysTick Counter Val
  3559. 500 .loc 2 1843 3 is_stmt 1 view .LVU136
  3560. 501 .loc 2 1843 18 is_stmt 0 view .LVU137
  3561. 502 0016 0020 movs r0, #0
  3562. 503 .LVL37:
  3563. 504 .loc 2 1843 18 view .LVU138
  3564. 505 0018 9861 str r0, [r3, #24]
  3565. 1844:Drivers/CMSIS/Include/core_cm3.h **** SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
  3566. 506 .loc 2 1844 3 is_stmt 1 view .LVU139
  3567. 507 .loc 2 1844 18 is_stmt 0 view .LVU140
  3568. 508 001a 0722 movs r2, #7
  3569. 509 001c 1A61 str r2, [r3, #16]
  3570. 1845:Drivers/CMSIS/Include/core_cm3.h **** SysTick_CTRL_TICKINT_Msk |
  3571. 1846:Drivers/CMSIS/Include/core_cm3.h **** SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTi
  3572. 1847:Drivers/CMSIS/Include/core_cm3.h **** return (0UL); /* Function successful */
  3573. 510 .loc 2 1847 3 is_stmt 1 view .LVU141
  3574. 511 .loc 2 1847 10 is_stmt 0 view .LVU142
  3575. 512 001e 7047 bx lr
  3576. 513 .L26:
  3577. 1838:Drivers/CMSIS/Include/core_cm3.h **** }
  3578. 514 .loc 2 1838 12 view .LVU143
  3579. 515 0020 0120 movs r0, #1
  3580. 516 .LVL38:
  3581. 1838:Drivers/CMSIS/Include/core_cm3.h **** }
  3582. 517 .loc 2 1838 12 view .LVU144
  3583. 518 .LBE77:
  3584. 519 .LBE76:
  3585. 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  3586. 520 .loc 1 231 1 view .LVU145
  3587. 521 0022 7047 bx lr
  3588. 522 .L28:
  3589. 523 .align 2
  3590. 524 .L27:
  3591. 525 0024 00ED00E0 .word -536810240
  3592. 526 .cfi_endproc
  3593. 527 .LFE70:
  3594. 529 .section .text.HAL_NVIC_GetPriorityGrouping,"ax",%progbits
  3595. 530 .align 1
  3596. 531 .global HAL_NVIC_GetPriorityGrouping
  3597. ARM GAS /tmp/ccMY5QHu.s page 63
  3598. 532 .syntax unified
  3599. 533 .thumb
  3600. 534 .thumb_func
  3601. 536 HAL_NVIC_GetPriorityGrouping:
  3602. 537 .LFB71:
  3603. 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  3604. 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @}
  3605. 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  3606. 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3607. 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions_Group2 Peripheral Control functions
  3608. 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Cortex control functions
  3609. 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *
  3610. 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** @verbatim
  3611. 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ==============================================================================
  3612. 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ##### Peripheral Control functions #####
  3613. 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ==============================================================================
  3614. 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** [..]
  3615. 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** This subsection provides a set of functions allowing to control the CORTEX
  3616. 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (NVIC, SYSTICK, MPU) functionalities.
  3617. 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3618. 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3619. 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** @endverbatim
  3620. 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @{
  3621. 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  3622. 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3623. 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** #if (__MPU_PRESENT == 1U)
  3624. 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  3625. 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Disables the MPU
  3626. 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
  3627. 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  3628. 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_MPU_Disable(void)
  3629. 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  3630. 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Make sure outstanding transfers are done */
  3631. 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** __DMB();
  3632. 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3633. 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Disable fault exceptions */
  3634. 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** SCB->SHCSR &= ~SCB_SHCSR_MEMFAULTENA_Msk;
  3635. 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3636. 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Disable the MPU and clear the control register*/
  3637. 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** MPU->CTRL = 0U;
  3638. 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  3639. 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3640. 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  3641. 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Enable the MPU.
  3642. 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param MPU_Control: Specifies the control mode of the MPU during hard fault,
  3643. 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * NMI, FAULTMASK and privileged access to the default memory
  3644. 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be one of the following values:
  3645. 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg MPU_HFNMI_PRIVDEF_NONE
  3646. 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg MPU_HARDFAULT_NMI
  3647. 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg MPU_PRIVILEGED_DEFAULT
  3648. 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg MPU_HFNMI_PRIVDEF
  3649. 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
  3650. 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  3651. 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_MPU_Enable(uint32_t MPU_Control)
  3652. 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  3653. 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Enable the MPU */
  3654. 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** MPU->CTRL = MPU_Control | MPU_CTRL_ENABLE_Msk;
  3655. ARM GAS /tmp/ccMY5QHu.s page 64
  3656. 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3657. 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Enable fault exceptions */
  3658. 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** SCB->SHCSR |= SCB_SHCSR_MEMFAULTENA_Msk;
  3659. 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3660. 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Ensure MPU setting take effects */
  3661. 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** __DSB();
  3662. 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** __ISB();
  3663. 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  3664. 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3665. 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  3666. 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Initializes and configures the Region and the memory to be protected.
  3667. 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param MPU_Init: Pointer to a MPU_Region_InitTypeDef structure that contains
  3668. 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * the initialization and configuration information.
  3669. 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
  3670. 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  3671. 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_MPU_ConfigRegion(MPU_Region_InitTypeDef *MPU_Init)
  3672. 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  3673. 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
  3674. 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_REGION_NUMBER(MPU_Init->Number));
  3675. 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_REGION_ENABLE(MPU_Init->Enable));
  3676. 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3677. 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Set the Region number */
  3678. 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** MPU->RNR = MPU_Init->Number;
  3679. 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3680. 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** if ((MPU_Init->Enable) != RESET)
  3681. 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  3682. 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
  3683. 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_INSTRUCTION_ACCESS(MPU_Init->DisableExec));
  3684. 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_REGION_PERMISSION_ATTRIBUTE(MPU_Init->AccessPermission));
  3685. 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_TEX_LEVEL(MPU_Init->TypeExtField));
  3686. 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_SHAREABLE(MPU_Init->IsShareable));
  3687. 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_CACHEABLE(MPU_Init->IsCacheable));
  3688. 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_BUFFERABLE(MPU_Init->IsBufferable));
  3689. 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_SUB_REGION_DISABLE(MPU_Init->SubRegionDisable));
  3690. 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_REGION_SIZE(MPU_Init->Size));
  3691. 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3692. 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** MPU->RBAR = MPU_Init->BaseAddress;
  3693. 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** MPU->RASR = ((uint32_t)MPU_Init->DisableExec << MPU_RASR_XN_Pos) |
  3694. 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
  3695. 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->TypeExtField << MPU_RASR_TEX_Pos) |
  3696. 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsShareable << MPU_RASR_S_Pos) |
  3697. 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsCacheable << MPU_RASR_C_Pos) |
  3698. 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsBufferable << MPU_RASR_B_Pos) |
  3699. 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->SubRegionDisable << MPU_RASR_SRD_Pos) |
  3700. 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->Size << MPU_RASR_SIZE_Pos) |
  3701. 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->Enable << MPU_RASR_ENABLE_Pos);
  3702. 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  3703. 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** else
  3704. 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  3705. 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** MPU->RBAR = 0x00U;
  3706. 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** MPU->RASR = 0x00U;
  3707. 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  3708. 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  3709. 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** #endif /* __MPU_PRESENT */
  3710. 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3711. 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  3712. 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Gets the priority grouping field from the NVIC Interrupt Controller.
  3713. ARM GAS /tmp/ccMY5QHu.s page 65
  3714. 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field)
  3715. 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  3716. 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** uint32_t HAL_NVIC_GetPriorityGrouping(void)
  3717. 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  3718. 538 .loc 1 344 1 is_stmt 1 view -0
  3719. 539 .cfi_startproc
  3720. 540 @ args = 0, pretend = 0, frame = 0
  3721. 541 @ frame_needed = 0, uses_anonymous_args = 0
  3722. 542 @ link register save eliminated.
  3723. 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Get the PRIGROUP[10:8] field value */
  3724. 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** return NVIC_GetPriorityGrouping();
  3725. 543 .loc 1 346 3 view .LVU147
  3726. 544 .LBB80:
  3727. 545 .LBI80:
  3728. 1499:Drivers/CMSIS/Include/core_cm3.h **** {
  3729. 546 .loc 2 1499 26 view .LVU148
  3730. 547 .LBB81:
  3731. 1501:Drivers/CMSIS/Include/core_cm3.h **** }
  3732. 548 .loc 2 1501 3 view .LVU149
  3733. 1501:Drivers/CMSIS/Include/core_cm3.h **** }
  3734. 549 .loc 2 1501 26 is_stmt 0 view .LVU150
  3735. 550 0000 024B ldr r3, .L30
  3736. 551 0002 D868 ldr r0, [r3, #12]
  3737. 552 .LBE81:
  3738. 553 .LBE80:
  3739. 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  3740. 554 .loc 1 347 1 view .LVU151
  3741. 555 0004 C0F30220 ubfx r0, r0, #8, #3
  3742. 556 0008 7047 bx lr
  3743. 557 .L31:
  3744. 558 000a 00BF .align 2
  3745. 559 .L30:
  3746. 560 000c 00ED00E0 .word -536810240
  3747. 561 .cfi_endproc
  3748. 562 .LFE71:
  3749. 564 .section .text.HAL_NVIC_GetPriority,"ax",%progbits
  3750. 565 .align 1
  3751. 566 .global HAL_NVIC_GetPriority
  3752. 567 .syntax unified
  3753. 568 .thumb
  3754. 569 .thumb_func
  3755. 571 HAL_NVIC_GetPriority:
  3756. 572 .LVL39:
  3757. 573 .LFB72:
  3758. 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3759. 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  3760. 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Gets the priority of an interrupt.
  3761. 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn: External interrupt number.
  3762. 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  3763. 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  3764. 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param PriorityGroup: the priority grouping bits length.
  3765. 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be one of the following values:
  3766. 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_0: 0 bits for preemption priority
  3767. 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 4 bits for subpriority
  3768. 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_1: 1 bits for preemption priority
  3769. 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 3 bits for subpriority
  3770. 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_2: 2 bits for preemption priority
  3771. ARM GAS /tmp/ccMY5QHu.s page 66
  3772. 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 2 bits for subpriority
  3773. 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_3: 3 bits for preemption priority
  3774. 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 1 bits for subpriority
  3775. 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_4: 4 bits for preemption priority
  3776. 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 0 bits for subpriority
  3777. 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param pPreemptPriority: Pointer on the Preemptive priority value (starting from 0).
  3778. 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param pSubPriority: Pointer on the Subpriority value (starting from 0).
  3779. 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
  3780. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  3781. 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_GetPriority(IRQn_Type IRQn, uint32_t PriorityGroup, uint32_t *pPreemptPriority, uint3
  3782. 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  3783. 574 .loc 1 371 1 is_stmt 1 view -0
  3784. 575 .cfi_startproc
  3785. 576 @ args = 0, pretend = 0, frame = 0
  3786. 577 @ frame_needed = 0, uses_anonymous_args = 0
  3787. 578 .loc 1 371 1 is_stmt 0 view .LVU153
  3788. 579 0000 10B5 push {r4, lr}
  3789. 580 .LCFI1:
  3790. 581 .cfi_def_cfa_offset 8
  3791. 582 .cfi_offset 4, -8
  3792. 583 .cfi_offset 14, -4
  3793. 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
  3794. 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup));
  3795. 584 .loc 1 373 3 is_stmt 1 view .LVU154
  3796. 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Get priority for Cortex-M system or device specific interrupts */
  3797. 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_DecodePriority(NVIC_GetPriority(IRQn), PriorityGroup, pPreemptPriority, pSubPriority);
  3798. 585 .loc 1 375 3 view .LVU155
  3799. 586 .LVL40:
  3800. 587 .LBB86:
  3801. 588 .LBI86:
  3802. 1661:Drivers/CMSIS/Include/core_cm3.h **** {
  3803. 589 .loc 2 1661 26 view .LVU156
  3804. 590 .LBB87:
  3805. 1664:Drivers/CMSIS/Include/core_cm3.h **** {
  3806. 591 .loc 2 1664 3 view .LVU157
  3807. 1664:Drivers/CMSIS/Include/core_cm3.h **** {
  3808. 592 .loc 2 1664 6 is_stmt 0 view .LVU158
  3809. 593 0002 0028 cmp r0, #0
  3810. 594 .LVL41:
  3811. 1664:Drivers/CMSIS/Include/core_cm3.h **** {
  3812. 595 .loc 2 1664 6 view .LVU159
  3813. 596 0004 22DB blt .L33
  3814. 1666:Drivers/CMSIS/Include/core_cm3.h **** }
  3815. 597 .loc 2 1666 5 is_stmt 1 view .LVU160
  3816. 1666:Drivers/CMSIS/Include/core_cm3.h **** }
  3817. 598 .loc 2 1666 31 is_stmt 0 view .LVU161
  3818. 599 0006 00F16040 add r0, r0, #-536870912
  3819. 600 000a 00F56140 add r0, r0, #57600
  3820. 601 000e 90F80003 ldrb r0, [r0, #768] @ zero_extendqisi2
  3821. 1666:Drivers/CMSIS/Include/core_cm3.h **** }
  3822. 602 .loc 2 1666 64 view .LVU162
  3823. 603 0012 0009 lsrs r0, r0, #4
  3824. 604 .L34:
  3825. 605 .LVL42:
  3826. 1666:Drivers/CMSIS/Include/core_cm3.h **** }
  3827. 606 .loc 2 1666 64 view .LVU163
  3828. 607 .LBE87:
  3829. ARM GAS /tmp/ccMY5QHu.s page 67
  3830. 608 .LBE86:
  3831. 609 .LBB89:
  3832. 610 .LBI89:
  3833. 1713:Drivers/CMSIS/Include/core_cm3.h **** {
  3834. 611 .loc 2 1713 22 is_stmt 1 view .LVU164
  3835. 612 .LBB90:
  3836. 1715:Drivers/CMSIS/Include/core_cm3.h **** uint32_t PreemptPriorityBits;
  3837. 613 .loc 2 1715 3 view .LVU165
  3838. 1715:Drivers/CMSIS/Include/core_cm3.h **** uint32_t PreemptPriorityBits;
  3839. 614 .loc 2 1715 12 is_stmt 0 view .LVU166
  3840. 615 0014 01F00701 and r1, r1, #7
  3841. 616 .LVL43:
  3842. 1716:Drivers/CMSIS/Include/core_cm3.h **** uint32_t SubPriorityBits;
  3843. 617 .loc 2 1716 3 is_stmt 1 view .LVU167
  3844. 1717:Drivers/CMSIS/Include/core_cm3.h ****
  3845. 618 .loc 2 1717 3 view .LVU168
  3846. 1719:Drivers/CMSIS/Include/core_cm3.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  3847. 619 .loc 2 1719 3 view .LVU169
  3848. 1719:Drivers/CMSIS/Include/core_cm3.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  3849. 620 .loc 2 1719 31 is_stmt 0 view .LVU170
  3850. 621 0018 C1F1070C rsb ip, r1, #7
  3851. 1719:Drivers/CMSIS/Include/core_cm3.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
  3852. 622 .loc 2 1719 23 view .LVU171
  3853. 623 001c BCF1040F cmp ip, #4
  3854. 624 0020 28BF it cs
  3855. 625 0022 4FF0040C movcs ip, #4
  3856. 626 .LVL44:
  3857. 1720:Drivers/CMSIS/Include/core_cm3.h ****
  3858. 627 .loc 2 1720 3 is_stmt 1 view .LVU172
  3859. 1720:Drivers/CMSIS/Include/core_cm3.h ****
  3860. 628 .loc 2 1720 44 is_stmt 0 view .LVU173
  3861. 629 0026 0C1D adds r4, r1, #4
  3862. 1720:Drivers/CMSIS/Include/core_cm3.h ****
  3863. 630 .loc 2 1720 109 view .LVU174
  3864. 631 0028 062C cmp r4, #6
  3865. 632 002a 15D9 bls .L36
  3866. 633 002c 0339 subs r1, r1, #3
  3867. 634 .LVL45:
  3868. 635 .L35:
  3869. 1722:Drivers/CMSIS/Include/core_cm3.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  3870. 636 .loc 2 1722 3 is_stmt 1 view .LVU175
  3871. 1722:Drivers/CMSIS/Include/core_cm3.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  3872. 637 .loc 2 1722 33 is_stmt 0 view .LVU176
  3873. 638 002e 20FA01F4 lsr r4, r0, r1
  3874. 639 .LVL46:
  3875. 1722:Drivers/CMSIS/Include/core_cm3.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  3876. 640 .loc 2 1722 53 view .LVU177
  3877. 641 0032 4FF0FF3E mov lr, #-1
  3878. 642 0036 0EFA0CFC lsl ip, lr, ip
  3879. 643 .LVL47:
  3880. 1722:Drivers/CMSIS/Include/core_cm3.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  3881. 644 .loc 2 1722 53 view .LVU178
  3882. 645 003a 24EA0C04 bic r4, r4, ip
  3883. 1722:Drivers/CMSIS/Include/core_cm3.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
  3884. 646 .loc 2 1722 21 view .LVU179
  3885. 647 003e 1460 str r4, [r2]
  3886. 1723:Drivers/CMSIS/Include/core_cm3.h **** }
  3887. ARM GAS /tmp/ccMY5QHu.s page 68
  3888. 648 .loc 2 1723 3 is_stmt 1 view .LVU180
  3889. 1723:Drivers/CMSIS/Include/core_cm3.h **** }
  3890. 649 .loc 2 1723 53 is_stmt 0 view .LVU181
  3891. 650 0040 0EFA01F1 lsl r1, lr, r1
  3892. 651 .LVL48:
  3893. 1723:Drivers/CMSIS/Include/core_cm3.h **** }
  3894. 652 .loc 2 1723 53 view .LVU182
  3895. 653 0044 20EA0100 bic r0, r0, r1
  3896. 654 .LVL49:
  3897. 1723:Drivers/CMSIS/Include/core_cm3.h **** }
  3898. 655 .loc 2 1723 21 view .LVU183
  3899. 656 0048 1860 str r0, [r3]
  3900. 657 .LVL50:
  3901. 1723:Drivers/CMSIS/Include/core_cm3.h **** }
  3902. 658 .loc 2 1723 21 view .LVU184
  3903. 659 .LBE90:
  3904. 660 .LBE89:
  3905. 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  3906. 661 .loc 1 376 1 view .LVU185
  3907. 662 004a 10BD pop {r4, pc}
  3908. 663 .LVL51:
  3909. 664 .L33:
  3910. 665 .LBB92:
  3911. 666 .LBB88:
  3912. 1670:Drivers/CMSIS/Include/core_cm3.h **** }
  3913. 667 .loc 2 1670 5 is_stmt 1 view .LVU186
  3914. 1670:Drivers/CMSIS/Include/core_cm3.h **** }
  3915. 668 .loc 2 1670 50 is_stmt 0 view .LVU187
  3916. 669 004c 00F00F00 and r0, r0, #15
  3917. 1670:Drivers/CMSIS/Include/core_cm3.h **** }
  3918. 670 .loc 2 1670 31 view .LVU188
  3919. 671 0050 024C ldr r4, .L38
  3920. 672 0052 205C ldrb r0, [r4, r0] @ zero_extendqisi2
  3921. 1670:Drivers/CMSIS/Include/core_cm3.h **** }
  3922. 673 .loc 2 1670 64 view .LVU189
  3923. 674 0054 0009 lsrs r0, r0, #4
  3924. 675 0056 DDE7 b .L34
  3925. 676 .LVL52:
  3926. 677 .L36:
  3927. 1670:Drivers/CMSIS/Include/core_cm3.h **** }
  3928. 678 .loc 2 1670 64 view .LVU190
  3929. 679 .LBE88:
  3930. 680 .LBE92:
  3931. 681 .LBB93:
  3932. 682 .LBB91:
  3933. 1720:Drivers/CMSIS/Include/core_cm3.h ****
  3934. 683 .loc 2 1720 109 view .LVU191
  3935. 684 0058 0021 movs r1, #0
  3936. 685 .LVL53:
  3937. 1720:Drivers/CMSIS/Include/core_cm3.h ****
  3938. 686 .loc 2 1720 109 view .LVU192
  3939. 687 005a E8E7 b .L35
  3940. 688 .L39:
  3941. 689 .align 2
  3942. 690 .L38:
  3943. 691 005c 14ED00E0 .word -536810220
  3944. 692 .LBE91:
  3945. ARM GAS /tmp/ccMY5QHu.s page 69
  3946. 693 .LBE93:
  3947. 694 .cfi_endproc
  3948. 695 .LFE72:
  3949. 697 .section .text.HAL_NVIC_SetPendingIRQ,"ax",%progbits
  3950. 698 .align 1
  3951. 699 .global HAL_NVIC_SetPendingIRQ
  3952. 700 .syntax unified
  3953. 701 .thumb
  3954. 702 .thumb_func
  3955. 704 HAL_NVIC_SetPendingIRQ:
  3956. 705 .LVL54:
  3957. 706 .LFB73:
  3958. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3959. 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  3960. 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Sets Pending bit of an external interrupt.
  3961. 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn External interrupt number
  3962. 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  3963. 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  3964. 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
  3965. 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  3966. 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_SetPendingIRQ(IRQn_Type IRQn)
  3967. 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  3968. 707 .loc 1 386 1 is_stmt 1 view -0
  3969. 708 .cfi_startproc
  3970. 709 @ args = 0, pretend = 0, frame = 0
  3971. 710 @ frame_needed = 0, uses_anonymous_args = 0
  3972. 711 @ link register save eliminated.
  3973. 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
  3974. 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  3975. 712 .loc 1 388 3 view .LVU194
  3976. 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  3977. 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Set interrupt pending */
  3978. 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_SetPendingIRQ(IRQn);
  3979. 713 .loc 1 391 3 view .LVU195
  3980. 714 .LBB94:
  3981. 715 .LBI94:
  3982. 1585:Drivers/CMSIS/Include/core_cm3.h **** {
  3983. 716 .loc 2 1585 22 view .LVU196
  3984. 717 .LBB95:
  3985. 1587:Drivers/CMSIS/Include/core_cm3.h **** {
  3986. 718 .loc 2 1587 3 view .LVU197
  3987. 1587:Drivers/CMSIS/Include/core_cm3.h **** {
  3988. 719 .loc 2 1587 6 is_stmt 0 view .LVU198
  3989. 720 0000 0028 cmp r0, #0
  3990. 721 .LVL55:
  3991. 1587:Drivers/CMSIS/Include/core_cm3.h **** {
  3992. 722 .loc 2 1587 6 view .LVU199
  3993. 723 0002 08DB blt .L40
  3994. 1589:Drivers/CMSIS/Include/core_cm3.h **** }
  3995. 724 .loc 2 1589 5 is_stmt 1 view .LVU200
  3996. 1589:Drivers/CMSIS/Include/core_cm3.h **** }
  3997. 725 .loc 2 1589 81 is_stmt 0 view .LVU201
  3998. 726 0004 00F01F02 and r2, r0, #31
  3999. 1589:Drivers/CMSIS/Include/core_cm3.h **** }
  4000. 727 .loc 2 1589 34 view .LVU202
  4001. 728 0008 4009 lsrs r0, r0, #5
  4002. 1589:Drivers/CMSIS/Include/core_cm3.h **** }
  4003. ARM GAS /tmp/ccMY5QHu.s page 70
  4004. 729 .loc 2 1589 45 view .LVU203
  4005. 730 000a 0123 movs r3, #1
  4006. 731 000c 9340 lsls r3, r3, r2
  4007. 1589:Drivers/CMSIS/Include/core_cm3.h **** }
  4008. 732 .loc 2 1589 43 view .LVU204
  4009. 733 000e 4030 adds r0, r0, #64
  4010. 734 0010 014A ldr r2, .L42
  4011. 735 0012 42F82030 str r3, [r2, r0, lsl #2]
  4012. 736 .LVL56:
  4013. 737 .L40:
  4014. 1589:Drivers/CMSIS/Include/core_cm3.h **** }
  4015. 738 .loc 2 1589 43 view .LVU205
  4016. 739 .LBE95:
  4017. 740 .LBE94:
  4018. 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  4019. 741 .loc 1 392 1 view .LVU206
  4020. 742 0016 7047 bx lr
  4021. 743 .L43:
  4022. 744 .align 2
  4023. 745 .L42:
  4024. 746 0018 00E100E0 .word -536813312
  4025. 747 .cfi_endproc
  4026. 748 .LFE73:
  4027. 750 .section .text.HAL_NVIC_GetPendingIRQ,"ax",%progbits
  4028. 751 .align 1
  4029. 752 .global HAL_NVIC_GetPendingIRQ
  4030. 753 .syntax unified
  4031. 754 .thumb
  4032. 755 .thumb_func
  4033. 757 HAL_NVIC_GetPendingIRQ:
  4034. 758 .LVL57:
  4035. 759 .LFB74:
  4036. 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  4037. 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  4038. 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Gets Pending Interrupt (reads the pending register in the NVIC
  4039. 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * and returns the pending bit for the specified interrupt).
  4040. 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn External interrupt number.
  4041. 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4042. 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4043. 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval status: - 0 Interrupt status is not pending.
  4044. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * - 1 Interrupt status is pending.
  4045. 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  4046. 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** uint32_t HAL_NVIC_GetPendingIRQ(IRQn_Type IRQn)
  4047. 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  4048. 760 .loc 1 404 1 is_stmt 1 view -0
  4049. 761 .cfi_startproc
  4050. 762 @ args = 0, pretend = 0, frame = 0
  4051. 763 @ frame_needed = 0, uses_anonymous_args = 0
  4052. 764 @ link register save eliminated.
  4053. 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
  4054. 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  4055. 765 .loc 1 406 3 view .LVU208
  4056. 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  4057. 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Return 1 if pending else 0 */
  4058. 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** return NVIC_GetPendingIRQ(IRQn);
  4059. 766 .loc 1 409 3 view .LVU209
  4060. 767 .LBB96:
  4061. ARM GAS /tmp/ccMY5QHu.s page 71
  4062. 768 .LBI96:
  4063. 1566:Drivers/CMSIS/Include/core_cm3.h **** {
  4064. 769 .loc 2 1566 26 view .LVU210
  4065. 770 .LBB97:
  4066. 1568:Drivers/CMSIS/Include/core_cm3.h **** {
  4067. 771 .loc 2 1568 3 view .LVU211
  4068. 1568:Drivers/CMSIS/Include/core_cm3.h **** {
  4069. 772 .loc 2 1568 6 is_stmt 0 view .LVU212
  4070. 773 0000 0028 cmp r0, #0
  4071. 774 .LVL58:
  4072. 1568:Drivers/CMSIS/Include/core_cm3.h **** {
  4073. 775 .loc 2 1568 6 view .LVU213
  4074. 776 0002 0BDB blt .L46
  4075. 1570:Drivers/CMSIS/Include/core_cm3.h **** }
  4076. 777 .loc 2 1570 5 is_stmt 1 view .LVU214
  4077. 1570:Drivers/CMSIS/Include/core_cm3.h **** }
  4078. 778 .loc 2 1570 54 is_stmt 0 view .LVU215
  4079. 779 0004 4309 lsrs r3, r0, #5
  4080. 1570:Drivers/CMSIS/Include/core_cm3.h **** }
  4081. 780 .loc 2 1570 35 view .LVU216
  4082. 781 0006 4033 adds r3, r3, #64
  4083. 782 0008 054A ldr r2, .L47
  4084. 783 000a 52F82330 ldr r3, [r2, r3, lsl #2]
  4085. 1570:Drivers/CMSIS/Include/core_cm3.h **** }
  4086. 784 .loc 2 1570 91 view .LVU217
  4087. 785 000e 00F01F00 and r0, r0, #31
  4088. 1570:Drivers/CMSIS/Include/core_cm3.h **** }
  4089. 786 .loc 2 1570 103 view .LVU218
  4090. 787 0012 23FA00F0 lsr r0, r3, r0
  4091. 1570:Drivers/CMSIS/Include/core_cm3.h **** }
  4092. 788 .loc 2 1570 12 view .LVU219
  4093. 789 0016 00F00100 and r0, r0, #1
  4094. 790 001a 7047 bx lr
  4095. 791 .L46:
  4096. 1574:Drivers/CMSIS/Include/core_cm3.h **** }
  4097. 792 .loc 2 1574 11 view .LVU220
  4098. 793 001c 0020 movs r0, #0
  4099. 794 .LVL59:
  4100. 1574:Drivers/CMSIS/Include/core_cm3.h **** }
  4101. 795 .loc 2 1574 11 view .LVU221
  4102. 796 .LBE97:
  4103. 797 .LBE96:
  4104. 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  4105. 798 .loc 1 410 1 view .LVU222
  4106. 799 001e 7047 bx lr
  4107. 800 .L48:
  4108. 801 .align 2
  4109. 802 .L47:
  4110. 803 0020 00E100E0 .word -536813312
  4111. 804 .cfi_endproc
  4112. 805 .LFE74:
  4113. 807 .section .text.HAL_NVIC_ClearPendingIRQ,"ax",%progbits
  4114. 808 .align 1
  4115. 809 .global HAL_NVIC_ClearPendingIRQ
  4116. 810 .syntax unified
  4117. 811 .thumb
  4118. 812 .thumb_func
  4119. ARM GAS /tmp/ccMY5QHu.s page 72
  4120. 814 HAL_NVIC_ClearPendingIRQ:
  4121. 815 .LVL60:
  4122. 816 .LFB75:
  4123. 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  4124. 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  4125. 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Clears the pending bit of an external interrupt.
  4126. 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn External interrupt number.
  4127. 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4128. 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4129. 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
  4130. 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  4131. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_ClearPendingIRQ(IRQn_Type IRQn)
  4132. 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  4133. 817 .loc 1 420 1 is_stmt 1 view -0
  4134. 818 .cfi_startproc
  4135. 819 @ args = 0, pretend = 0, frame = 0
  4136. 820 @ frame_needed = 0, uses_anonymous_args = 0
  4137. 821 @ link register save eliminated.
  4138. 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
  4139. 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  4140. 822 .loc 1 422 3 view .LVU224
  4141. 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  4142. 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Clear pending interrupt */
  4143. 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_ClearPendingIRQ(IRQn);
  4144. 823 .loc 1 425 3 view .LVU225
  4145. 824 .LBB98:
  4146. 825 .LBI98:
  4147. 1600:Drivers/CMSIS/Include/core_cm3.h **** {
  4148. 826 .loc 2 1600 22 view .LVU226
  4149. 827 .LBB99:
  4150. 1602:Drivers/CMSIS/Include/core_cm3.h **** {
  4151. 828 .loc 2 1602 3 view .LVU227
  4152. 1602:Drivers/CMSIS/Include/core_cm3.h **** {
  4153. 829 .loc 2 1602 6 is_stmt 0 view .LVU228
  4154. 830 0000 0028 cmp r0, #0
  4155. 831 .LVL61:
  4156. 1602:Drivers/CMSIS/Include/core_cm3.h **** {
  4157. 832 .loc 2 1602 6 view .LVU229
  4158. 833 0002 08DB blt .L49
  4159. 1604:Drivers/CMSIS/Include/core_cm3.h **** }
  4160. 834 .loc 2 1604 5 is_stmt 1 view .LVU230
  4161. 1604:Drivers/CMSIS/Include/core_cm3.h **** }
  4162. 835 .loc 2 1604 81 is_stmt 0 view .LVU231
  4163. 836 0004 00F01F02 and r2, r0, #31
  4164. 1604:Drivers/CMSIS/Include/core_cm3.h **** }
  4165. 837 .loc 2 1604 34 view .LVU232
  4166. 838 0008 4009 lsrs r0, r0, #5
  4167. 1604:Drivers/CMSIS/Include/core_cm3.h **** }
  4168. 839 .loc 2 1604 45 view .LVU233
  4169. 840 000a 0123 movs r3, #1
  4170. 841 000c 9340 lsls r3, r3, r2
  4171. 1604:Drivers/CMSIS/Include/core_cm3.h **** }
  4172. 842 .loc 2 1604 43 view .LVU234
  4173. 843 000e 6030 adds r0, r0, #96
  4174. 844 0010 014A ldr r2, .L51
  4175. 845 0012 42F82030 str r3, [r2, r0, lsl #2]
  4176. 846 .LVL62:
  4177. ARM GAS /tmp/ccMY5QHu.s page 73
  4178. 847 .L49:
  4179. 1604:Drivers/CMSIS/Include/core_cm3.h **** }
  4180. 848 .loc 2 1604 43 view .LVU235
  4181. 849 .LBE99:
  4182. 850 .LBE98:
  4183. 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  4184. 851 .loc 1 426 1 view .LVU236
  4185. 852 0016 7047 bx lr
  4186. 853 .L52:
  4187. 854 .align 2
  4188. 855 .L51:
  4189. 856 0018 00E100E0 .word -536813312
  4190. 857 .cfi_endproc
  4191. 858 .LFE75:
  4192. 860 .section .text.HAL_NVIC_GetActive,"ax",%progbits
  4193. 861 .align 1
  4194. 862 .global HAL_NVIC_GetActive
  4195. 863 .syntax unified
  4196. 864 .thumb
  4197. 865 .thumb_func
  4198. 867 HAL_NVIC_GetActive:
  4199. 868 .LVL63:
  4200. 869 .LFB76:
  4201. 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  4202. 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  4203. 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Gets active interrupt ( reads the active register in NVIC and returns the active bit).
  4204. 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn External interrupt number
  4205. 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
  4206. 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
  4207. 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval status: - 0 Interrupt status is not pending.
  4208. 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * - 1 Interrupt status is pending.
  4209. 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  4210. 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** uint32_t HAL_NVIC_GetActive(IRQn_Type IRQn)
  4211. 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  4212. 870 .loc 1 437 1 is_stmt 1 view -0
  4213. 871 .cfi_startproc
  4214. 872 @ args = 0, pretend = 0, frame = 0
  4215. 873 @ frame_needed = 0, uses_anonymous_args = 0
  4216. 874 @ link register save eliminated.
  4217. 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
  4218. 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
  4219. 875 .loc 1 439 3 view .LVU238
  4220. 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  4221. 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Return 1 if active else 0 */
  4222. 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** return NVIC_GetActive(IRQn);
  4223. 876 .loc 1 442 3 view .LVU239
  4224. 877 .LBB100:
  4225. 878 .LBI100:
  4226. 1617:Drivers/CMSIS/Include/core_cm3.h **** {
  4227. 879 .loc 2 1617 26 view .LVU240
  4228. 880 .LBB101:
  4229. 1619:Drivers/CMSIS/Include/core_cm3.h **** {
  4230. 881 .loc 2 1619 3 view .LVU241
  4231. 1619:Drivers/CMSIS/Include/core_cm3.h **** {
  4232. 882 .loc 2 1619 6 is_stmt 0 view .LVU242
  4233. 883 0000 0028 cmp r0, #0
  4234. 884 .LVL64:
  4235. ARM GAS /tmp/ccMY5QHu.s page 74
  4236. 1619:Drivers/CMSIS/Include/core_cm3.h **** {
  4237. 885 .loc 2 1619 6 view .LVU243
  4238. 886 0002 0BDB blt .L55
  4239. 1621:Drivers/CMSIS/Include/core_cm3.h **** }
  4240. 887 .loc 2 1621 5 is_stmt 1 view .LVU244
  4241. 1621:Drivers/CMSIS/Include/core_cm3.h **** }
  4242. 888 .loc 2 1621 54 is_stmt 0 view .LVU245
  4243. 889 0004 4309 lsrs r3, r0, #5
  4244. 1621:Drivers/CMSIS/Include/core_cm3.h **** }
  4245. 890 .loc 2 1621 35 view .LVU246
  4246. 891 0006 8033 adds r3, r3, #128
  4247. 892 0008 054A ldr r2, .L56
  4248. 893 000a 52F82330 ldr r3, [r2, r3, lsl #2]
  4249. 1621:Drivers/CMSIS/Include/core_cm3.h **** }
  4250. 894 .loc 2 1621 91 view .LVU247
  4251. 895 000e 00F01F00 and r0, r0, #31
  4252. 1621:Drivers/CMSIS/Include/core_cm3.h **** }
  4253. 896 .loc 2 1621 103 view .LVU248
  4254. 897 0012 23FA00F0 lsr r0, r3, r0
  4255. 1621:Drivers/CMSIS/Include/core_cm3.h **** }
  4256. 898 .loc 2 1621 12 view .LVU249
  4257. 899 0016 00F00100 and r0, r0, #1
  4258. 900 001a 7047 bx lr
  4259. 901 .L55:
  4260. 1625:Drivers/CMSIS/Include/core_cm3.h **** }
  4261. 902 .loc 2 1625 11 view .LVU250
  4262. 903 001c 0020 movs r0, #0
  4263. 904 .LVL65:
  4264. 1625:Drivers/CMSIS/Include/core_cm3.h **** }
  4265. 905 .loc 2 1625 11 view .LVU251
  4266. 906 .LBE101:
  4267. 907 .LBE100:
  4268. 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  4269. 908 .loc 1 443 1 view .LVU252
  4270. 909 001e 7047 bx lr
  4271. 910 .L57:
  4272. 911 .align 2
  4273. 912 .L56:
  4274. 913 0020 00E100E0 .word -536813312
  4275. 914 .cfi_endproc
  4276. 915 .LFE76:
  4277. 917 .section .text.HAL_SYSTICK_CLKSourceConfig,"ax",%progbits
  4278. 918 .align 1
  4279. 919 .global HAL_SYSTICK_CLKSourceConfig
  4280. 920 .syntax unified
  4281. 921 .thumb
  4282. 922 .thumb_func
  4283. 924 HAL_SYSTICK_CLKSourceConfig:
  4284. 925 .LVL66:
  4285. 926 .LFB77:
  4286. 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  4287. 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  4288. 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Configures the SysTick clock source.
  4289. 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param CLKSource: specifies the SysTick clock source.
  4290. 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be one of the following values:
  4291. 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg SYSTICK_CLKSOURCE_HCLK_DIV8: AHB clock divided by 8 selected as SysTick clock
  4292. 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg SYSTICK_CLKSOURCE_HCLK: AHB clock selected as SysTick clock source.
  4293. ARM GAS /tmp/ccMY5QHu.s page 75
  4294. 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
  4295. 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  4296. 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_SYSTICK_CLKSourceConfig(uint32_t CLKSource)
  4297. 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  4298. 927 .loc 1 454 1 is_stmt 1 view -0
  4299. 928 .cfi_startproc
  4300. 929 @ args = 0, pretend = 0, frame = 0
  4301. 930 @ frame_needed = 0, uses_anonymous_args = 0
  4302. 931 @ link register save eliminated.
  4303. 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
  4304. 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_SYSTICK_CLK_SOURCE(CLKSource));
  4305. 932 .loc 1 456 3 view .LVU254
  4306. 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** if (CLKSource == SYSTICK_CLKSOURCE_HCLK)
  4307. 933 .loc 1 457 3 view .LVU255
  4308. 934 .loc 1 457 6 is_stmt 0 view .LVU256
  4309. 935 0000 0428 cmp r0, #4
  4310. 936 0002 06D0 beq .L61
  4311. 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  4312. 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** SysTick->CTRL |= SYSTICK_CLKSOURCE_HCLK;
  4313. 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  4314. 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** else
  4315. 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  4316. 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** SysTick->CTRL &= ~SYSTICK_CLKSOURCE_HCLK;
  4317. 937 .loc 1 463 5 is_stmt 1 view .LVU257
  4318. 938 .loc 1 463 19 is_stmt 0 view .LVU258
  4319. 939 0004 4FF0E022 mov r2, #-536813568
  4320. 940 0008 1369 ldr r3, [r2, #16]
  4321. 941 000a 23F00403 bic r3, r3, #4
  4322. 942 000e 1361 str r3, [r2, #16]
  4323. 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  4324. 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  4325. 943 .loc 1 465 1 view .LVU259
  4326. 944 0010 7047 bx lr
  4327. 945 .L61:
  4328. 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  4329. 946 .loc 1 459 5 is_stmt 1 view .LVU260
  4330. 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  4331. 947 .loc 1 459 19 is_stmt 0 view .LVU261
  4332. 948 0012 4FF0E022 mov r2, #-536813568
  4333. 949 0016 1369 ldr r3, [r2, #16]
  4334. 950 0018 43F00403 orr r3, r3, #4
  4335. 951 001c 1361 str r3, [r2, #16]
  4336. 952 001e 7047 bx lr
  4337. 953 .cfi_endproc
  4338. 954 .LFE77:
  4339. 956 .section .text.HAL_SYSTICK_Callback,"ax",%progbits
  4340. 957 .align 1
  4341. 958 .weak HAL_SYSTICK_Callback
  4342. 959 .syntax unified
  4343. 960 .thumb
  4344. 961 .thumb_func
  4345. 963 HAL_SYSTICK_Callback:
  4346. 964 .LFB79:
  4347. 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  4348. 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  4349. 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief This function handles SYSTICK interrupt request.
  4350. 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
  4351. ARM GAS /tmp/ccMY5QHu.s page 76
  4352. 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  4353. 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_SYSTICK_IRQHandler(void)
  4354. 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  4355. 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** HAL_SYSTICK_Callback();
  4356. 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  4357. 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  4358. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
  4359. 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief SYSTICK callback.
  4360. 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
  4361. 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  4362. 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** __weak void HAL_SYSTICK_Callback(void)
  4363. 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
  4364. 965 .loc 1 481 1 is_stmt 1 view -0
  4365. 966 .cfi_startproc
  4366. 967 @ args = 0, pretend = 0, frame = 0
  4367. 968 @ frame_needed = 0, uses_anonymous_args = 0
  4368. 969 @ link register save eliminated.
  4369. 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* NOTE : This function Should not be modified, when the callback is needed,
  4370. 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** the HAL_SYSTICK_Callback could be implemented in the user file
  4371. 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
  4372. 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  4373. 970 .loc 1 485 1 view .LVU263
  4374. 971 0000 7047 bx lr
  4375. 972 .cfi_endproc
  4376. 973 .LFE79:
  4377. 975 .section .text.HAL_SYSTICK_IRQHandler,"ax",%progbits
  4378. 976 .align 1
  4379. 977 .global HAL_SYSTICK_IRQHandler
  4380. 978 .syntax unified
  4381. 979 .thumb
  4382. 980 .thumb_func
  4383. 982 HAL_SYSTICK_IRQHandler:
  4384. 983 .LFB78:
  4385. 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** HAL_SYSTICK_Callback();
  4386. 984 .loc 1 472 1 view -0
  4387. 985 .cfi_startproc
  4388. 986 @ args = 0, pretend = 0, frame = 0
  4389. 987 @ frame_needed = 0, uses_anonymous_args = 0
  4390. 988 0000 08B5 push {r3, lr}
  4391. 989 .LCFI2:
  4392. 990 .cfi_def_cfa_offset 8
  4393. 991 .cfi_offset 3, -8
  4394. 992 .cfi_offset 14, -4
  4395. 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
  4396. 993 .loc 1 473 3 view .LVU265
  4397. 994 0002 FFF7FEFF bl HAL_SYSTICK_Callback
  4398. 995 .LVL67:
  4399. 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
  4400. 996 .loc 1 474 1 is_stmt 0 view .LVU266
  4401. 997 0006 08BD pop {r3, pc}
  4402. 998 .cfi_endproc
  4403. 999 .LFE78:
  4404. 1001 .text
  4405. 1002 .Letext0:
  4406. 1003 .file 4 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
  4407. 1004 .file 5 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
  4408. 1005 .file 6 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
  4409. ARM GAS /tmp/ccMY5QHu.s page 77
  4410. ARM GAS /tmp/ccMY5QHu.s page 78
  4411. DEFINED SYMBOLS
  4412. *ABS*:0000000000000000 stm32f1xx_hal_cortex.c
  4413. /tmp/ccMY5QHu.s:18 .text.HAL_NVIC_SetPriorityGrouping:0000000000000000 $t
  4414. /tmp/ccMY5QHu.s:24 .text.HAL_NVIC_SetPriorityGrouping:0000000000000000 HAL_NVIC_SetPriorityGrouping
  4415. /tmp/ccMY5QHu.s:80 .text.HAL_NVIC_SetPriorityGrouping:0000000000000020 $d
  4416. /tmp/ccMY5QHu.s:85 .text.HAL_NVIC_SetPriority:0000000000000000 $t
  4417. /tmp/ccMY5QHu.s:91 .text.HAL_NVIC_SetPriority:0000000000000000 HAL_NVIC_SetPriority
  4418. /tmp/ccMY5QHu.s:234 .text.HAL_NVIC_SetPriority:0000000000000068 $d
  4419. /tmp/ccMY5QHu.s:240 .text.HAL_NVIC_EnableIRQ:0000000000000000 $t
  4420. /tmp/ccMY5QHu.s:246 .text.HAL_NVIC_EnableIRQ:0000000000000000 HAL_NVIC_EnableIRQ
  4421. /tmp/ccMY5QHu.s:287 .text.HAL_NVIC_EnableIRQ:0000000000000018 $d
  4422. /tmp/ccMY5QHu.s:292 .text.HAL_NVIC_DisableIRQ:0000000000000000 $t
  4423. /tmp/ccMY5QHu.s:298 .text.HAL_NVIC_DisableIRQ:0000000000000000 HAL_NVIC_DisableIRQ
  4424. /tmp/ccMY5QHu.s:369 .text.HAL_NVIC_DisableIRQ:0000000000000020 $d
  4425. /tmp/ccMY5QHu.s:374 .text.HAL_NVIC_SystemReset:0000000000000000 $t
  4426. /tmp/ccMY5QHu.s:380 .text.HAL_NVIC_SystemReset:0000000000000000 HAL_NVIC_SystemReset
  4427. /tmp/ccMY5QHu.s:446 .text.HAL_NVIC_SystemReset:000000000000001c $d
  4428. /tmp/ccMY5QHu.s:454 .text.HAL_SYSTICK_Config:0000000000000000 $t
  4429. /tmp/ccMY5QHu.s:460 .text.HAL_SYSTICK_Config:0000000000000000 HAL_SYSTICK_Config
  4430. /tmp/ccMY5QHu.s:525 .text.HAL_SYSTICK_Config:0000000000000024 $d
  4431. /tmp/ccMY5QHu.s:530 .text.HAL_NVIC_GetPriorityGrouping:0000000000000000 $t
  4432. /tmp/ccMY5QHu.s:536 .text.HAL_NVIC_GetPriorityGrouping:0000000000000000 HAL_NVIC_GetPriorityGrouping
  4433. /tmp/ccMY5QHu.s:560 .text.HAL_NVIC_GetPriorityGrouping:000000000000000c $d
  4434. /tmp/ccMY5QHu.s:565 .text.HAL_NVIC_GetPriority:0000000000000000 $t
  4435. /tmp/ccMY5QHu.s:571 .text.HAL_NVIC_GetPriority:0000000000000000 HAL_NVIC_GetPriority
  4436. /tmp/ccMY5QHu.s:691 .text.HAL_NVIC_GetPriority:000000000000005c $d
  4437. /tmp/ccMY5QHu.s:698 .text.HAL_NVIC_SetPendingIRQ:0000000000000000 $t
  4438. /tmp/ccMY5QHu.s:704 .text.HAL_NVIC_SetPendingIRQ:0000000000000000 HAL_NVIC_SetPendingIRQ
  4439. /tmp/ccMY5QHu.s:746 .text.HAL_NVIC_SetPendingIRQ:0000000000000018 $d
  4440. /tmp/ccMY5QHu.s:751 .text.HAL_NVIC_GetPendingIRQ:0000000000000000 $t
  4441. /tmp/ccMY5QHu.s:757 .text.HAL_NVIC_GetPendingIRQ:0000000000000000 HAL_NVIC_GetPendingIRQ
  4442. /tmp/ccMY5QHu.s:803 .text.HAL_NVIC_GetPendingIRQ:0000000000000020 $d
  4443. /tmp/ccMY5QHu.s:808 .text.HAL_NVIC_ClearPendingIRQ:0000000000000000 $t
  4444. /tmp/ccMY5QHu.s:814 .text.HAL_NVIC_ClearPendingIRQ:0000000000000000 HAL_NVIC_ClearPendingIRQ
  4445. /tmp/ccMY5QHu.s:856 .text.HAL_NVIC_ClearPendingIRQ:0000000000000018 $d
  4446. /tmp/ccMY5QHu.s:861 .text.HAL_NVIC_GetActive:0000000000000000 $t
  4447. /tmp/ccMY5QHu.s:867 .text.HAL_NVIC_GetActive:0000000000000000 HAL_NVIC_GetActive
  4448. /tmp/ccMY5QHu.s:913 .text.HAL_NVIC_GetActive:0000000000000020 $d
  4449. /tmp/ccMY5QHu.s:918 .text.HAL_SYSTICK_CLKSourceConfig:0000000000000000 $t
  4450. /tmp/ccMY5QHu.s:924 .text.HAL_SYSTICK_CLKSourceConfig:0000000000000000 HAL_SYSTICK_CLKSourceConfig
  4451. /tmp/ccMY5QHu.s:957 .text.HAL_SYSTICK_Callback:0000000000000000 $t
  4452. /tmp/ccMY5QHu.s:963 .text.HAL_SYSTICK_Callback:0000000000000000 HAL_SYSTICK_Callback
  4453. /tmp/ccMY5QHu.s:976 .text.HAL_SYSTICK_IRQHandler:0000000000000000 $t
  4454. /tmp/ccMY5QHu.s:982 .text.HAL_SYSTICK_IRQHandler:0000000000000000 HAL_SYSTICK_IRQHandler
  4455. NO UNDEFINED SYMBOLS