stm32f4xx_hal_dma.lst 273 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608
  1. ARM GAS /tmp/cc2d5rNl.s page 1
  2. 1 .cpu cortex-m4
  3. 2 .arch armv7e-m
  4. 3 .fpu fpv4-sp-d16
  5. 4 .eabi_attribute 27, 1
  6. 5 .eabi_attribute 28, 1
  7. 6 .eabi_attribute 20, 1
  8. 7 .eabi_attribute 21, 1
  9. 8 .eabi_attribute 23, 3
  10. 9 .eabi_attribute 24, 1
  11. 10 .eabi_attribute 25, 1
  12. 11 .eabi_attribute 26, 1
  13. 12 .eabi_attribute 30, 1
  14. 13 .eabi_attribute 34, 1
  15. 14 .eabi_attribute 18, 4
  16. 15 .file "stm32f4xx_hal_dma.c"
  17. 16 .text
  18. 17 .Ltext0:
  19. 18 .cfi_sections .debug_frame
  20. 19 .section .text.DMA_SetConfig,"ax",%progbits
  21. 20 .align 1
  22. 21 .syntax unified
  23. 22 .thumb
  24. 23 .thumb_func
  25. 25 DMA_SetConfig:
  26. 26 .LVL0:
  27. 27 .LFB142:
  28. 28 .file 1 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c"
  29. 1:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  30. 2:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ******************************************************************************
  31. 3:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @file stm32f4xx_hal_dma.c
  32. 4:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @author MCD Application Team
  33. 5:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief DMA HAL module driver.
  34. 6:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** *
  35. 7:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * This file provides firmware functions to manage the following
  36. 8:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * functionalities of the Direct Memory Access (DMA) peripheral:
  37. 9:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * + Initialization and de-initialization functions
  38. 10:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * + IO operation functions
  39. 11:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * + Peripheral State and errors functions
  40. 12:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** @verbatim
  41. 13:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ==============================================================================
  42. 14:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ##### How to use this driver #####
  43. 15:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ==============================================================================
  44. 16:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** [..]
  45. 17:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (#) Enable and configure the peripheral to be connected to the DMA Stream
  46. 18:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (except for internal SRAM/FLASH memories: no initialization is
  47. 19:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** necessary) please refer to Reference manual for connection between peripherals
  48. 20:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** and DMA requests.
  49. 21:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  50. 22:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (#) For a given Stream, program the required configuration through the following parameters:
  51. 23:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** Transfer Direction, Source and Destination data formats,
  52. 24:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** Circular, Normal or peripheral flow control mode, Stream Priority level,
  53. 25:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** Source and Destination Increment mode, FIFO mode and its Threshold (if needed),
  54. 26:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** Burst mode for Source and/or Destination (if needed) using HAL_DMA_Init() function.
  55. 27:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  56. 28:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** -@- Prior to HAL_DMA_Init() the clock must be enabled for DMA through the following macros:
  57. 29:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_RCC_DMA1_CLK_ENABLE() or __HAL_RCC_DMA2_CLK_ENABLE().
  58. 30:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  59. ARM GAS /tmp/cc2d5rNl.s page 2
  60. 31:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** *** Polling mode IO operation ***
  61. 32:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** =================================
  62. 33:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** [..]
  63. 34:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) Use HAL_DMA_Start() to start DMA transfer after the configuration of Source
  64. 35:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** address and destination address and the Length of data to be transferred.
  65. 36:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) Use HAL_DMA_PollForTransfer() to poll for the end of current transfer, in this
  66. 37:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case a fixed Timeout can be configured by User depending from his application.
  67. 38:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) Use HAL_DMA_Abort() function to abort the current transfer.
  68. 39:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  69. 40:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** *** Interrupt mode IO operation ***
  70. 41:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ===================================
  71. 42:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** [..]
  72. 43:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) Configure the DMA interrupt priority using HAL_NVIC_SetPriority()
  73. 44:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) Enable the DMA IRQ handler using HAL_NVIC_EnableIRQ()
  74. 45:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) Use HAL_DMA_Start_IT() to start DMA transfer after the configuration of
  75. 46:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** Source address and destination address and the Length of data to be transferred. In t
  76. 47:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case the DMA interrupt is configured
  77. 48:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) Use HAL_DMA_IRQHandler() called under DMA_IRQHandler() Interrupt subroutine
  78. 49:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) At the end of data transfer HAL_DMA_IRQHandler() function is executed and user can
  79. 50:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** add his own function by customization of function pointer XferCpltCallback and
  80. 51:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** XferErrorCallback (i.e a member of DMA handle structure).
  81. 52:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** [..]
  82. 53:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (#) Use HAL_DMA_GetState() function to return the DMA state and HAL_DMA_GetError() in case of
  83. 54:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** detection.
  84. 55:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  85. 56:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (#) Use HAL_DMA_Abort_IT() function to abort the current transfer
  86. 57:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  87. 58:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** -@- In Memory-to-Memory transfer mode, Circular mode is not allowed.
  88. 59:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  89. 60:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** -@- The FIFO is used mainly to reduce bus usage and to allow data packing/unpacking: it is
  90. 61:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** possible to set different Data Sizes for the Peripheral and the Memory (ie. you can set
  91. 62:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** Half-Word data size for the peripheral to access its data register and set Word data siz
  92. 63:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** for the Memory to gain in access time. Each two half words will be packed and written in
  93. 64:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** a single access to a Word in the Memory).
  94. 65:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  95. 66:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** -@- When FIFO is disabled, it is not allowed to configure different Data Sizes for Source
  96. 67:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** and Destination. In this case the Peripheral Data Size will be applied to both Source
  97. 68:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** and Destination.
  98. 69:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  99. 70:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** *** DMA HAL driver macros list ***
  100. 71:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** =============================================
  101. 72:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** [..]
  102. 73:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** Below the list of most used macros in DMA HAL driver.
  103. 74:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  104. 75:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) __HAL_DMA_ENABLE: Enable the specified DMA Stream.
  105. 76:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) __HAL_DMA_DISABLE: Disable the specified DMA Stream.
  106. 77:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) __HAL_DMA_GET_IT_SOURCE: Check whether the specified DMA Stream interrupt has occurred or
  107. 78:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  108. 79:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** [..]
  109. 80:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (@) You can refer to the DMA HAL driver header file for more useful macros
  110. 81:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  111. 82:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** @endverbatim
  112. 83:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ******************************************************************************
  113. 84:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @attention
  114. 85:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** *
  115. 86:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
  116. 87:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * All rights reserved.</center></h2>
  117. ARM GAS /tmp/cc2d5rNl.s page 3
  118. 88:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** *
  119. 89:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * This software component is licensed by ST under BSD 3-Clause license,
  120. 90:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the "License"; You may not use this file except in compliance with the
  121. 91:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * License. You may obtain a copy of the License at:
  122. 92:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * opensource.org/licenses/BSD-3-Clause
  123. 93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** *
  124. 94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ******************************************************************************
  125. 95:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  126. 96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  127. 97:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Includes ------------------------------------------------------------------*/
  128. 98:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** #include "stm32f4xx_hal.h"
  129. 99:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  130. 100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /** @addtogroup STM32F4xx_HAL_Driver
  131. 101:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @{
  132. 102:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  133. 103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  134. 104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /** @defgroup DMA DMA
  135. 105:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief DMA HAL module driver
  136. 106:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @{
  137. 107:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  138. 108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  139. 109:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** #ifdef HAL_DMA_MODULE_ENABLED
  140. 110:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  141. 111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Private types -------------------------------------------------------------*/
  142. 112:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** typedef struct
  143. 113:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  144. 114:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __IO uint32_t ISR; /*!< DMA interrupt status register */
  145. 115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __IO uint32_t Reserved0;
  146. 116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __IO uint32_t IFCR; /*!< DMA interrupt flag clear register */
  147. 117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** } DMA_Base_Registers;
  148. 118:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  149. 119:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Private variables ---------------------------------------------------------*/
  150. 120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Private constants ---------------------------------------------------------*/
  151. 121:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /** @addtogroup DMA_Private_Constants
  152. 122:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @{
  153. 123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  154. 124:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** #define HAL_TIMEOUT_DMA_ABORT 5U /* 5 ms */
  155. 125:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  156. 126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @}
  157. 127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  158. 128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Private macros ------------------------------------------------------------*/
  159. 129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Private functions ---------------------------------------------------------*/
  160. 130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /** @addtogroup DMA_Private_Functions
  161. 131:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @{
  162. 132:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  163. 133:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32
  164. 134:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** static uint32_t DMA_CalcBaseAndBitshift(DMA_HandleTypeDef *hdma);
  165. 135:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** static HAL_StatusTypeDef DMA_CheckFifoParam(DMA_HandleTypeDef *hdma);
  166. 136:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  167. 137:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  168. 138:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @}
  169. 139:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  170. 140:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  171. 141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Exported functions ---------------------------------------------------------*/
  172. 142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /** @addtogroup DMA_Exported_Functions
  173. 143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @{
  174. 144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  175. ARM GAS /tmp/cc2d5rNl.s page 4
  176. 145:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  177. 146:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /** @addtogroup DMA_Exported_Functions_Group1
  178. 147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** *
  179. 148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** @verbatim
  180. 149:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ===============================================================================
  181. 150:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ##### Initialization and de-initialization functions #####
  182. 151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ===============================================================================
  183. 152:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** [..]
  184. 153:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** This section provides functions allowing to initialize the DMA Stream source
  185. 154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** and destination addresses, incrementation and data sizes, transfer direction,
  186. 155:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** circular/normal mode selection, memory-to-memory mode selection and Stream priority value.
  187. 156:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** [..]
  188. 157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** The HAL_DMA_Init() function follows the DMA configuration procedures as described in
  189. 158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** reference manual.
  190. 159:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  191. 160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** @endverbatim
  192. 161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @{
  193. 162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  194. 163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  195. 164:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  196. 165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief Initialize the DMA according to the specified
  197. 166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * parameters in the DMA_InitTypeDef and create the associated handle.
  198. 167:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains
  199. 168:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  200. 169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval HAL status
  201. 170:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  202. 171:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma)
  203. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  204. 173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmp = 0U;
  205. 174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tickstart = HAL_GetTick();
  206. 175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_Base_Registers *regs;
  207. 176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  208. 177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check the DMA peripheral state */
  209. 178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma == NULL)
  210. 179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  211. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  212. 181:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  213. 182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  214. 183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check the parameters */
  215. 184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_STREAM_ALL_INSTANCE(hdma->Instance));
  216. 185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_CHANNEL(hdma->Init.Channel));
  217. 186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction));
  218. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc));
  219. 188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc));
  220. 189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment));
  221. 190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment));
  222. 191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode));
  223. 192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority));
  224. 193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_FIFO_MODE_STATE(hdma->Init.FIFOMode));
  225. 194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check the memory burst, peripheral burst and FIFO threshold parameters only
  226. 195:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** when FIFO mode is enabled */
  227. 196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->Init.FIFOMode != DMA_FIFOMODE_DISABLE)
  228. 197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  229. 198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_FIFO_THRESHOLD(hdma->Init.FIFOThreshold));
  230. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_BURST(hdma->Init.MemBurst));
  231. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_BURST(hdma->Init.PeriphBurst));
  232. 201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  233. ARM GAS /tmp/cc2d5rNl.s page 5
  234. 202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  235. 203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Allocate lock resource */
  236. 204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  237. 205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  238. 206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Change DMA peripheral state */
  239. 207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
  240. 208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  241. 209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Disable the peripheral */
  242. 210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
  243. 211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  244. 212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check if the DMA Stream is effectively disabled */
  245. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** while((hdma->Instance->CR & DMA_SxCR_EN) != RESET)
  246. 214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  247. 215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check for the Timeout */
  248. 216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((HAL_GetTick() - tickstart ) > HAL_TIMEOUT_DMA_ABORT)
  249. 217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  250. 218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Update error code */
  251. 219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TIMEOUT;
  252. 220:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  253. 221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Change the DMA state */
  254. 222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_TIMEOUT;
  255. 223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  256. 224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_TIMEOUT;
  257. 225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  258. 226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  259. 227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  260. 228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Get the CR register value */
  261. 229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** tmp = hdma->Instance->CR;
  262. 230:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  263. 231:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear CHSEL, MBURST, PBURST, PL, MSIZE, PSIZE, MINC, PINC, CIRC, DIR, CT and DBM bits */
  264. 232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** tmp &= ((uint32_t)~(DMA_SxCR_CHSEL | DMA_SxCR_MBURST | DMA_SxCR_PBURST | \
  265. 233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_SxCR_PL | DMA_SxCR_MSIZE | DMA_SxCR_PSIZE | \
  266. 234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_SxCR_MINC | DMA_SxCR_PINC | DMA_SxCR_CIRC | \
  267. 235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_SxCR_DIR | DMA_SxCR_CT | DMA_SxCR_DBM));
  268. 236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  269. 237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Prepare the DMA Stream configuration */
  270. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** tmp |= hdma->Init.Channel | hdma->Init.Direction |
  271. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  272. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
  273. 241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
  274. 242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  275. 243:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* the Memory burst and peripheral burst are not used when the FIFO is disabled */
  276. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->Init.FIFOMode == DMA_FIFOMODE_ENABLE)
  277. 245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  278. 246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Get memory burst and peripheral burst */
  279. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** tmp |= hdma->Init.MemBurst | hdma->Init.PeriphBurst;
  280. 248:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  281. 249:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  282. 250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Write to DMA Stream CR register */
  283. 251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->CR = tmp;
  284. 252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  285. 253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Get the FCR register value */
  286. 254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** tmp = hdma->Instance->FCR;
  287. 255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  288. 256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear Direct mode and FIFO threshold bits */
  289. 257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** tmp &= (uint32_t)~(DMA_SxFCR_DMDIS | DMA_SxFCR_FTH);
  290. 258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  291. ARM GAS /tmp/cc2d5rNl.s page 6
  292. 259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Prepare the DMA Stream FIFO configuration */
  293. 260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** tmp |= hdma->Init.FIFOMode;
  294. 261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  295. 262:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* The FIFO threshold is not used when the FIFO mode is disabled */
  296. 263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->Init.FIFOMode == DMA_FIFOMODE_ENABLE)
  297. 264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  298. 265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Get the FIFO threshold */
  299. 266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** tmp |= hdma->Init.FIFOThreshold;
  300. 267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  301. 268:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check compatibility between FIFO threshold level and size of the memory burst */
  302. 269:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* for INCR4, INCR8, INCR16 bursts */
  303. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if (hdma->Init.MemBurst != DMA_MBURST_SINGLE)
  304. 271:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  305. 272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if (DMA_CheckFifoParam(hdma) != HAL_OK)
  306. 273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  307. 274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Update error code */
  308. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_PARAM;
  309. 276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  310. 277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Change the DMA state */
  311. 278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  312. 279:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  313. 280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  314. 281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  315. 282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  316. 283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  317. 284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  318. 285:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Write to DMA Stream FCR */
  319. 286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->FCR = tmp;
  320. 287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  321. 288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Initialize StreamBaseAddress and StreamIndex parameters to be used to calculate
  322. 289:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA steam Base Address needed by HAL_DMA_IRQHandler() and HAL_DMA_PollForTransfer() */
  323. 290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs = (DMA_Base_Registers *)DMA_CalcBaseAndBitshift(hdma);
  324. 291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  325. 292:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear all interrupt flags */
  326. 293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = 0x3FU << hdma->StreamIndex;
  327. 294:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  328. 295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Initialize the error code */
  329. 296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  330. 297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  331. 298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Initialize the DMA state */
  332. 299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  333. 300:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  334. 301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_OK;
  335. 302:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  336. 303:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  337. 304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  338. 305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief DeInitializes the DMA peripheral
  339. 306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  340. 307:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  341. 308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval HAL status
  342. 309:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  343. 310:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma)
  344. 311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  345. 312:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_Base_Registers *regs;
  346. 313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  347. 314:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check the DMA peripheral state */
  348. 315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma == NULL)
  349. ARM GAS /tmp/cc2d5rNl.s page 7
  350. 316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  351. 317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  352. 318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  353. 319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  354. 320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check the DMA peripheral state */
  355. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->State == HAL_DMA_STATE_BUSY)
  356. 322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  357. 323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Return error status */
  358. 324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_BUSY;
  359. 325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  360. 326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  361. 327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check the parameters */
  362. 328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_STREAM_ALL_INSTANCE(hdma->Instance));
  363. 329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  364. 330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Disable the selected DMA Streamx */
  365. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
  366. 332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  367. 333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Reset DMA Streamx control register */
  368. 334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->CR = 0U;
  369. 335:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  370. 336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Reset DMA Streamx number of data to transfer register */
  371. 337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->NDTR = 0U;
  372. 338:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  373. 339:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Reset DMA Streamx peripheral address register */
  374. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->PAR = 0U;
  375. 341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  376. 342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Reset DMA Streamx memory 0 address register */
  377. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->M0AR = 0U;
  378. 344:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  379. 345:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Reset DMA Streamx memory 1 address register */
  380. 346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->M1AR = 0U;
  381. 347:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  382. 348:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Reset DMA Streamx FIFO control register */
  383. 349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->FCR = 0x00000021U;
  384. 350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  385. 351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Get DMA steam Base Address */
  386. 352:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs = (DMA_Base_Registers *)DMA_CalcBaseAndBitshift(hdma);
  387. 353:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  388. 354:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clean all callbacks */
  389. 355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
  390. 356:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  391. 357:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1CpltCallback = NULL;
  392. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1HalfCpltCallback = NULL;
  393. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  394. 360:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  395. 361:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  396. 362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear all interrupt flags at correct offset within the register */
  397. 363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = 0x3FU << hdma->StreamIndex;
  398. 364:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  399. 365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Reset the error code */
  400. 366:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  401. 367:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  402. 368:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Reset the DMA state */
  403. 369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_RESET;
  404. 370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  405. 371:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Release Lock */
  406. 372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  407. ARM GAS /tmp/cc2d5rNl.s page 8
  408. 373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  409. 374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_OK;
  410. 375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  411. 376:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  412. 377:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  413. 378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @}
  414. 379:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  415. 380:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  416. 381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /** @addtogroup DMA_Exported_Functions_Group2
  417. 382:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** *
  418. 383:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** @verbatim
  419. 384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ===============================================================================
  420. 385:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ##### IO operation functions #####
  421. 386:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ===============================================================================
  422. 387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** [..] This section provides functions allowing to:
  423. 388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) Configure the source, destination address and data length and Start DMA transfer
  424. 389:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) Configure the source, destination address and data length and
  425. 390:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** Start DMA transfer with interrupt
  426. 391:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) Abort DMA transfer
  427. 392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) Poll for transfer complete
  428. 393:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) Handle DMA interrupt request
  429. 394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  430. 395:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** @endverbatim
  431. 396:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @{
  432. 397:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  433. 398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  434. 399:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  435. 400:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief Starts the DMA Transfer.
  436. 401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  437. 402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  438. 403:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address
  439. 404:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address
  440. 405:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination
  441. 406:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval HAL status
  442. 407:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  443. 408:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress,
  444. 409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  445. 410:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  446. 411:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  447. 412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check the parameters */
  448. 413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength));
  449. 414:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  450. 415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process locked */
  451. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_LOCK(hdma);
  452. 417:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  453. 418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
  454. 419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  455. 420:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Change DMA peripheral state */
  456. 421:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
  457. 422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  458. 423:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Initialize the error code */
  459. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  460. 425:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  461. 426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Configure the source, destination address and the data length */
  462. 427:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength);
  463. 428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  464. 429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Enable the Peripheral */
  465. ARM GAS /tmp/cc2d5rNl.s page 9
  466. 430:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_DMA_ENABLE(hdma);
  467. 431:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  468. 432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  469. 433:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  470. 434:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process unlocked */
  471. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  472. 436:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  473. 437:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Return error status */
  474. 438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** status = HAL_BUSY;
  475. 439:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  476. 440:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return status;
  477. 441:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  478. 442:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  479. 443:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  480. 444:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief Start the DMA Transfer with interrupt enabled.
  481. 445:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  482. 446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  483. 447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address
  484. 448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address
  485. 449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination
  486. 450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval HAL status
  487. 451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  488. 452:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddres
  489. 453:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  490. 454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  491. 455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  492. 456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* calculate DMA base and stream number */
  493. 457:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_Base_Registers *regs = (DMA_Base_Registers *)hdma->StreamBaseAddress;
  494. 458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  495. 459:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check the parameters */
  496. 460:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength));
  497. 461:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  498. 462:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process locked */
  499. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_LOCK(hdma);
  500. 464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  501. 465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
  502. 466:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  503. 467:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Change DMA peripheral state */
  504. 468:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
  505. 469:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  506. 470:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Initialize the error code */
  507. 471:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  508. 472:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  509. 473:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Configure the source, destination address and the data length */
  510. 474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength);
  511. 475:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  512. 476:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear all interrupt flags at correct offset within the register */
  513. 477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = 0x3FU << hdma->StreamIndex;
  514. 478:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  515. 479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Enable Common interrupts*/
  516. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->CR |= DMA_IT_TC | DMA_IT_TE | DMA_IT_DME;
  517. 481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->FCR |= DMA_IT_FE;
  518. 482:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  519. 483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->XferHalfCpltCallback != NULL)
  520. 484:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  521. 485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->CR |= DMA_IT_HT;
  522. 486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  523. ARM GAS /tmp/cc2d5rNl.s page 10
  524. 487:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  525. 488:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Enable the Peripheral */
  526. 489:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_DMA_ENABLE(hdma);
  527. 490:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  528. 491:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  529. 492:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  530. 493:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process unlocked */
  531. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  532. 495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  533. 496:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Return error status */
  534. 497:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** status = HAL_BUSY;
  535. 498:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  536. 499:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  537. 500:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return status;
  538. 501:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  539. 502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  540. 503:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  541. 504:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief Aborts the DMA Transfer.
  542. 505:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  543. 506:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  544. 507:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** *
  545. 508:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @note After disabling a DMA Stream, a check for wait until the DMA Stream is
  546. 509:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * effectively disabled is added. If a Stream is disabled
  547. 510:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * while a data transfer is ongoing, the current data will be transferred
  548. 511:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * and the Stream will be effectively disabled only after the transfer of
  549. 512:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * this single data is finished.
  550. 513:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval HAL status
  551. 514:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  552. 515:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma)
  553. 516:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  554. 517:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* calculate DMA base and stream number */
  555. 518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_Base_Registers *regs = (DMA_Base_Registers *)hdma->StreamBaseAddress;
  556. 519:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  557. 520:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tickstart = HAL_GetTick();
  558. 521:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  559. 522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->State != HAL_DMA_STATE_BUSY)
  560. 523:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  561. 524:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
  562. 525:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  563. 526:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process Unlocked */
  564. 527:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  565. 528:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  566. 529:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  567. 530:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  568. 531:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  569. 532:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  570. 533:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Disable all the transfer interrupts */
  571. 534:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->CR &= ~(DMA_IT_TC | DMA_IT_TE | DMA_IT_DME);
  572. 535:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->FCR &= ~(DMA_IT_FE);
  573. 536:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  574. 537:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((hdma->XferHalfCpltCallback != NULL) || (hdma->XferM1HalfCpltCallback != NULL))
  575. 538:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  576. 539:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->CR &= ~(DMA_IT_HT);
  577. 540:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  578. 541:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  579. 542:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Disable the stream */
  580. 543:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
  581. ARM GAS /tmp/cc2d5rNl.s page 11
  582. 544:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  583. 545:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check if the DMA Stream is effectively disabled */
  584. 546:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** while((hdma->Instance->CR & DMA_SxCR_EN) != RESET)
  585. 547:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  586. 548:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check for the Timeout */
  587. 549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((HAL_GetTick() - tickstart ) > HAL_TIMEOUT_DMA_ABORT)
  588. 550:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  589. 551:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Update error code */
  590. 552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TIMEOUT;
  591. 553:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  592. 554:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process Unlocked */
  593. 555:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  594. 556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  595. 557:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Change the DMA state */
  596. 558:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_TIMEOUT;
  597. 559:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  598. 560:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_TIMEOUT;
  599. 561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  600. 562:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  601. 563:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  602. 564:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear all interrupt flags at correct offset within the register */
  603. 565:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = 0x3FU << hdma->StreamIndex;
  604. 566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  605. 567:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process Unlocked */
  606. 568:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  607. 569:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  608. 570:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Change the DMA state*/
  609. 571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  610. 572:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  611. 573:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_OK;
  612. 574:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  613. 575:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  614. 576:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  615. 577:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief Aborts the DMA Transfer in Interrupt mode.
  616. 578:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  617. 579:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  618. 580:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval HAL status
  619. 581:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  620. 582:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma)
  621. 583:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  622. 584:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->State != HAL_DMA_STATE_BUSY)
  623. 585:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  624. 586:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
  625. 587:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  626. 588:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  627. 589:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  628. 590:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  629. 591:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Set Abort State */
  630. 592:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_ABORT;
  631. 593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  632. 594:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Disable the stream */
  633. 595:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
  634. 596:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  635. 597:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  636. 598:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_OK;
  637. 599:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  638. 600:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  639. ARM GAS /tmp/cc2d5rNl.s page 12
  640. 601:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  641. 602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief Polling for transfer complete.
  642. 603:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  643. 604:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  644. 605:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param CompleteLevel Specifies the DMA level complete.
  645. 606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @note The polling mode is kept in this version for legacy. it is recommanded to use the IT mo
  646. 607:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * This model could be used for debug purpose.
  647. 608:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @note The HAL_DMA_PollForTransfer API cannot be used in circular and double buffering mode (a
  648. 609:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param Timeout Timeout duration.
  649. 610:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval HAL status
  650. 611:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  651. 612:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, HAL_DMA_LevelCompleteTypeDef Com
  652. 613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  653. 614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  654. 615:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t mask_cpltlevel;
  655. 616:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tickstart = HAL_GetTick();
  656. 617:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmpisr;
  657. 618:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  658. 619:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* calculate DMA base and stream number */
  659. 620:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_Base_Registers *regs;
  660. 621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  661. 622:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State)
  662. 623:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  663. 624:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* No transfer ongoing */
  664. 625:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
  665. 626:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  666. 627:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  667. 628:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  668. 629:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  669. 630:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Polling mode not supported in circular mode and double buffering mode */
  670. 631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if ((hdma->Instance->CR & DMA_SxCR_CIRC) != RESET)
  671. 632:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  672. 633:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NOT_SUPPORTED;
  673. 634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  674. 635:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  675. 636:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  676. 637:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Get the level transfer complete flag */
  677. 638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(CompleteLevel == HAL_DMA_FULL_TRANSFER)
  678. 639:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  679. 640:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Transfer Complete flag */
  680. 641:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** mask_cpltlevel = DMA_FLAG_TCIF0_4 << hdma->StreamIndex;
  681. 642:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  682. 643:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  683. 644:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  684. 645:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Half Transfer Complete flag */
  685. 646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** mask_cpltlevel = DMA_FLAG_HTIF0_4 << hdma->StreamIndex;
  686. 647:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  687. 648:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  688. 649:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs = (DMA_Base_Registers *)hdma->StreamBaseAddress;
  689. 650:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** tmpisr = regs->ISR;
  690. 651:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  691. 652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** while(((tmpisr & mask_cpltlevel) == RESET) && ((hdma->ErrorCode & HAL_DMA_ERROR_TE) == RESET))
  692. 653:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  693. 654:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check for the Timeout (Not applicable in circular mode)*/
  694. 655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(Timeout != HAL_MAX_DELAY)
  695. 656:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  696. 657:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((Timeout == 0U)||((HAL_GetTick() - tickstart ) > Timeout))
  697. ARM GAS /tmp/cc2d5rNl.s page 13
  698. 658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  699. 659:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Update error code */
  700. 660:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TIMEOUT;
  701. 661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  702. 662:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process Unlocked */
  703. 663:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  704. 664:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  705. 665:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Change the DMA state */
  706. 666:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  707. 667:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  708. 668:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_TIMEOUT;
  709. 669:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  710. 670:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  711. 671:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  712. 672:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Get the ISR register value */
  713. 673:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** tmpisr = regs->ISR;
  714. 674:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  715. 675:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((tmpisr & (DMA_FLAG_TEIF0_4 << hdma->StreamIndex)) != RESET)
  716. 676:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  717. 677:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Update error code */
  718. 678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode |= HAL_DMA_ERROR_TE;
  719. 679:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  720. 680:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear the transfer error flag */
  721. 681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = DMA_FLAG_TEIF0_4 << hdma->StreamIndex;
  722. 682:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  723. 683:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  724. 684:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((tmpisr & (DMA_FLAG_FEIF0_4 << hdma->StreamIndex)) != RESET)
  725. 685:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  726. 686:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Update error code */
  727. 687:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode |= HAL_DMA_ERROR_FE;
  728. 688:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  729. 689:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear the FIFO error flag */
  730. 690:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = DMA_FLAG_FEIF0_4 << hdma->StreamIndex;
  731. 691:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  732. 692:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  733. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((tmpisr & (DMA_FLAG_DMEIF0_4 << hdma->StreamIndex)) != RESET)
  734. 694:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  735. 695:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Update error code */
  736. 696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode |= HAL_DMA_ERROR_DME;
  737. 697:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  738. 698:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear the Direct Mode error flag */
  739. 699:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = DMA_FLAG_DMEIF0_4 << hdma->StreamIndex;
  740. 700:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  741. 701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  742. 702:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  743. 703:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->ErrorCode != HAL_DMA_ERROR_NONE)
  744. 704:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  745. 705:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((hdma->ErrorCode & HAL_DMA_ERROR_TE) != RESET)
  746. 706:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  747. 707:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_DMA_Abort(hdma);
  748. 708:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  749. 709:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear the half transfer and transfer complete flags */
  750. 710:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = (DMA_FLAG_HTIF0_4 | DMA_FLAG_TCIF0_4) << hdma->StreamIndex;
  751. 711:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  752. 712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process Unlocked */
  753. 713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  754. 714:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  755. ARM GAS /tmp/cc2d5rNl.s page 14
  756. 715:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Change the DMA state */
  757. 716:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State= HAL_DMA_STATE_READY;
  758. 717:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  759. 718:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  760. 719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  761. 720:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  762. 721:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  763. 722:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Get the level transfer complete flag */
  764. 723:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(CompleteLevel == HAL_DMA_FULL_TRANSFER)
  765. 724:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  766. 725:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear the half transfer and transfer complete flags */
  767. 726:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = (DMA_FLAG_HTIF0_4 | DMA_FLAG_TCIF0_4) << hdma->StreamIndex;
  768. 727:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  769. 728:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process Unlocked */
  770. 729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  771. 730:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  772. 731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  773. 732:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  774. 733:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  775. 734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  776. 735:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear the half transfer and transfer complete flags */
  777. 736:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = (DMA_FLAG_HTIF0_4) << hdma->StreamIndex;
  778. 737:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  779. 738:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  780. 739:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return status;
  781. 740:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  782. 741:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  783. 742:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  784. 743:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief Handles DMA interrupt request.
  785. 744:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  786. 745:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  787. 746:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval None
  788. 747:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  789. 748:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma)
  790. 749:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  791. 750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmpisr;
  792. 751:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __IO uint32_t count = 0U;
  793. 752:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t timeout = SystemCoreClock / 9600U;
  794. 753:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  795. 754:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* calculate DMA base and stream number */
  796. 755:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_Base_Registers *regs = (DMA_Base_Registers *)hdma->StreamBaseAddress;
  797. 756:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  798. 757:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** tmpisr = regs->ISR;
  799. 758:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  800. 759:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Transfer Error Interrupt management ***************************************/
  801. 760:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if ((tmpisr & (DMA_FLAG_TEIF0_4 << hdma->StreamIndex)) != RESET)
  802. 761:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  803. 762:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(__HAL_DMA_GET_IT_SOURCE(hdma, DMA_IT_TE) != RESET)
  804. 763:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  805. 764:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Disable the transfer error interrupt */
  806. 765:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->CR &= ~(DMA_IT_TE);
  807. 766:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  808. 767:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear the transfer error flag */
  809. 768:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = DMA_FLAG_TEIF0_4 << hdma->StreamIndex;
  810. 769:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  811. 770:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Update error code */
  812. 771:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode |= HAL_DMA_ERROR_TE;
  813. ARM GAS /tmp/cc2d5rNl.s page 15
  814. 772:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  815. 773:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  816. 774:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* FIFO Error Interrupt management ******************************************/
  817. 775:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if ((tmpisr & (DMA_FLAG_FEIF0_4 << hdma->StreamIndex)) != RESET)
  818. 776:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  819. 777:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(__HAL_DMA_GET_IT_SOURCE(hdma, DMA_IT_FE) != RESET)
  820. 778:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  821. 779:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear the FIFO error flag */
  822. 780:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = DMA_FLAG_FEIF0_4 << hdma->StreamIndex;
  823. 781:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  824. 782:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Update error code */
  825. 783:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode |= HAL_DMA_ERROR_FE;
  826. 784:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  827. 785:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  828. 786:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Direct Mode Error Interrupt management ***********************************/
  829. 787:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if ((tmpisr & (DMA_FLAG_DMEIF0_4 << hdma->StreamIndex)) != RESET)
  830. 788:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  831. 789:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(__HAL_DMA_GET_IT_SOURCE(hdma, DMA_IT_DME) != RESET)
  832. 790:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  833. 791:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear the direct mode error flag */
  834. 792:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = DMA_FLAG_DMEIF0_4 << hdma->StreamIndex;
  835. 793:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  836. 794:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Update error code */
  837. 795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->ErrorCode |= HAL_DMA_ERROR_DME;
  838. 796:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  839. 797:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  840. 798:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Half Transfer Complete Interrupt management ******************************/
  841. 799:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if ((tmpisr & (DMA_FLAG_HTIF0_4 << hdma->StreamIndex)) != RESET)
  842. 800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  843. 801:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(__HAL_DMA_GET_IT_SOURCE(hdma, DMA_IT_HT) != RESET)
  844. 802:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  845. 803:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear the half transfer complete flag */
  846. 804:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = DMA_FLAG_HTIF0_4 << hdma->StreamIndex;
  847. 805:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  848. 806:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Multi_Buffering mode enabled */
  849. 807:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(((hdma->Instance->CR) & (uint32_t)(DMA_SxCR_DBM)) != RESET)
  850. 808:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  851. 809:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Current memory buffer used is Memory 0 */
  852. 810:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((hdma->Instance->CR & DMA_SxCR_CT) == RESET)
  853. 811:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  854. 812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->XferHalfCpltCallback != NULL)
  855. 813:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  856. 814:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Half transfer callback */
  857. 815:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferHalfCpltCallback(hdma);
  858. 816:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  859. 817:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  860. 818:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Current memory buffer used is Memory 1 */
  861. 819:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  862. 820:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  863. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->XferM1HalfCpltCallback != NULL)
  864. 822:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  865. 823:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Half transfer callback */
  866. 824:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1HalfCpltCallback(hdma);
  867. 825:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  868. 826:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  869. 827:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  870. 828:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  871. ARM GAS /tmp/cc2d5rNl.s page 16
  872. 829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  873. 830:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Disable the half transfer interrupt if the DMA mode is not CIRCULAR */
  874. 831:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((hdma->Instance->CR & DMA_SxCR_CIRC) == RESET)
  875. 832:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  876. 833:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Disable the half transfer interrupt */
  877. 834:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->CR &= ~(DMA_IT_HT);
  878. 835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  879. 836:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  880. 837:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->XferHalfCpltCallback != NULL)
  881. 838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  882. 839:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Half transfer callback */
  883. 840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferHalfCpltCallback(hdma);
  884. 841:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  885. 842:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  886. 843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  887. 844:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  888. 845:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Transfer Complete Interrupt management ***********************************/
  889. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if ((tmpisr & (DMA_FLAG_TCIF0_4 << hdma->StreamIndex)) != RESET)
  890. 847:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  891. 848:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(__HAL_DMA_GET_IT_SOURCE(hdma, DMA_IT_TC) != RESET)
  892. 849:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  893. 850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear the transfer complete flag */
  894. 851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = DMA_FLAG_TCIF0_4 << hdma->StreamIndex;
  895. 852:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  896. 853:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(HAL_DMA_STATE_ABORT == hdma->State)
  897. 854:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  898. 855:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Disable all the transfer interrupts */
  899. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->CR &= ~(DMA_IT_TC | DMA_IT_TE | DMA_IT_DME);
  900. 857:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->FCR &= ~(DMA_IT_FE);
  901. 858:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  902. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((hdma->XferHalfCpltCallback != NULL) || (hdma->XferM1HalfCpltCallback != NULL))
  903. 860:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  904. 861:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->CR &= ~(DMA_IT_HT);
  905. 862:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  906. 863:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  907. 864:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear all interrupt flags at correct offset within the register */
  908. 865:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** regs->IFCR = 0x3FU << hdma->StreamIndex;
  909. 866:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  910. 867:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process Unlocked */
  911. 868:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  912. 869:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  913. 870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Change the DMA state */
  914. 871:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  915. 872:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  916. 873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->XferAbortCallback != NULL)
  917. 874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  918. 875:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferAbortCallback(hdma);
  919. 876:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  920. 877:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return;
  921. 878:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  922. 879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  923. 880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(((hdma->Instance->CR) & (uint32_t)(DMA_SxCR_DBM)) != RESET)
  924. 881:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  925. 882:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Current memory buffer used is Memory 0 */
  926. 883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((hdma->Instance->CR & DMA_SxCR_CT) == RESET)
  927. 884:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  928. 885:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->XferM1CpltCallback != NULL)
  929. ARM GAS /tmp/cc2d5rNl.s page 17
  930. 886:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  931. 887:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Transfer complete Callback for memory1 */
  932. 888:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1CpltCallback(hdma);
  933. 889:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  934. 890:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  935. 891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Current memory buffer used is Memory 1 */
  936. 892:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  937. 893:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  938. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->XferCpltCallback != NULL)
  939. 895:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  940. 896:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Transfer complete Callback for memory0 */
  941. 897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferCpltCallback(hdma);
  942. 898:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  943. 899:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  944. 900:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  945. 901:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Disable the transfer complete interrupt if the DMA mode is not CIRCULAR */
  946. 902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  947. 903:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  948. 904:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((hdma->Instance->CR & DMA_SxCR_CIRC) == RESET)
  949. 905:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  950. 906:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Disable the transfer complete interrupt */
  951. 907:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->CR &= ~(DMA_IT_TC);
  952. 908:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  953. 909:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process Unlocked */
  954. 910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  955. 911:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  956. 912:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Change the DMA state */
  957. 913:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  958. 914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  959. 915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  960. 916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->XferCpltCallback != NULL)
  961. 917:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  962. 918:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Transfer complete callback */
  963. 919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferCpltCallback(hdma);
  964. 920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  965. 921:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  966. 922:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  967. 923:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  968. 924:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  969. 925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* manage error case */
  970. 926:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->ErrorCode != HAL_DMA_ERROR_NONE)
  971. 927:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  972. 928:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((hdma->ErrorCode & HAL_DMA_ERROR_TE) != RESET)
  973. 929:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  974. 930:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_ABORT;
  975. 931:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  976. 932:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Disable the stream */
  977. 933:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
  978. 934:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  979. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** do
  980. 936:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  981. 937:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if (++count > timeout)
  982. 938:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  983. 939:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  984. 940:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  985. 941:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  986. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** while((hdma->Instance->CR & DMA_SxCR_EN) != RESET);
  987. ARM GAS /tmp/cc2d5rNl.s page 18
  988. 943:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  989. 944:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process Unlocked */
  990. 945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  991. 946:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  992. 947:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Change the DMA state */
  993. 948:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  994. 949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  995. 950:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  996. 951:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->XferErrorCallback != NULL)
  997. 952:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  998. 953:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Transfer error callback */
  999. 954:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferErrorCallback(hdma);
  1000. 955:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1001. 956:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1002. 957:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1003. 958:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1004. 959:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  1005. 960:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief Register callbacks
  1006. 961:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1007. 962:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  1008. 963:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param CallbackID User Callback identifer
  1009. 964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * a DMA_HandleTypeDef structure as parameter.
  1010. 965:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param pCallback pointer to private callbacsk function which has pointer to
  1011. 966:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * a DMA_HandleTypeDef structure as parameter.
  1012. 967:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval HAL status
  1013. 968:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  1014. 969:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Callb
  1015. 970:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1016. 971:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1017. 972:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  1018. 973:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1019. 974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process locked */
  1020. 975:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_LOCK(hdma);
  1021. 976:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1022. 977:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
  1023. 978:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1024. 979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** switch (CallbackID)
  1025. 980:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1026. 981:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID:
  1027. 982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferCpltCallback = pCallback;
  1028. 983:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1029. 984:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1030. 985:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID:
  1031. 986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferHalfCpltCallback = pCallback;
  1032. 987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1033. 988:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1034. 989:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case HAL_DMA_XFER_M1CPLT_CB_ID:
  1035. 990:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1CpltCallback = pCallback;
  1036. 991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1037. 992:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1038. 993:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case HAL_DMA_XFER_M1HALFCPLT_CB_ID:
  1039. 994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1HalfCpltCallback = pCallback;
  1040. 995:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1041. 996:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1042. 997:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID:
  1043. 998:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferErrorCallback = pCallback;
  1044. 999:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1045. ARM GAS /tmp/cc2d5rNl.s page 19
  1046. 1000:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1047. 1001:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID:
  1048. 1002:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferAbortCallback = pCallback;
  1049. 1003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1050. 1004:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1051. 1005:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** default:
  1052. 1006:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1053. 1007:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1054. 1008:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1055. 1009:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  1056. 1010:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1057. 1011:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Return error status */
  1058. 1012:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** status = HAL_ERROR;
  1059. 1013:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1060. 1014:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1061. 1015:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Release Lock */
  1062. 1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  1063. 1017:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1064. 1018:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return status;
  1065. 1019:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1066. 1020:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1067. 1021:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  1068. 1022:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief UnRegister callbacks
  1069. 1023:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1070. 1024:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  1071. 1025:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param CallbackID User Callback identifer
  1072. 1026:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter.
  1073. 1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval HAL status
  1074. 1028:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  1075. 1029:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Cal
  1076. 1030:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1077. 1031:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  1078. 1032:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1079. 1033:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Process locked */
  1080. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_LOCK(hdma);
  1081. 1035:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1082. 1036:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
  1083. 1037:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1084. 1038:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** switch (CallbackID)
  1085. 1039:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1086. 1040:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID:
  1087. 1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
  1088. 1042:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1089. 1043:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1090. 1044:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID:
  1091. 1045:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  1092. 1046:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1093. 1047:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1094. 1048:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case HAL_DMA_XFER_M1CPLT_CB_ID:
  1095. 1049:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1CpltCallback = NULL;
  1096. 1050:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1097. 1051:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1098. 1052:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case HAL_DMA_XFER_M1HALFCPLT_CB_ID:
  1099. 1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1HalfCpltCallback = NULL;
  1100. 1054:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1101. 1055:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1102. 1056:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID:
  1103. ARM GAS /tmp/cc2d5rNl.s page 20
  1104. 1057:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  1105. 1058:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1106. 1059:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1107. 1060:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID:
  1108. 1061:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  1109. 1062:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1110. 1063:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1111. 1064:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case HAL_DMA_XFER_ALL_CB_ID:
  1112. 1065:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
  1113. 1066:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  1114. 1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1CpltCallback = NULL;
  1115. 1068:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1HalfCpltCallback = NULL;
  1116. 1069:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  1117. 1070:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  1118. 1071:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1119. 1072:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1120. 1073:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** default:
  1121. 1074:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** status = HAL_ERROR;
  1122. 1075:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1123. 1076:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1124. 1077:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1125. 1078:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  1126. 1079:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1127. 1080:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** status = HAL_ERROR;
  1128. 1081:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1129. 1082:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1130. 1083:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Release Lock */
  1131. 1084:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  1132. 1085:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1133. 1086:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return status;
  1134. 1087:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1135. 1088:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1136. 1089:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  1137. 1090:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @}
  1138. 1091:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  1139. 1092:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1140. 1093:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /** @addtogroup DMA_Exported_Functions_Group3
  1141. 1094:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** *
  1142. 1095:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** @verbatim
  1143. 1096:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ===============================================================================
  1144. 1097:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ##### State and Errors functions #####
  1145. 1098:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** ===============================================================================
  1146. 1099:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** [..]
  1147. 1100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** This subsection provides functions allowing to
  1148. 1101:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) Check the DMA state
  1149. 1102:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** (+) Get error code
  1150. 1103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1151. 1104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** @endverbatim
  1152. 1105:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @{
  1153. 1106:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  1154. 1107:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1155. 1108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  1156. 1109:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief Returns the DMA state.
  1157. 1110:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1158. 1111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  1159. 1112:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval HAL state
  1160. 1113:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  1161. ARM GAS /tmp/cc2d5rNl.s page 21
  1162. 1114:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_DMA_StateTypeDef HAL_DMA_GetState(DMA_HandleTypeDef *hdma)
  1163. 1115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1164. 1116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return hdma->State;
  1165. 1117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1166. 1118:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1167. 1119:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  1168. 1120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief Return the DMA error code
  1169. 1121:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1170. 1122:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  1171. 1123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval DMA Error Code
  1172. 1124:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  1173. 1125:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma)
  1174. 1126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1175. 1127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return hdma->ErrorCode;
  1176. 1128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1177. 1129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1178. 1130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  1179. 1131:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @}
  1180. 1132:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  1181. 1133:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1182. 1134:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  1183. 1135:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @}
  1184. 1136:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  1185. 1137:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1186. 1138:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /** @addtogroup DMA_Private_Functions
  1187. 1139:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @{
  1188. 1140:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  1189. 1141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1190. 1142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  1191. 1143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief Sets the DMA Transfer parameter.
  1192. 1144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1193. 1145:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  1194. 1146:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address
  1195. 1147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address
  1196. 1148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination
  1197. 1149:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval HAL status
  1198. 1150:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  1199. 1151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32
  1200. 1152:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1201. 29 .loc 1 1152 1 view -0
  1202. 30 .cfi_startproc
  1203. 31 @ args = 0, pretend = 0, frame = 0
  1204. 32 @ frame_needed = 0, uses_anonymous_args = 0
  1205. 33 @ link register save eliminated.
  1206. 34 .loc 1 1152 1 is_stmt 0 view .LVU1
  1207. 35 0000 30B4 push {r4, r5}
  1208. 36 .LCFI0:
  1209. 37 .cfi_def_cfa_offset 8
  1210. 38 .cfi_offset 4, -8
  1211. 39 .cfi_offset 5, -4
  1212. 1153:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Clear DBM bit */
  1213. 1154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->CR &= (uint32_t)(~DMA_SxCR_DBM);
  1214. 40 .loc 1 1154 3 is_stmt 1 view .LVU2
  1215. 41 .loc 1 1154 7 is_stmt 0 view .LVU3
  1216. 42 0002 0568 ldr r5, [r0]
  1217. 43 .loc 1 1154 22 view .LVU4
  1218. 44 0004 2C68 ldr r4, [r5]
  1219. ARM GAS /tmp/cc2d5rNl.s page 22
  1220. 45 0006 24F48024 bic r4, r4, #262144
  1221. 46 000a 2C60 str r4, [r5]
  1222. 1155:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1223. 1156:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Configure DMA Stream data length */
  1224. 1157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->NDTR = DataLength;
  1225. 47 .loc 1 1157 3 is_stmt 1 view .LVU5
  1226. 48 .loc 1 1157 7 is_stmt 0 view .LVU6
  1227. 49 000c 0468 ldr r4, [r0]
  1228. 50 .loc 1 1157 24 view .LVU7
  1229. 51 000e 6360 str r3, [r4, #4]
  1230. 1158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1231. 1159:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Memory to Peripheral */
  1232. 1160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if((hdma->Init.Direction) == DMA_MEMORY_TO_PERIPH)
  1233. 52 .loc 1 1160 3 is_stmt 1 view .LVU8
  1234. 53 .loc 1 1160 17 is_stmt 0 view .LVU9
  1235. 54 0010 8368 ldr r3, [r0, #8]
  1236. 55 .LVL1:
  1237. 56 .loc 1 1160 5 view .LVU10
  1238. 57 0012 402B cmp r3, #64
  1239. 58 0014 05D0 beq .L5
  1240. 1161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1241. 1162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Configure DMA Stream destination address */
  1242. 1163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->PAR = DstAddress;
  1243. 1164:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1244. 1165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Configure DMA Stream source address */
  1245. 1166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->M0AR = SrcAddress;
  1246. 1167:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1247. 1168:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Peripheral to Memory */
  1248. 1169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  1249. 1170:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1250. 1171:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Configure DMA Stream source address */
  1251. 1172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->PAR = SrcAddress;
  1252. 59 .loc 1 1172 5 is_stmt 1 view .LVU11
  1253. 60 .loc 1 1172 9 is_stmt 0 view .LVU12
  1254. 61 0016 0368 ldr r3, [r0]
  1255. 62 .loc 1 1172 25 view .LVU13
  1256. 63 0018 9960 str r1, [r3, #8]
  1257. 64 .LVL2:
  1258. 1173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1259. 1174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Configure DMA Stream destination address */
  1260. 1175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->M0AR = DstAddress;
  1261. 65 .loc 1 1175 5 is_stmt 1 view .LVU14
  1262. 66 .loc 1 1175 9 is_stmt 0 view .LVU15
  1263. 67 001a 0368 ldr r3, [r0]
  1264. 68 .loc 1 1175 26 view .LVU16
  1265. 69 001c DA60 str r2, [r3, #12]
  1266. 70 .L1:
  1267. 1176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1268. 1177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1269. 71 .loc 1 1177 1 view .LVU17
  1270. 72 001e 30BC pop {r4, r5}
  1271. 73 .LCFI1:
  1272. 74 .cfi_remember_state
  1273. 75 .cfi_restore 5
  1274. 76 .cfi_restore 4
  1275. 77 .cfi_def_cfa_offset 0
  1276. 78 0020 7047 bx lr
  1277. ARM GAS /tmp/cc2d5rNl.s page 23
  1278. 79 .LVL3:
  1279. 80 .L5:
  1280. 81 .LCFI2:
  1281. 82 .cfi_restore_state
  1282. 1163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1283. 83 .loc 1 1163 5 is_stmt 1 view .LVU18
  1284. 1163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1285. 84 .loc 1 1163 9 is_stmt 0 view .LVU19
  1286. 85 0022 0368 ldr r3, [r0]
  1287. 1163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1288. 86 .loc 1 1163 25 view .LVU20
  1289. 87 0024 9A60 str r2, [r3, #8]
  1290. 88 .LVL4:
  1291. 1166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1292. 89 .loc 1 1166 5 is_stmt 1 view .LVU21
  1293. 1166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1294. 90 .loc 1 1166 9 is_stmt 0 view .LVU22
  1295. 91 0026 0368 ldr r3, [r0]
  1296. 1166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1297. 92 .loc 1 1166 26 view .LVU23
  1298. 93 0028 D960 str r1, [r3, #12]
  1299. 94 002a F8E7 b .L1
  1300. 95 .cfi_endproc
  1301. 96 .LFE142:
  1302. 98 .section .text.DMA_CalcBaseAndBitshift,"ax",%progbits
  1303. 99 .align 1
  1304. 100 .syntax unified
  1305. 101 .thumb
  1306. 102 .thumb_func
  1307. 104 DMA_CalcBaseAndBitshift:
  1308. 105 .LVL5:
  1309. 106 .LFB143:
  1310. 1178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1311. 1179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  1312. 1180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief Returns the DMA Stream base address depending on stream number
  1313. 1181:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1314. 1182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  1315. 1183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval Stream base address
  1316. 1184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  1317. 1185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** static uint32_t DMA_CalcBaseAndBitshift(DMA_HandleTypeDef *hdma)
  1318. 1186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1319. 107 .loc 1 1186 1 is_stmt 1 view -0
  1320. 108 .cfi_startproc
  1321. 109 @ args = 0, pretend = 0, frame = 0
  1322. 110 @ frame_needed = 0, uses_anonymous_args = 0
  1323. 111 @ link register save eliminated.
  1324. 112 .loc 1 1186 1 is_stmt 0 view .LVU25
  1325. 113 0000 10B4 push {r4}
  1326. 114 .LCFI3:
  1327. 115 .cfi_def_cfa_offset 4
  1328. 116 .cfi_offset 4, -4
  1329. 1187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t stream_number = (((uint32_t)hdma->Instance & 0xFFU) - 16U) / 24U;
  1330. 117 .loc 1 1187 3 is_stmt 1 view .LVU26
  1331. 118 .loc 1 1187 44 is_stmt 0 view .LVU27
  1332. 119 0002 0368 ldr r3, [r0]
  1333. 120 .loc 1 1187 55 view .LVU28
  1334. 121 0004 D9B2 uxtb r1, r3
  1335. ARM GAS /tmp/cc2d5rNl.s page 24
  1336. 122 .loc 1 1187 64 view .LVU29
  1337. 123 0006 1039 subs r1, r1, #16
  1338. 124 .loc 1 1187 12 view .LVU30
  1339. 125 0008 0C4A ldr r2, .L10
  1340. 126 000a A2FB0142 umull r4, r2, r2, r1
  1341. 127 000e 1209 lsrs r2, r2, #4
  1342. 128 .LVL6:
  1343. 1188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1344. 1189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* lookup table for necessary bitshift of flags within status registers */
  1345. 1190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** static const uint8_t flagBitshiftOffset[8U] = {0U, 6U, 16U, 22U, 0U, 6U, 16U, 22U};
  1346. 129 .loc 1 1190 3 is_stmt 1 view .LVU31
  1347. 1191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->StreamIndex = flagBitshiftOffset[stream_number];
  1348. 130 .loc 1 1191 3 view .LVU32
  1349. 131 .loc 1 1191 41 is_stmt 0 view .LVU33
  1350. 132 0010 0B4C ldr r4, .L10+4
  1351. 133 0012 A25C ldrb r2, [r4, r2] @ zero_extendqisi2
  1352. 134 .LVL7:
  1353. 135 .loc 1 1191 21 view .LVU34
  1354. 136 0014 C265 str r2, [r0, #92]
  1355. 1192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1356. 1193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if (stream_number > 3U)
  1357. 137 .loc 1 1193 3 is_stmt 1 view .LVU35
  1358. 138 .loc 1 1193 6 is_stmt 0 view .LVU36
  1359. 139 0016 5F29 cmp r1, #95
  1360. 140 0018 09D9 bls .L7
  1361. 1194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1362. 1195:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* return pointer to HISR and HIFCR */
  1363. 1196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->StreamBaseAddress = (((uint32_t)hdma->Instance & (uint32_t)(~0x3FFU)) + 4U);
  1364. 141 .loc 1 1196 5 is_stmt 1 view .LVU37
  1365. 142 .loc 1 1196 58 is_stmt 0 view .LVU38
  1366. 143 001a 23F47F73 bic r3, r3, #1020
  1367. 144 001e 23F00303 bic r3, r3, #3
  1368. 145 .loc 1 1196 81 view .LVU39
  1369. 146 0022 0433 adds r3, r3, #4
  1370. 147 .loc 1 1196 29 view .LVU40
  1371. 148 0024 8365 str r3, [r0, #88]
  1372. 149 .L8:
  1373. 1197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1374. 1198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  1375. 1199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1376. 1200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* return pointer to LISR and LIFCR */
  1377. 1201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->StreamBaseAddress = ((uint32_t)hdma->Instance & (uint32_t)(~0x3FFU));
  1378. 1202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1379. 1203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1380. 1204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return hdma->StreamBaseAddress;
  1381. 150 .loc 1 1204 3 is_stmt 1 view .LVU41
  1382. 1205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1383. 151 .loc 1 1205 1 is_stmt 0 view .LVU42
  1384. 152 0026 806D ldr r0, [r0, #88]
  1385. 153 .LVL8:
  1386. 154 .loc 1 1205 1 view .LVU43
  1387. 155 0028 5DF8044B ldr r4, [sp], #4
  1388. 156 .LCFI4:
  1389. 157 .cfi_remember_state
  1390. 158 .cfi_restore 4
  1391. 159 .cfi_def_cfa_offset 0
  1392. 160 002c 7047 bx lr
  1393. ARM GAS /tmp/cc2d5rNl.s page 25
  1394. 161 .LVL9:
  1395. 162 .L7:
  1396. 163 .LCFI5:
  1397. 164 .cfi_restore_state
  1398. 1201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1399. 165 .loc 1 1201 5 is_stmt 1 view .LVU44
  1400. 1201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1401. 166 .loc 1 1201 57 is_stmt 0 view .LVU45
  1402. 167 002e 23F47F73 bic r3, r3, #1020
  1403. 168 0032 23F00303 bic r3, r3, #3
  1404. 1201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1405. 169 .loc 1 1201 29 view .LVU46
  1406. 170 0036 8365 str r3, [r0, #88]
  1407. 171 0038 F5E7 b .L8
  1408. 172 .L11:
  1409. 173 003a 00BF .align 2
  1410. 174 .L10:
  1411. 175 003c ABAAAAAA .word -1431655765
  1412. 176 0040 00000000 .word .LANCHOR0
  1413. 177 .cfi_endproc
  1414. 178 .LFE143:
  1415. 180 .section .text.DMA_CheckFifoParam,"ax",%progbits
  1416. 181 .align 1
  1417. 182 .syntax unified
  1418. 183 .thumb
  1419. 184 .thumb_func
  1420. 186 DMA_CheckFifoParam:
  1421. 187 .LVL10:
  1422. 188 .LFB144:
  1423. 1206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1424. 1207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /**
  1425. 1208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @brief Check compatibility between FIFO threshold level and size of the memory burst
  1426. 1209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1427. 1210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  1428. 1211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** * @retval HAL status
  1429. 1212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** */
  1430. 1213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** static HAL_StatusTypeDef DMA_CheckFifoParam(DMA_HandleTypeDef *hdma)
  1431. 1214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1432. 189 .loc 1 1214 1 is_stmt 1 view -0
  1433. 190 .cfi_startproc
  1434. 191 @ args = 0, pretend = 0, frame = 0
  1435. 192 @ frame_needed = 0, uses_anonymous_args = 0
  1436. 193 @ link register save eliminated.
  1437. 1215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  1438. 194 .loc 1 1215 3 view .LVU48
  1439. 1216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmp = hdma->Init.FIFOThreshold;
  1440. 195 .loc 1 1216 3 view .LVU49
  1441. 196 .loc 1 1216 12 is_stmt 0 view .LVU50
  1442. 197 0000 836A ldr r3, [r0, #40]
  1443. 198 .LVL11:
  1444. 1217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1445. 1218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Memory Data size equal to Byte */
  1446. 1219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->Init.MemDataAlignment == DMA_MDATAALIGN_BYTE)
  1447. 199 .loc 1 1219 3 is_stmt 1 view .LVU51
  1448. 200 .loc 1 1219 16 is_stmt 0 view .LVU52
  1449. 201 0002 8269 ldr r2, [r0, #24]
  1450. 202 .loc 1 1219 5 view .LVU53
  1451. ARM GAS /tmp/cc2d5rNl.s page 26
  1452. 203 0004 92B9 cbnz r2, .L13
  1453. 1220:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1454. 1221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** switch (tmp)
  1455. 204 .loc 1 1221 5 is_stmt 1 view .LVU54
  1456. 205 0006 012B cmp r3, #1
  1457. 206 0008 0AD0 beq .L14
  1458. 207 000a 022B cmp r3, #2
  1459. 208 000c 02D0 beq .L15
  1460. 209 000e 0BB1 cbz r3, .L15
  1461. 210 0010 0020 movs r0, #0
  1462. 211 .LVL12:
  1463. 212 .loc 1 1221 5 is_stmt 0 view .LVU55
  1464. 213 0012 7047 bx lr
  1465. 214 .LVL13:
  1466. 215 .L15:
  1467. 1222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1468. 1223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case DMA_FIFO_THRESHOLD_1QUARTERFULL:
  1469. 1224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case DMA_FIFO_THRESHOLD_3QUARTERSFULL:
  1470. 1225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if ((hdma->Init.MemBurst & DMA_SxCR_MBURST_1) == DMA_SxCR_MBURST_1)
  1471. 216 .loc 1 1225 7 is_stmt 1 view .LVU56
  1472. 217 .loc 1 1225 22 is_stmt 0 view .LVU57
  1473. 218 0014 C36A ldr r3, [r0, #44]
  1474. 219 .LVL14:
  1475. 220 .loc 1 1225 10 view .LVU58
  1476. 221 0016 13F0807F tst r3, #16777216
  1477. 222 001a 28D1 bne .L23
  1478. 1215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmp = hdma->Init.FIFOThreshold;
  1479. 223 .loc 1 1215 21 view .LVU59
  1480. 224 001c 0020 movs r0, #0
  1481. 225 .LVL15:
  1482. 1215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmp = hdma->Init.FIFOThreshold;
  1483. 226 .loc 1 1215 21 view .LVU60
  1484. 227 001e 7047 bx lr
  1485. 228 .LVL16:
  1486. 229 .L14:
  1487. 1226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1488. 1227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** status = HAL_ERROR;
  1489. 1228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1490. 1229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1491. 1230:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case DMA_FIFO_THRESHOLD_HALFFULL:
  1492. 1231:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if (hdma->Init.MemBurst == DMA_MBURST_INC16)
  1493. 230 .loc 1 1231 7 is_stmt 1 view .LVU61
  1494. 231 .loc 1 1231 21 is_stmt 0 view .LVU62
  1495. 232 0020 C36A ldr r3, [r0, #44]
  1496. 233 .LVL17:
  1497. 234 .loc 1 1231 10 view .LVU63
  1498. 235 0022 B3F1C07F cmp r3, #25165824
  1499. 236 0026 24D0 beq .L24
  1500. 1215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmp = hdma->Init.FIFOThreshold;
  1501. 237 .loc 1 1215 21 view .LVU64
  1502. 238 0028 0020 movs r0, #0
  1503. 239 .LVL18:
  1504. 1215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmp = hdma->Init.FIFOThreshold;
  1505. 240 .loc 1 1215 21 view .LVU65
  1506. 241 002a 7047 bx lr
  1507. 242 .LVL19:
  1508. 243 .L13:
  1509. ARM GAS /tmp/cc2d5rNl.s page 27
  1510. 1232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1511. 1233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** status = HAL_ERROR;
  1512. 1234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1513. 1235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1514. 1236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case DMA_FIFO_THRESHOLD_FULL:
  1515. 1237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1516. 1238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** default:
  1517. 1239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1518. 1240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1519. 1241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1520. 1242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1521. 1243:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Memory Data size equal to Half-Word */
  1522. 1244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else if (hdma->Init.MemDataAlignment == DMA_MDATAALIGN_HALFWORD)
  1523. 244 .loc 1 1244 8 is_stmt 1 view .LVU66
  1524. 245 .loc 1 1244 11 is_stmt 0 view .LVU67
  1525. 246 002c B2F5005F cmp r2, #8192
  1526. 247 0030 09D0 beq .L31
  1527. 1245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1528. 1246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** switch (tmp)
  1529. 1247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1530. 1248:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case DMA_FIFO_THRESHOLD_1QUARTERFULL:
  1531. 1249:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case DMA_FIFO_THRESHOLD_3QUARTERSFULL:
  1532. 1250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** status = HAL_ERROR;
  1533. 1251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1534. 1252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case DMA_FIFO_THRESHOLD_HALFFULL:
  1535. 1253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if ((hdma->Init.MemBurst & DMA_SxCR_MBURST_1) == DMA_SxCR_MBURST_1)
  1536. 1254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1537. 1255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** status = HAL_ERROR;
  1538. 1256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1539. 1257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1540. 1258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case DMA_FIFO_THRESHOLD_FULL:
  1541. 1259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if (hdma->Init.MemBurst == DMA_MBURST_INC16)
  1542. 1260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1543. 1261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** status = HAL_ERROR;
  1544. 1262:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1545. 1263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1546. 1264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** default:
  1547. 1265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1548. 1266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1549. 1267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1550. 1268:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1551. 1269:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Memory Data size equal to Word */
  1552. 1270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** else
  1553. 1271:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1554. 1272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** switch (tmp)
  1555. 248 .loc 1 1272 5 is_stmt 1 view .LVU68
  1556. 249 0032 022B cmp r3, #2
  1557. 250 0034 25D9 bls .L28
  1558. 251 0036 032B cmp r3, #3
  1559. 252 0038 25D1 bne .L29
  1560. 1273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1561. 1274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case DMA_FIFO_THRESHOLD_1QUARTERFULL:
  1562. 1275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case DMA_FIFO_THRESHOLD_HALFFULL:
  1563. 1276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case DMA_FIFO_THRESHOLD_3QUARTERSFULL:
  1564. 1277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** status = HAL_ERROR;
  1565. 1278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1566. 1279:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** case DMA_FIFO_THRESHOLD_FULL:
  1567. ARM GAS /tmp/cc2d5rNl.s page 28
  1568. 1280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if ((hdma->Init.MemBurst & DMA_SxCR_MBURST_1) == DMA_SxCR_MBURST_1)
  1569. 253 .loc 1 1280 7 view .LVU69
  1570. 254 .loc 1 1280 22 is_stmt 0 view .LVU70
  1571. 255 003a C36A ldr r3, [r0, #44]
  1572. 256 .LVL20:
  1573. 257 .loc 1 1280 10 view .LVU71
  1574. 258 003c 13F0807F tst r3, #16777216
  1575. 259 0040 23D1 bne .L30
  1576. 1215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmp = hdma->Init.FIFOThreshold;
  1577. 260 .loc 1 1215 21 view .LVU72
  1578. 261 0042 0020 movs r0, #0
  1579. 262 .LVL21:
  1580. 1215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmp = hdma->Init.FIFOThreshold;
  1581. 263 .loc 1 1215 21 view .LVU73
  1582. 264 0044 7047 bx lr
  1583. 265 .LVL22:
  1584. 266 .L31:
  1585. 1246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1586. 267 .loc 1 1246 5 is_stmt 1 view .LVU74
  1587. 268 0046 032B cmp r3, #3
  1588. 269 0048 03D8 bhi .L18
  1589. 270 004a DFE803F0 tbb [pc, r3]
  1590. 271 .L20:
  1591. 272 004e 14 .byte (.L25-.L20)/2
  1592. 273 004f 04 .byte (.L21-.L20)/2
  1593. 274 0050 14 .byte (.L25-.L20)/2
  1594. 275 0051 0A .byte (.L19-.L20)/2
  1595. 276 .p2align 1
  1596. 277 .L18:
  1597. 278 0052 0020 movs r0, #0
  1598. 279 .LVL23:
  1599. 1246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1600. 280 .loc 1 1246 5 is_stmt 0 view .LVU75
  1601. 281 0054 7047 bx lr
  1602. 282 .LVL24:
  1603. 283 .L21:
  1604. 1253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1605. 284 .loc 1 1253 7 is_stmt 1 view .LVU76
  1606. 1253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1607. 285 .loc 1 1253 22 is_stmt 0 view .LVU77
  1608. 286 0056 C36A ldr r3, [r0, #44]
  1609. 287 .LVL25:
  1610. 1253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1611. 288 .loc 1 1253 10 view .LVU78
  1612. 289 0058 13F0807F tst r3, #16777216
  1613. 290 005c 0DD1 bne .L26
  1614. 1215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmp = hdma->Init.FIFOThreshold;
  1615. 291 .loc 1 1215 21 view .LVU79
  1616. 292 005e 0020 movs r0, #0
  1617. 293 .LVL26:
  1618. 1215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmp = hdma->Init.FIFOThreshold;
  1619. 294 .loc 1 1215 21 view .LVU80
  1620. 295 0060 7047 bx lr
  1621. 296 .LVL27:
  1622. 297 .L19:
  1623. 1259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1624. 298 .loc 1 1259 7 is_stmt 1 view .LVU81
  1625. ARM GAS /tmp/cc2d5rNl.s page 29
  1626. 1259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1627. 299 .loc 1 1259 21 is_stmt 0 view .LVU82
  1628. 300 0062 C36A ldr r3, [r0, #44]
  1629. 301 .LVL28:
  1630. 1259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1631. 302 .loc 1 1259 10 view .LVU83
  1632. 303 0064 B3F1C07F cmp r3, #25165824
  1633. 304 0068 09D0 beq .L27
  1634. 1215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmp = hdma->Init.FIFOThreshold;
  1635. 305 .loc 1 1215 21 view .LVU84
  1636. 306 006a 0020 movs r0, #0
  1637. 307 .LVL29:
  1638. 1215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmp = hdma->Init.FIFOThreshold;
  1639. 308 .loc 1 1215 21 view .LVU85
  1640. 309 006c 7047 bx lr
  1641. 310 .LVL30:
  1642. 311 .L23:
  1643. 1227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1644. 312 .loc 1 1227 16 view .LVU86
  1645. 313 006e 0120 movs r0, #1
  1646. 314 .LVL31:
  1647. 1227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1648. 315 .loc 1 1227 16 view .LVU87
  1649. 316 0070 7047 bx lr
  1650. 317 .LVL32:
  1651. 318 .L24:
  1652. 1233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1653. 319 .loc 1 1233 16 view .LVU88
  1654. 320 0072 0120 movs r0, #1
  1655. 321 .LVL33:
  1656. 1233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1657. 322 .loc 1 1233 16 view .LVU89
  1658. 323 0074 7047 bx lr
  1659. 324 .LVL34:
  1660. 325 .L25:
  1661. 1250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1662. 326 .loc 1 1250 14 view .LVU90
  1663. 327 0076 0120 movs r0, #1
  1664. 328 .LVL35:
  1665. 1250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1666. 329 .loc 1 1250 14 view .LVU91
  1667. 330 0078 7047 bx lr
  1668. 331 .LVL36:
  1669. 332 .L26:
  1670. 1255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1671. 333 .loc 1 1255 16 view .LVU92
  1672. 334 007a 0120 movs r0, #1
  1673. 335 .LVL37:
  1674. 1255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1675. 336 .loc 1 1255 16 view .LVU93
  1676. 337 007c 7047 bx lr
  1677. 338 .LVL38:
  1678. 339 .L27:
  1679. 1261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1680. 340 .loc 1 1261 16 view .LVU94
  1681. 341 007e 0120 movs r0, #1
  1682. 342 .LVL39:
  1683. ARM GAS /tmp/cc2d5rNl.s page 30
  1684. 1261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1685. 343 .loc 1 1261 16 view .LVU95
  1686. 344 0080 7047 bx lr
  1687. 345 .LVL40:
  1688. 346 .L28:
  1689. 1277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1690. 347 .loc 1 1277 14 view .LVU96
  1691. 348 0082 0120 movs r0, #1
  1692. 349 .LVL41:
  1693. 1277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1694. 350 .loc 1 1277 14 view .LVU97
  1695. 351 0084 7047 bx lr
  1696. 352 .LVL42:
  1697. 353 .L29:
  1698. 1272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1699. 354 .loc 1 1272 5 view .LVU98
  1700. 355 0086 0020 movs r0, #0
  1701. 356 .LVL43:
  1702. 1272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1703. 357 .loc 1 1272 5 view .LVU99
  1704. 358 0088 7047 bx lr
  1705. 359 .LVL44:
  1706. 360 .L30:
  1707. 1281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1708. 1282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** status = HAL_ERROR;
  1709. 361 .loc 1 1282 16 view .LVU100
  1710. 362 008a 0120 movs r0, #1
  1711. 363 .LVL45:
  1712. 1283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1713. 1284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1714. 1285:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** default:
  1715. 1286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  1716. 1287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1717. 1288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1718. 1289:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1719. 1290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return status;
  1720. 364 .loc 1 1290 3 is_stmt 1 view .LVU101
  1721. 1291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1722. 365 .loc 1 1291 1 is_stmt 0 view .LVU102
  1723. 366 008c 7047 bx lr
  1724. 367 .cfi_endproc
  1725. 368 .LFE144:
  1726. 370 .section .text.HAL_DMA_Init,"ax",%progbits
  1727. 371 .align 1
  1728. 372 .global HAL_DMA_Init
  1729. 373 .syntax unified
  1730. 374 .thumb
  1731. 375 .thumb_func
  1732. 377 HAL_DMA_Init:
  1733. 378 .LVL46:
  1734. 379 .LFB130:
  1735. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmp = 0U;
  1736. 380 .loc 1 172 1 is_stmt 1 view -0
  1737. 381 .cfi_startproc
  1738. 382 @ args = 0, pretend = 0, frame = 0
  1739. 383 @ frame_needed = 0, uses_anonymous_args = 0
  1740. 172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmp = 0U;
  1741. ARM GAS /tmp/cc2d5rNl.s page 31
  1742. 384 .loc 1 172 1 is_stmt 0 view .LVU104
  1743. 385 0000 70B5 push {r4, r5, r6, lr}
  1744. 386 .LCFI6:
  1745. 387 .cfi_def_cfa_offset 16
  1746. 388 .cfi_offset 4, -16
  1747. 389 .cfi_offset 5, -12
  1748. 390 .cfi_offset 6, -8
  1749. 391 .cfi_offset 14, -4
  1750. 392 0002 0446 mov r4, r0
  1751. 173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tickstart = HAL_GetTick();
  1752. 393 .loc 1 173 3 is_stmt 1 view .LVU105
  1753. 394 .LVL47:
  1754. 174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_Base_Registers *regs;
  1755. 395 .loc 1 174 3 view .LVU106
  1756. 174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_Base_Registers *regs;
  1757. 396 .loc 1 174 24 is_stmt 0 view .LVU107
  1758. 397 0004 FFF7FEFF bl HAL_GetTick
  1759. 398 .LVL48:
  1760. 175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1761. 399 .loc 1 175 3 is_stmt 1 view .LVU108
  1762. 178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1763. 400 .loc 1 178 3 view .LVU109
  1764. 178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1765. 401 .loc 1 178 5 is_stmt 0 view .LVU110
  1766. 402 0008 002C cmp r4, #0
  1767. 403 000a 5BD0 beq .L38
  1768. 404 000c 0546 mov r5, r0
  1769. 184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_CHANNEL(hdma->Init.Channel));
  1770. 405 .loc 1 184 3 is_stmt 1 view .LVU111
  1771. 185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction));
  1772. 406 .loc 1 185 3 view .LVU112
  1773. 186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc));
  1774. 407 .loc 1 186 3 view .LVU113
  1775. 187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc));
  1776. 408 .loc 1 187 3 view .LVU114
  1777. 188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment));
  1778. 409 .loc 1 188 3 view .LVU115
  1779. 189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment));
  1780. 410 .loc 1 189 3 view .LVU116
  1781. 190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode));
  1782. 411 .loc 1 190 3 view .LVU117
  1783. 191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority));
  1784. 412 .loc 1 191 3 view .LVU118
  1785. 192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_FIFO_MODE_STATE(hdma->Init.FIFOMode));
  1786. 413 .loc 1 192 3 view .LVU119
  1787. 193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* Check the memory burst, peripheral burst and FIFO threshold parameters only
  1788. 414 .loc 1 193 3 view .LVU120
  1789. 196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1790. 415 .loc 1 196 3 view .LVU121
  1791. 198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_BURST(hdma->Init.MemBurst));
  1792. 416 .loc 1 198 5 view .LVU122
  1793. 199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_BURST(hdma->Init.PeriphBurst));
  1794. 417 .loc 1 199 5 view .LVU123
  1795. 200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1796. 418 .loc 1 200 5 view .LVU124
  1797. 204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1798. 419 .loc 1 204 3 view .LVU125
  1799. ARM GAS /tmp/cc2d5rNl.s page 32
  1800. 204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1801. 420 .loc 1 204 3 view .LVU126
  1802. 421 000e 0023 movs r3, #0
  1803. 422 0010 84F83430 strb r3, [r4, #52]
  1804. 204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1805. 423 .loc 1 204 3 view .LVU127
  1806. 207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1807. 424 .loc 1 207 3 view .LVU128
  1808. 207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1809. 425 .loc 1 207 15 is_stmt 0 view .LVU129
  1810. 426 0014 0223 movs r3, #2
  1811. 427 0016 84F83530 strb r3, [r4, #53]
  1812. 210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1813. 428 .loc 1 210 3 is_stmt 1 view .LVU130
  1814. 429 001a 2268 ldr r2, [r4]
  1815. 430 001c 1368 ldr r3, [r2]
  1816. 431 001e 23F00103 bic r3, r3, #1
  1817. 432 0022 1360 str r3, [r2]
  1818. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1819. 433 .loc 1 213 3 view .LVU131
  1820. 434 .LVL49:
  1821. 435 .L34:
  1822. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1823. 436 .loc 1 213 8 view .LVU132
  1824. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1825. 437 .loc 1 213 14 is_stmt 0 view .LVU133
  1826. 438 0024 2368 ldr r3, [r4]
  1827. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1828. 439 .loc 1 213 24 view .LVU134
  1829. 440 0026 1A68 ldr r2, [r3]
  1830. 213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1831. 441 .loc 1 213 8 view .LVU135
  1832. 442 0028 12F0010F tst r2, #1
  1833. 443 002c 0AD0 beq .L40
  1834. 216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1835. 444 .loc 1 216 5 is_stmt 1 view .LVU136
  1836. 216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1837. 445 .loc 1 216 9 is_stmt 0 view .LVU137
  1838. 446 002e FFF7FEFF bl HAL_GetTick
  1839. 447 .LVL50:
  1840. 216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1841. 448 .loc 1 216 23 view .LVU138
  1842. 449 0032 431B subs r3, r0, r5
  1843. 216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1844. 450 .loc 1 216 7 view .LVU139
  1845. 451 0034 052B cmp r3, #5
  1846. 452 0036 F5D9 bls .L34
  1847. 219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1848. 453 .loc 1 219 7 is_stmt 1 view .LVU140
  1849. 219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1850. 454 .loc 1 219 23 is_stmt 0 view .LVU141
  1851. 455 0038 2023 movs r3, #32
  1852. 456 003a 6365 str r3, [r4, #84]
  1853. 222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1854. 457 .loc 1 222 7 is_stmt 1 view .LVU142
  1855. 222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1856. 458 .loc 1 222 19 is_stmt 0 view .LVU143
  1857. ARM GAS /tmp/cc2d5rNl.s page 33
  1858. 459 003c 0320 movs r0, #3
  1859. 460 003e 84F83500 strb r0, [r4, #53]
  1860. 224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  1861. 461 .loc 1 224 7 is_stmt 1 view .LVU144
  1862. 462 .LVL51:
  1863. 463 .L33:
  1864. 302:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1865. 464 .loc 1 302 1 is_stmt 0 view .LVU145
  1866. 465 0042 70BD pop {r4, r5, r6, pc}
  1867. 466 .LVL52:
  1868. 467 .L40:
  1869. 229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1870. 468 .loc 1 229 3 is_stmt 1 view .LVU146
  1871. 229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1872. 469 .loc 1 229 7 is_stmt 0 view .LVU147
  1873. 470 0044 1A68 ldr r2, [r3]
  1874. 471 .LVL53:
  1875. 232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_SxCR_PL | DMA_SxCR_MSIZE | DMA_SxCR_PSIZE | \
  1876. 472 .loc 1 232 3 is_stmt 1 view .LVU148
  1877. 232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_SxCR_PL | DMA_SxCR_MSIZE | DMA_SxCR_PSIZE | \
  1878. 473 .loc 1 232 7 is_stmt 0 view .LVU149
  1879. 474 0046 2048 ldr r0, .L43
  1880. 475 0048 1040 ands r0, r0, r2
  1881. 476 .LVL54:
  1882. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  1883. 477 .loc 1 238 3 is_stmt 1 view .LVU150
  1884. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  1885. 478 .loc 1 238 21 is_stmt 0 view .LVU151
  1886. 479 004a 6168 ldr r1, [r4, #4]
  1887. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  1888. 480 .loc 1 238 54 view .LVU152
  1889. 481 004c A268 ldr r2, [r4, #8]
  1890. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  1891. 482 .loc 1 238 42 view .LVU153
  1892. 483 004e 0A43 orrs r2, r2, r1
  1893. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
  1894. 484 .loc 1 239 21 view .LVU154
  1895. 485 0050 E168 ldr r1, [r4, #12]
  1896. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  1897. 486 .loc 1 238 72 view .LVU155
  1898. 487 0052 0A43 orrs r2, r2, r1
  1899. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
  1900. 488 .loc 1 239 54 view .LVU156
  1901. 489 0054 2169 ldr r1, [r4, #16]
  1902. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
  1903. 490 .loc 1 239 42 view .LVU157
  1904. 491 0056 0A43 orrs r2, r2, r1
  1905. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
  1906. 492 .loc 1 240 21 view .LVU158
  1907. 493 0058 6169 ldr r1, [r4, #20]
  1908. 239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
  1909. 494 .loc 1 239 72 view .LVU159
  1910. 495 005a 0A43 orrs r2, r2, r1
  1911. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
  1912. 496 .loc 1 240 54 view .LVU160
  1913. 497 005c A169 ldr r1, [r4, #24]
  1914. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
  1915. ARM GAS /tmp/cc2d5rNl.s page 34
  1916. 498 .loc 1 240 42 view .LVU161
  1917. 499 005e 0A43 orrs r2, r2, r1
  1918. 241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1919. 500 .loc 1 241 21 view .LVU162
  1920. 501 0060 E169 ldr r1, [r4, #28]
  1921. 240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
  1922. 502 .loc 1 240 72 view .LVU163
  1923. 503 0062 0A43 orrs r2, r2, r1
  1924. 241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1925. 504 .loc 1 241 54 view .LVU164
  1926. 505 0064 216A ldr r1, [r4, #32]
  1927. 241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1928. 506 .loc 1 241 42 view .LVU165
  1929. 507 0066 0A43 orrs r2, r2, r1
  1930. 238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  1931. 508 .loc 1 238 7 view .LVU166
  1932. 509 0068 0243 orrs r2, r2, r0
  1933. 510 .LVL55:
  1934. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1935. 511 .loc 1 244 3 is_stmt 1 view .LVU167
  1936. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1937. 512 .loc 1 244 16 is_stmt 0 view .LVU168
  1938. 513 006a 616A ldr r1, [r4, #36]
  1939. 244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1940. 514 .loc 1 244 5 view .LVU169
  1941. 515 006c 0429 cmp r1, #4
  1942. 516 006e 1ED0 beq .L41
  1943. 517 .L36:
  1944. 251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1945. 518 .loc 1 251 3 is_stmt 1 view .LVU170
  1946. 251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1947. 519 .loc 1 251 22 is_stmt 0 view .LVU171
  1948. 520 0070 1A60 str r2, [r3]
  1949. 254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1950. 521 .loc 1 254 3 is_stmt 1 view .LVU172
  1951. 254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1952. 522 .loc 1 254 13 is_stmt 0 view .LVU173
  1953. 523 0072 2668 ldr r6, [r4]
  1954. 254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1955. 524 .loc 1 254 7 view .LVU174
  1956. 525 0074 7569 ldr r5, [r6, #20]
  1957. 526 .LVL56:
  1958. 257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1959. 527 .loc 1 257 3 is_stmt 1 view .LVU175
  1960. 257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1961. 528 .loc 1 257 7 is_stmt 0 view .LVU176
  1962. 529 0076 25F00705 bic r5, r5, #7
  1963. 530 .LVL57:
  1964. 260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1965. 531 .loc 1 260 3 is_stmt 1 view .LVU177
  1966. 260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1967. 532 .loc 1 260 20 is_stmt 0 view .LVU178
  1968. 533 007a 636A ldr r3, [r4, #36]
  1969. 260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1970. 534 .loc 1 260 7 view .LVU179
  1971. 535 007c 1D43 orrs r5, r5, r3
  1972. 536 .LVL58:
  1973. ARM GAS /tmp/cc2d5rNl.s page 35
  1974. 263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1975. 537 .loc 1 263 3 is_stmt 1 view .LVU180
  1976. 263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1977. 538 .loc 1 263 5 is_stmt 0 view .LVU181
  1978. 539 007e 042B cmp r3, #4
  1979. 540 0080 07D1 bne .L37
  1980. 266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1981. 541 .loc 1 266 5 is_stmt 1 view .LVU182
  1982. 266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1983. 542 .loc 1 266 22 is_stmt 0 view .LVU183
  1984. 543 0082 A36A ldr r3, [r4, #40]
  1985. 266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  1986. 544 .loc 1 266 9 view .LVU184
  1987. 545 0084 1D43 orrs r5, r5, r3
  1988. 546 .LVL59:
  1989. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1990. 547 .loc 1 270 5 is_stmt 1 view .LVU185
  1991. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1992. 548 .loc 1 270 19 is_stmt 0 view .LVU186
  1993. 549 0086 E36A ldr r3, [r4, #44]
  1994. 270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1995. 550 .loc 1 270 8 view .LVU187
  1996. 551 0088 1BB1 cbz r3, .L37
  1997. 272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  1998. 552 .loc 1 272 7 is_stmt 1 view .LVU188
  1999. 272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2000. 553 .loc 1 272 11 is_stmt 0 view .LVU189
  2001. 554 008a 2046 mov r0, r4
  2002. 555 008c FFF7FEFF bl DMA_CheckFifoParam
  2003. 556 .LVL60:
  2004. 272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2005. 557 .loc 1 272 10 view .LVU190
  2006. 558 0090 90B9 cbnz r0, .L42
  2007. 559 .L37:
  2008. 286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2009. 560 .loc 1 286 3 is_stmt 1 view .LVU191
  2010. 286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2011. 561 .loc 1 286 23 is_stmt 0 view .LVU192
  2012. 562 0092 7561 str r5, [r6, #20]
  2013. 290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2014. 563 .loc 1 290 3 is_stmt 1 view .LVU193
  2015. 290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2016. 564 .loc 1 290 32 is_stmt 0 view .LVU194
  2017. 565 0094 2046 mov r0, r4
  2018. 566 0096 FFF7FEFF bl DMA_CalcBaseAndBitshift
  2019. 567 .LVL61:
  2020. 293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2021. 568 .loc 1 293 3 is_stmt 1 view .LVU195
  2022. 293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2023. 569 .loc 1 293 29 is_stmt 0 view .LVU196
  2024. 570 009a E26D ldr r2, [r4, #92]
  2025. 293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2026. 571 .loc 1 293 22 view .LVU197
  2027. 572 009c 3F23 movs r3, #63
  2028. 573 009e 9340 lsls r3, r3, r2
  2029. 293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2030. 574 .loc 1 293 14 view .LVU198
  2031. ARM GAS /tmp/cc2d5rNl.s page 36
  2032. 575 00a0 8360 str r3, [r0, #8]
  2033. 296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2034. 576 .loc 1 296 3 is_stmt 1 view .LVU199
  2035. 296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2036. 577 .loc 1 296 19 is_stmt 0 view .LVU200
  2037. 578 00a2 0020 movs r0, #0
  2038. 579 .LVL62:
  2039. 296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2040. 580 .loc 1 296 19 view .LVU201
  2041. 581 00a4 6065 str r0, [r4, #84]
  2042. 299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2043. 582 .loc 1 299 3 is_stmt 1 view .LVU202
  2044. 299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2045. 583 .loc 1 299 15 is_stmt 0 view .LVU203
  2046. 584 00a6 0123 movs r3, #1
  2047. 585 00a8 84F83530 strb r3, [r4, #53]
  2048. 301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2049. 586 .loc 1 301 3 is_stmt 1 view .LVU204
  2050. 301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2051. 587 .loc 1 301 10 is_stmt 0 view .LVU205
  2052. 588 00ac C9E7 b .L33
  2053. 589 .LVL63:
  2054. 590 .L41:
  2055. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2056. 591 .loc 1 247 5 is_stmt 1 view .LVU206
  2057. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2058. 592 .loc 1 247 23 is_stmt 0 view .LVU207
  2059. 593 00ae E16A ldr r1, [r4, #44]
  2060. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2061. 594 .loc 1 247 45 view .LVU208
  2062. 595 00b0 206B ldr r0, [r4, #48]
  2063. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2064. 596 .loc 1 247 33 view .LVU209
  2065. 597 00b2 0143 orrs r1, r1, r0
  2066. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2067. 598 .loc 1 247 9 view .LVU210
  2068. 599 00b4 0A43 orrs r2, r2, r1
  2069. 600 .LVL64:
  2070. 247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2071. 601 .loc 1 247 9 view .LVU211
  2072. 602 00b6 DBE7 b .L36
  2073. 603 .LVL65:
  2074. 604 .L42:
  2075. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2076. 605 .loc 1 275 9 is_stmt 1 view .LVU212
  2077. 275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2078. 606 .loc 1 275 25 is_stmt 0 view .LVU213
  2079. 607 00b8 4023 movs r3, #64
  2080. 608 00ba 6365 str r3, [r4, #84]
  2081. 278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2082. 609 .loc 1 278 9 is_stmt 1 view .LVU214
  2083. 278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2084. 610 .loc 1 278 21 is_stmt 0 view .LVU215
  2085. 611 00bc 0120 movs r0, #1
  2086. 612 00be 84F83500 strb r0, [r4, #53]
  2087. 280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2088. 613 .loc 1 280 9 is_stmt 1 view .LVU216
  2089. ARM GAS /tmp/cc2d5rNl.s page 37
  2090. 280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2091. 614 .loc 1 280 16 is_stmt 0 view .LVU217
  2092. 615 00c2 BEE7 b .L33
  2093. 616 .LVL66:
  2094. 617 .L38:
  2095. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2096. 618 .loc 1 180 12 view .LVU218
  2097. 619 00c4 0120 movs r0, #1
  2098. 620 .LVL67:
  2099. 180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2100. 621 .loc 1 180 12 view .LVU219
  2101. 622 00c6 BCE7 b .L33
  2102. 623 .L44:
  2103. 624 .align 2
  2104. 625 .L43:
  2105. 626 00c8 3F8010F0 .word -267354049
  2106. 627 .cfi_endproc
  2107. 628 .LFE130:
  2108. 630 .section .text.HAL_DMA_DeInit,"ax",%progbits
  2109. 631 .align 1
  2110. 632 .global HAL_DMA_DeInit
  2111. 633 .syntax unified
  2112. 634 .thumb
  2113. 635 .thumb_func
  2114. 637 HAL_DMA_DeInit:
  2115. 638 .LVL68:
  2116. 639 .LFB131:
  2117. 311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_Base_Registers *regs;
  2118. 640 .loc 1 311 1 is_stmt 1 view -0
  2119. 641 .cfi_startproc
  2120. 642 @ args = 0, pretend = 0, frame = 0
  2121. 643 @ frame_needed = 0, uses_anonymous_args = 0
  2122. 312:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2123. 644 .loc 1 312 3 view .LVU221
  2124. 315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2125. 645 .loc 1 315 3 view .LVU222
  2126. 315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2127. 646 .loc 1 315 5 is_stmt 0 view .LVU223
  2128. 647 0000 0028 cmp r0, #0
  2129. 648 0002 2DD0 beq .L47
  2130. 311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** DMA_Base_Registers *regs;
  2131. 649 .loc 1 311 1 view .LVU224
  2132. 650 0004 38B5 push {r3, r4, r5, lr}
  2133. 651 .LCFI7:
  2134. 652 .cfi_def_cfa_offset 16
  2135. 653 .cfi_offset 3, -16
  2136. 654 .cfi_offset 4, -12
  2137. 655 .cfi_offset 5, -8
  2138. 656 .cfi_offset 14, -4
  2139. 657 0006 0546 mov r5, r0
  2140. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2141. 658 .loc 1 321 3 is_stmt 1 view .LVU225
  2142. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2143. 659 .loc 1 321 10 is_stmt 0 view .LVU226
  2144. 660 0008 90F83500 ldrb r0, [r0, #53] @ zero_extendqisi2
  2145. 661 .LVL69:
  2146. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2147. ARM GAS /tmp/cc2d5rNl.s page 38
  2148. 662 .loc 1 321 10 view .LVU227
  2149. 663 000c C0B2 uxtb r0, r0
  2150. 321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2151. 664 .loc 1 321 5 view .LVU228
  2152. 665 000e 0228 cmp r0, #2
  2153. 666 0010 25D0 beq .L46
  2154. 328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2155. 667 .loc 1 328 3 is_stmt 1 view .LVU229
  2156. 331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2157. 668 .loc 1 331 3 view .LVU230
  2158. 669 0012 2A68 ldr r2, [r5]
  2159. 670 0014 1368 ldr r3, [r2]
  2160. 671 0016 23F00103 bic r3, r3, #1
  2161. 672 001a 1360 str r3, [r2]
  2162. 334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2163. 673 .loc 1 334 3 view .LVU231
  2164. 334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2165. 674 .loc 1 334 7 is_stmt 0 view .LVU232
  2166. 675 001c 2B68 ldr r3, [r5]
  2167. 334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2168. 676 .loc 1 334 24 view .LVU233
  2169. 677 001e 0024 movs r4, #0
  2170. 678 0020 1C60 str r4, [r3]
  2171. 337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2172. 679 .loc 1 337 3 is_stmt 1 view .LVU234
  2173. 337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2174. 680 .loc 1 337 7 is_stmt 0 view .LVU235
  2175. 681 0022 2B68 ldr r3, [r5]
  2176. 337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2177. 682 .loc 1 337 24 view .LVU236
  2178. 683 0024 5C60 str r4, [r3, #4]
  2179. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2180. 684 .loc 1 340 3 is_stmt 1 view .LVU237
  2181. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2182. 685 .loc 1 340 7 is_stmt 0 view .LVU238
  2183. 686 0026 2B68 ldr r3, [r5]
  2184. 340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2185. 687 .loc 1 340 24 view .LVU239
  2186. 688 0028 9C60 str r4, [r3, #8]
  2187. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2188. 689 .loc 1 343 3 is_stmt 1 view .LVU240
  2189. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2190. 690 .loc 1 343 7 is_stmt 0 view .LVU241
  2191. 691 002a 2B68 ldr r3, [r5]
  2192. 343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2193. 692 .loc 1 343 24 view .LVU242
  2194. 693 002c DC60 str r4, [r3, #12]
  2195. 346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2196. 694 .loc 1 346 3 is_stmt 1 view .LVU243
  2197. 346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2198. 695 .loc 1 346 7 is_stmt 0 view .LVU244
  2199. 696 002e 2B68 ldr r3, [r5]
  2200. 346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2201. 697 .loc 1 346 24 view .LVU245
  2202. 698 0030 1C61 str r4, [r3, #16]
  2203. 349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2204. 699 .loc 1 349 3 is_stmt 1 view .LVU246
  2205. ARM GAS /tmp/cc2d5rNl.s page 39
  2206. 349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2207. 700 .loc 1 349 7 is_stmt 0 view .LVU247
  2208. 701 0032 2B68 ldr r3, [r5]
  2209. 349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2210. 702 .loc 1 349 24 view .LVU248
  2211. 703 0034 2122 movs r2, #33
  2212. 704 0036 5A61 str r2, [r3, #20]
  2213. 352:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2214. 705 .loc 1 352 3 is_stmt 1 view .LVU249
  2215. 352:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2216. 706 .loc 1 352 32 is_stmt 0 view .LVU250
  2217. 707 0038 2846 mov r0, r5
  2218. 708 003a FFF7FEFF bl DMA_CalcBaseAndBitshift
  2219. 709 .LVL70:
  2220. 355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  2221. 710 .loc 1 355 3 is_stmt 1 view .LVU251
  2222. 355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  2223. 711 .loc 1 355 26 is_stmt 0 view .LVU252
  2224. 712 003e EC63 str r4, [r5, #60]
  2225. 356:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1CpltCallback = NULL;
  2226. 713 .loc 1 356 3 is_stmt 1 view .LVU253
  2227. 356:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1CpltCallback = NULL;
  2228. 714 .loc 1 356 30 is_stmt 0 view .LVU254
  2229. 715 0040 2C64 str r4, [r5, #64]
  2230. 357:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1HalfCpltCallback = NULL;
  2231. 716 .loc 1 357 3 is_stmt 1 view .LVU255
  2232. 357:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1HalfCpltCallback = NULL;
  2233. 717 .loc 1 357 28 is_stmt 0 view .LVU256
  2234. 718 0042 6C64 str r4, [r5, #68]
  2235. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  2236. 719 .loc 1 358 3 is_stmt 1 view .LVU257
  2237. 358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  2238. 720 .loc 1 358 32 is_stmt 0 view .LVU258
  2239. 721 0044 AC64 str r4, [r5, #72]
  2240. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  2241. 722 .loc 1 359 3 is_stmt 1 view .LVU259
  2242. 359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  2243. 723 .loc 1 359 27 is_stmt 0 view .LVU260
  2244. 724 0046 EC64 str r4, [r5, #76]
  2245. 360:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2246. 725 .loc 1 360 3 is_stmt 1 view .LVU261
  2247. 360:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2248. 726 .loc 1 360 27 is_stmt 0 view .LVU262
  2249. 727 0048 2C65 str r4, [r5, #80]
  2250. 363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2251. 728 .loc 1 363 3 is_stmt 1 view .LVU263
  2252. 363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2253. 729 .loc 1 363 29 is_stmt 0 view .LVU264
  2254. 730 004a EA6D ldr r2, [r5, #92]
  2255. 363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2256. 731 .loc 1 363 22 view .LVU265
  2257. 732 004c 3F23 movs r3, #63
  2258. 733 004e 9340 lsls r3, r3, r2
  2259. 363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2260. 734 .loc 1 363 14 view .LVU266
  2261. 735 0050 8360 str r3, [r0, #8]
  2262. 366:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2263. ARM GAS /tmp/cc2d5rNl.s page 40
  2264. 736 .loc 1 366 3 is_stmt 1 view .LVU267
  2265. 366:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2266. 737 .loc 1 366 19 is_stmt 0 view .LVU268
  2267. 738 0052 6C65 str r4, [r5, #84]
  2268. 369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2269. 739 .loc 1 369 3 is_stmt 1 view .LVU269
  2270. 369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2271. 740 .loc 1 369 15 is_stmt 0 view .LVU270
  2272. 741 0054 85F83540 strb r4, [r5, #53]
  2273. 372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2274. 742 .loc 1 372 3 is_stmt 1 view .LVU271
  2275. 372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2276. 743 .loc 1 372 3 view .LVU272
  2277. 744 0058 85F83440 strb r4, [r5, #52]
  2278. 372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2279. 745 .loc 1 372 3 view .LVU273
  2280. 374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2281. 746 .loc 1 374 3 view .LVU274
  2282. 374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2283. 747 .loc 1 374 10 is_stmt 0 view .LVU275
  2284. 748 005c 2046 mov r0, r4
  2285. 749 .LVL71:
  2286. 750 .L46:
  2287. 375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2288. 751 .loc 1 375 1 view .LVU276
  2289. 752 005e 38BD pop {r3, r4, r5, pc}
  2290. 753 .LVL72:
  2291. 754 .L47:
  2292. 755 .LCFI8:
  2293. 756 .cfi_def_cfa_offset 0
  2294. 757 .cfi_restore 3
  2295. 758 .cfi_restore 4
  2296. 759 .cfi_restore 5
  2297. 760 .cfi_restore 14
  2298. 317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2299. 761 .loc 1 317 12 view .LVU277
  2300. 762 0060 0120 movs r0, #1
  2301. 763 .LVL73:
  2302. 375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2303. 764 .loc 1 375 1 view .LVU278
  2304. 765 0062 7047 bx lr
  2305. 766 .cfi_endproc
  2306. 767 .LFE131:
  2307. 769 .section .text.HAL_DMA_Start,"ax",%progbits
  2308. 770 .align 1
  2309. 771 .global HAL_DMA_Start
  2310. 772 .syntax unified
  2311. 773 .thumb
  2312. 774 .thumb_func
  2313. 776 HAL_DMA_Start:
  2314. 777 .LVL74:
  2315. 778 .LFB132:
  2316. 409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  2317. 779 .loc 1 409 1 is_stmt 1 view -0
  2318. 780 .cfi_startproc
  2319. 781 @ args = 0, pretend = 0, frame = 0
  2320. 782 @ frame_needed = 0, uses_anonymous_args = 0
  2321. ARM GAS /tmp/cc2d5rNl.s page 41
  2322. 409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  2323. 783 .loc 1 409 1 is_stmt 0 view .LVU280
  2324. 784 0000 38B5 push {r3, r4, r5, lr}
  2325. 785 .LCFI9:
  2326. 786 .cfi_def_cfa_offset 16
  2327. 787 .cfi_offset 3, -16
  2328. 788 .cfi_offset 4, -12
  2329. 789 .cfi_offset 5, -8
  2330. 790 .cfi_offset 14, -4
  2331. 791 0002 0446 mov r4, r0
  2332. 410:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2333. 792 .loc 1 410 3 is_stmt 1 view .LVU281
  2334. 793 .LVL75:
  2335. 413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2336. 794 .loc 1 413 3 view .LVU282
  2337. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2338. 795 .loc 1 416 3 view .LVU283
  2339. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2340. 796 .loc 1 416 3 view .LVU284
  2341. 797 0004 90F83400 ldrb r0, [r0, #52] @ zero_extendqisi2
  2342. 798 .LVL76:
  2343. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2344. 799 .loc 1 416 3 is_stmt 0 view .LVU285
  2345. 800 0008 0128 cmp r0, #1
  2346. 801 000a 1BD0 beq .L55
  2347. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2348. 802 .loc 1 416 3 is_stmt 1 discriminator 2 view .LVU286
  2349. 803 000c 0120 movs r0, #1
  2350. 804 000e 84F83400 strb r0, [r4, #52]
  2351. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2352. 805 .loc 1 416 3 discriminator 2 view .LVU287
  2353. 418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2354. 806 .loc 1 418 3 discriminator 2 view .LVU288
  2355. 418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2356. 807 .loc 1 418 33 is_stmt 0 discriminator 2 view .LVU289
  2357. 808 0012 94F83500 ldrb r0, [r4, #53] @ zero_extendqisi2
  2358. 809 0016 C0B2 uxtb r0, r0
  2359. 418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2360. 810 .loc 1 418 5 discriminator 2 view .LVU290
  2361. 811 0018 0128 cmp r0, #1
  2362. 812 001a 04D0 beq .L57
  2363. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2364. 813 .loc 1 435 5 is_stmt 1 view .LVU291
  2365. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2366. 814 .loc 1 435 5 view .LVU292
  2367. 815 001c 0023 movs r3, #0
  2368. 816 .LVL77:
  2369. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2370. 817 .loc 1 435 5 is_stmt 0 view .LVU293
  2371. 818 001e 84F83430 strb r3, [r4, #52]
  2372. 435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2373. 819 .loc 1 435 5 is_stmt 1 view .LVU294
  2374. 438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2375. 820 .loc 1 438 5 view .LVU295
  2376. 821 .LVL78:
  2377. 438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2378. 822 .loc 1 438 12 is_stmt 0 view .LVU296
  2379. ARM GAS /tmp/cc2d5rNl.s page 42
  2380. 823 0022 0220 movs r0, #2
  2381. 824 .LVL79:
  2382. 825 .L53:
  2383. 441:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2384. 826 .loc 1 441 1 view .LVU297
  2385. 827 0024 38BD pop {r3, r4, r5, pc}
  2386. 828 .LVL80:
  2387. 829 .L57:
  2388. 421:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2389. 830 .loc 1 421 5 is_stmt 1 view .LVU298
  2390. 421:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2391. 831 .loc 1 421 17 is_stmt 0 view .LVU299
  2392. 832 0026 0220 movs r0, #2
  2393. 833 0028 84F83500 strb r0, [r4, #53]
  2394. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2395. 834 .loc 1 424 5 is_stmt 1 view .LVU300
  2396. 424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2397. 835 .loc 1 424 21 is_stmt 0 view .LVU301
  2398. 836 002c 0025 movs r5, #0
  2399. 837 002e 6565 str r5, [r4, #84]
  2400. 427:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2401. 838 .loc 1 427 5 is_stmt 1 view .LVU302
  2402. 839 0030 2046 mov r0, r4
  2403. 840 0032 FFF7FEFF bl DMA_SetConfig
  2404. 841 .LVL81:
  2405. 430:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2406. 842 .loc 1 430 5 view .LVU303
  2407. 843 0036 2268 ldr r2, [r4]
  2408. 844 0038 1368 ldr r3, [r2]
  2409. 845 003a 43F00103 orr r3, r3, #1
  2410. 846 003e 1360 str r3, [r2]
  2411. 410:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2412. 847 .loc 1 410 21 is_stmt 0 view .LVU304
  2413. 848 0040 2846 mov r0, r5
  2414. 849 0042 EFE7 b .L53
  2415. 850 .LVL82:
  2416. 851 .L55:
  2417. 416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2418. 852 .loc 1 416 3 view .LVU305
  2419. 853 0044 0220 movs r0, #2
  2420. 854 0046 EDE7 b .L53
  2421. 855 .cfi_endproc
  2422. 856 .LFE132:
  2423. 858 .section .text.HAL_DMA_Start_IT,"ax",%progbits
  2424. 859 .align 1
  2425. 860 .global HAL_DMA_Start_IT
  2426. 861 .syntax unified
  2427. 862 .thumb
  2428. 863 .thumb_func
  2429. 865 HAL_DMA_Start_IT:
  2430. 866 .LVL83:
  2431. 867 .LFB133:
  2432. 453:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  2433. 868 .loc 1 453 1 is_stmt 1 view -0
  2434. 869 .cfi_startproc
  2435. 870 @ args = 0, pretend = 0, frame = 0
  2436. 871 @ frame_needed = 0, uses_anonymous_args = 0
  2437. ARM GAS /tmp/cc2d5rNl.s page 43
  2438. 453:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  2439. 872 .loc 1 453 1 is_stmt 0 view .LVU307
  2440. 873 0000 38B5 push {r3, r4, r5, lr}
  2441. 874 .LCFI10:
  2442. 875 .cfi_def_cfa_offset 16
  2443. 876 .cfi_offset 3, -16
  2444. 877 .cfi_offset 4, -12
  2445. 878 .cfi_offset 5, -8
  2446. 879 .cfi_offset 14, -4
  2447. 880 0002 0446 mov r4, r0
  2448. 454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2449. 881 .loc 1 454 3 is_stmt 1 view .LVU308
  2450. 882 .LVL84:
  2451. 457:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2452. 883 .loc 1 457 3 view .LVU309
  2453. 457:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2454. 884 .loc 1 457 56 is_stmt 0 view .LVU310
  2455. 885 0004 856D ldr r5, [r0, #88]
  2456. 886 .LVL85:
  2457. 460:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2458. 887 .loc 1 460 3 is_stmt 1 view .LVU311
  2459. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2460. 888 .loc 1 463 3 view .LVU312
  2461. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2462. 889 .loc 1 463 3 view .LVU313
  2463. 890 0006 90F83400 ldrb r0, [r0, #52] @ zero_extendqisi2
  2464. 891 .LVL86:
  2465. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2466. 892 .loc 1 463 3 is_stmt 0 view .LVU314
  2467. 893 000a 0128 cmp r0, #1
  2468. 894 000c 30D0 beq .L62
  2469. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2470. 895 .loc 1 463 3 is_stmt 1 discriminator 2 view .LVU315
  2471. 896 000e 0120 movs r0, #1
  2472. 897 0010 84F83400 strb r0, [r4, #52]
  2473. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2474. 898 .loc 1 463 3 discriminator 2 view .LVU316
  2475. 465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2476. 899 .loc 1 465 3 discriminator 2 view .LVU317
  2477. 465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2478. 900 .loc 1 465 33 is_stmt 0 discriminator 2 view .LVU318
  2479. 901 0014 94F83500 ldrb r0, [r4, #53] @ zero_extendqisi2
  2480. 902 0018 C0B2 uxtb r0, r0
  2481. 465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2482. 903 .loc 1 465 5 discriminator 2 view .LVU319
  2483. 904 001a 0128 cmp r0, #1
  2484. 905 001c 04D0 beq .L64
  2485. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2486. 906 .loc 1 494 5 is_stmt 1 view .LVU320
  2487. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2488. 907 .loc 1 494 5 view .LVU321
  2489. 908 001e 0023 movs r3, #0
  2490. 909 .LVL87:
  2491. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2492. 910 .loc 1 494 5 is_stmt 0 view .LVU322
  2493. 911 0020 84F83430 strb r3, [r4, #52]
  2494. 494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2495. ARM GAS /tmp/cc2d5rNl.s page 44
  2496. 912 .loc 1 494 5 is_stmt 1 view .LVU323
  2497. 497:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2498. 913 .loc 1 497 5 view .LVU324
  2499. 914 .LVL88:
  2500. 497:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2501. 915 .loc 1 497 12 is_stmt 0 view .LVU325
  2502. 916 0024 0220 movs r0, #2
  2503. 917 .LVL89:
  2504. 918 .L59:
  2505. 501:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2506. 919 .loc 1 501 1 view .LVU326
  2507. 920 0026 38BD pop {r3, r4, r5, pc}
  2508. 921 .LVL90:
  2509. 922 .L64:
  2510. 468:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2511. 923 .loc 1 468 5 is_stmt 1 view .LVU327
  2512. 468:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2513. 924 .loc 1 468 17 is_stmt 0 view .LVU328
  2514. 925 0028 0220 movs r0, #2
  2515. 926 002a 84F83500 strb r0, [r4, #53]
  2516. 471:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2517. 927 .loc 1 471 5 is_stmt 1 view .LVU329
  2518. 471:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2519. 928 .loc 1 471 21 is_stmt 0 view .LVU330
  2520. 929 002e 0020 movs r0, #0
  2521. 930 0030 6065 str r0, [r4, #84]
  2522. 474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2523. 931 .loc 1 474 5 is_stmt 1 view .LVU331
  2524. 932 0032 2046 mov r0, r4
  2525. 933 0034 FFF7FEFF bl DMA_SetConfig
  2526. 934 .LVL91:
  2527. 477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2528. 935 .loc 1 477 5 view .LVU332
  2529. 477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2530. 936 .loc 1 477 31 is_stmt 0 view .LVU333
  2531. 937 0038 E26D ldr r2, [r4, #92]
  2532. 477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2533. 938 .loc 1 477 24 view .LVU334
  2534. 939 003a 3F23 movs r3, #63
  2535. 940 003c 9340 lsls r3, r3, r2
  2536. 477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2537. 941 .loc 1 477 16 view .LVU335
  2538. 942 003e AB60 str r3, [r5, #8]
  2539. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->FCR |= DMA_IT_FE;
  2540. 943 .loc 1 480 5 is_stmt 1 view .LVU336
  2541. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->FCR |= DMA_IT_FE;
  2542. 944 .loc 1 480 9 is_stmt 0 view .LVU337
  2543. 945 0040 2268 ldr r2, [r4]
  2544. 480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->FCR |= DMA_IT_FE;
  2545. 946 .loc 1 480 25 view .LVU338
  2546. 947 0042 1368 ldr r3, [r2]
  2547. 948 0044 43F01603 orr r3, r3, #22
  2548. 949 0048 1360 str r3, [r2]
  2549. 481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2550. 950 .loc 1 481 5 is_stmt 1 view .LVU339
  2551. 481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2552. 951 .loc 1 481 9 is_stmt 0 view .LVU340
  2553. ARM GAS /tmp/cc2d5rNl.s page 45
  2554. 952 004a 2268 ldr r2, [r4]
  2555. 481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2556. 953 .loc 1 481 25 view .LVU341
  2557. 954 004c 5369 ldr r3, [r2, #20]
  2558. 955 004e 43F08003 orr r3, r3, #128
  2559. 956 0052 5361 str r3, [r2, #20]
  2560. 483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2561. 957 .loc 1 483 5 is_stmt 1 view .LVU342
  2562. 483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2563. 958 .loc 1 483 12 is_stmt 0 view .LVU343
  2564. 959 0054 236C ldr r3, [r4, #64]
  2565. 483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2566. 960 .loc 1 483 7 view .LVU344
  2567. 961 0056 23B1 cbz r3, .L61
  2568. 485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2569. 962 .loc 1 485 7 is_stmt 1 view .LVU345
  2570. 485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2571. 963 .loc 1 485 11 is_stmt 0 view .LVU346
  2572. 964 0058 2268 ldr r2, [r4]
  2573. 485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2574. 965 .loc 1 485 27 view .LVU347
  2575. 966 005a 1368 ldr r3, [r2]
  2576. 967 005c 43F00803 orr r3, r3, #8
  2577. 968 0060 1360 str r3, [r2]
  2578. 969 .L61:
  2579. 489:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2580. 970 .loc 1 489 5 is_stmt 1 view .LVU348
  2581. 971 0062 2268 ldr r2, [r4]
  2582. 972 0064 1368 ldr r3, [r2]
  2583. 973 0066 43F00103 orr r3, r3, #1
  2584. 974 006a 1360 str r3, [r2]
  2585. 454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2586. 975 .loc 1 454 21 is_stmt 0 view .LVU349
  2587. 976 006c 0020 movs r0, #0
  2588. 977 006e DAE7 b .L59
  2589. 978 .LVL92:
  2590. 979 .L62:
  2591. 463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2592. 980 .loc 1 463 3 view .LVU350
  2593. 981 0070 0220 movs r0, #2
  2594. 982 0072 D8E7 b .L59
  2595. 983 .cfi_endproc
  2596. 984 .LFE133:
  2597. 986 .section .text.HAL_DMA_Abort,"ax",%progbits
  2598. 987 .align 1
  2599. 988 .global HAL_DMA_Abort
  2600. 989 .syntax unified
  2601. 990 .thumb
  2602. 991 .thumb_func
  2603. 993 HAL_DMA_Abort:
  2604. 994 .LVL93:
  2605. 995 .LFB134:
  2606. 516:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* calculate DMA base and stream number */
  2607. 996 .loc 1 516 1 is_stmt 1 view -0
  2608. 997 .cfi_startproc
  2609. 998 @ args = 0, pretend = 0, frame = 0
  2610. 999 @ frame_needed = 0, uses_anonymous_args = 0
  2611. ARM GAS /tmp/cc2d5rNl.s page 46
  2612. 516:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** /* calculate DMA base and stream number */
  2613. 1000 .loc 1 516 1 is_stmt 0 view .LVU352
  2614. 1001 0000 70B5 push {r4, r5, r6, lr}
  2615. 1002 .LCFI11:
  2616. 1003 .cfi_def_cfa_offset 16
  2617. 1004 .cfi_offset 4, -16
  2618. 1005 .cfi_offset 5, -12
  2619. 1006 .cfi_offset 6, -8
  2620. 1007 .cfi_offset 14, -4
  2621. 1008 0002 0446 mov r4, r0
  2622. 518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2623. 1009 .loc 1 518 3 is_stmt 1 view .LVU353
  2624. 518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2625. 1010 .loc 1 518 56 is_stmt 0 view .LVU354
  2626. 1011 0004 866D ldr r6, [r0, #88]
  2627. 1012 .LVL94:
  2628. 520:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2629. 1013 .loc 1 520 3 is_stmt 1 view .LVU355
  2630. 520:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2631. 1014 .loc 1 520 24 is_stmt 0 view .LVU356
  2632. 1015 0006 FFF7FEFF bl HAL_GetTick
  2633. 1016 .LVL95:
  2634. 522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2635. 1017 .loc 1 522 3 is_stmt 1 view .LVU357
  2636. 522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2637. 1018 .loc 1 522 10 is_stmt 0 view .LVU358
  2638. 1019 000a 94F83530 ldrb r3, [r4, #53] @ zero_extendqisi2
  2639. 1020 000e DBB2 uxtb r3, r3
  2640. 522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2641. 1021 .loc 1 522 5 view .LVU359
  2642. 1022 0010 022B cmp r3, #2
  2643. 1023 0012 06D0 beq .L66
  2644. 524:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2645. 1024 .loc 1 524 5 is_stmt 1 view .LVU360
  2646. 524:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2647. 1025 .loc 1 524 21 is_stmt 0 view .LVU361
  2648. 1026 0014 8023 movs r3, #128
  2649. 1027 0016 6365 str r3, [r4, #84]
  2650. 527:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2651. 1028 .loc 1 527 5 is_stmt 1 view .LVU362
  2652. 527:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2653. 1029 .loc 1 527 5 view .LVU363
  2654. 1030 0018 0023 movs r3, #0
  2655. 1031 001a 84F83430 strb r3, [r4, #52]
  2656. 527:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2657. 1032 .loc 1 527 5 view .LVU364
  2658. 529:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2659. 1033 .loc 1 529 5 view .LVU365
  2660. 529:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2661. 1034 .loc 1 529 12 is_stmt 0 view .LVU366
  2662. 1035 001e 0120 movs r0, #1
  2663. 1036 .LVL96:
  2664. 1037 .L67:
  2665. 574:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2666. 1038 .loc 1 574 1 view .LVU367
  2667. 1039 0020 70BD pop {r4, r5, r6, pc}
  2668. 1040 .LVL97:
  2669. ARM GAS /tmp/cc2d5rNl.s page 47
  2670. 1041 .L66:
  2671. 574:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2672. 1042 .loc 1 574 1 view .LVU368
  2673. 1043 0022 0546 mov r5, r0
  2674. 534:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->FCR &= ~(DMA_IT_FE);
  2675. 1044 .loc 1 534 5 is_stmt 1 view .LVU369
  2676. 534:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->FCR &= ~(DMA_IT_FE);
  2677. 1045 .loc 1 534 9 is_stmt 0 view .LVU370
  2678. 1046 0024 2268 ldr r2, [r4]
  2679. 534:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->FCR &= ~(DMA_IT_FE);
  2680. 1047 .loc 1 534 25 view .LVU371
  2681. 1048 0026 1368 ldr r3, [r2]
  2682. 1049 0028 23F01603 bic r3, r3, #22
  2683. 1050 002c 1360 str r3, [r2]
  2684. 535:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2685. 1051 .loc 1 535 5 is_stmt 1 view .LVU372
  2686. 535:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2687. 1052 .loc 1 535 9 is_stmt 0 view .LVU373
  2688. 1053 002e 2268 ldr r2, [r4]
  2689. 535:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2690. 1054 .loc 1 535 25 view .LVU374
  2691. 1055 0030 5369 ldr r3, [r2, #20]
  2692. 1056 0032 23F08003 bic r3, r3, #128
  2693. 1057 0036 5361 str r3, [r2, #20]
  2694. 537:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2695. 1058 .loc 1 537 5 is_stmt 1 view .LVU375
  2696. 537:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2697. 1059 .loc 1 537 13 is_stmt 0 view .LVU376
  2698. 1060 0038 236C ldr r3, [r4, #64]
  2699. 537:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2700. 1061 .loc 1 537 7 view .LVU377
  2701. 1062 003a E3B1 cbz r3, .L73
  2702. 1063 .L68:
  2703. 539:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2704. 1064 .loc 1 539 7 is_stmt 1 view .LVU378
  2705. 539:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2706. 1065 .loc 1 539 11 is_stmt 0 view .LVU379
  2707. 1066 003c 2268 ldr r2, [r4]
  2708. 539:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2709. 1067 .loc 1 539 27 view .LVU380
  2710. 1068 003e 1368 ldr r3, [r2]
  2711. 1069 0040 23F00803 bic r3, r3, #8
  2712. 1070 0044 1360 str r3, [r2]
  2713. 1071 .L69:
  2714. 543:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2715. 1072 .loc 1 543 5 is_stmt 1 view .LVU381
  2716. 1073 0046 2268 ldr r2, [r4]
  2717. 1074 0048 1368 ldr r3, [r2]
  2718. 1075 004a 23F00103 bic r3, r3, #1
  2719. 1076 004e 1360 str r3, [r2]
  2720. 546:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2721. 1077 .loc 1 546 5 view .LVU382
  2722. 1078 .LVL98:
  2723. 1079 .L70:
  2724. 546:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2725. 1080 .loc 1 546 10 view .LVU383
  2726. 546:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2727. ARM GAS /tmp/cc2d5rNl.s page 48
  2728. 1081 .loc 1 546 16 is_stmt 0 view .LVU384
  2729. 1082 0050 2368 ldr r3, [r4]
  2730. 546:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2731. 1083 .loc 1 546 26 view .LVU385
  2732. 1084 0052 1B68 ldr r3, [r3]
  2733. 546:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2734. 1085 .loc 1 546 10 view .LVU386
  2735. 1086 0054 13F0010F tst r3, #1
  2736. 1087 0058 11D0 beq .L74
  2737. 549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2738. 1088 .loc 1 549 7 is_stmt 1 view .LVU387
  2739. 549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2740. 1089 .loc 1 549 11 is_stmt 0 view .LVU388
  2741. 1090 005a FFF7FEFF bl HAL_GetTick
  2742. 1091 .LVL99:
  2743. 549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2744. 1092 .loc 1 549 25 view .LVU389
  2745. 1093 005e 431B subs r3, r0, r5
  2746. 549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2747. 1094 .loc 1 549 9 view .LVU390
  2748. 1095 0060 052B cmp r3, #5
  2749. 1096 0062 F5D9 bls .L70
  2750. 552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2751. 1097 .loc 1 552 9 is_stmt 1 view .LVU391
  2752. 552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2753. 1098 .loc 1 552 25 is_stmt 0 view .LVU392
  2754. 1099 0064 2023 movs r3, #32
  2755. 1100 0066 6365 str r3, [r4, #84]
  2756. 555:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2757. 1101 .loc 1 555 9 is_stmt 1 view .LVU393
  2758. 555:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2759. 1102 .loc 1 555 9 view .LVU394
  2760. 1103 0068 0023 movs r3, #0
  2761. 1104 006a 84F83430 strb r3, [r4, #52]
  2762. 555:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2763. 1105 .loc 1 555 9 view .LVU395
  2764. 558:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2765. 1106 .loc 1 558 9 view .LVU396
  2766. 558:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2767. 1107 .loc 1 558 21 is_stmt 0 view .LVU397
  2768. 1108 006e 0320 movs r0, #3
  2769. 1109 0070 84F83500 strb r0, [r4, #53]
  2770. 560:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2771. 1110 .loc 1 560 9 is_stmt 1 view .LVU398
  2772. 560:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2773. 1111 .loc 1 560 16 is_stmt 0 view .LVU399
  2774. 1112 0074 D4E7 b .L67
  2775. 1113 .LVL100:
  2776. 1114 .L73:
  2777. 537:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2778. 1115 .loc 1 537 53 discriminator 1 view .LVU400
  2779. 1116 0076 A36C ldr r3, [r4, #72]
  2780. 537:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2781. 1117 .loc 1 537 45 discriminator 1 view .LVU401
  2782. 1118 0078 002B cmp r3, #0
  2783. 1119 007a DFD1 bne .L68
  2784. 1120 007c E3E7 b .L69
  2785. ARM GAS /tmp/cc2d5rNl.s page 49
  2786. 1121 .LVL101:
  2787. 1122 .L74:
  2788. 565:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2789. 1123 .loc 1 565 5 is_stmt 1 view .LVU402
  2790. 565:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2791. 1124 .loc 1 565 31 is_stmt 0 view .LVU403
  2792. 1125 007e E26D ldr r2, [r4, #92]
  2793. 565:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2794. 1126 .loc 1 565 24 view .LVU404
  2795. 1127 0080 3F23 movs r3, #63
  2796. 1128 0082 9340 lsls r3, r3, r2
  2797. 565:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2798. 1129 .loc 1 565 16 view .LVU405
  2799. 1130 0084 B360 str r3, [r6, #8]
  2800. 568:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2801. 1131 .loc 1 568 5 is_stmt 1 view .LVU406
  2802. 568:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2803. 1132 .loc 1 568 5 view .LVU407
  2804. 1133 0086 0020 movs r0, #0
  2805. 1134 0088 84F83400 strb r0, [r4, #52]
  2806. 568:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2807. 1135 .loc 1 568 5 view .LVU408
  2808. 571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2809. 1136 .loc 1 571 5 view .LVU409
  2810. 571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2811. 1137 .loc 1 571 17 is_stmt 0 view .LVU410
  2812. 1138 008c 0123 movs r3, #1
  2813. 1139 008e 84F83530 strb r3, [r4, #53]
  2814. 573:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2815. 1140 .loc 1 573 3 is_stmt 1 view .LVU411
  2816. 573:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2817. 1141 .loc 1 573 10 is_stmt 0 view .LVU412
  2818. 1142 0092 C5E7 b .L67
  2819. 1143 .cfi_endproc
  2820. 1144 .LFE134:
  2821. 1146 .section .text.HAL_DMA_Abort_IT,"ax",%progbits
  2822. 1147 .align 1
  2823. 1148 .global HAL_DMA_Abort_IT
  2824. 1149 .syntax unified
  2825. 1150 .thumb
  2826. 1151 .thumb_func
  2827. 1153 HAL_DMA_Abort_IT:
  2828. 1154 .LVL102:
  2829. 1155 .LFB135:
  2830. 583:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** if(hdma->State != HAL_DMA_STATE_BUSY)
  2831. 1156 .loc 1 583 1 is_stmt 1 view -0
  2832. 1157 .cfi_startproc
  2833. 1158 @ args = 0, pretend = 0, frame = 0
  2834. 1159 @ frame_needed = 0, uses_anonymous_args = 0
  2835. 1160 @ link register save eliminated.
  2836. 584:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2837. 1161 .loc 1 584 3 view .LVU414
  2838. 584:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2839. 1162 .loc 1 584 10 is_stmt 0 view .LVU415
  2840. 1163 0000 90F83530 ldrb r3, [r0, #53] @ zero_extendqisi2
  2841. 1164 0004 DBB2 uxtb r3, r3
  2842. 584:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2843. ARM GAS /tmp/cc2d5rNl.s page 50
  2844. 1165 .loc 1 584 5 view .LVU416
  2845. 1166 0006 022B cmp r3, #2
  2846. 1167 0008 03D0 beq .L76
  2847. 586:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  2848. 1168 .loc 1 586 5 is_stmt 1 view .LVU417
  2849. 586:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  2850. 1169 .loc 1 586 21 is_stmt 0 view .LVU418
  2851. 1170 000a 8023 movs r3, #128
  2852. 1171 000c 4365 str r3, [r0, #84]
  2853. 587:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2854. 1172 .loc 1 587 5 is_stmt 1 view .LVU419
  2855. 587:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2856. 1173 .loc 1 587 12 is_stmt 0 view .LVU420
  2857. 1174 000e 0120 movs r0, #1
  2858. 1175 .LVL103:
  2859. 587:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2860. 1176 .loc 1 587 12 view .LVU421
  2861. 1177 0010 7047 bx lr
  2862. 1178 .LVL104:
  2863. 1179 .L76:
  2864. 592:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2865. 1180 .loc 1 592 5 is_stmt 1 view .LVU422
  2866. 592:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2867. 1181 .loc 1 592 17 is_stmt 0 view .LVU423
  2868. 1182 0012 0523 movs r3, #5
  2869. 1183 0014 80F83530 strb r3, [r0, #53]
  2870. 595:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2871. 1184 .loc 1 595 5 is_stmt 1 view .LVU424
  2872. 1185 0018 0268 ldr r2, [r0]
  2873. 1186 001a 1368 ldr r3, [r2]
  2874. 1187 001c 23F00103 bic r3, r3, #1
  2875. 1188 0020 1360 str r3, [r2]
  2876. 598:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2877. 1189 .loc 1 598 3 view .LVU425
  2878. 598:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2879. 1190 .loc 1 598 10 is_stmt 0 view .LVU426
  2880. 1191 0022 0020 movs r0, #0
  2881. 1192 .LVL105:
  2882. 599:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2883. 1193 .loc 1 599 1 view .LVU427
  2884. 1194 0024 7047 bx lr
  2885. 1195 .cfi_endproc
  2886. 1196 .LFE135:
  2887. 1198 .section .text.HAL_DMA_PollForTransfer,"ax",%progbits
  2888. 1199 .align 1
  2889. 1200 .global HAL_DMA_PollForTransfer
  2890. 1201 .syntax unified
  2891. 1202 .thumb
  2892. 1203 .thumb_func
  2893. 1205 HAL_DMA_PollForTransfer:
  2894. 1206 .LVL106:
  2895. 1207 .LFB136:
  2896. 613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  2897. 1208 .loc 1 613 1 is_stmt 1 view -0
  2898. 1209 .cfi_startproc
  2899. 1210 @ args = 0, pretend = 0, frame = 0
  2900. 1211 @ frame_needed = 0, uses_anonymous_args = 0
  2901. ARM GAS /tmp/cc2d5rNl.s page 51
  2902. 613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  2903. 1212 .loc 1 613 1 is_stmt 0 view .LVU429
  2904. 1213 0000 2DE9F047 push {r4, r5, r6, r7, r8, r9, r10, lr}
  2905. 1214 .LCFI12:
  2906. 1215 .cfi_def_cfa_offset 32
  2907. 1216 .cfi_offset 4, -32
  2908. 1217 .cfi_offset 5, -28
  2909. 1218 .cfi_offset 6, -24
  2910. 1219 .cfi_offset 7, -20
  2911. 1220 .cfi_offset 8, -16
  2912. 1221 .cfi_offset 9, -12
  2913. 1222 .cfi_offset 10, -8
  2914. 1223 .cfi_offset 14, -4
  2915. 1224 0004 0446 mov r4, r0
  2916. 1225 0006 8846 mov r8, r1
  2917. 1226 0008 1646 mov r6, r2
  2918. 614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t mask_cpltlevel;
  2919. 1227 .loc 1 614 3 is_stmt 1 view .LVU430
  2920. 1228 .LVL107:
  2921. 615:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tickstart = HAL_GetTick();
  2922. 1229 .loc 1 615 3 view .LVU431
  2923. 616:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmpisr;
  2924. 1230 .loc 1 616 3 view .LVU432
  2925. 616:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmpisr;
  2926. 1231 .loc 1 616 24 is_stmt 0 view .LVU433
  2927. 1232 000a FFF7FEFF bl HAL_GetTick
  2928. 1233 .LVL108:
  2929. 617:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2930. 1234 .loc 1 617 3 is_stmt 1 view .LVU434
  2931. 620:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2932. 1235 .loc 1 620 3 view .LVU435
  2933. 622:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2934. 1236 .loc 1 622 3 view .LVU436
  2935. 622:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2936. 1237 .loc 1 622 32 is_stmt 0 view .LVU437
  2937. 1238 000e 94F83530 ldrb r3, [r4, #53] @ zero_extendqisi2
  2938. 1239 0012 DBB2 uxtb r3, r3
  2939. 622:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2940. 1240 .loc 1 622 5 view .LVU438
  2941. 1241 0014 022B cmp r3, #2
  2942. 1242 0016 07D0 beq .L79
  2943. 625:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  2944. 1243 .loc 1 625 5 is_stmt 1 view .LVU439
  2945. 625:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  2946. 1244 .loc 1 625 21 is_stmt 0 view .LVU440
  2947. 1245 0018 8023 movs r3, #128
  2948. 1246 001a 6365 str r3, [r4, #84]
  2949. 626:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  2950. 1247 .loc 1 626 5 is_stmt 1 view .LVU441
  2951. 626:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  2952. 1248 .loc 1 626 5 view .LVU442
  2953. 1249 001c 0023 movs r3, #0
  2954. 1250 001e 84F83430 strb r3, [r4, #52]
  2955. 626:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  2956. 1251 .loc 1 626 5 view .LVU443
  2957. 627:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2958. 1252 .loc 1 627 5 view .LVU444
  2959. ARM GAS /tmp/cc2d5rNl.s page 52
  2960. 627:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2961. 1253 .loc 1 627 12 is_stmt 0 view .LVU445
  2962. 1254 0022 0120 movs r0, #1
  2963. 1255 .LVL109:
  2964. 1256 .L80:
  2965. 740:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2966. 1257 .loc 1 740 1 view .LVU446
  2967. 1258 0024 BDE8F087 pop {r4, r5, r6, r7, r8, r9, r10, pc}
  2968. 1259 .LVL110:
  2969. 1260 .L79:
  2970. 740:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  2971. 1261 .loc 1 740 1 view .LVU447
  2972. 1262 0028 8146 mov r9, r0
  2973. 631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2974. 1263 .loc 1 631 3 is_stmt 1 view .LVU448
  2975. 631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2976. 1264 .loc 1 631 12 is_stmt 0 view .LVU449
  2977. 1265 002a 2368 ldr r3, [r4]
  2978. 631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2979. 1266 .loc 1 631 22 view .LVU450
  2980. 1267 002c 1B68 ldr r3, [r3]
  2981. 631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2982. 1268 .loc 1 631 6 view .LVU451
  2983. 1269 002e 13F4807F tst r3, #256
  2984. 1270 0032 3BD1 bne .L95
  2985. 638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2986. 1271 .loc 1 638 3 is_stmt 1 view .LVU452
  2987. 638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  2988. 1272 .loc 1 638 5 is_stmt 0 view .LVU453
  2989. 1273 0034 B8F1000F cmp r8, #0
  2990. 1274 0038 3DD1 bne .L82
  2991. 641:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2992. 1275 .loc 1 641 5 is_stmt 1 view .LVU454
  2993. 641:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2994. 1276 .loc 1 641 46 is_stmt 0 view .LVU455
  2995. 1277 003a E36D ldr r3, [r4, #92]
  2996. 641:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  2997. 1278 .loc 1 641 20 view .LVU456
  2998. 1279 003c 4FF0200A mov r10, #32
  2999. 1280 0040 0AFA03FA lsl r10, r10, r3
  3000. 1281 .LVL111:
  3001. 1282 .L83:
  3002. 649:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** tmpisr = regs->ISR;
  3003. 1283 .loc 1 649 3 is_stmt 1 view .LVU457
  3004. 649:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** tmpisr = regs->ISR;
  3005. 1284 .loc 1 649 36 is_stmt 0 view .LVU458
  3006. 1285 0044 A76D ldr r7, [r4, #88]
  3007. 1286 .LVL112:
  3008. 650:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3009. 1287 .loc 1 650 3 is_stmt 1 view .LVU459
  3010. 650:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3011. 1288 .loc 1 650 10 is_stmt 0 view .LVU460
  3012. 1289 0046 3B68 ldr r3, [r7]
  3013. 1290 .LVL113:
  3014. 652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3015. 1291 .loc 1 652 3 is_stmt 1 view .LVU461
  3016. 1292 .L84:
  3017. ARM GAS /tmp/cc2d5rNl.s page 53
  3018. 652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3019. 1293 .loc 1 652 8 view .LVU462
  3020. 1294 0048 1AEA030F tst r10, r3
  3021. 1295 004c 43D1 bne .L90
  3022. 652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3023. 1296 .loc 1 652 55 is_stmt 0 discriminator 1 view .LVU463
  3024. 1297 004e 636D ldr r3, [r4, #84]
  3025. 1298 .LVL114:
  3026. 652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3027. 1299 .loc 1 652 46 discriminator 1 view .LVU464
  3028. 1300 0050 13F0010F tst r3, #1
  3029. 1301 0054 3FD1 bne .L90
  3030. 655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3031. 1302 .loc 1 655 5 is_stmt 1 view .LVU465
  3032. 655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3033. 1303 .loc 1 655 7 is_stmt 0 view .LVU466
  3034. 1304 0056 B6F1FF3F cmp r6, #-1
  3035. 1305 005a 07D0 beq .L85
  3036. 657:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3037. 1306 .loc 1 657 7 is_stmt 1 view .LVU467
  3038. 657:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3039. 1307 .loc 1 657 9 is_stmt 0 view .LVU468
  3040. 1308 005c 002E cmp r6, #0
  3041. 1309 005e 30D0 beq .L86
  3042. 657:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3043. 1310 .loc 1 657 29 discriminator 1 view .LVU469
  3044. 1311 0060 FFF7FEFF bl HAL_GetTick
  3045. 1312 .LVL115:
  3046. 657:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3047. 1313 .loc 1 657 43 discriminator 1 view .LVU470
  3048. 1314 0064 A0EB0900 sub r0, r0, r9
  3049. 657:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3050. 1315 .loc 1 657 25 discriminator 1 view .LVU471
  3051. 1316 0068 B042 cmp r0, r6
  3052. 1317 006a 2AD8 bhi .L86
  3053. 1318 .L85:
  3054. 673:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3055. 1319 .loc 1 673 5 is_stmt 1 view .LVU472
  3056. 673:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3057. 1320 .loc 1 673 12 is_stmt 0 view .LVU473
  3058. 1321 006c 3B68 ldr r3, [r7]
  3059. 1322 .LVL116:
  3060. 675:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3061. 1323 .loc 1 675 5 is_stmt 1 view .LVU474
  3062. 675:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3063. 1324 .loc 1 675 43 is_stmt 0 view .LVU475
  3064. 1325 006e E16D ldr r1, [r4, #92]
  3065. 675:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3066. 1326 .loc 1 675 36 view .LVU476
  3067. 1327 0070 0822 movs r2, #8
  3068. 1328 0072 8A40 lsls r2, r2, r1
  3069. 675:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3070. 1329 .loc 1 675 7 view .LVU477
  3071. 1330 0074 1A42 tst r2, r3
  3072. 1331 0076 04D0 beq .L87
  3073. 678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3074. 1332 .loc 1 678 7 is_stmt 1 view .LVU478
  3075. ARM GAS /tmp/cc2d5rNl.s page 54
  3076. 678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3077. 1333 .loc 1 678 23 is_stmt 0 view .LVU479
  3078. 1334 0078 616D ldr r1, [r4, #84]
  3079. 1335 007a 41F00101 orr r1, r1, #1
  3080. 1336 007e 6165 str r1, [r4, #84]
  3081. 681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3082. 1337 .loc 1 681 7 is_stmt 1 view .LVU480
  3083. 681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3084. 1338 .loc 1 681 18 is_stmt 0 view .LVU481
  3085. 1339 0080 BA60 str r2, [r7, #8]
  3086. 1340 .L87:
  3087. 684:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3088. 1341 .loc 1 684 5 is_stmt 1 view .LVU482
  3089. 684:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3090. 1342 .loc 1 684 43 is_stmt 0 view .LVU483
  3091. 1343 0082 E16D ldr r1, [r4, #92]
  3092. 684:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3093. 1344 .loc 1 684 36 view .LVU484
  3094. 1345 0084 0122 movs r2, #1
  3095. 1346 0086 8A40 lsls r2, r2, r1
  3096. 684:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3097. 1347 .loc 1 684 7 view .LVU485
  3098. 1348 0088 1A42 tst r2, r3
  3099. 1349 008a 04D0 beq .L88
  3100. 687:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3101. 1350 .loc 1 687 7 is_stmt 1 view .LVU486
  3102. 687:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3103. 1351 .loc 1 687 23 is_stmt 0 view .LVU487
  3104. 1352 008c 616D ldr r1, [r4, #84]
  3105. 1353 008e 41F00201 orr r1, r1, #2
  3106. 1354 0092 6165 str r1, [r4, #84]
  3107. 690:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3108. 1355 .loc 1 690 7 is_stmt 1 view .LVU488
  3109. 690:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3110. 1356 .loc 1 690 18 is_stmt 0 view .LVU489
  3111. 1357 0094 BA60 str r2, [r7, #8]
  3112. 1358 .L88:
  3113. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3114. 1359 .loc 1 693 5 is_stmt 1 view .LVU490
  3115. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3116. 1360 .loc 1 693 44 is_stmt 0 view .LVU491
  3117. 1361 0096 E26D ldr r2, [r4, #92]
  3118. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3119. 1362 .loc 1 693 37 view .LVU492
  3120. 1363 0098 0425 movs r5, #4
  3121. 1364 009a 9540 lsls r5, r5, r2
  3122. 693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3123. 1365 .loc 1 693 7 view .LVU493
  3124. 1366 009c 1D42 tst r5, r3
  3125. 1367 009e D3D0 beq .L84
  3126. 696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3127. 1368 .loc 1 696 7 is_stmt 1 view .LVU494
  3128. 696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3129. 1369 .loc 1 696 23 is_stmt 0 view .LVU495
  3130. 1370 00a0 626D ldr r2, [r4, #84]
  3131. 1371 00a2 42F00402 orr r2, r2, #4
  3132. 1372 00a6 6265 str r2, [r4, #84]
  3133. ARM GAS /tmp/cc2d5rNl.s page 55
  3134. 699:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3135. 1373 .loc 1 699 7 is_stmt 1 view .LVU496
  3136. 699:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3137. 1374 .loc 1 699 18 is_stmt 0 view .LVU497
  3138. 1375 00a8 BD60 str r5, [r7, #8]
  3139. 1376 00aa CDE7 b .L84
  3140. 1377 .LVL117:
  3141. 1378 .L95:
  3142. 633:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  3143. 1379 .loc 1 633 5 is_stmt 1 view .LVU498
  3144. 633:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return HAL_ERROR;
  3145. 1380 .loc 1 633 21 is_stmt 0 view .LVU499
  3146. 1381 00ac 4FF48073 mov r3, #256
  3147. 1382 00b0 6365 str r3, [r4, #84]
  3148. 634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3149. 1383 .loc 1 634 5 is_stmt 1 view .LVU500
  3150. 634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3151. 1384 .loc 1 634 12 is_stmt 0 view .LVU501
  3152. 1385 00b2 0120 movs r0, #1
  3153. 1386 .LVL118:
  3154. 634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3155. 1387 .loc 1 634 12 view .LVU502
  3156. 1388 00b4 B6E7 b .L80
  3157. 1389 .LVL119:
  3158. 1390 .L82:
  3159. 646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3160. 1391 .loc 1 646 5 is_stmt 1 view .LVU503
  3161. 646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3162. 1392 .loc 1 646 46 is_stmt 0 view .LVU504
  3163. 1393 00b6 E36D ldr r3, [r4, #92]
  3164. 646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3165. 1394 .loc 1 646 20 view .LVU505
  3166. 1395 00b8 4FF0100A mov r10, #16
  3167. 1396 00bc 0AFA03FA lsl r10, r10, r3
  3168. 1397 .LVL120:
  3169. 646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3170. 1398 .loc 1 646 20 view .LVU506
  3171. 1399 00c0 C0E7 b .L83
  3172. 1400 .LVL121:
  3173. 1401 .L86:
  3174. 660:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3175. 1402 .loc 1 660 9 is_stmt 1 view .LVU507
  3176. 660:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3177. 1403 .loc 1 660 25 is_stmt 0 view .LVU508
  3178. 1404 00c2 2023 movs r3, #32
  3179. 1405 00c4 6365 str r3, [r4, #84]
  3180. 663:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3181. 1406 .loc 1 663 9 is_stmt 1 view .LVU509
  3182. 663:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3183. 1407 .loc 1 663 9 view .LVU510
  3184. 1408 00c6 0023 movs r3, #0
  3185. 1409 00c8 84F83430 strb r3, [r4, #52]
  3186. 663:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3187. 1410 .loc 1 663 9 view .LVU511
  3188. 666:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3189. 1411 .loc 1 666 9 view .LVU512
  3190. 666:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3191. ARM GAS /tmp/cc2d5rNl.s page 56
  3192. 1412 .loc 1 666 21 is_stmt 0 view .LVU513
  3193. 1413 00cc 0123 movs r3, #1
  3194. 1414 00ce 84F83530 strb r3, [r4, #53]
  3195. 668:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3196. 1415 .loc 1 668 9 is_stmt 1 view .LVU514
  3197. 668:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3198. 1416 .loc 1 668 16 is_stmt 0 view .LVU515
  3199. 1417 00d2 0320 movs r0, #3
  3200. 1418 00d4 A6E7 b .L80
  3201. 1419 .L90:
  3202. 703:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3203. 1420 .loc 1 703 3 is_stmt 1 view .LVU516
  3204. 703:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3205. 1421 .loc 1 703 10 is_stmt 0 view .LVU517
  3206. 1422 00d6 636D ldr r3, [r4, #84]
  3207. 703:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3208. 1423 .loc 1 703 5 view .LVU518
  3209. 1424 00d8 1BB1 cbz r3, .L92
  3210. 705:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3211. 1425 .loc 1 705 5 is_stmt 1 view .LVU519
  3212. 705:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3213. 1426 .loc 1 705 13 is_stmt 0 view .LVU520
  3214. 1427 00da 636D ldr r3, [r4, #84]
  3215. 705:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3216. 1428 .loc 1 705 7 view .LVU521
  3217. 1429 00dc 13F0010F tst r3, #1
  3218. 1430 00e0 0ED1 bne .L96
  3219. 1431 .L92:
  3220. 723:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3221. 1432 .loc 1 723 3 is_stmt 1 view .LVU522
  3222. 723:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3223. 1433 .loc 1 723 5 is_stmt 0 view .LVU523
  3224. 1434 00e2 B8F1000F cmp r8, #0
  3225. 1435 00e6 19D1 bne .L93
  3226. 726:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3227. 1436 .loc 1 726 5 is_stmt 1 view .LVU524
  3228. 726:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3229. 1437 .loc 1 726 63 is_stmt 0 view .LVU525
  3230. 1438 00e8 E26D ldr r2, [r4, #92]
  3231. 726:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3232. 1439 .loc 1 726 56 view .LVU526
  3233. 1440 00ea 3023 movs r3, #48
  3234. 1441 00ec 9340 lsls r3, r3, r2
  3235. 726:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3236. 1442 .loc 1 726 16 view .LVU527
  3237. 1443 00ee BB60 str r3, [r7, #8]
  3238. 729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3239. 1444 .loc 1 729 5 is_stmt 1 view .LVU528
  3240. 729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3241. 1445 .loc 1 729 5 view .LVU529
  3242. 1446 00f0 0023 movs r3, #0
  3243. 1447 00f2 84F83430 strb r3, [r4, #52]
  3244. 729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3245. 1448 .loc 1 729 5 view .LVU530
  3246. 731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3247. 1449 .loc 1 731 5 view .LVU531
  3248. 731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3249. ARM GAS /tmp/cc2d5rNl.s page 57
  3250. 1450 .loc 1 731 17 is_stmt 0 view .LVU532
  3251. 1451 00f6 0123 movs r3, #1
  3252. 1452 00f8 84F83530 strb r3, [r4, #53]
  3253. 739:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3254. 1453 .loc 1 739 10 view .LVU533
  3255. 1454 00fc 4046 mov r0, r8
  3256. 1455 00fe 91E7 b .L80
  3257. 1456 .L96:
  3258. 707:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3259. 1457 .loc 1 707 7 is_stmt 1 view .LVU534
  3260. 1458 0100 2046 mov r0, r4
  3261. 1459 0102 FFF7FEFF bl HAL_DMA_Abort
  3262. 1460 .LVL122:
  3263. 710:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3264. 1461 .loc 1 710 7 view .LVU535
  3265. 710:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3266. 1462 .loc 1 710 65 is_stmt 0 view .LVU536
  3267. 1463 0106 E26D ldr r2, [r4, #92]
  3268. 710:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3269. 1464 .loc 1 710 58 view .LVU537
  3270. 1465 0108 3023 movs r3, #48
  3271. 1466 010a 9340 lsls r3, r3, r2
  3272. 710:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3273. 1467 .loc 1 710 18 view .LVU538
  3274. 1468 010c BB60 str r3, [r7, #8]
  3275. 713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3276. 1469 .loc 1 713 7 is_stmt 1 view .LVU539
  3277. 713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3278. 1470 .loc 1 713 7 view .LVU540
  3279. 1471 010e 0023 movs r3, #0
  3280. 1472 0110 84F83430 strb r3, [r4, #52]
  3281. 713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3282. 1473 .loc 1 713 7 view .LVU541
  3283. 716:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3284. 1474 .loc 1 716 7 view .LVU542
  3285. 716:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3286. 1475 .loc 1 716 18 is_stmt 0 view .LVU543
  3287. 1476 0114 0120 movs r0, #1
  3288. 1477 0116 84F83500 strb r0, [r4, #53]
  3289. 718:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3290. 1478 .loc 1 718 7 is_stmt 1 view .LVU544
  3291. 718:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3292. 1479 .loc 1 718 14 is_stmt 0 view .LVU545
  3293. 1480 011a 83E7 b .L80
  3294. 1481 .L93:
  3295. 736:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3296. 1482 .loc 1 736 5 is_stmt 1 view .LVU546
  3297. 736:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3298. 1483 .loc 1 736 44 is_stmt 0 view .LVU547
  3299. 1484 011c E26D ldr r2, [r4, #92]
  3300. 736:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3301. 1485 .loc 1 736 37 view .LVU548
  3302. 1486 011e 1023 movs r3, #16
  3303. 1487 0120 9340 lsls r3, r3, r2
  3304. 736:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3305. 1488 .loc 1 736 16 view .LVU549
  3306. 1489 0122 BB60 str r3, [r7, #8]
  3307. ARM GAS /tmp/cc2d5rNl.s page 58
  3308. 739:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3309. 1490 .loc 1 739 10 view .LVU550
  3310. 1491 0124 0020 movs r0, #0
  3311. 1492 0126 7DE7 b .L80
  3312. 1493 .cfi_endproc
  3313. 1494 .LFE136:
  3314. 1496 .section .text.HAL_DMA_IRQHandler,"ax",%progbits
  3315. 1497 .align 1
  3316. 1498 .global HAL_DMA_IRQHandler
  3317. 1499 .syntax unified
  3318. 1500 .thumb
  3319. 1501 .thumb_func
  3320. 1503 HAL_DMA_IRQHandler:
  3321. 1504 .LVL123:
  3322. 1505 .LFB137:
  3323. 749:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmpisr;
  3324. 1506 .loc 1 749 1 is_stmt 1 view -0
  3325. 1507 .cfi_startproc
  3326. 1508 @ args = 0, pretend = 0, frame = 8
  3327. 1509 @ frame_needed = 0, uses_anonymous_args = 0
  3328. 749:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t tmpisr;
  3329. 1510 .loc 1 749 1 is_stmt 0 view .LVU552
  3330. 1511 0000 F0B5 push {r4, r5, r6, r7, lr}
  3331. 1512 .LCFI13:
  3332. 1513 .cfi_def_cfa_offset 20
  3333. 1514 .cfi_offset 4, -20
  3334. 1515 .cfi_offset 5, -16
  3335. 1516 .cfi_offset 6, -12
  3336. 1517 .cfi_offset 7, -8
  3337. 1518 .cfi_offset 14, -4
  3338. 1519 0002 83B0 sub sp, sp, #12
  3339. 1520 .LCFI14:
  3340. 1521 .cfi_def_cfa_offset 32
  3341. 1522 0004 0446 mov r4, r0
  3342. 750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** __IO uint32_t count = 0U;
  3343. 1523 .loc 1 750 3 is_stmt 1 view .LVU553
  3344. 751:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t timeout = SystemCoreClock / 9600U;
  3345. 1524 .loc 1 751 3 view .LVU554
  3346. 751:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** uint32_t timeout = SystemCoreClock / 9600U;
  3347. 1525 .loc 1 751 17 is_stmt 0 view .LVU555
  3348. 1526 0006 0023 movs r3, #0
  3349. 1527 0008 0193 str r3, [sp, #4]
  3350. 752:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3351. 1528 .loc 1 752 3 is_stmt 1 view .LVU556
  3352. 752:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3353. 1529 .loc 1 752 38 is_stmt 0 view .LVU557
  3354. 1530 000a 724B ldr r3, .L120
  3355. 1531 000c 1D68 ldr r5, [r3]
  3356. 752:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3357. 1532 .loc 1 752 12 view .LVU558
  3358. 1533 000e 724B ldr r3, .L120+4
  3359. 1534 0010 A3FB0535 umull r3, r5, r3, r5
  3360. 1535 0014 AD0A lsrs r5, r5, #10
  3361. 1536 .LVL124:
  3362. 755:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3363. 1537 .loc 1 755 3 is_stmt 1 view .LVU559
  3364. 755:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3365. ARM GAS /tmp/cc2d5rNl.s page 59
  3366. 1538 .loc 1 755 56 is_stmt 0 view .LVU560
  3367. 1539 0016 876D ldr r7, [r0, #88]
  3368. 1540 .LVL125:
  3369. 757:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3370. 1541 .loc 1 757 3 is_stmt 1 view .LVU561
  3371. 757:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3372. 1542 .loc 1 757 10 is_stmt 0 view .LVU562
  3373. 1543 0018 3E68 ldr r6, [r7]
  3374. 1544 .LVL126:
  3375. 760:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3376. 1545 .loc 1 760 3 is_stmt 1 view .LVU563
  3377. 760:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3378. 1546 .loc 1 760 42 is_stmt 0 view .LVU564
  3379. 1547 001a C26D ldr r2, [r0, #92]
  3380. 760:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3381. 1548 .loc 1 760 35 view .LVU565
  3382. 1549 001c 0823 movs r3, #8
  3383. 1550 001e 9340 lsls r3, r3, r2
  3384. 760:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3385. 1551 .loc 1 760 6 view .LVU566
  3386. 1552 0020 3342 tst r3, r6
  3387. 1553 0022 10D0 beq .L98
  3388. 762:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3389. 1554 .loc 1 762 5 is_stmt 1 view .LVU567
  3390. 762:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3391. 1555 .loc 1 762 8 is_stmt 0 view .LVU568
  3392. 1556 0024 0368 ldr r3, [r0]
  3393. 1557 0026 1A68 ldr r2, [r3]
  3394. 762:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3395. 1558 .loc 1 762 7 view .LVU569
  3396. 1559 0028 12F0040F tst r2, #4
  3397. 1560 002c 0BD0 beq .L98
  3398. 765:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3399. 1561 .loc 1 765 7 is_stmt 1 view .LVU570
  3400. 765:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3401. 1562 .loc 1 765 27 is_stmt 0 view .LVU571
  3402. 1563 002e 1A68 ldr r2, [r3]
  3403. 1564 0030 22F00402 bic r2, r2, #4
  3404. 1565 0034 1A60 str r2, [r3]
  3405. 768:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3406. 1566 .loc 1 768 7 is_stmt 1 view .LVU572
  3407. 768:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3408. 1567 .loc 1 768 44 is_stmt 0 view .LVU573
  3409. 1568 0036 C26D ldr r2, [r0, #92]
  3410. 768:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3411. 1569 .loc 1 768 37 view .LVU574
  3412. 1570 0038 0823 movs r3, #8
  3413. 1571 003a 9340 lsls r3, r3, r2
  3414. 768:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3415. 1572 .loc 1 768 18 view .LVU575
  3416. 1573 003c BB60 str r3, [r7, #8]
  3417. 771:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3418. 1574 .loc 1 771 7 is_stmt 1 view .LVU576
  3419. 771:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3420. 1575 .loc 1 771 23 is_stmt 0 view .LVU577
  3421. 1576 003e 436D ldr r3, [r0, #84]
  3422. 1577 0040 43F00103 orr r3, r3, #1
  3423. ARM GAS /tmp/cc2d5rNl.s page 60
  3424. 1578 0044 4365 str r3, [r0, #84]
  3425. 1579 .L98:
  3426. 775:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3427. 1580 .loc 1 775 3 is_stmt 1 view .LVU578
  3428. 775:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3429. 1581 .loc 1 775 42 is_stmt 0 view .LVU579
  3430. 1582 0046 E26D ldr r2, [r4, #92]
  3431. 775:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3432. 1583 .loc 1 775 35 view .LVU580
  3433. 1584 0048 0123 movs r3, #1
  3434. 1585 004a 9340 lsls r3, r3, r2
  3435. 775:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3436. 1586 .loc 1 775 6 view .LVU581
  3437. 1587 004c 3342 tst r3, r6
  3438. 1588 004e 09D0 beq .L99
  3439. 777:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3440. 1589 .loc 1 777 5 is_stmt 1 view .LVU582
  3441. 777:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3442. 1590 .loc 1 777 8 is_stmt 0 view .LVU583
  3443. 1591 0050 2268 ldr r2, [r4]
  3444. 1592 0052 5269 ldr r2, [r2, #20]
  3445. 777:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3446. 1593 .loc 1 777 7 view .LVU584
  3447. 1594 0054 12F0800F tst r2, #128
  3448. 1595 0058 04D0 beq .L99
  3449. 780:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3450. 1596 .loc 1 780 7 is_stmt 1 view .LVU585
  3451. 780:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3452. 1597 .loc 1 780 18 is_stmt 0 view .LVU586
  3453. 1598 005a BB60 str r3, [r7, #8]
  3454. 783:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3455. 1599 .loc 1 783 7 is_stmt 1 view .LVU587
  3456. 783:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3457. 1600 .loc 1 783 23 is_stmt 0 view .LVU588
  3458. 1601 005c 636D ldr r3, [r4, #84]
  3459. 1602 005e 43F00203 orr r3, r3, #2
  3460. 1603 0062 6365 str r3, [r4, #84]
  3461. 1604 .L99:
  3462. 787:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3463. 1605 .loc 1 787 3 is_stmt 1 view .LVU589
  3464. 787:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3465. 1606 .loc 1 787 43 is_stmt 0 view .LVU590
  3466. 1607 0064 E26D ldr r2, [r4, #92]
  3467. 787:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3468. 1608 .loc 1 787 36 view .LVU591
  3469. 1609 0066 0423 movs r3, #4
  3470. 1610 0068 9340 lsls r3, r3, r2
  3471. 787:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3472. 1611 .loc 1 787 6 view .LVU592
  3473. 1612 006a 3342 tst r3, r6
  3474. 1613 006c 09D0 beq .L100
  3475. 789:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3476. 1614 .loc 1 789 5 is_stmt 1 view .LVU593
  3477. 789:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3478. 1615 .loc 1 789 8 is_stmt 0 view .LVU594
  3479. 1616 006e 2268 ldr r2, [r4]
  3480. 1617 0070 1268 ldr r2, [r2]
  3481. ARM GAS /tmp/cc2d5rNl.s page 61
  3482. 789:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3483. 1618 .loc 1 789 7 view .LVU595
  3484. 1619 0072 12F0020F tst r2, #2
  3485. 1620 0076 04D0 beq .L100
  3486. 792:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3487. 1621 .loc 1 792 7 is_stmt 1 view .LVU596
  3488. 792:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3489. 1622 .loc 1 792 18 is_stmt 0 view .LVU597
  3490. 1623 0078 BB60 str r3, [r7, #8]
  3491. 795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3492. 1624 .loc 1 795 7 is_stmt 1 view .LVU598
  3493. 795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3494. 1625 .loc 1 795 23 is_stmt 0 view .LVU599
  3495. 1626 007a 636D ldr r3, [r4, #84]
  3496. 1627 007c 43F00403 orr r3, r3, #4
  3497. 1628 0080 6365 str r3, [r4, #84]
  3498. 1629 .L100:
  3499. 799:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3500. 1630 .loc 1 799 3 is_stmt 1 view .LVU600
  3501. 799:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3502. 1631 .loc 1 799 42 is_stmt 0 view .LVU601
  3503. 1632 0082 E26D ldr r2, [r4, #92]
  3504. 799:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3505. 1633 .loc 1 799 35 view .LVU602
  3506. 1634 0084 1023 movs r3, #16
  3507. 1635 0086 9340 lsls r3, r3, r2
  3508. 799:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3509. 1636 .loc 1 799 6 view .LVU603
  3510. 1637 0088 3342 tst r3, r6
  3511. 1638 008a 24D0 beq .L101
  3512. 801:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3513. 1639 .loc 1 801 5 is_stmt 1 view .LVU604
  3514. 801:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3515. 1640 .loc 1 801 8 is_stmt 0 view .LVU605
  3516. 1641 008c 2268 ldr r2, [r4]
  3517. 1642 008e 1268 ldr r2, [r2]
  3518. 801:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3519. 1643 .loc 1 801 7 view .LVU606
  3520. 1644 0090 12F0080F tst r2, #8
  3521. 1645 0094 1FD0 beq .L101
  3522. 804:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3523. 1646 .loc 1 804 7 is_stmt 1 view .LVU607
  3524. 804:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3525. 1647 .loc 1 804 18 is_stmt 0 view .LVU608
  3526. 1648 0096 BB60 str r3, [r7, #8]
  3527. 807:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3528. 1649 .loc 1 807 7 is_stmt 1 view .LVU609
  3529. 807:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3530. 1650 .loc 1 807 16 is_stmt 0 view .LVU610
  3531. 1651 0098 2368 ldr r3, [r4]
  3532. 807:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3533. 1652 .loc 1 807 26 view .LVU611
  3534. 1653 009a 1A68 ldr r2, [r3]
  3535. 807:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3536. 1654 .loc 1 807 9 view .LVU612
  3537. 1655 009c 12F4802F tst r2, #262144
  3538. 1656 00a0 0DD0 beq .L102
  3539. ARM GAS /tmp/cc2d5rNl.s page 62
  3540. 810:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3541. 1657 .loc 1 810 9 is_stmt 1 view .LVU613
  3542. 810:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3543. 1658 .loc 1 810 27 is_stmt 0 view .LVU614
  3544. 1659 00a2 1B68 ldr r3, [r3]
  3545. 810:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3546. 1660 .loc 1 810 11 view .LVU615
  3547. 1661 00a4 13F4002F tst r3, #524288
  3548. 1662 00a8 04D1 bne .L103
  3549. 812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3550. 1663 .loc 1 812 11 is_stmt 1 view .LVU616
  3551. 812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3552. 1664 .loc 1 812 18 is_stmt 0 view .LVU617
  3553. 1665 00aa 236C ldr r3, [r4, #64]
  3554. 812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3555. 1666 .loc 1 812 13 view .LVU618
  3556. 1667 00ac 9BB1 cbz r3, .L101
  3557. 815:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3558. 1668 .loc 1 815 13 is_stmt 1 view .LVU619
  3559. 1669 00ae 2046 mov r0, r4
  3560. 1670 .LVL127:
  3561. 815:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3562. 1671 .loc 1 815 13 is_stmt 0 view .LVU620
  3563. 1672 00b0 9847 blx r3
  3564. 1673 .LVL128:
  3565. 1674 00b2 10E0 b .L101
  3566. 1675 .LVL129:
  3567. 1676 .L103:
  3568. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3569. 1677 .loc 1 821 11 is_stmt 1 view .LVU621
  3570. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3571. 1678 .loc 1 821 18 is_stmt 0 view .LVU622
  3572. 1679 00b4 A36C ldr r3, [r4, #72]
  3573. 821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3574. 1680 .loc 1 821 13 view .LVU623
  3575. 1681 00b6 73B1 cbz r3, .L101
  3576. 824:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3577. 1682 .loc 1 824 13 is_stmt 1 view .LVU624
  3578. 1683 00b8 2046 mov r0, r4
  3579. 1684 .LVL130:
  3580. 824:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3581. 1685 .loc 1 824 13 is_stmt 0 view .LVU625
  3582. 1686 00ba 9847 blx r3
  3583. 1687 .LVL131:
  3584. 1688 00bc 0BE0 b .L101
  3585. 1689 .LVL132:
  3586. 1690 .L102:
  3587. 831:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3588. 1691 .loc 1 831 9 is_stmt 1 view .LVU626
  3589. 831:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3590. 1692 .loc 1 831 27 is_stmt 0 view .LVU627
  3591. 1693 00be 1A68 ldr r2, [r3]
  3592. 831:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3593. 1694 .loc 1 831 11 view .LVU628
  3594. 1695 00c0 12F4807F tst r2, #256
  3595. 1696 00c4 03D1 bne .L104
  3596. 834:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3597. ARM GAS /tmp/cc2d5rNl.s page 63
  3598. 1697 .loc 1 834 11 is_stmt 1 view .LVU629
  3599. 834:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3600. 1698 .loc 1 834 31 is_stmt 0 view .LVU630
  3601. 1699 00c6 1A68 ldr r2, [r3]
  3602. 1700 00c8 22F00802 bic r2, r2, #8
  3603. 1701 00cc 1A60 str r2, [r3]
  3604. 1702 .L104:
  3605. 837:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3606. 1703 .loc 1 837 9 is_stmt 1 view .LVU631
  3607. 837:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3608. 1704 .loc 1 837 16 is_stmt 0 view .LVU632
  3609. 1705 00ce 236C ldr r3, [r4, #64]
  3610. 837:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3611. 1706 .loc 1 837 11 view .LVU633
  3612. 1707 00d0 0BB1 cbz r3, .L101
  3613. 840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3614. 1708 .loc 1 840 11 is_stmt 1 view .LVU634
  3615. 1709 00d2 2046 mov r0, r4
  3616. 1710 .LVL133:
  3617. 840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3618. 1711 .loc 1 840 11 is_stmt 0 view .LVU635
  3619. 1712 00d4 9847 blx r3
  3620. 1713 .LVL134:
  3621. 1714 .L101:
  3622. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3623. 1715 .loc 1 846 3 is_stmt 1 view .LVU636
  3624. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3625. 1716 .loc 1 846 42 is_stmt 0 view .LVU637
  3626. 1717 00d6 E26D ldr r2, [r4, #92]
  3627. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3628. 1718 .loc 1 846 35 view .LVU638
  3629. 1719 00d8 2023 movs r3, #32
  3630. 1720 00da 9340 lsls r3, r3, r2
  3631. 846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3632. 1721 .loc 1 846 6 view .LVU639
  3633. 1722 00dc 3342 tst r3, r6
  3634. 1723 00de 55D0 beq .L105
  3635. 848:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3636. 1724 .loc 1 848 5 is_stmt 1 view .LVU640
  3637. 848:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3638. 1725 .loc 1 848 8 is_stmt 0 view .LVU641
  3639. 1726 00e0 2268 ldr r2, [r4]
  3640. 1727 00e2 1268 ldr r2, [r2]
  3641. 848:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3642. 1728 .loc 1 848 7 view .LVU642
  3643. 1729 00e4 12F0100F tst r2, #16
  3644. 1730 00e8 50D0 beq .L105
  3645. 851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3646. 1731 .loc 1 851 7 is_stmt 1 view .LVU643
  3647. 851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3648. 1732 .loc 1 851 18 is_stmt 0 view .LVU644
  3649. 1733 00ea BB60 str r3, [r7, #8]
  3650. 853:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3651. 1734 .loc 1 853 7 is_stmt 1 view .LVU645
  3652. 853:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3653. 1735 .loc 1 853 37 is_stmt 0 view .LVU646
  3654. 1736 00ec 94F83530 ldrb r3, [r4, #53] @ zero_extendqisi2
  3655. ARM GAS /tmp/cc2d5rNl.s page 64
  3656. 1737 00f0 DBB2 uxtb r3, r3
  3657. 853:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3658. 1738 .loc 1 853 9 view .LVU647
  3659. 1739 00f2 052B cmp r3, #5
  3660. 1740 00f4 0ED0 beq .L118
  3661. 880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3662. 1741 .loc 1 880 7 is_stmt 1 view .LVU648
  3663. 880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3664. 1742 .loc 1 880 16 is_stmt 0 view .LVU649
  3665. 1743 00f6 2368 ldr r3, [r4]
  3666. 880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3667. 1744 .loc 1 880 26 view .LVU650
  3668. 1745 00f8 1A68 ldr r2, [r3]
  3669. 880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3670. 1746 .loc 1 880 9 view .LVU651
  3671. 1747 00fa 12F4802F tst r2, #262144
  3672. 1748 00fe 33D0 beq .L111
  3673. 883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3674. 1749 .loc 1 883 9 is_stmt 1 view .LVU652
  3675. 883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3676. 1750 .loc 1 883 27 is_stmt 0 view .LVU653
  3677. 1751 0100 1B68 ldr r3, [r3]
  3678. 883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3679. 1752 .loc 1 883 11 view .LVU654
  3680. 1753 0102 13F4002F tst r3, #524288
  3681. 1754 0106 2AD1 bne .L112
  3682. 885:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3683. 1755 .loc 1 885 11 is_stmt 1 view .LVU655
  3684. 885:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3685. 1756 .loc 1 885 18 is_stmt 0 view .LVU656
  3686. 1757 0108 636C ldr r3, [r4, #68]
  3687. 885:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3688. 1758 .loc 1 885 13 view .LVU657
  3689. 1759 010a 002B cmp r3, #0
  3690. 1760 010c 3ED0 beq .L105
  3691. 888:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3692. 1761 .loc 1 888 13 is_stmt 1 view .LVU658
  3693. 1762 010e 2046 mov r0, r4
  3694. 1763 0110 9847 blx r3
  3695. 1764 .LVL135:
  3696. 1765 0112 3BE0 b .L105
  3697. 1766 .L118:
  3698. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->FCR &= ~(DMA_IT_FE);
  3699. 1767 .loc 1 856 9 view .LVU659
  3700. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->FCR &= ~(DMA_IT_FE);
  3701. 1768 .loc 1 856 13 is_stmt 0 view .LVU660
  3702. 1769 0114 2268 ldr r2, [r4]
  3703. 856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->Instance->FCR &= ~(DMA_IT_FE);
  3704. 1770 .loc 1 856 29 view .LVU661
  3705. 1771 0116 1368 ldr r3, [r2]
  3706. 1772 0118 23F01603 bic r3, r3, #22
  3707. 1773 011c 1360 str r3, [r2]
  3708. 857:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3709. 1774 .loc 1 857 9 is_stmt 1 view .LVU662
  3710. 857:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3711. 1775 .loc 1 857 13 is_stmt 0 view .LVU663
  3712. 1776 011e 2268 ldr r2, [r4]
  3713. ARM GAS /tmp/cc2d5rNl.s page 65
  3714. 857:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3715. 1777 .loc 1 857 29 view .LVU664
  3716. 1778 0120 5369 ldr r3, [r2, #20]
  3717. 1779 0122 23F08003 bic r3, r3, #128
  3718. 1780 0126 5361 str r3, [r2, #20]
  3719. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3720. 1781 .loc 1 859 9 is_stmt 1 view .LVU665
  3721. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3722. 1782 .loc 1 859 17 is_stmt 0 view .LVU666
  3723. 1783 0128 236C ldr r3, [r4, #64]
  3724. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3725. 1784 .loc 1 859 11 view .LVU667
  3726. 1785 012a A3B1 cbz r3, .L119
  3727. 1786 .L107:
  3728. 861:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3729. 1787 .loc 1 861 11 is_stmt 1 view .LVU668
  3730. 861:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3731. 1788 .loc 1 861 15 is_stmt 0 view .LVU669
  3732. 1789 012c 2268 ldr r2, [r4]
  3733. 861:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3734. 1790 .loc 1 861 31 view .LVU670
  3735. 1791 012e 1368 ldr r3, [r2]
  3736. 1792 0130 23F00803 bic r3, r3, #8
  3737. 1793 0134 1360 str r3, [r2]
  3738. 1794 .L108:
  3739. 865:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3740. 1795 .loc 1 865 9 is_stmt 1 view .LVU671
  3741. 865:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3742. 1796 .loc 1 865 35 is_stmt 0 view .LVU672
  3743. 1797 0136 E26D ldr r2, [r4, #92]
  3744. 865:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3745. 1798 .loc 1 865 28 view .LVU673
  3746. 1799 0138 3F23 movs r3, #63
  3747. 1800 013a 9340 lsls r3, r3, r2
  3748. 865:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3749. 1801 .loc 1 865 20 view .LVU674
  3750. 1802 013c BB60 str r3, [r7, #8]
  3751. 868:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3752. 1803 .loc 1 868 9 is_stmt 1 view .LVU675
  3753. 868:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3754. 1804 .loc 1 868 9 view .LVU676
  3755. 1805 013e 0023 movs r3, #0
  3756. 1806 0140 84F83430 strb r3, [r4, #52]
  3757. 868:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3758. 1807 .loc 1 868 9 view .LVU677
  3759. 871:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3760. 1808 .loc 1 871 9 view .LVU678
  3761. 871:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3762. 1809 .loc 1 871 21 is_stmt 0 view .LVU679
  3763. 1810 0144 0123 movs r3, #1
  3764. 1811 0146 84F83530 strb r3, [r4, #53]
  3765. 873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3766. 1812 .loc 1 873 9 is_stmt 1 view .LVU680
  3767. 873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3768. 1813 .loc 1 873 16 is_stmt 0 view .LVU681
  3769. 1814 014a 236D ldr r3, [r4, #80]
  3770. 873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3771. ARM GAS /tmp/cc2d5rNl.s page 66
  3772. 1815 .loc 1 873 11 view .LVU682
  3773. 1816 014c 002B cmp r3, #0
  3774. 1817 014e 3FD0 beq .L97
  3775. 875:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3776. 1818 .loc 1 875 11 is_stmt 1 view .LVU683
  3777. 1819 0150 2046 mov r0, r4
  3778. 1820 0152 9847 blx r3
  3779. 1821 .LVL136:
  3780. 877:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3781. 1822 .loc 1 877 9 view .LVU684
  3782. 1823 0154 3CE0 b .L97
  3783. 1824 .L119:
  3784. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3785. 1825 .loc 1 859 57 is_stmt 0 discriminator 1 view .LVU685
  3786. 1826 0156 A36C ldr r3, [r4, #72]
  3787. 859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3788. 1827 .loc 1 859 49 discriminator 1 view .LVU686
  3789. 1828 0158 002B cmp r3, #0
  3790. 1829 015a E7D1 bne .L107
  3791. 1830 015c EBE7 b .L108
  3792. 1831 .L112:
  3793. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3794. 1832 .loc 1 894 11 is_stmt 1 view .LVU687
  3795. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3796. 1833 .loc 1 894 18 is_stmt 0 view .LVU688
  3797. 1834 015e E36B ldr r3, [r4, #60]
  3798. 894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3799. 1835 .loc 1 894 13 view .LVU689
  3800. 1836 0160 A3B1 cbz r3, .L105
  3801. 897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3802. 1837 .loc 1 897 13 is_stmt 1 view .LVU690
  3803. 1838 0162 2046 mov r0, r4
  3804. 1839 0164 9847 blx r3
  3805. 1840 .LVL137:
  3806. 1841 0166 11E0 b .L105
  3807. 1842 .L111:
  3808. 904:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3809. 1843 .loc 1 904 9 view .LVU691
  3810. 904:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3811. 1844 .loc 1 904 27 is_stmt 0 view .LVU692
  3812. 1845 0168 1A68 ldr r2, [r3]
  3813. 904:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3814. 1846 .loc 1 904 11 view .LVU693
  3815. 1847 016a 12F4807F tst r2, #256
  3816. 1848 016e 09D1 bne .L113
  3817. 907:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3818. 1849 .loc 1 907 11 is_stmt 1 view .LVU694
  3819. 907:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3820. 1850 .loc 1 907 31 is_stmt 0 view .LVU695
  3821. 1851 0170 1A68 ldr r2, [r3]
  3822. 1852 0172 22F01002 bic r2, r2, #16
  3823. 1853 0176 1A60 str r2, [r3]
  3824. 910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3825. 1854 .loc 1 910 11 is_stmt 1 view .LVU696
  3826. 910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3827. 1855 .loc 1 910 11 view .LVU697
  3828. 1856 0178 0023 movs r3, #0
  3829. ARM GAS /tmp/cc2d5rNl.s page 67
  3830. 1857 017a 84F83430 strb r3, [r4, #52]
  3831. 910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3832. 1858 .loc 1 910 11 view .LVU698
  3833. 913:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3834. 1859 .loc 1 913 11 view .LVU699
  3835. 913:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3836. 1860 .loc 1 913 23 is_stmt 0 view .LVU700
  3837. 1861 017e 0123 movs r3, #1
  3838. 1862 0180 84F83530 strb r3, [r4, #53]
  3839. 1863 .L113:
  3840. 916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3841. 1864 .loc 1 916 9 is_stmt 1 view .LVU701
  3842. 916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3843. 1865 .loc 1 916 16 is_stmt 0 view .LVU702
  3844. 1866 0184 E36B ldr r3, [r4, #60]
  3845. 916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3846. 1867 .loc 1 916 11 view .LVU703
  3847. 1868 0186 0BB1 cbz r3, .L105
  3848. 919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3849. 1869 .loc 1 919 11 is_stmt 1 view .LVU704
  3850. 1870 0188 2046 mov r0, r4
  3851. 1871 018a 9847 blx r3
  3852. 1872 .LVL138:
  3853. 1873 .L105:
  3854. 926:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3855. 1874 .loc 1 926 3 view .LVU705
  3856. 926:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3857. 1875 .loc 1 926 10 is_stmt 0 view .LVU706
  3858. 1876 018c 636D ldr r3, [r4, #84]
  3859. 926:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3860. 1877 .loc 1 926 5 view .LVU707
  3861. 1878 018e FBB1 cbz r3, .L97
  3862. 928:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3863. 1879 .loc 1 928 5 is_stmt 1 view .LVU708
  3864. 928:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3865. 1880 .loc 1 928 13 is_stmt 0 view .LVU709
  3866. 1881 0190 636D ldr r3, [r4, #84]
  3867. 928:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3868. 1882 .loc 1 928 7 view .LVU710
  3869. 1883 0192 13F0010F tst r3, #1
  3870. 1884 0196 17D0 beq .L114
  3871. 930:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3872. 1885 .loc 1 930 7 is_stmt 1 view .LVU711
  3873. 930:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3874. 1886 .loc 1 930 19 is_stmt 0 view .LVU712
  3875. 1887 0198 0523 movs r3, #5
  3876. 1888 019a 84F83530 strb r3, [r4, #53]
  3877. 933:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3878. 1889 .loc 1 933 7 is_stmt 1 view .LVU713
  3879. 1890 019e 2268 ldr r2, [r4]
  3880. 1891 01a0 1368 ldr r3, [r2]
  3881. 1892 01a2 23F00103 bic r3, r3, #1
  3882. 1893 01a6 1360 str r3, [r2]
  3883. 1894 .L116:
  3884. 935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3885. 1895 .loc 1 935 7 view .LVU714
  3886. 937:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3887. ARM GAS /tmp/cc2d5rNl.s page 68
  3888. 1896 .loc 1 937 9 view .LVU715
  3889. 937:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3890. 1897 .loc 1 937 13 is_stmt 0 view .LVU716
  3891. 1898 01a8 019B ldr r3, [sp, #4]
  3892. 1899 01aa 0133 adds r3, r3, #1
  3893. 937:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3894. 1900 .loc 1 937 12 view .LVU717
  3895. 1901 01ac 0193 str r3, [sp, #4]
  3896. 1902 01ae AB42 cmp r3, r5
  3897. 1903 01b0 04D8 bhi .L115
  3898. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3899. 1904 .loc 1 942 12 is_stmt 1 view .LVU718
  3900. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3901. 1905 .loc 1 942 18 is_stmt 0 view .LVU719
  3902. 1906 01b2 2368 ldr r3, [r4]
  3903. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3904. 1907 .loc 1 942 28 view .LVU720
  3905. 1908 01b4 1B68 ldr r3, [r3]
  3906. 942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3907. 1909 .loc 1 942 7 view .LVU721
  3908. 1910 01b6 13F0010F tst r3, #1
  3909. 1911 01ba F5D1 bne .L116
  3910. 1912 .L115:
  3911. 945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3912. 1913 .loc 1 945 7 is_stmt 1 view .LVU722
  3913. 945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3914. 1914 .loc 1 945 7 view .LVU723
  3915. 1915 01bc 0023 movs r3, #0
  3916. 1916 01be 84F83430 strb r3, [r4, #52]
  3917. 945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3918. 1917 .loc 1 945 7 view .LVU724
  3919. 948:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3920. 1918 .loc 1 948 7 view .LVU725
  3921. 948:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3922. 1919 .loc 1 948 19 is_stmt 0 view .LVU726
  3923. 1920 01c2 0123 movs r3, #1
  3924. 1921 01c4 84F83530 strb r3, [r4, #53]
  3925. 1922 .L114:
  3926. 951:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3927. 1923 .loc 1 951 5 is_stmt 1 view .LVU727
  3928. 951:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3929. 1924 .loc 1 951 12 is_stmt 0 view .LVU728
  3930. 1925 01c8 E36C ldr r3, [r4, #76]
  3931. 951:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3932. 1926 .loc 1 951 7 view .LVU729
  3933. 1927 01ca 0BB1 cbz r3, .L97
  3934. 954:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  3935. 1928 .loc 1 954 7 is_stmt 1 view .LVU730
  3936. 1929 01cc 2046 mov r0, r4
  3937. 1930 01ce 9847 blx r3
  3938. 1931 .LVL139:
  3939. 1932 .L97:
  3940. 957:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3941. 1933 .loc 1 957 1 is_stmt 0 view .LVU731
  3942. 1934 01d0 03B0 add sp, sp, #12
  3943. 1935 .LCFI15:
  3944. 1936 .cfi_def_cfa_offset 20
  3945. ARM GAS /tmp/cc2d5rNl.s page 69
  3946. 1937 @ sp needed
  3947. 1938 01d2 F0BD pop {r4, r5, r6, r7, pc}
  3948. 1939 .LVL140:
  3949. 1940 .L121:
  3950. 957:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3951. 1941 .loc 1 957 1 view .LVU732
  3952. 1942 .align 2
  3953. 1943 .L120:
  3954. 1944 01d4 00000000 .word SystemCoreClock
  3955. 1945 01d8 B5814E1B .word 458129845
  3956. 1946 .cfi_endproc
  3957. 1947 .LFE137:
  3958. 1949 .section .text.HAL_DMA_RegisterCallback,"ax",%progbits
  3959. 1950 .align 1
  3960. 1951 .global HAL_DMA_RegisterCallback
  3961. 1952 .syntax unified
  3962. 1953 .thumb
  3963. 1954 .thumb_func
  3964. 1956 HAL_DMA_RegisterCallback:
  3965. 1957 .LVL141:
  3966. 1958 .LFB138:
  3967. 970:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3968. 1959 .loc 1 970 1 is_stmt 1 view -0
  3969. 1960 .cfi_startproc
  3970. 1961 @ args = 0, pretend = 0, frame = 0
  3971. 1962 @ frame_needed = 0, uses_anonymous_args = 0
  3972. 1963 @ link register save eliminated.
  3973. 970:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3974. 1964 .loc 1 970 1 is_stmt 0 view .LVU734
  3975. 1965 0000 0346 mov r3, r0
  3976. 972:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3977. 1966 .loc 1 972 3 is_stmt 1 view .LVU735
  3978. 1967 .LVL142:
  3979. 975:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3980. 1968 .loc 1 975 3 view .LVU736
  3981. 975:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3982. 1969 .loc 1 975 3 view .LVU737
  3983. 1970 0002 90F83400 ldrb r0, [r0, #52] @ zero_extendqisi2
  3984. 1971 .LVL143:
  3985. 975:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3986. 1972 .loc 1 975 3 is_stmt 0 view .LVU738
  3987. 1973 0006 0128 cmp r0, #1
  3988. 1974 0008 27D0 beq .L132
  3989. 975:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3990. 1975 .loc 1 975 3 is_stmt 1 discriminator 2 view .LVU739
  3991. 1976 000a 0120 movs r0, #1
  3992. 1977 000c 83F83400 strb r0, [r3, #52]
  3993. 975:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  3994. 1978 .loc 1 975 3 discriminator 2 view .LVU740
  3995. 977:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3996. 1979 .loc 1 977 3 discriminator 2 view .LVU741
  3997. 977:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  3998. 1980 .loc 1 977 33 is_stmt 0 discriminator 2 view .LVU742
  3999. 1981 0010 93F83500 ldrb r0, [r3, #53] @ zero_extendqisi2
  4000. 1982 0014 C0B2 uxtb r0, r0
  4001. 977:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  4002. 1983 .loc 1 977 5 discriminator 2 view .LVU743
  4003. ARM GAS /tmp/cc2d5rNl.s page 70
  4004. 1984 0016 0128 cmp r0, #1
  4005. 1985 0018 04D0 beq .L135
  4006. 1012:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  4007. 1986 .loc 1 1012 12 view .LVU744
  4008. 1987 001a 0120 movs r0, #1
  4009. 1988 .L124:
  4010. 1989 .LVL144:
  4011. 1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4012. 1990 .loc 1 1016 3 is_stmt 1 view .LVU745
  4013. 1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4014. 1991 .loc 1 1016 3 view .LVU746
  4015. 1992 001c 0022 movs r2, #0
  4016. 1993 .LVL145:
  4017. 1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4018. 1994 .loc 1 1016 3 is_stmt 0 view .LVU747
  4019. 1995 001e 83F83420 strb r2, [r3, #52]
  4020. 1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4021. 1996 .loc 1 1016 3 is_stmt 1 view .LVU748
  4022. 1018:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  4023. 1997 .loc 1 1018 3 view .LVU749
  4024. 1018:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  4025. 1998 .loc 1 1018 10 is_stmt 0 view .LVU750
  4026. 1999 0022 7047 bx lr
  4027. 2000 .LVL146:
  4028. 2001 .L135:
  4029. 979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  4030. 2002 .loc 1 979 5 is_stmt 1 view .LVU751
  4031. 2003 0024 0529 cmp r1, #5
  4032. 2004 0026 16D8 bhi .L134
  4033. 2005 0028 DFE801F0 tbb [pc, r1]
  4034. 2006 .L126:
  4035. 2007 002c 03 .byte (.L131-.L126)/2
  4036. 2008 002d 06 .byte (.L130-.L126)/2
  4037. 2009 002e 09 .byte (.L129-.L126)/2
  4038. 2010 002f 0C .byte (.L128-.L126)/2
  4039. 2011 0030 0F .byte (.L127-.L126)/2
  4040. 2012 0031 12 .byte (.L125-.L126)/2
  4041. 2013 .p2align 1
  4042. 2014 .L131:
  4043. 982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4044. 2015 .loc 1 982 7 view .LVU752
  4045. 982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4046. 2016 .loc 1 982 30 is_stmt 0 view .LVU753
  4047. 2017 0032 DA63 str r2, [r3, #60]
  4048. 983:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4049. 2018 .loc 1 983 7 is_stmt 1 view .LVU754
  4050. 972:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4051. 2019 .loc 1 972 21 is_stmt 0 view .LVU755
  4052. 2020 0034 0846 mov r0, r1
  4053. 983:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4054. 2021 .loc 1 983 7 view .LVU756
  4055. 2022 0036 F1E7 b .L124
  4056. 2023 .L130:
  4057. 986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4058. 2024 .loc 1 986 7 is_stmt 1 view .LVU757
  4059. 986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4060. 2025 .loc 1 986 34 is_stmt 0 view .LVU758
  4061. ARM GAS /tmp/cc2d5rNl.s page 71
  4062. 2026 0038 1A64 str r2, [r3, #64]
  4063. 987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4064. 2027 .loc 1 987 7 is_stmt 1 view .LVU759
  4065. 972:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4066. 2028 .loc 1 972 21 is_stmt 0 view .LVU760
  4067. 2029 003a 0020 movs r0, #0
  4068. 987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4069. 2030 .loc 1 987 7 view .LVU761
  4070. 2031 003c EEE7 b .L124
  4071. 2032 .L129:
  4072. 990:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4073. 2033 .loc 1 990 7 is_stmt 1 view .LVU762
  4074. 990:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4075. 2034 .loc 1 990 32 is_stmt 0 view .LVU763
  4076. 2035 003e 5A64 str r2, [r3, #68]
  4077. 991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4078. 2036 .loc 1 991 7 is_stmt 1 view .LVU764
  4079. 972:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4080. 2037 .loc 1 972 21 is_stmt 0 view .LVU765
  4081. 2038 0040 0020 movs r0, #0
  4082. 991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4083. 2039 .loc 1 991 7 view .LVU766
  4084. 2040 0042 EBE7 b .L124
  4085. 2041 .L128:
  4086. 994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4087. 2042 .loc 1 994 7 is_stmt 1 view .LVU767
  4088. 994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4089. 2043 .loc 1 994 36 is_stmt 0 view .LVU768
  4090. 2044 0044 9A64 str r2, [r3, #72]
  4091. 995:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4092. 2045 .loc 1 995 7 is_stmt 1 view .LVU769
  4093. 972:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4094. 2046 .loc 1 972 21 is_stmt 0 view .LVU770
  4095. 2047 0046 0020 movs r0, #0
  4096. 995:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4097. 2048 .loc 1 995 7 view .LVU771
  4098. 2049 0048 E8E7 b .L124
  4099. 2050 .L127:
  4100. 998:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4101. 2051 .loc 1 998 7 is_stmt 1 view .LVU772
  4102. 998:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4103. 2052 .loc 1 998 31 is_stmt 0 view .LVU773
  4104. 2053 004a DA64 str r2, [r3, #76]
  4105. 999:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4106. 2054 .loc 1 999 7 is_stmt 1 view .LVU774
  4107. 972:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4108. 2055 .loc 1 972 21 is_stmt 0 view .LVU775
  4109. 2056 004c 0020 movs r0, #0
  4110. 999:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4111. 2057 .loc 1 999 7 view .LVU776
  4112. 2058 004e E5E7 b .L124
  4113. 2059 .L125:
  4114. 1002:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4115. 2060 .loc 1 1002 7 is_stmt 1 view .LVU777
  4116. 1002:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4117. 2061 .loc 1 1002 31 is_stmt 0 view .LVU778
  4118. 2062 0050 1A65 str r2, [r3, #80]
  4119. ARM GAS /tmp/cc2d5rNl.s page 72
  4120. 1003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4121. 2063 .loc 1 1003 7 is_stmt 1 view .LVU779
  4122. 972:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4123. 2064 .loc 1 972 21 is_stmt 0 view .LVU780
  4124. 2065 0052 0020 movs r0, #0
  4125. 1003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4126. 2066 .loc 1 1003 7 view .LVU781
  4127. 2067 0054 E2E7 b .L124
  4128. 2068 .L134:
  4129. 979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  4130. 2069 .loc 1 979 5 view .LVU782
  4131. 2070 0056 0020 movs r0, #0
  4132. 2071 0058 E0E7 b .L124
  4133. 2072 .L132:
  4134. 975:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4135. 2073 .loc 1 975 3 view .LVU783
  4136. 2074 005a 0220 movs r0, #2
  4137. 1019:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4138. 2075 .loc 1 1019 1 view .LVU784
  4139. 2076 005c 7047 bx lr
  4140. 2077 .cfi_endproc
  4141. 2078 .LFE138:
  4142. 2080 .section .text.HAL_DMA_UnRegisterCallback,"ax",%progbits
  4143. 2081 .align 1
  4144. 2082 .global HAL_DMA_UnRegisterCallback
  4145. 2083 .syntax unified
  4146. 2084 .thumb
  4147. 2085 .thumb_func
  4148. 2087 HAL_DMA_UnRegisterCallback:
  4149. 2088 .LVL147:
  4150. 2089 .LFB139:
  4151. 1030:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  4152. 2090 .loc 1 1030 1 is_stmt 1 view -0
  4153. 2091 .cfi_startproc
  4154. 2092 @ args = 0, pretend = 0, frame = 0
  4155. 2093 @ frame_needed = 0, uses_anonymous_args = 0
  4156. 2094 @ link register save eliminated.
  4157. 1030:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  4158. 2095 .loc 1 1030 1 is_stmt 0 view .LVU786
  4159. 2096 0000 0346 mov r3, r0
  4160. 1031:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4161. 2097 .loc 1 1031 3 is_stmt 1 view .LVU787
  4162. 2098 .LVL148:
  4163. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4164. 2099 .loc 1 1034 3 view .LVU788
  4165. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4166. 2100 .loc 1 1034 3 view .LVU789
  4167. 2101 0002 90F83420 ldrb r2, [r0, #52] @ zero_extendqisi2
  4168. 2102 0006 012A cmp r2, #1
  4169. 2103 0008 2FD0 beq .L147
  4170. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4171. 2104 .loc 1 1034 3 discriminator 2 view .LVU790
  4172. 2105 000a 0122 movs r2, #1
  4173. 2106 000c 80F83420 strb r2, [r0, #52]
  4174. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4175. 2107 .loc 1 1034 3 discriminator 2 view .LVU791
  4176. 1036:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  4177. ARM GAS /tmp/cc2d5rNl.s page 73
  4178. 2108 .loc 1 1036 3 discriminator 2 view .LVU792
  4179. 1036:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  4180. 2109 .loc 1 1036 33 is_stmt 0 discriminator 2 view .LVU793
  4181. 2110 0010 90F83500 ldrb r0, [r0, #53] @ zero_extendqisi2
  4182. 2111 .LVL149:
  4183. 1036:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  4184. 2112 .loc 1 1036 33 discriminator 2 view .LVU794
  4185. 2113 0014 C0B2 uxtb r0, r0
  4186. 1036:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  4187. 2114 .loc 1 1036 5 discriminator 2 view .LVU795
  4188. 2115 0016 9042 cmp r0, r2
  4189. 2116 0018 04D0 beq .L149
  4190. 1080:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  4191. 2117 .loc 1 1080 12 view .LVU796
  4192. 2118 001a 0120 movs r0, #1
  4193. 2119 .L138:
  4194. 2120 .LVL150:
  4195. 1084:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4196. 2121 .loc 1 1084 3 is_stmt 1 view .LVU797
  4197. 1084:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4198. 2122 .loc 1 1084 3 view .LVU798
  4199. 2123 001c 0022 movs r2, #0
  4200. 2124 001e 83F83420 strb r2, [r3, #52]
  4201. 1084:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4202. 2125 .loc 1 1084 3 view .LVU799
  4203. 1086:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  4204. 2126 .loc 1 1086 3 view .LVU800
  4205. 1086:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  4206. 2127 .loc 1 1086 10 is_stmt 0 view .LVU801
  4207. 2128 0022 7047 bx lr
  4208. 2129 .LVL151:
  4209. 2130 .L149:
  4210. 1038:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** {
  4211. 2131 .loc 1 1038 5 is_stmt 1 view .LVU802
  4212. 2132 0024 0629 cmp r1, #6
  4213. 2133 0026 F9D8 bhi .L138
  4214. 2134 0028 DFE801F0 tbb [pc, r1]
  4215. 2135 .L140:
  4216. 2136 002c 04 .byte (.L146-.L140)/2
  4217. 2137 002d 08 .byte (.L145-.L140)/2
  4218. 2138 002e 0B .byte (.L144-.L140)/2
  4219. 2139 002f 0E .byte (.L143-.L140)/2
  4220. 2140 0030 11 .byte (.L142-.L140)/2
  4221. 2141 0031 14 .byte (.L141-.L140)/2
  4222. 2142 0032 17 .byte (.L139-.L140)/2
  4223. 2143 0033 00 .p2align 1
  4224. 2144 .L146:
  4225. 1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4226. 2145 .loc 1 1041 7 view .LVU803
  4227. 1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4228. 2146 .loc 1 1041 30 is_stmt 0 view .LVU804
  4229. 2147 0034 0022 movs r2, #0
  4230. 2148 0036 DA63 str r2, [r3, #60]
  4231. 1042:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4232. 2149 .loc 1 1042 7 is_stmt 1 view .LVU805
  4233. 1031:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4234. 2150 .loc 1 1031 21 is_stmt 0 view .LVU806
  4235. ARM GAS /tmp/cc2d5rNl.s page 74
  4236. 2151 0038 0846 mov r0, r1
  4237. 1042:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4238. 2152 .loc 1 1042 7 view .LVU807
  4239. 2153 003a EFE7 b .L138
  4240. 2154 .L145:
  4241. 1045:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4242. 2155 .loc 1 1045 7 is_stmt 1 view .LVU808
  4243. 1045:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4244. 2156 .loc 1 1045 34 is_stmt 0 view .LVU809
  4245. 2157 003c 0020 movs r0, #0
  4246. 2158 003e 1864 str r0, [r3, #64]
  4247. 1046:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4248. 2159 .loc 1 1046 7 is_stmt 1 view .LVU810
  4249. 2160 0040 ECE7 b .L138
  4250. 2161 .L144:
  4251. 1049:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4252. 2162 .loc 1 1049 7 view .LVU811
  4253. 1049:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4254. 2163 .loc 1 1049 32 is_stmt 0 view .LVU812
  4255. 2164 0042 0020 movs r0, #0
  4256. 2165 0044 5864 str r0, [r3, #68]
  4257. 1050:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4258. 2166 .loc 1 1050 7 is_stmt 1 view .LVU813
  4259. 2167 0046 E9E7 b .L138
  4260. 2168 .L143:
  4261. 1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4262. 2169 .loc 1 1053 7 view .LVU814
  4263. 1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4264. 2170 .loc 1 1053 36 is_stmt 0 view .LVU815
  4265. 2171 0048 0020 movs r0, #0
  4266. 2172 004a 9864 str r0, [r3, #72]
  4267. 1054:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4268. 2173 .loc 1 1054 7 is_stmt 1 view .LVU816
  4269. 2174 004c E6E7 b .L138
  4270. 2175 .L142:
  4271. 1057:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4272. 2176 .loc 1 1057 7 view .LVU817
  4273. 1057:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4274. 2177 .loc 1 1057 31 is_stmt 0 view .LVU818
  4275. 2178 004e 0020 movs r0, #0
  4276. 2179 0050 D864 str r0, [r3, #76]
  4277. 1058:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4278. 2180 .loc 1 1058 7 is_stmt 1 view .LVU819
  4279. 2181 0052 E3E7 b .L138
  4280. 2182 .L141:
  4281. 1061:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4282. 2183 .loc 1 1061 7 view .LVU820
  4283. 1061:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4284. 2184 .loc 1 1061 31 is_stmt 0 view .LVU821
  4285. 2185 0054 0020 movs r0, #0
  4286. 2186 0056 1865 str r0, [r3, #80]
  4287. 1062:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4288. 2187 .loc 1 1062 7 is_stmt 1 view .LVU822
  4289. 2188 0058 E0E7 b .L138
  4290. 2189 .L139:
  4291. 1065:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  4292. 2190 .loc 1 1065 7 view .LVU823
  4293. ARM GAS /tmp/cc2d5rNl.s page 75
  4294. 1065:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  4295. 2191 .loc 1 1065 30 is_stmt 0 view .LVU824
  4296. 2192 005a 0020 movs r0, #0
  4297. 2193 005c D863 str r0, [r3, #60]
  4298. 1066:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1CpltCallback = NULL;
  4299. 2194 .loc 1 1066 7 is_stmt 1 view .LVU825
  4300. 1066:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1CpltCallback = NULL;
  4301. 2195 .loc 1 1066 34 is_stmt 0 view .LVU826
  4302. 2196 005e 1864 str r0, [r3, #64]
  4303. 1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1HalfCpltCallback = NULL;
  4304. 2197 .loc 1 1067 7 is_stmt 1 view .LVU827
  4305. 1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferM1HalfCpltCallback = NULL;
  4306. 2198 .loc 1 1067 32 is_stmt 0 view .LVU828
  4307. 2199 0060 5864 str r0, [r3, #68]
  4308. 1068:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  4309. 2200 .loc 1 1068 7 is_stmt 1 view .LVU829
  4310. 1068:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  4311. 2201 .loc 1 1068 36 is_stmt 0 view .LVU830
  4312. 2202 0062 9864 str r0, [r3, #72]
  4313. 1069:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  4314. 2203 .loc 1 1069 7 is_stmt 1 view .LVU831
  4315. 1069:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  4316. 2204 .loc 1 1069 31 is_stmt 0 view .LVU832
  4317. 2205 0064 D864 str r0, [r3, #76]
  4318. 1070:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4319. 2206 .loc 1 1070 7 is_stmt 1 view .LVU833
  4320. 1070:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** break;
  4321. 2207 .loc 1 1070 31 is_stmt 0 view .LVU834
  4322. 2208 0066 1865 str r0, [r3, #80]
  4323. 1071:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4324. 2209 .loc 1 1071 7 is_stmt 1 view .LVU835
  4325. 2210 0068 D8E7 b .L138
  4326. 2211 .LVL152:
  4327. 2212 .L147:
  4328. 1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4329. 2213 .loc 1 1034 3 is_stmt 0 view .LVU836
  4330. 2214 006a 0220 movs r0, #2
  4331. 2215 .LVL153:
  4332. 1087:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4333. 2216 .loc 1 1087 1 view .LVU837
  4334. 2217 006c 7047 bx lr
  4335. 2218 .cfi_endproc
  4336. 2219 .LFE139:
  4337. 2221 .section .text.HAL_DMA_GetState,"ax",%progbits
  4338. 2222 .align 1
  4339. 2223 .global HAL_DMA_GetState
  4340. 2224 .syntax unified
  4341. 2225 .thumb
  4342. 2226 .thumb_func
  4343. 2228 HAL_DMA_GetState:
  4344. 2229 .LVL154:
  4345. 2230 .LFB140:
  4346. 1115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return hdma->State;
  4347. 2231 .loc 1 1115 1 is_stmt 1 view -0
  4348. 2232 .cfi_startproc
  4349. 2233 @ args = 0, pretend = 0, frame = 0
  4350. 2234 @ frame_needed = 0, uses_anonymous_args = 0
  4351. ARM GAS /tmp/cc2d5rNl.s page 76
  4352. 2235 @ link register save eliminated.
  4353. 1116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  4354. 2236 .loc 1 1116 3 view .LVU839
  4355. 1116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  4356. 2237 .loc 1 1116 14 is_stmt 0 view .LVU840
  4357. 2238 0000 90F83500 ldrb r0, [r0, #53] @ zero_extendqisi2
  4358. 2239 .LVL155:
  4359. 1117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4360. 2240 .loc 1 1117 1 view .LVU841
  4361. 2241 0004 7047 bx lr
  4362. 2242 .cfi_endproc
  4363. 2243 .LFE140:
  4364. 2245 .section .text.HAL_DMA_GetError,"ax",%progbits
  4365. 2246 .align 1
  4366. 2247 .global HAL_DMA_GetError
  4367. 2248 .syntax unified
  4368. 2249 .thumb
  4369. 2250 .thumb_func
  4370. 2252 HAL_DMA_GetError:
  4371. 2253 .LVL156:
  4372. 2254 .LFB141:
  4373. 1126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** return hdma->ErrorCode;
  4374. 2255 .loc 1 1126 1 is_stmt 1 view -0
  4375. 2256 .cfi_startproc
  4376. 2257 @ args = 0, pretend = 0, frame = 0
  4377. 2258 @ frame_needed = 0, uses_anonymous_args = 0
  4378. 2259 @ link register save eliminated.
  4379. 1127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  4380. 2260 .loc 1 1127 3 view .LVU843
  4381. 1127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c **** }
  4382. 2261 .loc 1 1127 14 is_stmt 0 view .LVU844
  4383. 2262 0000 406D ldr r0, [r0, #84]
  4384. 2263 .LVL157:
  4385. 1128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c ****
  4386. 2264 .loc 1 1128 1 view .LVU845
  4387. 2265 0002 7047 bx lr
  4388. 2266 .cfi_endproc
  4389. 2267 .LFE141:
  4390. 2269 .section .rodata.flagBitshiftOffset.0,"a"
  4391. 2270 .align 2
  4392. 2271 .set .LANCHOR0,. + 0
  4393. 2274 flagBitshiftOffset.0:
  4394. 2275 0000 00061016 .ascii "\000\006\020\026\000\006\020\026"
  4395. 2275 00061016
  4396. 2276 .text
  4397. 2277 .Letext0:
  4398. 2278 .file 2 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
  4399. 2279 .file 3 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
  4400. 2280 .file 4 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h"
  4401. 2281 .file 5 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
  4402. 2282 .file 6 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h"
  4403. 2283 .file 7 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h"
  4404. 2284 .file 8 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h"
  4405. 2285 .file 9 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h"
  4406. ARM GAS /tmp/cc2d5rNl.s page 77
  4407. DEFINED SYMBOLS
  4408. *ABS*:0000000000000000 stm32f4xx_hal_dma.c
  4409. /tmp/cc2d5rNl.s:20 .text.DMA_SetConfig:0000000000000000 $t
  4410. /tmp/cc2d5rNl.s:25 .text.DMA_SetConfig:0000000000000000 DMA_SetConfig
  4411. /tmp/cc2d5rNl.s:99 .text.DMA_CalcBaseAndBitshift:0000000000000000 $t
  4412. /tmp/cc2d5rNl.s:104 .text.DMA_CalcBaseAndBitshift:0000000000000000 DMA_CalcBaseAndBitshift
  4413. /tmp/cc2d5rNl.s:175 .text.DMA_CalcBaseAndBitshift:000000000000003c $d
  4414. /tmp/cc2d5rNl.s:181 .text.DMA_CheckFifoParam:0000000000000000 $t
  4415. /tmp/cc2d5rNl.s:186 .text.DMA_CheckFifoParam:0000000000000000 DMA_CheckFifoParam
  4416. /tmp/cc2d5rNl.s:272 .text.DMA_CheckFifoParam:000000000000004e $d
  4417. /tmp/cc2d5rNl.s:276 .text.DMA_CheckFifoParam:0000000000000052 $t
  4418. /tmp/cc2d5rNl.s:371 .text.HAL_DMA_Init:0000000000000000 $t
  4419. /tmp/cc2d5rNl.s:377 .text.HAL_DMA_Init:0000000000000000 HAL_DMA_Init
  4420. /tmp/cc2d5rNl.s:626 .text.HAL_DMA_Init:00000000000000c8 $d
  4421. /tmp/cc2d5rNl.s:631 .text.HAL_DMA_DeInit:0000000000000000 $t
  4422. /tmp/cc2d5rNl.s:637 .text.HAL_DMA_DeInit:0000000000000000 HAL_DMA_DeInit
  4423. /tmp/cc2d5rNl.s:770 .text.HAL_DMA_Start:0000000000000000 $t
  4424. /tmp/cc2d5rNl.s:776 .text.HAL_DMA_Start:0000000000000000 HAL_DMA_Start
  4425. /tmp/cc2d5rNl.s:859 .text.HAL_DMA_Start_IT:0000000000000000 $t
  4426. /tmp/cc2d5rNl.s:865 .text.HAL_DMA_Start_IT:0000000000000000 HAL_DMA_Start_IT
  4427. /tmp/cc2d5rNl.s:987 .text.HAL_DMA_Abort:0000000000000000 $t
  4428. /tmp/cc2d5rNl.s:993 .text.HAL_DMA_Abort:0000000000000000 HAL_DMA_Abort
  4429. /tmp/cc2d5rNl.s:1147 .text.HAL_DMA_Abort_IT:0000000000000000 $t
  4430. /tmp/cc2d5rNl.s:1153 .text.HAL_DMA_Abort_IT:0000000000000000 HAL_DMA_Abort_IT
  4431. /tmp/cc2d5rNl.s:1199 .text.HAL_DMA_PollForTransfer:0000000000000000 $t
  4432. /tmp/cc2d5rNl.s:1205 .text.HAL_DMA_PollForTransfer:0000000000000000 HAL_DMA_PollForTransfer
  4433. /tmp/cc2d5rNl.s:1497 .text.HAL_DMA_IRQHandler:0000000000000000 $t
  4434. /tmp/cc2d5rNl.s:1503 .text.HAL_DMA_IRQHandler:0000000000000000 HAL_DMA_IRQHandler
  4435. /tmp/cc2d5rNl.s:1944 .text.HAL_DMA_IRQHandler:00000000000001d4 $d
  4436. /tmp/cc2d5rNl.s:1950 .text.HAL_DMA_RegisterCallback:0000000000000000 $t
  4437. /tmp/cc2d5rNl.s:1956 .text.HAL_DMA_RegisterCallback:0000000000000000 HAL_DMA_RegisterCallback
  4438. /tmp/cc2d5rNl.s:2007 .text.HAL_DMA_RegisterCallback:000000000000002c $d
  4439. /tmp/cc2d5rNl.s:2013 .text.HAL_DMA_RegisterCallback:0000000000000032 $t
  4440. /tmp/cc2d5rNl.s:2081 .text.HAL_DMA_UnRegisterCallback:0000000000000000 $t
  4441. /tmp/cc2d5rNl.s:2087 .text.HAL_DMA_UnRegisterCallback:0000000000000000 HAL_DMA_UnRegisterCallback
  4442. /tmp/cc2d5rNl.s:2136 .text.HAL_DMA_UnRegisterCallback:000000000000002c $d
  4443. /tmp/cc2d5rNl.s:2222 .text.HAL_DMA_GetState:0000000000000000 $t
  4444. /tmp/cc2d5rNl.s:2228 .text.HAL_DMA_GetState:0000000000000000 HAL_DMA_GetState
  4445. /tmp/cc2d5rNl.s:2246 .text.HAL_DMA_GetError:0000000000000000 $t
  4446. /tmp/cc2d5rNl.s:2252 .text.HAL_DMA_GetError:0000000000000000 HAL_DMA_GetError
  4447. /tmp/cc2d5rNl.s:2270 .rodata.flagBitshiftOffset.0:0000000000000000 $d
  4448. /tmp/cc2d5rNl.s:2274 .rodata.flagBitshiftOffset.0:0000000000000000 flagBitshiftOffset.0
  4449. /tmp/cc2d5rNl.s:2143 .text.HAL_DMA_UnRegisterCallback:0000000000000033 $d
  4450. /tmp/cc2d5rNl.s:2143 .text.HAL_DMA_UnRegisterCallback:0000000000000034 $t
  4451. UNDEFINED SYMBOLS
  4452. HAL_GetTick
  4453. SystemCoreClock