stm32f3xx_hal_dma.lst 167 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273
  1. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 1
  2. 1 .cpu cortex-m4
  3. 2 .arch armv7e-m
  4. 3 .fpu fpv4-sp-d16
  5. 4 .eabi_attribute 27, 1
  6. 5 .eabi_attribute 28, 1
  7. 6 .eabi_attribute 20, 1
  8. 7 .eabi_attribute 21, 1
  9. 8 .eabi_attribute 23, 3
  10. 9 .eabi_attribute 24, 1
  11. 10 .eabi_attribute 25, 1
  12. 11 .eabi_attribute 26, 1
  13. 12 .eabi_attribute 30, 6
  14. 13 .eabi_attribute 34, 1
  15. 14 .eabi_attribute 18, 4
  16. 15 .file "stm32f3xx_hal_dma.c"
  17. 16 .text
  18. 17 .Ltext0:
  19. 18 .cfi_sections .debug_frame
  20. 19 .section .rodata
  21. 20 .align 2
  22. 21 .LC0:
  23. 22 0000 44726976 .ascii "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma."
  24. 22 6572732F
  25. 22 53544D33
  26. 22 32463378
  27. 22 785F4841
  28. 23 0033 6300 .ascii "c\000"
  29. 24 .section .text.HAL_DMA_Init,"ax",%progbits
  30. 25 .align 1
  31. 26 .global HAL_DMA_Init
  32. 27 .syntax unified
  33. 28 .thumb
  34. 29 .thumb_func
  35. 31 HAL_DMA_Init:
  36. 32 .LFB130:
  37. 33 .file 1 "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c"
  38. 1:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  39. 2:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ******************************************************************************
  40. 3:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @file stm32f3xx_hal_dma.c
  41. 4:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @author MCD Application Team
  42. 5:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief DMA HAL module driver.
  43. 6:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *
  44. 7:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * This file provides firmware functions to manage the following
  45. 8:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * functionalities of the Direct Memory Access (DMA) peripheral:
  46. 9:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * + Initialization and de-initialization functions
  47. 10:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * + IO operation functions
  48. 11:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * + Peripheral State and errors functions
  49. 12:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @verbatim
  50. 13:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ==============================================================================
  51. 14:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ##### How to use this driver #####
  52. 15:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ==============================================================================
  53. 16:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
  54. 17:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (#) Enable and configure the peripheral to be connected to the DMA Channel
  55. 18:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (except for internal SRAM / FLASH memories: no initialization is
  56. 19:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** necessary). Please refer to Reference manual for connection between peripherals
  57. 20:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** and DMA requests .
  58. 21:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  59. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 2
  60. 22:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (#) For a given Channel, program the required configuration through the following parameters:
  61. 23:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Transfer Direction, Source and Destination data formats,
  62. 24:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Circular or Normal mode, Channel Priority level, Source and Destination Increment mode,
  63. 25:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** using HAL_DMA_Init() function.
  64. 26:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  65. 27:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (#) Use HAL_DMA_GetState() function to return the DMA state and HAL_DMA_GetError() in case of er
  66. 28:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** detection.
  67. 29:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  68. 30:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (#) Use HAL_DMA_Abort() function to abort the current transfer
  69. 31:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  70. 32:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** -@- In Memory-to-Memory transfer mode, Circular mode is not allowed.
  71. 33:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *** Polling mode IO operation ***
  72. 34:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** =================================
  73. 35:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
  74. 36:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Use HAL_DMA_Start() to start DMA transfer after the configuration of Source
  75. 37:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** address and destination address and the Length of data to be transferred
  76. 38:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Use HAL_DMA_PollForTransfer() to poll for the end of current transfer, in this
  77. 39:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case a fixed Timeout can be configured by User depending from his application.
  78. 40:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  79. 41:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *** Interrupt mode IO operation ***
  80. 42:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ===================================
  81. 43:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
  82. 44:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Configure the DMA interrupt priority using HAL_NVIC_SetPriority()
  83. 45:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Enable the DMA IRQ handler using HAL_NVIC_EnableIRQ()
  84. 46:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Use HAL_DMA_Start_IT() to start DMA transfer after the configuration of
  85. 47:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Source address and destination address and the Length of data to be transferred.
  86. 48:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** In this case the DMA interrupt is configured
  87. 49:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Use HAL_DMA_Channel_IRQHandler() called under DMA_IRQHandler() Interrupt subroutine
  88. 50:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) At the end of data transfer HAL_DMA_IRQHandler() function is executed and user can
  89. 51:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** add his own function by customization of function pointer XferCpltCallback and
  90. 52:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** XferErrorCallback (i.e a member of DMA handle structure).
  91. 53:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  92. 54:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *** DMA HAL driver macros list ***
  93. 55:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** =============================================
  94. 56:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
  95. 57:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Below the list of most used macros in DMA HAL driver.
  96. 58:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  97. 59:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
  98. 60:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (@) You can refer to the DMA HAL driver header file for more useful macros
  99. 61:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  100. 62:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @endverbatim
  101. 63:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ******************************************************************************
  102. 64:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @attention
  103. 65:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *
  104. 66:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * Copyright (c) 2016 STMicroelectronics.
  105. 67:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * All rights reserved.
  106. 68:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *
  107. 69:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * This software is licensed under terms that can be found in the LICENSE file in
  108. 70:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the root directory of this software component.
  109. 71:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  110. 72:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *
  111. 73:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ******************************************************************************
  112. 74:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  113. 75:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  114. 76:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Includes ------------------------------------------------------------------*/
  115. 77:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #include "stm32f3xx_hal.h"
  116. 78:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  117. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 3
  118. 79:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @addtogroup STM32F3xx_HAL_Driver
  119. 80:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
  120. 81:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  121. 82:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  122. 83:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA DMA
  123. 84:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief DMA HAL module driver
  124. 85:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
  125. 86:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  126. 87:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  127. 88:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #ifdef HAL_DMA_MODULE_ENABLED
  128. 89:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  129. 90:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private typedef -----------------------------------------------------------*/
  130. 91:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private define ------------------------------------------------------------*/
  131. 92:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private macro -------------------------------------------------------------*/
  132. 93:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private variables ---------------------------------------------------------*/
  133. 94:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private function prototypes -----------------------------------------------*/
  134. 95:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Private_Functions DMA Private Functions
  135. 96:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
  136. 97:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  137. 98:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32
  138. 99:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** static void DMA_CalcBaseAndBitshift(DMA_HandleTypeDef *hdma);
  139. 100:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  140. 101:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @}
  141. 102:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  142. 103:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  143. 104:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Exported functions ---------------------------------------------------------*/
  144. 105:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  145. 106:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions DMA Exported Functions
  146. 107:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
  147. 108:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  148. 109:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  149. 110:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group1 Initialization and de-initialization functions
  150. 111:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Initialization and de-initialization functions
  151. 112:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *
  152. 113:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @verbatim
  153. 114:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ===============================================================================
  154. 115:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ##### Initialization and de-initialization functions #####
  155. 116:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ===============================================================================
  156. 117:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
  157. 118:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** This section provides functions allowing to initialize the DMA Channel source
  158. 119:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** and destination addresses, incrementation and data sizes, transfer direction,
  159. 120:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** circular/normal mode selection, memory-to-memory mode selection and Channel priority value.
  160. 121:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
  161. 122:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** The HAL_DMA_Init() function follows the DMA configuration procedures as described in
  162. 123:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** reference manual.
  163. 124:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  164. 125:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @endverbatim
  165. 126:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
  166. 127:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  167. 128:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  168. 129:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  169. 130:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Initialize the DMA according to the specified
  170. 131:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * parameters in the DMA_InitTypeDef and initialize the associated handle.
  171. 132:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains
  172. 133:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  173. 134:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
  174. 135:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  175. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 4
  176. 136:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma)
  177. 137:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  178. 34 .loc 1 137 1
  179. 35 .cfi_startproc
  180. 36 @ args = 0, pretend = 0, frame = 16
  181. 37 @ frame_needed = 1, uses_anonymous_args = 0
  182. 38 0000 80B5 push {r7, lr}
  183. 39 .LCFI0:
  184. 40 .cfi_def_cfa_offset 8
  185. 41 .cfi_offset 7, -8
  186. 42 .cfi_offset 14, -4
  187. 43 0002 84B0 sub sp, sp, #16
  188. 44 .LCFI1:
  189. 45 .cfi_def_cfa_offset 24
  190. 46 0004 00AF add r7, sp, #0
  191. 47 .LCFI2:
  192. 48 .cfi_def_cfa_register 7
  193. 49 0006 7860 str r0, [r7, #4]
  194. 138:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t tmp = 0U;
  195. 50 .loc 1 138 12
  196. 51 0008 0023 movs r3, #0
  197. 52 000a FB60 str r3, [r7, #12]
  198. 139:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  199. 140:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the DMA handle allocation */
  200. 141:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(NULL == hdma)
  201. 53 .loc 1 141 5
  202. 54 000c 7B68 ldr r3, [r7, #4]
  203. 55 000e 002B cmp r3, #0
  204. 56 0010 01D1 bne .L2
  205. 142:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  206. 143:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
  207. 57 .loc 1 143 12
  208. 58 0012 0123 movs r3, #1
  209. 59 0014 E7E0 b .L3
  210. 60 .L2:
  211. 144:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  212. 145:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  213. 146:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the parameters */
  214. 147:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance));
  215. 61 .loc 1 147 3
  216. 62 0016 7B68 ldr r3, [r7, #4]
  217. 63 0018 1B68 ldr r3, [r3]
  218. 64 001a 754A ldr r2, .L12
  219. 65 001c 9342 cmp r3, r2
  220. 66 001e 3AD0 beq .L4
  221. 67 .loc 1 147 3 is_stmt 0 discriminator 1
  222. 68 0020 7B68 ldr r3, [r7, #4]
  223. 69 0022 1B68 ldr r3, [r3]
  224. 70 0024 734A ldr r2, .L12+4
  225. 71 0026 9342 cmp r3, r2
  226. 72 0028 35D0 beq .L4
  227. 73 .loc 1 147 3 discriminator 2
  228. 74 002a 7B68 ldr r3, [r7, #4]
  229. 75 002c 1B68 ldr r3, [r3]
  230. 76 002e 724A ldr r2, .L12+8
  231. 77 0030 9342 cmp r3, r2
  232. 78 0032 30D0 beq .L4
  233. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 5
  234. 79 .loc 1 147 3 discriminator 3
  235. 80 0034 7B68 ldr r3, [r7, #4]
  236. 81 0036 1B68 ldr r3, [r3]
  237. 82 0038 704A ldr r2, .L12+12
  238. 83 003a 9342 cmp r3, r2
  239. 84 003c 2BD0 beq .L4
  240. 85 .loc 1 147 3 discriminator 4
  241. 86 003e 7B68 ldr r3, [r7, #4]
  242. 87 0040 1B68 ldr r3, [r3]
  243. 88 0042 6F4A ldr r2, .L12+16
  244. 89 0044 9342 cmp r3, r2
  245. 90 0046 26D0 beq .L4
  246. 91 .loc 1 147 3 discriminator 5
  247. 92 0048 7B68 ldr r3, [r7, #4]
  248. 93 004a 1B68 ldr r3, [r3]
  249. 94 004c 6D4A ldr r2, .L12+20
  250. 95 004e 9342 cmp r3, r2
  251. 96 0050 21D0 beq .L4
  252. 97 .loc 1 147 3 discriminator 6
  253. 98 0052 7B68 ldr r3, [r7, #4]
  254. 99 0054 1B68 ldr r3, [r3]
  255. 100 0056 6C4A ldr r2, .L12+24
  256. 101 0058 9342 cmp r3, r2
  257. 102 005a 1CD0 beq .L4
  258. 103 .loc 1 147 3 discriminator 7
  259. 104 005c 7B68 ldr r3, [r7, #4]
  260. 105 005e 1B68 ldr r3, [r3]
  261. 106 0060 6A4A ldr r2, .L12+28
  262. 107 0062 9342 cmp r3, r2
  263. 108 0064 17D0 beq .L4
  264. 109 .loc 1 147 3 discriminator 8
  265. 110 0066 7B68 ldr r3, [r7, #4]
  266. 111 0068 1B68 ldr r3, [r3]
  267. 112 006a 694A ldr r2, .L12+32
  268. 113 006c 9342 cmp r3, r2
  269. 114 006e 12D0 beq .L4
  270. 115 .loc 1 147 3 discriminator 9
  271. 116 0070 7B68 ldr r3, [r7, #4]
  272. 117 0072 1B68 ldr r3, [r3]
  273. 118 0074 674A ldr r2, .L12+36
  274. 119 0076 9342 cmp r3, r2
  275. 120 0078 0DD0 beq .L4
  276. 121 .loc 1 147 3 discriminator 10
  277. 122 007a 7B68 ldr r3, [r7, #4]
  278. 123 007c 1B68 ldr r3, [r3]
  279. 124 007e 664A ldr r2, .L12+40
  280. 125 0080 9342 cmp r3, r2
  281. 126 0082 08D0 beq .L4
  282. 127 .loc 1 147 3 discriminator 11
  283. 128 0084 7B68 ldr r3, [r7, #4]
  284. 129 0086 1B68 ldr r3, [r3]
  285. 130 0088 644A ldr r2, .L12+44
  286. 131 008a 9342 cmp r3, r2
  287. 132 008c 03D0 beq .L4
  288. 133 .loc 1 147 3 discriminator 12
  289. 134 008e 9321 movs r1, #147
  290. 135 0090 6348 ldr r0, .L12+48
  291. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 6
  292. 136 0092 FFF7FEFF bl assert_failed
  293. 137 .L4:
  294. 148:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction));
  295. 138 .loc 1 148 3 is_stmt 1
  296. 139 0096 7B68 ldr r3, [r7, #4]
  297. 140 0098 5B68 ldr r3, [r3, #4]
  298. 141 009a 002B cmp r3, #0
  299. 142 009c 0CD0 beq .L5
  300. 143 .loc 1 148 3 is_stmt 0 discriminator 1
  301. 144 009e 7B68 ldr r3, [r7, #4]
  302. 145 00a0 5B68 ldr r3, [r3, #4]
  303. 146 00a2 102B cmp r3, #16
  304. 147 00a4 08D0 beq .L5
  305. 148 .loc 1 148 3 discriminator 2
  306. 149 00a6 7B68 ldr r3, [r7, #4]
  307. 150 00a8 5B68 ldr r3, [r3, #4]
  308. 151 00aa B3F5804F cmp r3, #16384
  309. 152 00ae 03D0 beq .L5
  310. 153 .loc 1 148 3 discriminator 3
  311. 154 00b0 9421 movs r1, #148
  312. 155 00b2 5B48 ldr r0, .L12+48
  313. 156 00b4 FFF7FEFF bl assert_failed
  314. 157 .L5:
  315. 149:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc));
  316. 158 .loc 1 149 3 is_stmt 1
  317. 159 00b8 7B68 ldr r3, [r7, #4]
  318. 160 00ba 9B68 ldr r3, [r3, #8]
  319. 161 00bc 402B cmp r3, #64
  320. 162 00be 07D0 beq .L6
  321. 163 .loc 1 149 3 is_stmt 0 discriminator 1
  322. 164 00c0 7B68 ldr r3, [r7, #4]
  323. 165 00c2 9B68 ldr r3, [r3, #8]
  324. 166 00c4 002B cmp r3, #0
  325. 167 00c6 03D0 beq .L6
  326. 168 .loc 1 149 3 discriminator 2
  327. 169 00c8 9521 movs r1, #149
  328. 170 00ca 5548 ldr r0, .L12+48
  329. 171 00cc FFF7FEFF bl assert_failed
  330. 172 .L6:
  331. 150:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc));
  332. 173 .loc 1 150 3 is_stmt 1
  333. 174 00d0 7B68 ldr r3, [r7, #4]
  334. 175 00d2 DB68 ldr r3, [r3, #12]
  335. 176 00d4 802B cmp r3, #128
  336. 177 00d6 07D0 beq .L7
  337. 178 .loc 1 150 3 is_stmt 0 discriminator 1
  338. 179 00d8 7B68 ldr r3, [r7, #4]
  339. 180 00da DB68 ldr r3, [r3, #12]
  340. 181 00dc 002B cmp r3, #0
  341. 182 00de 03D0 beq .L7
  342. 183 .loc 1 150 3 discriminator 2
  343. 184 00e0 9621 movs r1, #150
  344. 185 00e2 4F48 ldr r0, .L12+48
  345. 186 00e4 FFF7FEFF bl assert_failed
  346. 187 .L7:
  347. 151:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment));
  348. 188 .loc 1 151 3 is_stmt 1
  349. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 7
  350. 189 00e8 7B68 ldr r3, [r7, #4]
  351. 190 00ea 1B69 ldr r3, [r3, #16]
  352. 191 00ec 002B cmp r3, #0
  353. 192 00ee 0DD0 beq .L8
  354. 193 .loc 1 151 3 is_stmt 0 discriminator 1
  355. 194 00f0 7B68 ldr r3, [r7, #4]
  356. 195 00f2 1B69 ldr r3, [r3, #16]
  357. 196 00f4 B3F5807F cmp r3, #256
  358. 197 00f8 08D0 beq .L8
  359. 198 .loc 1 151 3 discriminator 2
  360. 199 00fa 7B68 ldr r3, [r7, #4]
  361. 200 00fc 1B69 ldr r3, [r3, #16]
  362. 201 00fe B3F5007F cmp r3, #512
  363. 202 0102 03D0 beq .L8
  364. 203 .loc 1 151 3 discriminator 3
  365. 204 0104 9721 movs r1, #151
  366. 205 0106 4648 ldr r0, .L12+48
  367. 206 0108 FFF7FEFF bl assert_failed
  368. 207 .L8:
  369. 152:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment));
  370. 208 .loc 1 152 3 is_stmt 1
  371. 209 010c 7B68 ldr r3, [r7, #4]
  372. 210 010e 5B69 ldr r3, [r3, #20]
  373. 211 0110 002B cmp r3, #0
  374. 212 0112 0DD0 beq .L9
  375. 213 .loc 1 152 3 is_stmt 0 discriminator 1
  376. 214 0114 7B68 ldr r3, [r7, #4]
  377. 215 0116 5B69 ldr r3, [r3, #20]
  378. 216 0118 B3F5806F cmp r3, #1024
  379. 217 011c 08D0 beq .L9
  380. 218 .loc 1 152 3 discriminator 2
  381. 219 011e 7B68 ldr r3, [r7, #4]
  382. 220 0120 5B69 ldr r3, [r3, #20]
  383. 221 0122 B3F5006F cmp r3, #2048
  384. 222 0126 03D0 beq .L9
  385. 223 .loc 1 152 3 discriminator 3
  386. 224 0128 9821 movs r1, #152
  387. 225 012a 3D48 ldr r0, .L12+48
  388. 226 012c FFF7FEFF bl assert_failed
  389. 227 .L9:
  390. 153:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode));
  391. 228 .loc 1 153 3 is_stmt 1
  392. 229 0130 7B68 ldr r3, [r7, #4]
  393. 230 0132 9B69 ldr r3, [r3, #24]
  394. 231 0134 002B cmp r3, #0
  395. 232 0136 07D0 beq .L10
  396. 233 .loc 1 153 3 is_stmt 0 discriminator 1
  397. 234 0138 7B68 ldr r3, [r7, #4]
  398. 235 013a 9B69 ldr r3, [r3, #24]
  399. 236 013c 202B cmp r3, #32
  400. 237 013e 03D0 beq .L10
  401. 238 .loc 1 153 3 discriminator 2
  402. 239 0140 9921 movs r1, #153
  403. 240 0142 3748 ldr r0, .L12+48
  404. 241 0144 FFF7FEFF bl assert_failed
  405. 242 .L10:
  406. 154:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority));
  407. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 8
  408. 243 .loc 1 154 3 is_stmt 1
  409. 244 0148 7B68 ldr r3, [r7, #4]
  410. 245 014a DB69 ldr r3, [r3, #28]
  411. 246 014c 002B cmp r3, #0
  412. 247 014e 12D0 beq .L11
  413. 248 .loc 1 154 3 is_stmt 0 discriminator 1
  414. 249 0150 7B68 ldr r3, [r7, #4]
  415. 250 0152 DB69 ldr r3, [r3, #28]
  416. 251 0154 B3F5805F cmp r3, #4096
  417. 252 0158 0DD0 beq .L11
  418. 253 .loc 1 154 3 discriminator 2
  419. 254 015a 7B68 ldr r3, [r7, #4]
  420. 255 015c DB69 ldr r3, [r3, #28]
  421. 256 015e B3F5005F cmp r3, #8192
  422. 257 0162 08D0 beq .L11
  423. 258 .loc 1 154 3 discriminator 3
  424. 259 0164 7B68 ldr r3, [r7, #4]
  425. 260 0166 DB69 ldr r3, [r3, #28]
  426. 261 0168 B3F5405F cmp r3, #12288
  427. 262 016c 03D0 beq .L11
  428. 263 .loc 1 154 3 discriminator 4
  429. 264 016e 9A21 movs r1, #154
  430. 265 0170 2B48 ldr r0, .L12+48
  431. 266 0172 FFF7FEFF bl assert_failed
  432. 267 .L11:
  433. 155:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  434. 156:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change DMA peripheral state */
  435. 157:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
  436. 268 .loc 1 157 15 is_stmt 1
  437. 269 0176 7B68 ldr r3, [r7, #4]
  438. 270 0178 0222 movs r2, #2
  439. 271 017a 83F82120 strb r2, [r3, #33]
  440. 158:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  441. 159:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Get the CR register value */
  442. 160:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** tmp = hdma->Instance->CCR;
  443. 272 .loc 1 160 13
  444. 273 017e 7B68 ldr r3, [r7, #4]
  445. 274 0180 1B68 ldr r3, [r3]
  446. 275 .loc 1 160 7
  447. 276 0182 1B68 ldr r3, [r3]
  448. 277 0184 FB60 str r3, [r7, #12]
  449. 161:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  450. 162:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear PL, MSIZE, PSIZE, MINC, PINC, CIRC, DIR bits */
  451. 163:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** tmp &= ((uint32_t)~(DMA_CCR_PL | DMA_CCR_MSIZE | DMA_CCR_PSIZE | \
  452. 278 .loc 1 163 7
  453. 279 0186 FB68 ldr r3, [r7, #12]
  454. 280 0188 23F47F53 bic r3, r3, #16320
  455. 281 018c 23F03003 bic r3, r3, #48
  456. 282 0190 FB60 str r3, [r7, #12]
  457. 164:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \
  458. 165:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_CCR_DIR));
  459. 166:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  460. 167:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Prepare the DMA Channel configuration */
  461. 168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** tmp |= hdma->Init.Direction |
  462. 283 .loc 1 168 21
  463. 284 0192 7B68 ldr r3, [r7, #4]
  464. 285 0194 5A68 ldr r2, [r3, #4]
  465. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 9
  466. 169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  467. 286 .loc 1 169 21
  468. 287 0196 7B68 ldr r3, [r7, #4]
  469. 288 0198 9B68 ldr r3, [r3, #8]
  470. 168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  471. 289 .loc 1 168 39
  472. 290 019a 1A43 orrs r2, r2, r3
  473. 291 .loc 1 169 54
  474. 292 019c 7B68 ldr r3, [r7, #4]
  475. 293 019e DB68 ldr r3, [r3, #12]
  476. 294 .loc 1 169 42
  477. 295 01a0 1A43 orrs r2, r2, r3
  478. 170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
  479. 296 .loc 1 170 21
  480. 297 01a2 7B68 ldr r3, [r7, #4]
  481. 298 01a4 1B69 ldr r3, [r3, #16]
  482. 169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  483. 299 .loc 1 169 72
  484. 300 01a6 1A43 orrs r2, r2, r3
  485. 301 .loc 1 170 54
  486. 302 01a8 7B68 ldr r3, [r7, #4]
  487. 303 01aa 5B69 ldr r3, [r3, #20]
  488. 304 .loc 1 170 42
  489. 305 01ac 1A43 orrs r2, r2, r3
  490. 171:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
  491. 306 .loc 1 171 21
  492. 307 01ae 7B68 ldr r3, [r7, #4]
  493. 308 01b0 9B69 ldr r3, [r3, #24]
  494. 170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
  495. 309 .loc 1 170 72
  496. 310 01b2 1A43 orrs r2, r2, r3
  497. 311 .loc 1 171 54
  498. 312 01b4 7B68 ldr r3, [r7, #4]
  499. 313 01b6 DB69 ldr r3, [r3, #28]
  500. 314 .loc 1 171 42
  501. 315 01b8 1343 orrs r3, r3, r2
  502. 168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  503. 316 .loc 1 168 7
  504. 317 01ba FA68 ldr r2, [r7, #12]
  505. 318 01bc 1343 orrs r3, r3, r2
  506. 319 01be FB60 str r3, [r7, #12]
  507. 172:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  508. 173:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Write to DMA Channel CR register */
  509. 174:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR = tmp;
  510. 320 .loc 1 174 7
  511. 321 01c0 7B68 ldr r3, [r7, #4]
  512. 322 01c2 1B68 ldr r3, [r3]
  513. 323 .loc 1 174 23
  514. 324 01c4 FA68 ldr r2, [r7, #12]
  515. 325 01c6 1A60 str r2, [r3]
  516. 175:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  517. 176:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Initialize DmaBaseAddress and ChannelIndex parameters used
  518. 177:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** by HAL_DMA_IRQHandler() and HAL_DMA_PollForTransfer() */
  519. 178:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_CalcBaseAndBitshift(hdma);
  520. 326 .loc 1 178 3
  521. 327 01c8 7868 ldr r0, [r7, #4]
  522. 328 01ca FFF7FEFF bl DMA_CalcBaseAndBitshift
  523. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 10
  524. 179:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  525. 180:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Initialise the error code */
  526. 181:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  527. 329 .loc 1 181 19
  528. 330 01ce 7B68 ldr r3, [r7, #4]
  529. 331 01d0 0022 movs r2, #0
  530. 332 01d2 9A63 str r2, [r3, #56]
  531. 182:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  532. 183:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Initialize the DMA state*/
  533. 184:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  534. 333 .loc 1 184 15
  535. 334 01d4 7B68 ldr r3, [r7, #4]
  536. 335 01d6 0122 movs r2, #1
  537. 336 01d8 83F82120 strb r2, [r3, #33]
  538. 185:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  539. 186:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Allocate lock resource and initialize it */
  540. 187:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Lock = HAL_UNLOCKED;
  541. 337 .loc 1 187 14
  542. 338 01dc 7B68 ldr r3, [r7, #4]
  543. 339 01de 0022 movs r2, #0
  544. 340 01e0 83F82020 strb r2, [r3, #32]
  545. 188:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  546. 189:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_OK;
  547. 341 .loc 1 189 10
  548. 342 01e4 0023 movs r3, #0
  549. 343 .L3:
  550. 190:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  551. 344 .loc 1 190 1
  552. 345 01e6 1846 mov r0, r3
  553. 346 01e8 1037 adds r7, r7, #16
  554. 347 .LCFI3:
  555. 348 .cfi_def_cfa_offset 8
  556. 349 01ea BD46 mov sp, r7
  557. 350 .LCFI4:
  558. 351 .cfi_def_cfa_register 13
  559. 352 @ sp needed
  560. 353 01ec 80BD pop {r7, pc}
  561. 354 .L13:
  562. 355 01ee 00BF .align 2
  563. 356 .L12:
  564. 357 01f0 08000240 .word 1073872904
  565. 358 01f4 1C000240 .word 1073872924
  566. 359 01f8 30000240 .word 1073872944
  567. 360 01fc 44000240 .word 1073872964
  568. 361 0200 58000240 .word 1073872984
  569. 362 0204 6C000240 .word 1073873004
  570. 363 0208 80000240 .word 1073873024
  571. 364 020c 08040240 .word 1073873928
  572. 365 0210 1C040240 .word 1073873948
  573. 366 0214 30040240 .word 1073873968
  574. 367 0218 44040240 .word 1073873988
  575. 368 021c 58040240 .word 1073874008
  576. 369 0220 00000000 .word .LC0
  577. 370 .cfi_endproc
  578. 371 .LFE130:
  579. 373 .section .text.HAL_DMA_DeInit,"ax",%progbits
  580. 374 .align 1
  581. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 11
  582. 375 .global HAL_DMA_DeInit
  583. 376 .syntax unified
  584. 377 .thumb
  585. 378 .thumb_func
  586. 380 HAL_DMA_DeInit:
  587. 381 .LFB131:
  588. 191:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  589. 192:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  590. 193:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief DeInitialize the DMA peripheral
  591. 194:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  592. 195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  593. 196:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
  594. 197:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  595. 198:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma)
  596. 199:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  597. 382 .loc 1 199 1
  598. 383 .cfi_startproc
  599. 384 @ args = 0, pretend = 0, frame = 8
  600. 385 @ frame_needed = 1, uses_anonymous_args = 0
  601. 386 0000 80B5 push {r7, lr}
  602. 387 .LCFI5:
  603. 388 .cfi_def_cfa_offset 8
  604. 389 .cfi_offset 7, -8
  605. 390 .cfi_offset 14, -4
  606. 391 0002 82B0 sub sp, sp, #8
  607. 392 .LCFI6:
  608. 393 .cfi_def_cfa_offset 16
  609. 394 0004 00AF add r7, sp, #0
  610. 395 .LCFI7:
  611. 396 .cfi_def_cfa_register 7
  612. 397 0006 7860 str r0, [r7, #4]
  613. 200:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the DMA handle allocation */
  614. 201:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(NULL == hdma)
  615. 398 .loc 1 201 5
  616. 399 0008 7B68 ldr r3, [r7, #4]
  617. 400 000a 002B cmp r3, #0
  618. 401 000c 01D1 bne .L15
  619. 202:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  620. 203:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
  621. 402 .loc 1 203 12
  622. 403 000e 0123 movs r3, #1
  623. 404 0010 7AE0 b .L16
  624. 405 .L15:
  625. 204:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  626. 205:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  627. 206:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the parameters */
  628. 207:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance));
  629. 406 .loc 1 207 3
  630. 407 0012 7B68 ldr r3, [r7, #4]
  631. 408 0014 1B68 ldr r3, [r3]
  632. 409 0016 3E4A ldr r2, .L18
  633. 410 0018 9342 cmp r3, r2
  634. 411 001a 3AD0 beq .L17
  635. 412 .loc 1 207 3 is_stmt 0 discriminator 1
  636. 413 001c 7B68 ldr r3, [r7, #4]
  637. 414 001e 1B68 ldr r3, [r3]
  638. 415 0020 3C4A ldr r2, .L18+4
  639. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 12
  640. 416 0022 9342 cmp r3, r2
  641. 417 0024 35D0 beq .L17
  642. 418 .loc 1 207 3 discriminator 2
  643. 419 0026 7B68 ldr r3, [r7, #4]
  644. 420 0028 1B68 ldr r3, [r3]
  645. 421 002a 3B4A ldr r2, .L18+8
  646. 422 002c 9342 cmp r3, r2
  647. 423 002e 30D0 beq .L17
  648. 424 .loc 1 207 3 discriminator 3
  649. 425 0030 7B68 ldr r3, [r7, #4]
  650. 426 0032 1B68 ldr r3, [r3]
  651. 427 0034 394A ldr r2, .L18+12
  652. 428 0036 9342 cmp r3, r2
  653. 429 0038 2BD0 beq .L17
  654. 430 .loc 1 207 3 discriminator 4
  655. 431 003a 7B68 ldr r3, [r7, #4]
  656. 432 003c 1B68 ldr r3, [r3]
  657. 433 003e 384A ldr r2, .L18+16
  658. 434 0040 9342 cmp r3, r2
  659. 435 0042 26D0 beq .L17
  660. 436 .loc 1 207 3 discriminator 5
  661. 437 0044 7B68 ldr r3, [r7, #4]
  662. 438 0046 1B68 ldr r3, [r3]
  663. 439 0048 364A ldr r2, .L18+20
  664. 440 004a 9342 cmp r3, r2
  665. 441 004c 21D0 beq .L17
  666. 442 .loc 1 207 3 discriminator 6
  667. 443 004e 7B68 ldr r3, [r7, #4]
  668. 444 0050 1B68 ldr r3, [r3]
  669. 445 0052 354A ldr r2, .L18+24
  670. 446 0054 9342 cmp r3, r2
  671. 447 0056 1CD0 beq .L17
  672. 448 .loc 1 207 3 discriminator 7
  673. 449 0058 7B68 ldr r3, [r7, #4]
  674. 450 005a 1B68 ldr r3, [r3]
  675. 451 005c 334A ldr r2, .L18+28
  676. 452 005e 9342 cmp r3, r2
  677. 453 0060 17D0 beq .L17
  678. 454 .loc 1 207 3 discriminator 8
  679. 455 0062 7B68 ldr r3, [r7, #4]
  680. 456 0064 1B68 ldr r3, [r3]
  681. 457 0066 324A ldr r2, .L18+32
  682. 458 0068 9342 cmp r3, r2
  683. 459 006a 12D0 beq .L17
  684. 460 .loc 1 207 3 discriminator 9
  685. 461 006c 7B68 ldr r3, [r7, #4]
  686. 462 006e 1B68 ldr r3, [r3]
  687. 463 0070 304A ldr r2, .L18+36
  688. 464 0072 9342 cmp r3, r2
  689. 465 0074 0DD0 beq .L17
  690. 466 .loc 1 207 3 discriminator 10
  691. 467 0076 7B68 ldr r3, [r7, #4]
  692. 468 0078 1B68 ldr r3, [r3]
  693. 469 007a 2F4A ldr r2, .L18+40
  694. 470 007c 9342 cmp r3, r2
  695. 471 007e 08D0 beq .L17
  696. 472 .loc 1 207 3 discriminator 11
  697. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 13
  698. 473 0080 7B68 ldr r3, [r7, #4]
  699. 474 0082 1B68 ldr r3, [r3]
  700. 475 0084 2D4A ldr r2, .L18+44
  701. 476 0086 9342 cmp r3, r2
  702. 477 0088 03D0 beq .L17
  703. 478 .loc 1 207 3 discriminator 12
  704. 479 008a CF21 movs r1, #207
  705. 480 008c 2C48 ldr r0, .L18+48
  706. 481 008e FFF7FEFF bl assert_failed
  707. 482 .L17:
  708. 208:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  709. 209:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the selected DMA Channelx */
  710. 210:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN;
  711. 483 .loc 1 210 7 is_stmt 1
  712. 484 0092 7B68 ldr r3, [r7, #4]
  713. 485 0094 1B68 ldr r3, [r3]
  714. 486 .loc 1 210 23
  715. 487 0096 1A68 ldr r2, [r3]
  716. 488 .loc 1 210 7
  717. 489 0098 7B68 ldr r3, [r7, #4]
  718. 490 009a 1B68 ldr r3, [r3]
  719. 491 .loc 1 210 23
  720. 492 009c 22F00102 bic r2, r2, #1
  721. 493 00a0 1A60 str r2, [r3]
  722. 211:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  723. 212:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset DMA Channel control register */
  724. 213:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR = 0U;
  725. 494 .loc 1 213 7
  726. 495 00a2 7B68 ldr r3, [r7, #4]
  727. 496 00a4 1B68 ldr r3, [r3]
  728. 497 .loc 1 213 24
  729. 498 00a6 0022 movs r2, #0
  730. 499 00a8 1A60 str r2, [r3]
  731. 214:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  732. 215:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset DMA Channel Number of Data to Transfer register */
  733. 216:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CNDTR = 0U;
  734. 500 .loc 1 216 7
  735. 501 00aa 7B68 ldr r3, [r7, #4]
  736. 502 00ac 1B68 ldr r3, [r3]
  737. 503 .loc 1 216 25
  738. 504 00ae 0022 movs r2, #0
  739. 505 00b0 5A60 str r2, [r3, #4]
  740. 217:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  741. 218:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset DMA Channel peripheral address register */
  742. 219:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CPAR = 0U;
  743. 506 .loc 1 219 7
  744. 507 00b2 7B68 ldr r3, [r7, #4]
  745. 508 00b4 1B68 ldr r3, [r3]
  746. 509 .loc 1 219 25
  747. 510 00b6 0022 movs r2, #0
  748. 511 00b8 9A60 str r2, [r3, #8]
  749. 220:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  750. 221:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset DMA Channel memory address register */
  751. 222:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CMAR = 0U;
  752. 512 .loc 1 222 7
  753. 513 00ba 7B68 ldr r3, [r7, #4]
  754. 514 00bc 1B68 ldr r3, [r3]
  755. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 14
  756. 515 .loc 1 222 24
  757. 516 00be 0022 movs r2, #0
  758. 517 00c0 DA60 str r2, [r3, #12]
  759. 223:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  760. 224:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Get DMA Base Address */
  761. 225:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_CalcBaseAndBitshift(hdma);
  762. 518 .loc 1 225 3
  763. 519 00c2 7868 ldr r0, [r7, #4]
  764. 520 00c4 FFF7FEFF bl DMA_CalcBaseAndBitshift
  765. 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  766. 227:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */
  767. 228:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_GL1 << hdma->ChannelIndex;
  768. 521 .loc 1 228 52
  769. 522 00c8 7B68 ldr r3, [r7, #4]
  770. 523 00ca 1A6C ldr r2, [r3, #64]
  771. 524 .loc 1 228 7
  772. 525 00cc 7B68 ldr r3, [r7, #4]
  773. 526 00ce DB6B ldr r3, [r3, #60]
  774. 527 .loc 1 228 45
  775. 528 00d0 0121 movs r1, #1
  776. 529 00d2 01FA02F2 lsl r2, r1, r2
  777. 530 .loc 1 228 30
  778. 531 00d6 5A60 str r2, [r3, #4]
  779. 229:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  780. 230:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clean callbacks */
  781. 231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
  782. 532 .loc 1 231 26
  783. 533 00d8 7B68 ldr r3, [r7, #4]
  784. 534 00da 0022 movs r2, #0
  785. 535 00dc 9A62 str r2, [r3, #40]
  786. 232:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  787. 536 .loc 1 232 30
  788. 537 00de 7B68 ldr r3, [r7, #4]
  789. 538 00e0 0022 movs r2, #0
  790. 539 00e2 DA62 str r2, [r3, #44]
  791. 233:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  792. 540 .loc 1 233 27
  793. 541 00e4 7B68 ldr r3, [r7, #4]
  794. 542 00e6 0022 movs r2, #0
  795. 543 00e8 1A63 str r2, [r3, #48]
  796. 234:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  797. 544 .loc 1 234 27
  798. 545 00ea 7B68 ldr r3, [r7, #4]
  799. 546 00ec 0022 movs r2, #0
  800. 547 00ee 5A63 str r2, [r3, #52]
  801. 235:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  802. 236:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset the error code */
  803. 237:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  804. 548 .loc 1 237 19
  805. 549 00f0 7B68 ldr r3, [r7, #4]
  806. 550 00f2 0022 movs r2, #0
  807. 551 00f4 9A63 str r2, [r3, #56]
  808. 238:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  809. 239:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset the DMA state */
  810. 240:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_RESET;
  811. 552 .loc 1 240 15
  812. 553 00f6 7B68 ldr r3, [r7, #4]
  813. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 15
  814. 554 00f8 0022 movs r2, #0
  815. 555 00fa 83F82120 strb r2, [r3, #33]
  816. 241:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  817. 242:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Release Lock */
  818. 243:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  819. 556 .loc 1 243 3
  820. 557 00fe 7B68 ldr r3, [r7, #4]
  821. 558 0100 0022 movs r2, #0
  822. 559 0102 83F82020 strb r2, [r3, #32]
  823. 244:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  824. 245:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_OK;
  825. 560 .loc 1 245 10
  826. 561 0106 0023 movs r3, #0
  827. 562 .L16:
  828. 246:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  829. 563 .loc 1 246 1
  830. 564 0108 1846 mov r0, r3
  831. 565 010a 0837 adds r7, r7, #8
  832. 566 .LCFI8:
  833. 567 .cfi_def_cfa_offset 8
  834. 568 010c BD46 mov sp, r7
  835. 569 .LCFI9:
  836. 570 .cfi_def_cfa_register 13
  837. 571 @ sp needed
  838. 572 010e 80BD pop {r7, pc}
  839. 573 .L19:
  840. 574 .align 2
  841. 575 .L18:
  842. 576 0110 08000240 .word 1073872904
  843. 577 0114 1C000240 .word 1073872924
  844. 578 0118 30000240 .word 1073872944
  845. 579 011c 44000240 .word 1073872964
  846. 580 0120 58000240 .word 1073872984
  847. 581 0124 6C000240 .word 1073873004
  848. 582 0128 80000240 .word 1073873024
  849. 583 012c 08040240 .word 1073873928
  850. 584 0130 1C040240 .word 1073873948
  851. 585 0134 30040240 .word 1073873968
  852. 586 0138 44040240 .word 1073873988
  853. 587 013c 58040240 .word 1073874008
  854. 588 0140 00000000 .word .LC0
  855. 589 .cfi_endproc
  856. 590 .LFE131:
  857. 592 .section .text.HAL_DMA_Start,"ax",%progbits
  858. 593 .align 1
  859. 594 .global HAL_DMA_Start
  860. 595 .syntax unified
  861. 596 .thumb
  862. 597 .thumb_func
  863. 599 HAL_DMA_Start:
  864. 600 .LFB132:
  865. 247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  866. 248:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  867. 249:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @}
  868. 250:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  869. 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  870. 252:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group2 Input and Output operation functions
  871. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 16
  872. 253:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief I/O operation functions
  873. 254:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *
  874. 255:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @verbatim
  875. 256:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ===============================================================================
  876. 257:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ##### IO operation functions #####
  877. 258:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ===============================================================================
  878. 259:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..] This section provides functions allowing to:
  879. 260:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Configure the source, destination address and data length and Start DMA transfer
  880. 261:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Configure the source, destination address and data length and
  881. 262:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Start DMA transfer with interrupt
  882. 263:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Abort DMA transfer
  883. 264:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Poll for transfer complete
  884. 265:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Handle DMA interrupt request
  885. 266:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  886. 267:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @endverbatim
  887. 268:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
  888. 269:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  889. 270:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  890. 271:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  891. 272:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Start the DMA Transfer.
  892. 273:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains
  893. 274:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  894. 275:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address
  895. 276:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address
  896. 277:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination
  897. 278:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
  898. 279:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  899. 280:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress,
  900. 281:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  901. 601 .loc 1 281 1
  902. 602 .cfi_startproc
  903. 603 @ args = 0, pretend = 0, frame = 24
  904. 604 @ frame_needed = 1, uses_anonymous_args = 0
  905. 605 0000 80B5 push {r7, lr}
  906. 606 .LCFI10:
  907. 607 .cfi_def_cfa_offset 8
  908. 608 .cfi_offset 7, -8
  909. 609 .cfi_offset 14, -4
  910. 610 0002 86B0 sub sp, sp, #24
  911. 611 .LCFI11:
  912. 612 .cfi_def_cfa_offset 32
  913. 613 0004 00AF add r7, sp, #0
  914. 614 .LCFI12:
  915. 615 .cfi_def_cfa_register 7
  916. 616 0006 F860 str r0, [r7, #12]
  917. 617 0008 B960 str r1, [r7, #8]
  918. 618 000a 7A60 str r2, [r7, #4]
  919. 619 000c 3B60 str r3, [r7]
  920. 282:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  921. 620 .loc 1 282 21
  922. 621 000e 0023 movs r3, #0
  923. 622 0010 FB75 strb r3, [r7, #23]
  924. 283:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  925. 284:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the parameters */
  926. 285:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength));
  927. 623 .loc 1 285 3
  928. 624 0012 3B68 ldr r3, [r7]
  929. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 17
  930. 625 0014 002B cmp r3, #0
  931. 626 0016 03D0 beq .L21
  932. 627 .loc 1 285 3 is_stmt 0 discriminator 2
  933. 628 0018 3B68 ldr r3, [r7]
  934. 629 001a B3F5803F cmp r3, #65536
  935. 630 001e 04D3 bcc .L22
  936. 631 .L21:
  937. 632 .loc 1 285 3 discriminator 3
  938. 633 0020 40F21D11 movw r1, #285
  939. 634 0024 1D48 ldr r0, .L27
  940. 635 0026 FFF7FEFF bl assert_failed
  941. 636 .L22:
  942. 286:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  943. 287:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process locked */
  944. 288:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_LOCK(hdma);
  945. 637 .loc 1 288 3 is_stmt 1
  946. 638 002a FB68 ldr r3, [r7, #12]
  947. 639 002c 93F82030 ldrb r3, [r3, #32] @ zero_extendqisi2
  948. 640 0030 012B cmp r3, #1
  949. 641 0032 01D1 bne .L23
  950. 642 .loc 1 288 3 is_stmt 0 discriminator 1
  951. 643 0034 0223 movs r3, #2
  952. 644 0036 2DE0 b .L24
  953. 645 .L23:
  954. 646 .loc 1 288 3 discriminator 2
  955. 647 0038 FB68 ldr r3, [r7, #12]
  956. 648 003a 0122 movs r2, #1
  957. 649 003c 83F82020 strb r2, [r3, #32]
  958. 289:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  959. 290:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
  960. 650 .loc 1 290 33 is_stmt 1 discriminator 2
  961. 651 0040 FB68 ldr r3, [r7, #12]
  962. 652 0042 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2
  963. 653 .loc 1 290 5 discriminator 2
  964. 654 0046 012B cmp r3, #1
  965. 655 0048 1DD1 bne .L25
  966. 291:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  967. 292:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change DMA peripheral state */
  968. 293:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
  969. 656 .loc 1 293 17
  970. 657 004a FB68 ldr r3, [r7, #12]
  971. 658 004c 0222 movs r2, #2
  972. 659 004e 83F82120 strb r2, [r3, #33]
  973. 294:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  974. 295:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  975. 660 .loc 1 295 21
  976. 661 0052 FB68 ldr r3, [r7, #12]
  977. 662 0054 0022 movs r2, #0
  978. 663 0056 9A63 str r2, [r3, #56]
  979. 296:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  980. 297:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the peripheral */
  981. 298:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN;
  982. 664 .loc 1 298 9
  983. 665 0058 FB68 ldr r3, [r7, #12]
  984. 666 005a 1B68 ldr r3, [r3]
  985. 667 .loc 1 298 25
  986. 668 005c 1A68 ldr r2, [r3]
  987. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 18
  988. 669 .loc 1 298 9
  989. 670 005e FB68 ldr r3, [r7, #12]
  990. 671 0060 1B68 ldr r3, [r3]
  991. 672 .loc 1 298 25
  992. 673 0062 22F00102 bic r2, r2, #1
  993. 674 0066 1A60 str r2, [r3]
  994. 299:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  995. 300:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure the source, destination address and the data length */
  996. 301:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength);
  997. 675 .loc 1 301 5
  998. 676 0068 3B68 ldr r3, [r7]
  999. 677 006a 7A68 ldr r2, [r7, #4]
  1000. 678 006c B968 ldr r1, [r7, #8]
  1001. 679 006e F868 ldr r0, [r7, #12]
  1002. 680 0070 FFF7FEFF bl DMA_SetConfig
  1003. 302:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1004. 303:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Enable the Peripheral */
  1005. 304:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR |= DMA_CCR_EN;
  1006. 681 .loc 1 304 9
  1007. 682 0074 FB68 ldr r3, [r7, #12]
  1008. 683 0076 1B68 ldr r3, [r3]
  1009. 684 .loc 1 304 25
  1010. 685 0078 1A68 ldr r2, [r3]
  1011. 686 .loc 1 304 9
  1012. 687 007a FB68 ldr r3, [r7, #12]
  1013. 688 007c 1B68 ldr r3, [r3]
  1014. 689 .loc 1 304 25
  1015. 690 007e 42F00102 orr r2, r2, #1
  1016. 691 0082 1A60 str r2, [r3]
  1017. 692 0084 05E0 b .L26
  1018. 693 .L25:
  1019. 305:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1020. 306:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
  1021. 307:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1022. 308:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
  1023. 309:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  1024. 694 .loc 1 309 5
  1025. 695 0086 FB68 ldr r3, [r7, #12]
  1026. 696 0088 0022 movs r2, #0
  1027. 697 008a 83F82020 strb r2, [r3, #32]
  1028. 310:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1029. 311:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Remain BUSY */
  1030. 312:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_BUSY;
  1031. 698 .loc 1 312 12
  1032. 699 008e 0223 movs r3, #2
  1033. 700 0090 FB75 strb r3, [r7, #23]
  1034. 701 .L26:
  1035. 313:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1036. 314:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1037. 315:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status;
  1038. 702 .loc 1 315 10
  1039. 703 0092 FB7D ldrb r3, [r7, #23] @ zero_extendqisi2
  1040. 704 .L24:
  1041. 316:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1042. 705 .loc 1 316 1
  1043. 706 0094 1846 mov r0, r3
  1044. 707 0096 1837 adds r7, r7, #24
  1045. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 19
  1046. 708 .LCFI13:
  1047. 709 .cfi_def_cfa_offset 8
  1048. 710 0098 BD46 mov sp, r7
  1049. 711 .LCFI14:
  1050. 712 .cfi_def_cfa_register 13
  1051. 713 @ sp needed
  1052. 714 009a 80BD pop {r7, pc}
  1053. 715 .L28:
  1054. 716 .align 2
  1055. 717 .L27:
  1056. 718 009c 00000000 .word .LC0
  1057. 719 .cfi_endproc
  1058. 720 .LFE132:
  1059. 722 .section .text.HAL_DMA_Start_IT,"ax",%progbits
  1060. 723 .align 1
  1061. 724 .global HAL_DMA_Start_IT
  1062. 725 .syntax unified
  1063. 726 .thumb
  1064. 727 .thumb_func
  1065. 729 HAL_DMA_Start_IT:
  1066. 730 .LFB133:
  1067. 317:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1068. 318:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  1069. 319:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Start the DMA Transfer with interrupt enabled.
  1070. 320:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1071. 321:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  1072. 322:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address
  1073. 323:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address
  1074. 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination
  1075. 325:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
  1076. 326:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  1077. 327:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddres
  1078. 328:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1079. 731 .loc 1 328 1
  1080. 732 .cfi_startproc
  1081. 733 @ args = 0, pretend = 0, frame = 24
  1082. 734 @ frame_needed = 1, uses_anonymous_args = 0
  1083. 735 0000 80B5 push {r7, lr}
  1084. 736 .LCFI15:
  1085. 737 .cfi_def_cfa_offset 8
  1086. 738 .cfi_offset 7, -8
  1087. 739 .cfi_offset 14, -4
  1088. 740 0002 86B0 sub sp, sp, #24
  1089. 741 .LCFI16:
  1090. 742 .cfi_def_cfa_offset 32
  1091. 743 0004 00AF add r7, sp, #0
  1092. 744 .LCFI17:
  1093. 745 .cfi_def_cfa_register 7
  1094. 746 0006 F860 str r0, [r7, #12]
  1095. 747 0008 B960 str r1, [r7, #8]
  1096. 748 000a 7A60 str r2, [r7, #4]
  1097. 749 000c 3B60 str r3, [r7]
  1098. 329:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  1099. 750 .loc 1 329 21
  1100. 751 000e 0023 movs r3, #0
  1101. 752 0010 FB75 strb r3, [r7, #23]
  1102. 330:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1103. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 20
  1104. 331:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the parameters */
  1105. 332:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength));
  1106. 753 .loc 1 332 3
  1107. 754 0012 3B68 ldr r3, [r7]
  1108. 755 0014 002B cmp r3, #0
  1109. 756 0016 03D0 beq .L30
  1110. 757 .loc 1 332 3 is_stmt 0 discriminator 2
  1111. 758 0018 3B68 ldr r3, [r7]
  1112. 759 001a B3F5803F cmp r3, #65536
  1113. 760 001e 04D3 bcc .L31
  1114. 761 .L30:
  1115. 762 .loc 1 332 3 discriminator 3
  1116. 763 0020 4FF4A671 mov r1, #332
  1117. 764 0024 2C48 ldr r0, .L38
  1118. 765 0026 FFF7FEFF bl assert_failed
  1119. 766 .L31:
  1120. 333:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1121. 334:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process locked */
  1122. 335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_LOCK(hdma);
  1123. 767 .loc 1 335 3 is_stmt 1
  1124. 768 002a FB68 ldr r3, [r7, #12]
  1125. 769 002c 93F82030 ldrb r3, [r3, #32] @ zero_extendqisi2
  1126. 770 0030 012B cmp r3, #1
  1127. 771 0032 01D1 bne .L32
  1128. 772 .loc 1 335 3 is_stmt 0 discriminator 1
  1129. 773 0034 0223 movs r3, #2
  1130. 774 0036 4AE0 b .L33
  1131. 775 .L32:
  1132. 776 .loc 1 335 3 discriminator 2
  1133. 777 0038 FB68 ldr r3, [r7, #12]
  1134. 778 003a 0122 movs r2, #1
  1135. 779 003c 83F82020 strb r2, [r3, #32]
  1136. 336:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1137. 337:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
  1138. 780 .loc 1 337 33 is_stmt 1 discriminator 2
  1139. 781 0040 FB68 ldr r3, [r7, #12]
  1140. 782 0042 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2
  1141. 783 .loc 1 337 5 discriminator 2
  1142. 784 0046 012B cmp r3, #1
  1143. 785 0048 3AD1 bne .L34
  1144. 338:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1145. 339:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change DMA peripheral state */
  1146. 340:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
  1147. 786 .loc 1 340 17
  1148. 787 004a FB68 ldr r3, [r7, #12]
  1149. 788 004c 0222 movs r2, #2
  1150. 789 004e 83F82120 strb r2, [r3, #33]
  1151. 341:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1152. 342:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  1153. 790 .loc 1 342 21
  1154. 791 0052 FB68 ldr r3, [r7, #12]
  1155. 792 0054 0022 movs r2, #0
  1156. 793 0056 9A63 str r2, [r3, #56]
  1157. 343:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1158. 344:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the peripheral */
  1159. 345:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN;
  1160. 794 .loc 1 345 9
  1161. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 21
  1162. 795 0058 FB68 ldr r3, [r7, #12]
  1163. 796 005a 1B68 ldr r3, [r3]
  1164. 797 .loc 1 345 25
  1165. 798 005c 1A68 ldr r2, [r3]
  1166. 799 .loc 1 345 9
  1167. 800 005e FB68 ldr r3, [r7, #12]
  1168. 801 0060 1B68 ldr r3, [r3]
  1169. 802 .loc 1 345 25
  1170. 803 0062 22F00102 bic r2, r2, #1
  1171. 804 0066 1A60 str r2, [r3]
  1172. 346:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1173. 347:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure the source, destination address and the data length */
  1174. 348:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength);
  1175. 805 .loc 1 348 5
  1176. 806 0068 3B68 ldr r3, [r7]
  1177. 807 006a 7A68 ldr r2, [r7, #4]
  1178. 808 006c B968 ldr r1, [r7, #8]
  1179. 809 006e F868 ldr r0, [r7, #12]
  1180. 810 0070 FFF7FEFF bl DMA_SetConfig
  1181. 349:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1182. 350:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Enable the transfer complete, & transfer error interrupts */
  1183. 351:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Half transfer interrupt is optional: enable it only if associated callback is available */
  1184. 352:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(NULL != hdma->XferHalfCpltCallback )
  1185. 811 .loc 1 352 20
  1186. 812 0074 FB68 ldr r3, [r7, #12]
  1187. 813 0076 DB6A ldr r3, [r3, #44]
  1188. 814 .loc 1 352 7
  1189. 815 0078 002B cmp r3, #0
  1190. 816 007a 08D0 beq .L35
  1191. 353:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1192. 354:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR |= (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE);
  1193. 817 .loc 1 354 11
  1194. 818 007c FB68 ldr r3, [r7, #12]
  1195. 819 007e 1B68 ldr r3, [r3]
  1196. 820 .loc 1 354 27
  1197. 821 0080 1A68 ldr r2, [r3]
  1198. 822 .loc 1 354 11
  1199. 823 0082 FB68 ldr r3, [r7, #12]
  1200. 824 0084 1B68 ldr r3, [r3]
  1201. 825 .loc 1 354 27
  1202. 826 0086 42F00E02 orr r2, r2, #14
  1203. 827 008a 1A60 str r2, [r3]
  1204. 828 008c 0FE0 b .L36
  1205. 829 .L35:
  1206. 355:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1207. 356:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
  1208. 357:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1209. 358:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR |= (DMA_IT_TC | DMA_IT_TE);
  1210. 830 .loc 1 358 11
  1211. 831 008e FB68 ldr r3, [r7, #12]
  1212. 832 0090 1B68 ldr r3, [r3]
  1213. 833 .loc 1 358 27
  1214. 834 0092 1A68 ldr r2, [r3]
  1215. 835 .loc 1 358 11
  1216. 836 0094 FB68 ldr r3, [r7, #12]
  1217. 837 0096 1B68 ldr r3, [r3]
  1218. 838 .loc 1 358 27
  1219. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 22
  1220. 839 0098 42F00A02 orr r2, r2, #10
  1221. 840 009c 1A60 str r2, [r3]
  1222. 359:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_IT_HT;
  1223. 841 .loc 1 359 11
  1224. 842 009e FB68 ldr r3, [r7, #12]
  1225. 843 00a0 1B68 ldr r3, [r3]
  1226. 844 .loc 1 359 27
  1227. 845 00a2 1A68 ldr r2, [r3]
  1228. 846 .loc 1 359 11
  1229. 847 00a4 FB68 ldr r3, [r7, #12]
  1230. 848 00a6 1B68 ldr r3, [r3]
  1231. 849 .loc 1 359 27
  1232. 850 00a8 22F00402 bic r2, r2, #4
  1233. 851 00ac 1A60 str r2, [r3]
  1234. 852 .L36:
  1235. 360:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1236. 361:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1237. 362:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Enable the Peripheral */
  1238. 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR |= DMA_CCR_EN;
  1239. 853 .loc 1 363 9
  1240. 854 00ae FB68 ldr r3, [r7, #12]
  1241. 855 00b0 1B68 ldr r3, [r3]
  1242. 856 .loc 1 363 25
  1243. 857 00b2 1A68 ldr r2, [r3]
  1244. 858 .loc 1 363 9
  1245. 859 00b4 FB68 ldr r3, [r7, #12]
  1246. 860 00b6 1B68 ldr r3, [r3]
  1247. 861 .loc 1 363 25
  1248. 862 00b8 42F00102 orr r2, r2, #1
  1249. 863 00bc 1A60 str r2, [r3]
  1250. 864 00be 05E0 b .L37
  1251. 865 .L34:
  1252. 364:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1253. 365:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
  1254. 366:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1255. 367:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
  1256. 368:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  1257. 866 .loc 1 368 5
  1258. 867 00c0 FB68 ldr r3, [r7, #12]
  1259. 868 00c2 0022 movs r2, #0
  1260. 869 00c4 83F82020 strb r2, [r3, #32]
  1261. 369:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1262. 370:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Remain BUSY */
  1263. 371:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_BUSY;
  1264. 870 .loc 1 371 12
  1265. 871 00c8 0223 movs r3, #2
  1266. 872 00ca FB75 strb r3, [r7, #23]
  1267. 873 .L37:
  1268. 372:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1269. 373:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1270. 374:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status;
  1271. 874 .loc 1 374 10
  1272. 875 00cc FB7D ldrb r3, [r7, #23] @ zero_extendqisi2
  1273. 876 .L33:
  1274. 375:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1275. 877 .loc 1 375 1
  1276. 878 00ce 1846 mov r0, r3
  1277. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 23
  1278. 879 00d0 1837 adds r7, r7, #24
  1279. 880 .LCFI18:
  1280. 881 .cfi_def_cfa_offset 8
  1281. 882 00d2 BD46 mov sp, r7
  1282. 883 .LCFI19:
  1283. 884 .cfi_def_cfa_register 13
  1284. 885 @ sp needed
  1285. 886 00d4 80BD pop {r7, pc}
  1286. 887 .L39:
  1287. 888 00d6 00BF .align 2
  1288. 889 .L38:
  1289. 890 00d8 00000000 .word .LC0
  1290. 891 .cfi_endproc
  1291. 892 .LFE133:
  1292. 894 .section .text.HAL_DMA_Abort,"ax",%progbits
  1293. 895 .align 1
  1294. 896 .global HAL_DMA_Abort
  1295. 897 .syntax unified
  1296. 898 .thumb
  1297. 899 .thumb_func
  1298. 901 HAL_DMA_Abort:
  1299. 902 .LFB134:
  1300. 376:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1301. 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  1302. 378:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Abort the DMA Transfer.
  1303. 379:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains
  1304. 380:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  1305. 381:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
  1306. 382:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  1307. 383:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma)
  1308. 384:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1309. 903 .loc 1 384 1
  1310. 904 .cfi_startproc
  1311. 905 @ args = 0, pretend = 0, frame = 8
  1312. 906 @ frame_needed = 1, uses_anonymous_args = 0
  1313. 907 @ link register save eliminated.
  1314. 908 0000 80B4 push {r7}
  1315. 909 .LCFI20:
  1316. 910 .cfi_def_cfa_offset 4
  1317. 911 .cfi_offset 7, -4
  1318. 912 0002 83B0 sub sp, sp, #12
  1319. 913 .LCFI21:
  1320. 914 .cfi_def_cfa_offset 16
  1321. 915 0004 00AF add r7, sp, #0
  1322. 916 .LCFI22:
  1323. 917 .cfi_def_cfa_register 7
  1324. 918 0006 7860 str r0, [r7, #4]
  1325. 385:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the DMA handle allocation */
  1326. 386:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(NULL == hdma)
  1327. 919 .loc 1 386 5
  1328. 920 0008 7B68 ldr r3, [r7, #4]
  1329. 921 000a 002B cmp r3, #0
  1330. 922 000c 01D1 bne .L41
  1331. 387:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1332. 388:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
  1333. 923 .loc 1 388 12
  1334. 924 000e 0123 movs r3, #1
  1335. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 24
  1336. 925 0010 2EE0 b .L42
  1337. 926 .L41:
  1338. 389:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1339. 390:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1340. 391:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->State != HAL_DMA_STATE_BUSY)
  1341. 927 .loc 1 391 10
  1342. 928 0012 7B68 ldr r3, [r7, #4]
  1343. 929 0014 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2
  1344. 930 .loc 1 391 5
  1345. 931 0018 022B cmp r3, #2
  1346. 932 001a 08D0 beq .L43
  1347. 392:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1348. 393:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* no transfer ongoing */
  1349. 394:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
  1350. 933 .loc 1 394 21
  1351. 934 001c 7B68 ldr r3, [r7, #4]
  1352. 935 001e 0422 movs r2, #4
  1353. 936 0020 9A63 str r2, [r3, #56]
  1354. 395:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1355. 396:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
  1356. 397:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  1357. 937 .loc 1 397 5
  1358. 938 0022 7B68 ldr r3, [r7, #4]
  1359. 939 0024 0022 movs r2, #0
  1360. 940 0026 83F82020 strb r2, [r3, #32]
  1361. 398:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1362. 399:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
  1363. 941 .loc 1 399 12
  1364. 942 002a 0123 movs r3, #1
  1365. 943 002c 20E0 b .L42
  1366. 944 .L43:
  1367. 400:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1368. 401:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
  1369. 402:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1370. 403:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable DMA IT */
  1371. 404:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~(DMA_IT_TC | DMA_IT_HT | DMA_IT_TE);
  1372. 945 .loc 1 404 9
  1373. 946 002e 7B68 ldr r3, [r7, #4]
  1374. 947 0030 1B68 ldr r3, [r3]
  1375. 948 .loc 1 404 25
  1376. 949 0032 1A68 ldr r2, [r3]
  1377. 950 .loc 1 404 9
  1378. 951 0034 7B68 ldr r3, [r7, #4]
  1379. 952 0036 1B68 ldr r3, [r3]
  1380. 953 .loc 1 404 25
  1381. 954 0038 22F00E02 bic r2, r2, #14
  1382. 955 003c 1A60 str r2, [r3]
  1383. 405:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1384. 406:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the channel */
  1385. 407:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN;
  1386. 956 .loc 1 407 9
  1387. 957 003e 7B68 ldr r3, [r7, #4]
  1388. 958 0040 1B68 ldr r3, [r3]
  1389. 959 .loc 1 407 25
  1390. 960 0042 1A68 ldr r2, [r3]
  1391. 961 .loc 1 407 9
  1392. 962 0044 7B68 ldr r3, [r7, #4]
  1393. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 25
  1394. 963 0046 1B68 ldr r3, [r3]
  1395. 964 .loc 1 407 25
  1396. 965 0048 22F00102 bic r2, r2, #1
  1397. 966 004c 1A60 str r2, [r3]
  1398. 408:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1399. 409:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */
  1400. 410:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_FLAG_GL1 << hdma->ChannelIndex);
  1401. 967 .loc 1 410 55
  1402. 968 004e 7B68 ldr r3, [r7, #4]
  1403. 969 0050 1A6C ldr r2, [r3, #64]
  1404. 970 .loc 1 410 9
  1405. 971 0052 7B68 ldr r3, [r7, #4]
  1406. 972 0054 DB6B ldr r3, [r3, #60]
  1407. 973 .loc 1 410 48
  1408. 974 0056 0121 movs r1, #1
  1409. 975 0058 01FA02F2 lsl r2, r1, r2
  1410. 976 .loc 1 410 32
  1411. 977 005c 5A60 str r2, [r3, #4]
  1412. 411:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1413. 412:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state*/
  1414. 413:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  1415. 978 .loc 1 413 15
  1416. 979 005e 7B68 ldr r3, [r7, #4]
  1417. 980 0060 0122 movs r2, #1
  1418. 981 0062 83F82120 strb r2, [r3, #33]
  1419. 414:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1420. 415:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
  1421. 416:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  1422. 982 .loc 1 416 3
  1423. 983 0066 7B68 ldr r3, [r7, #4]
  1424. 984 0068 0022 movs r2, #0
  1425. 985 006a 83F82020 strb r2, [r3, #32]
  1426. 417:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1427. 418:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_OK;
  1428. 986 .loc 1 418 10
  1429. 987 006e 0023 movs r3, #0
  1430. 988 .L42:
  1431. 419:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1432. 989 .loc 1 419 1
  1433. 990 0070 1846 mov r0, r3
  1434. 991 0072 0C37 adds r7, r7, #12
  1435. 992 .LCFI23:
  1436. 993 .cfi_def_cfa_offset 4
  1437. 994 0074 BD46 mov sp, r7
  1438. 995 .LCFI24:
  1439. 996 .cfi_def_cfa_register 13
  1440. 997 @ sp needed
  1441. 998 0076 5DF8047B ldr r7, [sp], #4
  1442. 999 .LCFI25:
  1443. 1000 .cfi_restore 7
  1444. 1001 .cfi_def_cfa_offset 0
  1445. 1002 007a 7047 bx lr
  1446. 1003 .cfi_endproc
  1447. 1004 .LFE134:
  1448. 1006 .section .text.HAL_DMA_Abort_IT,"ax",%progbits
  1449. 1007 .align 1
  1450. 1008 .global HAL_DMA_Abort_IT
  1451. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 26
  1452. 1009 .syntax unified
  1453. 1010 .thumb
  1454. 1011 .thumb_func
  1455. 1013 HAL_DMA_Abort_IT:
  1456. 1014 .LFB135:
  1457. 420:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1458. 421:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  1459. 422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Abort the DMA Transfer in Interrupt mode.
  1460. 423:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains
  1461. 424:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  1462. 425:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
  1463. 426:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  1464. 427:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma)
  1465. 428:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1466. 1015 .loc 1 428 1
  1467. 1016 .cfi_startproc
  1468. 1017 @ args = 0, pretend = 0, frame = 16
  1469. 1018 @ frame_needed = 1, uses_anonymous_args = 0
  1470. 1019 0000 80B5 push {r7, lr}
  1471. 1020 .LCFI26:
  1472. 1021 .cfi_def_cfa_offset 8
  1473. 1022 .cfi_offset 7, -8
  1474. 1023 .cfi_offset 14, -4
  1475. 1024 0002 84B0 sub sp, sp, #16
  1476. 1025 .LCFI27:
  1477. 1026 .cfi_def_cfa_offset 24
  1478. 1027 0004 00AF add r7, sp, #0
  1479. 1028 .LCFI28:
  1480. 1029 .cfi_def_cfa_register 7
  1481. 1030 0006 7860 str r0, [r7, #4]
  1482. 429:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  1483. 1031 .loc 1 429 21
  1484. 1032 0008 0023 movs r3, #0
  1485. 1033 000a FB73 strb r3, [r7, #15]
  1486. 430:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1487. 431:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State)
  1488. 1034 .loc 1 431 32
  1489. 1035 000c 7B68 ldr r3, [r7, #4]
  1490. 1036 000e 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2
  1491. 1037 .loc 1 431 5
  1492. 1038 0012 022B cmp r3, #2
  1493. 1039 0014 05D0 beq .L45
  1494. 432:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1495. 433:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* no transfer ongoing */
  1496. 434:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
  1497. 1040 .loc 1 434 21
  1498. 1041 0016 7B68 ldr r3, [r7, #4]
  1499. 1042 0018 0422 movs r2, #4
  1500. 1043 001a 9A63 str r2, [r3, #56]
  1501. 435:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1502. 436:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR;
  1503. 1044 .loc 1 436 12
  1504. 1045 001c 0123 movs r3, #1
  1505. 1046 001e FB73 strb r3, [r7, #15]
  1506. 1047 0020 27E0 b .L46
  1507. 1048 .L45:
  1508. 437:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1509. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 27
  1510. 438:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
  1511. 439:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1512. 440:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable DMA IT */
  1513. 441:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~(DMA_IT_TC | DMA_IT_HT | DMA_IT_TE);
  1514. 1049 .loc 1 441 9
  1515. 1050 0022 7B68 ldr r3, [r7, #4]
  1516. 1051 0024 1B68 ldr r3, [r3]
  1517. 1052 .loc 1 441 25
  1518. 1053 0026 1A68 ldr r2, [r3]
  1519. 1054 .loc 1 441 9
  1520. 1055 0028 7B68 ldr r3, [r7, #4]
  1521. 1056 002a 1B68 ldr r3, [r3]
  1522. 1057 .loc 1 441 25
  1523. 1058 002c 22F00E02 bic r2, r2, #14
  1524. 1059 0030 1A60 str r2, [r3]
  1525. 442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1526. 443:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the channel */
  1527. 444:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN;
  1528. 1060 .loc 1 444 9
  1529. 1061 0032 7B68 ldr r3, [r7, #4]
  1530. 1062 0034 1B68 ldr r3, [r3]
  1531. 1063 .loc 1 444 25
  1532. 1064 0036 1A68 ldr r2, [r3]
  1533. 1065 .loc 1 444 9
  1534. 1066 0038 7B68 ldr r3, [r7, #4]
  1535. 1067 003a 1B68 ldr r3, [r3]
  1536. 1068 .loc 1 444 25
  1537. 1069 003c 22F00102 bic r2, r2, #1
  1538. 1070 0040 1A60 str r2, [r3]
  1539. 445:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1540. 446:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */
  1541. 447:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_GL1 << hdma->ChannelIndex;
  1542. 1071 .loc 1 447 54
  1543. 1072 0042 7B68 ldr r3, [r7, #4]
  1544. 1073 0044 1A6C ldr r2, [r3, #64]
  1545. 1074 .loc 1 447 9
  1546. 1075 0046 7B68 ldr r3, [r7, #4]
  1547. 1076 0048 DB6B ldr r3, [r3, #60]
  1548. 1077 .loc 1 447 47
  1549. 1078 004a 0121 movs r1, #1
  1550. 1079 004c 01FA02F2 lsl r2, r1, r2
  1551. 1080 .loc 1 447 32
  1552. 1081 0050 5A60 str r2, [r3, #4]
  1553. 448:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1554. 449:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */
  1555. 450:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  1556. 1082 .loc 1 450 17
  1557. 1083 0052 7B68 ldr r3, [r7, #4]
  1558. 1084 0054 0122 movs r2, #1
  1559. 1085 0056 83F82120 strb r2, [r3, #33]
  1560. 451:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1561. 452:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
  1562. 453:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  1563. 1086 .loc 1 453 5
  1564. 1087 005a 7B68 ldr r3, [r7, #4]
  1565. 1088 005c 0022 movs r2, #0
  1566. 1089 005e 83F82020 strb r2, [r3, #32]
  1567. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 28
  1568. 454:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1569. 455:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Call User Abort callback */
  1570. 456:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->XferAbortCallback != NULL)
  1571. 1090 .loc 1 456 12
  1572. 1091 0062 7B68 ldr r3, [r7, #4]
  1573. 1092 0064 5B6B ldr r3, [r3, #52]
  1574. 1093 .loc 1 456 7
  1575. 1094 0066 002B cmp r3, #0
  1576. 1095 0068 03D0 beq .L46
  1577. 457:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1578. 458:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback(hdma);
  1579. 1096 .loc 1 458 11
  1580. 1097 006a 7B68 ldr r3, [r7, #4]
  1581. 1098 006c 5B6B ldr r3, [r3, #52]
  1582. 1099 .loc 1 458 7
  1583. 1100 006e 7868 ldr r0, [r7, #4]
  1584. 1101 0070 9847 blx r3
  1585. 1102 .LVL0:
  1586. 1103 .L46:
  1587. 459:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1588. 460:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1589. 461:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status;
  1590. 1104 .loc 1 461 10
  1591. 1105 0072 FB7B ldrb r3, [r7, #15] @ zero_extendqisi2
  1592. 462:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1593. 1106 .loc 1 462 1
  1594. 1107 0074 1846 mov r0, r3
  1595. 1108 0076 1037 adds r7, r7, #16
  1596. 1109 .LCFI29:
  1597. 1110 .cfi_def_cfa_offset 8
  1598. 1111 0078 BD46 mov sp, r7
  1599. 1112 .LCFI30:
  1600. 1113 .cfi_def_cfa_register 13
  1601. 1114 @ sp needed
  1602. 1115 007a 80BD pop {r7, pc}
  1603. 1116 .cfi_endproc
  1604. 1117 .LFE135:
  1605. 1119 .section .text.HAL_DMA_PollForTransfer,"ax",%progbits
  1606. 1120 .align 1
  1607. 1121 .global HAL_DMA_PollForTransfer
  1608. 1122 .syntax unified
  1609. 1123 .thumb
  1610. 1124 .thumb_func
  1611. 1126 HAL_DMA_PollForTransfer:
  1612. 1127 .LFB136:
  1613. 463:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1614. 464:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  1615. 465:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Polling for transfer complete.
  1616. 466:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1617. 467:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  1618. 468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param CompleteLevel Specifies the DMA level complete.
  1619. 469:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param Timeout Timeout duration.
  1620. 470:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
  1621. 471:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  1622. 472:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, uint32_t CompleteLevel, uint32_t
  1623. 473:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1624. 1128 .loc 1 473 1
  1625. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 29
  1626. 1129 .cfi_startproc
  1627. 1130 @ args = 0, pretend = 0, frame = 24
  1628. 1131 @ frame_needed = 1, uses_anonymous_args = 0
  1629. 1132 0000 80B5 push {r7, lr}
  1630. 1133 .LCFI31:
  1631. 1134 .cfi_def_cfa_offset 8
  1632. 1135 .cfi_offset 7, -8
  1633. 1136 .cfi_offset 14, -4
  1634. 1137 0002 86B0 sub sp, sp, #24
  1635. 1138 .LCFI32:
  1636. 1139 .cfi_def_cfa_offset 32
  1637. 1140 0004 00AF add r7, sp, #0
  1638. 1141 .LCFI33:
  1639. 1142 .cfi_def_cfa_register 7
  1640. 1143 0006 F860 str r0, [r7, #12]
  1641. 1144 0008 B960 str r1, [r7, #8]
  1642. 1145 000a 7A60 str r2, [r7, #4]
  1643. 474:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t temp;
  1644. 475:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t tickstart = 0U;
  1645. 1146 .loc 1 475 12
  1646. 1147 000c 0023 movs r3, #0
  1647. 1148 000e 3B61 str r3, [r7, #16]
  1648. 476:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1649. 477:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State)
  1650. 1149 .loc 1 477 32
  1651. 1150 0010 FB68 ldr r3, [r7, #12]
  1652. 1151 0012 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2
  1653. 1152 .loc 1 477 5
  1654. 1153 0016 022B cmp r3, #2
  1655. 1154 0018 08D0 beq .L49
  1656. 478:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1657. 479:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* no transfer ongoing */
  1658. 480:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
  1659. 1155 .loc 1 480 21
  1660. 1156 001a FB68 ldr r3, [r7, #12]
  1661. 1157 001c 0422 movs r2, #4
  1662. 1158 001e 9A63 str r2, [r3, #56]
  1663. 481:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  1664. 1159 .loc 1 481 5
  1665. 1160 0020 FB68 ldr r3, [r7, #12]
  1666. 1161 0022 0022 movs r2, #0
  1667. 1162 0024 83F82020 strb r2, [r3, #32]
  1668. 482:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
  1669. 1163 .loc 1 482 12
  1670. 1164 0028 0123 movs r3, #1
  1671. 1165 002a 80E0 b .L50
  1672. 1166 .L49:
  1673. 483:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1674. 484:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1675. 485:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Polling mode not supported in circular mode */
  1676. 486:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if (RESET != (hdma->Instance->CCR & DMA_CCR_CIRC))
  1677. 1167 .loc 1 486 21
  1678. 1168 002c FB68 ldr r3, [r7, #12]
  1679. 1169 002e 1B68 ldr r3, [r3]
  1680. 1170 .loc 1 486 31
  1681. 1171 0030 1B68 ldr r3, [r3]
  1682. 1172 .loc 1 486 37
  1683. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 30
  1684. 1173 0032 03F02003 and r3, r3, #32
  1685. 1174 .loc 1 486 6
  1686. 1175 0036 002B cmp r3, #0
  1687. 1176 0038 05D0 beq .L51
  1688. 487:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1689. 488:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NOT_SUPPORTED;
  1690. 1177 .loc 1 488 21
  1691. 1178 003a FB68 ldr r3, [r7, #12]
  1692. 1179 003c 4FF48072 mov r2, #256
  1693. 1180 0040 9A63 str r2, [r3, #56]
  1694. 489:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
  1695. 1181 .loc 1 489 12
  1696. 1182 0042 0123 movs r3, #1
  1697. 1183 0044 73E0 b .L50
  1698. 1184 .L51:
  1699. 490:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1700. 491:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1701. 492:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Get the level transfer complete flag */
  1702. 493:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_FULL_TRANSFER == CompleteLevel)
  1703. 1185 .loc 1 493 5
  1704. 1186 0046 BB68 ldr r3, [r7, #8]
  1705. 1187 0048 002B cmp r3, #0
  1706. 1188 004a 06D1 bne .L52
  1707. 494:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1708. 495:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer Complete flag */
  1709. 496:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** temp = DMA_FLAG_TC1 << hdma->ChannelIndex;
  1710. 1189 .loc 1 496 32
  1711. 1190 004c FB68 ldr r3, [r7, #12]
  1712. 1191 004e 1B6C ldr r3, [r3, #64]
  1713. 1192 .loc 1 496 10
  1714. 1193 0050 0222 movs r2, #2
  1715. 1194 0052 02FA03F3 lsl r3, r2, r3
  1716. 1195 0056 7B61 str r3, [r7, #20]
  1717. 1196 0058 05E0 b .L53
  1718. 1197 .L52:
  1719. 497:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1720. 498:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
  1721. 499:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1722. 500:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Half Transfer Complete flag */
  1723. 501:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** temp = DMA_FLAG_HT1 << hdma->ChannelIndex;
  1724. 1198 .loc 1 501 32
  1725. 1199 005a FB68 ldr r3, [r7, #12]
  1726. 1200 005c 1B6C ldr r3, [r3, #64]
  1727. 1201 .loc 1 501 10
  1728. 1202 005e 0422 movs r2, #4
  1729. 1203 0060 02FA03F3 lsl r3, r2, r3
  1730. 1204 0064 7B61 str r3, [r7, #20]
  1731. 1205 .L53:
  1732. 502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1733. 503:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1734. 504:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Get tick */
  1735. 505:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** tickstart = HAL_GetTick();
  1736. 1206 .loc 1 505 15
  1737. 1207 0066 FFF7FEFF bl HAL_GetTick
  1738. 1208 006a 3861 str r0, [r7, #16]
  1739. 506:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1740. 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** while(RESET == (hdma->DmaBaseAddress->ISR & temp))
  1741. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 31
  1742. 1209 .loc 1 507 8
  1743. 1210 006c 3BE0 b .L54
  1744. 1211 .L57:
  1745. 508:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1746. 509:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(RESET != (hdma->DmaBaseAddress->ISR & (DMA_FLAG_TE1 << hdma->ChannelIndex)))
  1747. 1212 .loc 1 509 22
  1748. 1213 006e FB68 ldr r3, [r7, #12]
  1749. 1214 0070 DB6B ldr r3, [r3, #60]
  1750. 1215 .loc 1 509 38
  1751. 1216 0072 1A68 ldr r2, [r3]
  1752. 1217 .loc 1 509 67
  1753. 1218 0074 FB68 ldr r3, [r7, #12]
  1754. 1219 0076 1B6C ldr r3, [r3, #64]
  1755. 1220 .loc 1 509 60
  1756. 1221 0078 0821 movs r1, #8
  1757. 1222 007a 01FA03F3 lsl r3, r1, r3
  1758. 1223 .loc 1 509 44
  1759. 1224 007e 1340 ands r3, r3, r2
  1760. 1225 .loc 1 509 7
  1761. 1226 0080 002B cmp r3, #0
  1762. 1227 0082 14D0 beq .L55
  1763. 510:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1764. 511:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* When a DMA transfer error occurs */
  1765. 512:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */
  1766. 513:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */
  1767. 514:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_GL1 << hdma->ChannelIndex;
  1768. 1228 .loc 1 514 56
  1769. 1229 0084 FB68 ldr r3, [r7, #12]
  1770. 1230 0086 1A6C ldr r2, [r3, #64]
  1771. 1231 .loc 1 514 11
  1772. 1232 0088 FB68 ldr r3, [r7, #12]
  1773. 1233 008a DB6B ldr r3, [r3, #60]
  1774. 1234 .loc 1 514 49
  1775. 1235 008c 0121 movs r1, #1
  1776. 1236 008e 01FA02F2 lsl r2, r1, r2
  1777. 1237 .loc 1 514 34
  1778. 1238 0092 5A60 str r2, [r3, #4]
  1779. 515:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1780. 516:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Update error code */
  1781. 517:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TE;
  1782. 1239 .loc 1 517 23
  1783. 1240 0094 FB68 ldr r3, [r7, #12]
  1784. 1241 0096 0122 movs r2, #1
  1785. 1242 0098 9A63 str r2, [r3, #56]
  1786. 518:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1787. 519:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */
  1788. 520:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State= HAL_DMA_STATE_READY;
  1789. 1243 .loc 1 520 18
  1790. 1244 009a FB68 ldr r3, [r7, #12]
  1791. 1245 009c 0122 movs r2, #1
  1792. 1246 009e 83F82120 strb r2, [r3, #33]
  1793. 521:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1794. 522:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
  1795. 523:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  1796. 1247 .loc 1 523 7
  1797. 1248 00a2 FB68 ldr r3, [r7, #12]
  1798. 1249 00a4 0022 movs r2, #0
  1799. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 32
  1800. 1250 00a6 83F82020 strb r2, [r3, #32]
  1801. 524:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1802. 525:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
  1803. 1251 .loc 1 525 14
  1804. 1252 00aa 0123 movs r3, #1
  1805. 1253 00ac 3FE0 b .L50
  1806. 1254 .L55:
  1807. 526:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1808. 527:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check for the Timeout */
  1809. 528:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(Timeout != HAL_MAX_DELAY)
  1810. 1255 .loc 1 528 7
  1811. 1256 00ae 7B68 ldr r3, [r7, #4]
  1812. 1257 00b0 B3F1FF3F cmp r3, #-1
  1813. 1258 00b4 17D0 beq .L54
  1814. 529:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1815. 530:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if((Timeout == 0U) || ((HAL_GetTick() - tickstart) > Timeout))
  1816. 1259 .loc 1 530 9
  1817. 1260 00b6 7B68 ldr r3, [r7, #4]
  1818. 1261 00b8 002B cmp r3, #0
  1819. 1262 00ba 07D0 beq .L56
  1820. 1263 .loc 1 530 31 discriminator 1
  1821. 1264 00bc FFF7FEFF bl HAL_GetTick
  1822. 1265 00c0 0246 mov r2, r0
  1823. 1266 .loc 1 530 45 discriminator 1
  1824. 1267 00c2 3B69 ldr r3, [r7, #16]
  1825. 1268 00c4 D31A subs r3, r2, r3
  1826. 1269 .loc 1 530 26 discriminator 1
  1827. 1270 00c6 7A68 ldr r2, [r7, #4]
  1828. 1271 00c8 9A42 cmp r2, r3
  1829. 1272 00ca 0CD2 bcs .L54
  1830. 1273 .L56:
  1831. 531:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1832. 532:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Update error code */
  1833. 533:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TIMEOUT;
  1834. 1274 .loc 1 533 25
  1835. 1275 00cc FB68 ldr r3, [r7, #12]
  1836. 1276 00ce 2022 movs r2, #32
  1837. 1277 00d0 9A63 str r2, [r3, #56]
  1838. 534:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1839. 535:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */
  1840. 536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  1841. 1278 .loc 1 536 21
  1842. 1279 00d2 FB68 ldr r3, [r7, #12]
  1843. 1280 00d4 0122 movs r2, #1
  1844. 1281 00d6 83F82120 strb r2, [r3, #33]
  1845. 537:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1846. 538:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
  1847. 539:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  1848. 1282 .loc 1 539 9
  1849. 1283 00da FB68 ldr r3, [r7, #12]
  1850. 1284 00dc 0022 movs r2, #0
  1851. 1285 00de 83F82020 strb r2, [r3, #32]
  1852. 540:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1853. 541:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
  1854. 1286 .loc 1 541 16
  1855. 1287 00e2 0123 movs r3, #1
  1856. 1288 00e4 23E0 b .L50
  1857. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 33
  1858. 1289 .L54:
  1859. 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1860. 1290 .loc 1 507 23
  1861. 1291 00e6 FB68 ldr r3, [r7, #12]
  1862. 1292 00e8 DB6B ldr r3, [r3, #60]
  1863. 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1864. 1293 .loc 1 507 39
  1865. 1294 00ea 1A68 ldr r2, [r3]
  1866. 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1867. 1295 .loc 1 507 45
  1868. 1296 00ec 7B69 ldr r3, [r7, #20]
  1869. 1297 00ee 1340 ands r3, r3, r2
  1870. 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1871. 1298 .loc 1 507 8
  1872. 1299 00f0 002B cmp r3, #0
  1873. 1300 00f2 BCD0 beq .L57
  1874. 542:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1875. 543:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1876. 544:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1877. 545:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1878. 546:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_FULL_TRANSFER == CompleteLevel)
  1879. 1301 .loc 1 546 5
  1880. 1302 00f4 BB68 ldr r3, [r7, #8]
  1881. 1303 00f6 002B cmp r3, #0
  1882. 1304 00f8 0CD1 bne .L58
  1883. 547:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1884. 548:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear the transfer complete flag */
  1885. 549:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_TC1 << hdma->ChannelIndex;
  1886. 1305 .loc 1 549 54
  1887. 1306 00fa FB68 ldr r3, [r7, #12]
  1888. 1307 00fc 1A6C ldr r2, [r3, #64]
  1889. 1308 .loc 1 549 9
  1890. 1309 00fe FB68 ldr r3, [r7, #12]
  1891. 1310 0100 DB6B ldr r3, [r3, #60]
  1892. 1311 .loc 1 549 47
  1893. 1312 0102 0221 movs r1, #2
  1894. 1313 0104 01FA02F2 lsl r2, r1, r2
  1895. 1314 .loc 1 549 32
  1896. 1315 0108 5A60 str r2, [r3, #4]
  1897. 550:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1898. 551:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* The selected Channelx EN bit is cleared (DMA is disabled and
  1899. 552:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** all transfers are complete) */
  1900. 553:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  1901. 1316 .loc 1 553 17
  1902. 1317 010a FB68 ldr r3, [r7, #12]
  1903. 1318 010c 0122 movs r2, #1
  1904. 1319 010e 83F82120 strb r2, [r3, #33]
  1905. 1320 0112 07E0 b .L59
  1906. 1321 .L58:
  1907. 554:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1908. 555:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
  1909. 556:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1910. 557:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear the half transfer complete flag */
  1911. 558:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_HT1 << hdma->ChannelIndex;
  1912. 1322 .loc 1 558 54
  1913. 1323 0114 FB68 ldr r3, [r7, #12]
  1914. 1324 0116 1A6C ldr r2, [r3, #64]
  1915. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 34
  1916. 1325 .loc 1 558 9
  1917. 1326 0118 FB68 ldr r3, [r7, #12]
  1918. 1327 011a DB6B ldr r3, [r3, #60]
  1919. 1328 .loc 1 558 47
  1920. 1329 011c 0421 movs r1, #4
  1921. 1330 011e 01FA02F2 lsl r2, r1, r2
  1922. 1331 .loc 1 558 32
  1923. 1332 0122 5A60 str r2, [r3, #4]
  1924. 1333 .L59:
  1925. 559:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1926. 560:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1927. 561:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process unlocked */
  1928. 562:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  1929. 1334 .loc 1 562 3
  1930. 1335 0124 FB68 ldr r3, [r7, #12]
  1931. 1336 0126 0022 movs r2, #0
  1932. 1337 0128 83F82020 strb r2, [r3, #32]
  1933. 563:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1934. 564:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_OK;
  1935. 1338 .loc 1 564 10
  1936. 1339 012c 0023 movs r3, #0
  1937. 1340 .L50:
  1938. 565:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  1939. 1341 .loc 1 565 1
  1940. 1342 012e 1846 mov r0, r3
  1941. 1343 0130 1837 adds r7, r7, #24
  1942. 1344 .LCFI34:
  1943. 1345 .cfi_def_cfa_offset 8
  1944. 1346 0132 BD46 mov sp, r7
  1945. 1347 .LCFI35:
  1946. 1348 .cfi_def_cfa_register 13
  1947. 1349 @ sp needed
  1948. 1350 0134 80BD pop {r7, pc}
  1949. 1351 .cfi_endproc
  1950. 1352 .LFE136:
  1951. 1354 .section .text.HAL_DMA_IRQHandler,"ax",%progbits
  1952. 1355 .align 1
  1953. 1356 .global HAL_DMA_IRQHandler
  1954. 1357 .syntax unified
  1955. 1358 .thumb
  1956. 1359 .thumb_func
  1957. 1361 HAL_DMA_IRQHandler:
  1958. 1362 .LFB137:
  1959. 566:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  1960. 567:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  1961. 568:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Handle DMA interrupt request.
  1962. 569:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  1963. 570:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  1964. 571:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval None
  1965. 572:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  1966. 573:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma)
  1967. 574:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  1968. 1363 .loc 1 574 1
  1969. 1364 .cfi_startproc
  1970. 1365 @ args = 0, pretend = 0, frame = 16
  1971. 1366 @ frame_needed = 1, uses_anonymous_args = 0
  1972. 1367 0000 80B5 push {r7, lr}
  1973. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 35
  1974. 1368 .LCFI36:
  1975. 1369 .cfi_def_cfa_offset 8
  1976. 1370 .cfi_offset 7, -8
  1977. 1371 .cfi_offset 14, -4
  1978. 1372 0002 84B0 sub sp, sp, #16
  1979. 1373 .LCFI37:
  1980. 1374 .cfi_def_cfa_offset 24
  1981. 1375 0004 00AF add r7, sp, #0
  1982. 1376 .LCFI38:
  1983. 1377 .cfi_def_cfa_register 7
  1984. 1378 0006 7860 str r0, [r7, #4]
  1985. 575:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR;
  1986. 1379 .loc 1 575 26
  1987. 1380 0008 7B68 ldr r3, [r7, #4]
  1988. 1381 000a DB6B ldr r3, [r3, #60]
  1989. 1382 .loc 1 575 12
  1990. 1383 000c 1B68 ldr r3, [r3]
  1991. 1384 000e FB60 str r3, [r7, #12]
  1992. 576:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
  1993. 1385 .loc 1 576 28
  1994. 1386 0010 7B68 ldr r3, [r7, #4]
  1995. 1387 0012 1B68 ldr r3, [r3]
  1996. 1388 .loc 1 576 12
  1997. 1389 0014 1B68 ldr r3, [r3]
  1998. 1390 0016 BB60 str r3, [r7, #8]
  1999. 577:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2000. 578:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Half Transfer Complete Interrupt management ******************************/
  2001. 579:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if ((RESET != (flag_it & (DMA_FLAG_HT1 << hdma->ChannelIndex))) && (RESET != (source_it & DMA_IT_
  2002. 1391 .loc 1 579 49
  2003. 1392 0018 7B68 ldr r3, [r7, #4]
  2004. 1393 001a 1B6C ldr r3, [r3, #64]
  2005. 1394 .loc 1 579 42
  2006. 1395 001c 0422 movs r2, #4
  2007. 1396 001e 9A40 lsls r2, r2, r3
  2008. 1397 .loc 1 579 26
  2009. 1398 0020 FB68 ldr r3, [r7, #12]
  2010. 1399 0022 1340 ands r3, r3, r2
  2011. 1400 .loc 1 579 6
  2012. 1401 0024 002B cmp r3, #0
  2013. 1402 0026 24D0 beq .L61
  2014. 1403 .loc 1 579 91 discriminator 1
  2015. 1404 0028 BB68 ldr r3, [r7, #8]
  2016. 1405 002a 03F00403 and r3, r3, #4
  2017. 1406 .loc 1 579 67 discriminator 1
  2018. 1407 002e 002B cmp r3, #0
  2019. 1408 0030 1FD0 beq .L61
  2020. 580:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2021. 581:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the half transfer interrupt if the DMA mode is not CIRCULAR */
  2022. 582:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U)
  2023. 1409 .loc 1 582 13
  2024. 1410 0032 7B68 ldr r3, [r7, #4]
  2025. 1411 0034 1B68 ldr r3, [r3]
  2026. 1412 .loc 1 582 23
  2027. 1413 0036 1B68 ldr r3, [r3]
  2028. 1414 .loc 1 582 29
  2029. 1415 0038 03F02003 and r3, r3, #32
  2030. 1416 .loc 1 582 7
  2031. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 36
  2032. 1417 003c 002B cmp r3, #0
  2033. 1418 003e 07D1 bne .L62
  2034. 583:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2035. 584:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the half transfer interrupt */
  2036. 585:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_IT_HT;
  2037. 1419 .loc 1 585 11
  2038. 1420 0040 7B68 ldr r3, [r7, #4]
  2039. 1421 0042 1B68 ldr r3, [r3]
  2040. 1422 .loc 1 585 27
  2041. 1423 0044 1A68 ldr r2, [r3]
  2042. 1424 .loc 1 585 11
  2043. 1425 0046 7B68 ldr r3, [r7, #4]
  2044. 1426 0048 1B68 ldr r3, [r3]
  2045. 1427 .loc 1 585 27
  2046. 1428 004a 22F00402 bic r2, r2, #4
  2047. 1429 004e 1A60 str r2, [r3]
  2048. 1430 .L62:
  2049. 586:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2050. 587:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2051. 588:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear the half transfer complete flag */
  2052. 589:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_HT1 << hdma->ChannelIndex;
  2053. 1431 .loc 1 589 54
  2054. 1432 0050 7B68 ldr r3, [r7, #4]
  2055. 1433 0052 1A6C ldr r2, [r3, #64]
  2056. 1434 .loc 1 589 9
  2057. 1435 0054 7B68 ldr r3, [r7, #4]
  2058. 1436 0056 DB6B ldr r3, [r3, #60]
  2059. 1437 .loc 1 589 47
  2060. 1438 0058 0421 movs r1, #4
  2061. 1439 005a 01FA02F2 lsl r2, r1, r2
  2062. 1440 .loc 1 589 32
  2063. 1441 005e 5A60 str r2, [r3, #4]
  2064. 590:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2065. 591:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* DMA peripheral state is not updated in Half Transfer */
  2066. 592:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* State is updated only in Transfer Complete case */
  2067. 593:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2068. 594:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->XferHalfCpltCallback != NULL)
  2069. 1442 .loc 1 594 12
  2070. 1443 0060 7B68 ldr r3, [r7, #4]
  2071. 1444 0062 DB6A ldr r3, [r3, #44]
  2072. 1445 .loc 1 594 7
  2073. 1446 0064 002B cmp r3, #0
  2074. 1447 0066 6AD0 beq .L64
  2075. 595:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2076. 596:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Half transfer callback */
  2077. 597:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback(hdma);
  2078. 1448 .loc 1 597 11
  2079. 1449 0068 7B68 ldr r3, [r7, #4]
  2080. 1450 006a DB6A ldr r3, [r3, #44]
  2081. 1451 .loc 1 597 7
  2082. 1452 006c 7868 ldr r0, [r7, #4]
  2083. 1453 006e 9847 blx r3
  2084. 1454 .LVL1:
  2085. 594:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2086. 1455 .loc 1 594 7
  2087. 1456 0070 65E0 b .L64
  2088. 1457 .L61:
  2089. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 37
  2090. 598:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2091. 599:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2092. 600:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2093. 601:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer Complete Interrupt management ***********************************/
  2094. 602:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else if ((RESET != (flag_it & (DMA_FLAG_TC1 << hdma->ChannelIndex))) && (RESET != (source_it & DM
  2095. 1458 .loc 1 602 54
  2096. 1459 0072 7B68 ldr r3, [r7, #4]
  2097. 1460 0074 1B6C ldr r3, [r3, #64]
  2098. 1461 .loc 1 602 47
  2099. 1462 0076 0222 movs r2, #2
  2100. 1463 0078 9A40 lsls r2, r2, r3
  2101. 1464 .loc 1 602 31
  2102. 1465 007a FB68 ldr r3, [r7, #12]
  2103. 1466 007c 1340 ands r3, r3, r2
  2104. 1467 .loc 1 602 11
  2105. 1468 007e 002B cmp r3, #0
  2106. 1469 0080 2CD0 beq .L65
  2107. 1470 .loc 1 602 96 discriminator 1
  2108. 1471 0082 BB68 ldr r3, [r7, #8]
  2109. 1472 0084 03F00203 and r3, r3, #2
  2110. 1473 .loc 1 602 72 discriminator 1
  2111. 1474 0088 002B cmp r3, #0
  2112. 1475 008a 27D0 beq .L65
  2113. 603:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2114. 604:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U)
  2115. 1476 .loc 1 604 13
  2116. 1477 008c 7B68 ldr r3, [r7, #4]
  2117. 1478 008e 1B68 ldr r3, [r3]
  2118. 1479 .loc 1 604 23
  2119. 1480 0090 1B68 ldr r3, [r3]
  2120. 1481 .loc 1 604 29
  2121. 1482 0092 03F02003 and r3, r3, #32
  2122. 1483 .loc 1 604 7
  2123. 1484 0096 002B cmp r3, #0
  2124. 1485 0098 0BD1 bne .L66
  2125. 605:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2126. 606:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the transfer complete & transfer error interrupts */
  2127. 607:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* if the DMA mode is not CIRCULAR */
  2128. 608:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~(DMA_IT_TC | DMA_IT_TE);
  2129. 1486 .loc 1 608 11
  2130. 1487 009a 7B68 ldr r3, [r7, #4]
  2131. 1488 009c 1B68 ldr r3, [r3]
  2132. 1489 .loc 1 608 27
  2133. 1490 009e 1A68 ldr r2, [r3]
  2134. 1491 .loc 1 608 11
  2135. 1492 00a0 7B68 ldr r3, [r7, #4]
  2136. 1493 00a2 1B68 ldr r3, [r3]
  2137. 1494 .loc 1 608 27
  2138. 1495 00a4 22F00A02 bic r2, r2, #10
  2139. 1496 00a8 1A60 str r2, [r3]
  2140. 609:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2141. 610:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */
  2142. 611:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  2143. 1497 .loc 1 611 19
  2144. 1498 00aa 7B68 ldr r3, [r7, #4]
  2145. 1499 00ac 0122 movs r2, #1
  2146. 1500 00ae 83F82120 strb r2, [r3, #33]
  2147. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 38
  2148. 1501 .L66:
  2149. 612:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2150. 613:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2151. 614:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear the transfer complete flag */
  2152. 615:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_TC1 << hdma->ChannelIndex;
  2153. 1502 .loc 1 615 54
  2154. 1503 00b2 7B68 ldr r3, [r7, #4]
  2155. 1504 00b4 1A6C ldr r2, [r3, #64]
  2156. 1505 .loc 1 615 9
  2157. 1506 00b6 7B68 ldr r3, [r7, #4]
  2158. 1507 00b8 DB6B ldr r3, [r3, #60]
  2159. 1508 .loc 1 615 47
  2160. 1509 00ba 0221 movs r1, #2
  2161. 1510 00bc 01FA02F2 lsl r2, r1, r2
  2162. 1511 .loc 1 615 32
  2163. 1512 00c0 5A60 str r2, [r3, #4]
  2164. 616:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2165. 617:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
  2166. 618:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  2167. 1513 .loc 1 618 5
  2168. 1514 00c2 7B68 ldr r3, [r7, #4]
  2169. 1515 00c4 0022 movs r2, #0
  2170. 1516 00c6 83F82020 strb r2, [r3, #32]
  2171. 619:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2172. 620:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->XferCpltCallback != NULL)
  2173. 1517 .loc 1 620 12
  2174. 1518 00ca 7B68 ldr r3, [r7, #4]
  2175. 1519 00cc 9B6A ldr r3, [r3, #40]
  2176. 1520 .loc 1 620 7
  2177. 1521 00ce 002B cmp r3, #0
  2178. 1522 00d0 35D0 beq .L64
  2179. 621:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2180. 622:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer complete callback */
  2181. 623:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback(hdma);
  2182. 1523 .loc 1 623 11
  2183. 1524 00d2 7B68 ldr r3, [r7, #4]
  2184. 1525 00d4 9B6A ldr r3, [r3, #40]
  2185. 1526 .loc 1 623 7
  2186. 1527 00d6 7868 ldr r0, [r7, #4]
  2187. 1528 00d8 9847 blx r3
  2188. 1529 .LVL2:
  2189. 620:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2190. 1530 .loc 1 620 7
  2191. 1531 00da 30E0 b .L64
  2192. 1532 .L65:
  2193. 624:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2194. 625:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2195. 626:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2196. 627:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer Error Interrupt management ***************************************/
  2197. 628:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else if (( RESET != (flag_it & (DMA_FLAG_TE1 << hdma->ChannelIndex))) && (RESET != (source_it & D
  2198. 1533 .loc 1 628 55
  2199. 1534 00dc 7B68 ldr r3, [r7, #4]
  2200. 1535 00de 1B6C ldr r3, [r3, #64]
  2201. 1536 .loc 1 628 48
  2202. 1537 00e0 0822 movs r2, #8
  2203. 1538 00e2 9A40 lsls r2, r2, r3
  2204. 1539 .loc 1 628 32
  2205. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 39
  2206. 1540 00e4 FB68 ldr r3, [r7, #12]
  2207. 1541 00e6 1340 ands r3, r3, r2
  2208. 1542 .loc 1 628 11
  2209. 1543 00e8 002B cmp r3, #0
  2210. 1544 00ea 28D0 beq .L68
  2211. 1545 .loc 1 628 97 discriminator 1
  2212. 1546 00ec BB68 ldr r3, [r7, #8]
  2213. 1547 00ee 03F00803 and r3, r3, #8
  2214. 1548 .loc 1 628 73 discriminator 1
  2215. 1549 00f2 002B cmp r3, #0
  2216. 1550 00f4 23D0 beq .L68
  2217. 629:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2218. 630:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* When a DMA transfer error occurs */
  2219. 631:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */
  2220. 632:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Then, disable all DMA interrupts */
  2221. 633:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~(DMA_IT_TC | DMA_IT_HT | DMA_IT_TE);
  2222. 1551 .loc 1 633 9
  2223. 1552 00f6 7B68 ldr r3, [r7, #4]
  2224. 1553 00f8 1B68 ldr r3, [r3]
  2225. 1554 .loc 1 633 25
  2226. 1555 00fa 1A68 ldr r2, [r3]
  2227. 1556 .loc 1 633 9
  2228. 1557 00fc 7B68 ldr r3, [r7, #4]
  2229. 1558 00fe 1B68 ldr r3, [r3]
  2230. 1559 .loc 1 633 25
  2231. 1560 0100 22F00E02 bic r2, r2, #14
  2232. 1561 0104 1A60 str r2, [r3]
  2233. 634:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2234. 635:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */
  2235. 636:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_GL1 << hdma->ChannelIndex;
  2236. 1562 .loc 1 636 54
  2237. 1563 0106 7B68 ldr r3, [r7, #4]
  2238. 1564 0108 1A6C ldr r2, [r3, #64]
  2239. 1565 .loc 1 636 9
  2240. 1566 010a 7B68 ldr r3, [r7, #4]
  2241. 1567 010c DB6B ldr r3, [r3, #60]
  2242. 1568 .loc 1 636 47
  2243. 1569 010e 0121 movs r1, #1
  2244. 1570 0110 01FA02F2 lsl r2, r1, r2
  2245. 1571 .loc 1 636 32
  2246. 1572 0114 5A60 str r2, [r3, #4]
  2247. 637:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2248. 638:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Update error code */
  2249. 639:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TE;
  2250. 1573 .loc 1 639 21
  2251. 1574 0116 7B68 ldr r3, [r7, #4]
  2252. 1575 0118 0122 movs r2, #1
  2253. 1576 011a 9A63 str r2, [r3, #56]
  2254. 640:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2255. 641:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */
  2256. 642:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  2257. 1577 .loc 1 642 17
  2258. 1578 011c 7B68 ldr r3, [r7, #4]
  2259. 1579 011e 0122 movs r2, #1
  2260. 1580 0120 83F82120 strb r2, [r3, #33]
  2261. 643:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2262. 644:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
  2263. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 40
  2264. 645:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  2265. 1581 .loc 1 645 5
  2266. 1582 0124 7B68 ldr r3, [r7, #4]
  2267. 1583 0126 0022 movs r2, #0
  2268. 1584 0128 83F82020 strb r2, [r3, #32]
  2269. 646:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2270. 647:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->XferErrorCallback != NULL)
  2271. 1585 .loc 1 647 12
  2272. 1586 012c 7B68 ldr r3, [r7, #4]
  2273. 1587 012e 1B6B ldr r3, [r3, #48]
  2274. 1588 .loc 1 647 7
  2275. 1589 0130 002B cmp r3, #0
  2276. 1590 0132 04D0 beq .L68
  2277. 648:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2278. 649:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer error callback */
  2279. 650:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback(hdma);
  2280. 1591 .loc 1 650 11
  2281. 1592 0134 7B68 ldr r3, [r7, #4]
  2282. 1593 0136 1B6B ldr r3, [r3, #48]
  2283. 1594 .loc 1 650 7
  2284. 1595 0138 7868 ldr r0, [r7, #4]
  2285. 1596 013a 9847 blx r3
  2286. 1597 .LVL3:
  2287. 651:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2288. 652:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2289. 653:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2290. 1598 .loc 1 653 1
  2291. 1599 013c FFE7 b .L68
  2292. 1600 .L64:
  2293. 1601 .L68:
  2294. 1602 013e 00BF nop
  2295. 1603 0140 1037 adds r7, r7, #16
  2296. 1604 .LCFI39:
  2297. 1605 .cfi_def_cfa_offset 8
  2298. 1606 0142 BD46 mov sp, r7
  2299. 1607 .LCFI40:
  2300. 1608 .cfi_def_cfa_register 13
  2301. 1609 @ sp needed
  2302. 1610 0144 80BD pop {r7, pc}
  2303. 1611 .cfi_endproc
  2304. 1612 .LFE137:
  2305. 1614 .section .text.HAL_DMA_RegisterCallback,"ax",%progbits
  2306. 1615 .align 1
  2307. 1616 .global HAL_DMA_RegisterCallback
  2308. 1617 .syntax unified
  2309. 1618 .thumb
  2310. 1619 .thumb_func
  2311. 1621 HAL_DMA_RegisterCallback:
  2312. 1622 .LFB138:
  2313. 654:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2314. 655:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  2315. 656:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Register callbacks
  2316. 657:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  2317. 658:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  2318. 659:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param CallbackID User Callback identifier
  2319. 660:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter.
  2320. 661:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param pCallback pointer to private callback function which has pointer to
  2321. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 41
  2322. 662:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * a DMA_HandleTypeDef structure as parameter.
  2323. 663:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
  2324. 664:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  2325. 665:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Callb
  2326. 666:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2327. 1623 .loc 1 666 1
  2328. 1624 .cfi_startproc
  2329. 1625 @ args = 0, pretend = 0, frame = 24
  2330. 1626 @ frame_needed = 1, uses_anonymous_args = 0
  2331. 1627 @ link register save eliminated.
  2332. 1628 0000 80B4 push {r7}
  2333. 1629 .LCFI41:
  2334. 1630 .cfi_def_cfa_offset 4
  2335. 1631 .cfi_offset 7, -4
  2336. 1632 0002 87B0 sub sp, sp, #28
  2337. 1633 .LCFI42:
  2338. 1634 .cfi_def_cfa_offset 32
  2339. 1635 0004 00AF add r7, sp, #0
  2340. 1636 .LCFI43:
  2341. 1637 .cfi_def_cfa_register 7
  2342. 1638 0006 F860 str r0, [r7, #12]
  2343. 1639 0008 0B46 mov r3, r1
  2344. 1640 000a 7A60 str r2, [r7, #4]
  2345. 1641 000c FB72 strb r3, [r7, #11]
  2346. 667:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  2347. 1642 .loc 1 667 21
  2348. 1643 000e 0023 movs r3, #0
  2349. 1644 0010 FB75 strb r3, [r7, #23]
  2350. 668:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2351. 669:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process locked */
  2352. 670:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_LOCK(hdma);
  2353. 1645 .loc 1 670 3
  2354. 1646 0012 FB68 ldr r3, [r7, #12]
  2355. 1647 0014 93F82030 ldrb r3, [r3, #32] @ zero_extendqisi2
  2356. 1648 0018 012B cmp r3, #1
  2357. 1649 001a 01D1 bne .L70
  2358. 1650 .loc 1 670 3 is_stmt 0 discriminator 1
  2359. 1651 001c 0223 movs r3, #2
  2360. 1652 001e 31E0 b .L71
  2361. 1653 .L70:
  2362. 1654 .loc 1 670 3 discriminator 2
  2363. 1655 0020 FB68 ldr r3, [r7, #12]
  2364. 1656 0022 0122 movs r2, #1
  2365. 1657 0024 83F82020 strb r2, [r3, #32]
  2366. 671:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2367. 672:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
  2368. 1658 .loc 1 672 33 is_stmt 1 discriminator 2
  2369. 1659 0028 FB68 ldr r3, [r7, #12]
  2370. 1660 002a 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2
  2371. 1661 .loc 1 672 5 discriminator 2
  2372. 1662 002e 012B cmp r3, #1
  2373. 1663 0030 21D1 bne .L72
  2374. 673:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2375. 674:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** switch (CallbackID)
  2376. 1664 .loc 1 674 5
  2377. 1665 0032 FB7A ldrb r3, [r7, #11] @ zero_extendqisi2
  2378. 1666 0034 032B cmp r3, #3
  2379. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 42
  2380. 1667 0036 1BD8 bhi .L73
  2381. 1668 0038 01A2 adr r2, .L75
  2382. 1669 003a 52F823F0 ldr pc, [r2, r3, lsl #2]
  2383. 1670 003e 00BF .p2align 2
  2384. 1671 .L75:
  2385. 1672 0040 51000000 .word .L78+1
  2386. 1673 0044 59000000 .word .L77+1
  2387. 1674 0048 61000000 .word .L76+1
  2388. 1675 004c 69000000 .word .L74+1
  2389. 1676 .p2align 1
  2390. 1677 .L78:
  2391. 675:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2392. 676:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID:
  2393. 677:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback = pCallback;
  2394. 1678 .loc 1 677 35
  2395. 1679 0050 FB68 ldr r3, [r7, #12]
  2396. 1680 0052 7A68 ldr r2, [r7, #4]
  2397. 1681 0054 9A62 str r2, [r3, #40]
  2398. 678:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
  2399. 1682 .loc 1 678 12
  2400. 1683 0056 10E0 b .L80
  2401. 1684 .L77:
  2402. 679:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2403. 680:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID:
  2404. 681:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = pCallback;
  2405. 1685 .loc 1 681 39
  2406. 1686 0058 FB68 ldr r3, [r7, #12]
  2407. 1687 005a 7A68 ldr r2, [r7, #4]
  2408. 1688 005c DA62 str r2, [r3, #44]
  2409. 682:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
  2410. 1689 .loc 1 682 12
  2411. 1690 005e 0CE0 b .L80
  2412. 1691 .L76:
  2413. 683:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2414. 684:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID:
  2415. 685:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = pCallback;
  2416. 1692 .loc 1 685 36
  2417. 1693 0060 FB68 ldr r3, [r7, #12]
  2418. 1694 0062 7A68 ldr r2, [r7, #4]
  2419. 1695 0064 1A63 str r2, [r3, #48]
  2420. 686:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
  2421. 1696 .loc 1 686 12
  2422. 1697 0066 08E0 b .L80
  2423. 1698 .L74:
  2424. 687:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2425. 688:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID:
  2426. 689:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = pCallback;
  2427. 1699 .loc 1 689 36
  2428. 1700 0068 FB68 ldr r3, [r7, #12]
  2429. 1701 006a 7A68 ldr r2, [r7, #4]
  2430. 1702 006c 5A63 str r2, [r3, #52]
  2431. 690:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
  2432. 1703 .loc 1 690 12
  2433. 1704 006e 04E0 b .L80
  2434. 1705 .L73:
  2435. 691:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2436. 692:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** default:
  2437. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 43
  2438. 693:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR;
  2439. 1706 .loc 1 693 19
  2440. 1707 0070 0123 movs r3, #1
  2441. 1708 0072 FB75 strb r3, [r7, #23]
  2442. 694:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
  2443. 1709 .loc 1 694 12
  2444. 1710 0074 01E0 b .L80
  2445. 1711 .L72:
  2446. 695:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2447. 696:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2448. 697:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
  2449. 698:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2450. 699:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR;
  2451. 1712 .loc 1 699 12
  2452. 1713 0076 0123 movs r3, #1
  2453. 1714 0078 FB75 strb r3, [r7, #23]
  2454. 1715 .L80:
  2455. 700:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2456. 701:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2457. 702:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Release Lock */
  2458. 703:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  2459. 1716 .loc 1 703 3
  2460. 1717 007a FB68 ldr r3, [r7, #12]
  2461. 1718 007c 0022 movs r2, #0
  2462. 1719 007e 83F82020 strb r2, [r3, #32]
  2463. 704:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2464. 705:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status;
  2465. 1720 .loc 1 705 10
  2466. 1721 0082 FB7D ldrb r3, [r7, #23] @ zero_extendqisi2
  2467. 1722 .L71:
  2468. 706:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2469. 1723 .loc 1 706 1
  2470. 1724 0084 1846 mov r0, r3
  2471. 1725 0086 1C37 adds r7, r7, #28
  2472. 1726 .LCFI44:
  2473. 1727 .cfi_def_cfa_offset 4
  2474. 1728 0088 BD46 mov sp, r7
  2475. 1729 .LCFI45:
  2476. 1730 .cfi_def_cfa_register 13
  2477. 1731 @ sp needed
  2478. 1732 008a 5DF8047B ldr r7, [sp], #4
  2479. 1733 .LCFI46:
  2480. 1734 .cfi_restore 7
  2481. 1735 .cfi_def_cfa_offset 0
  2482. 1736 008e 7047 bx lr
  2483. 1737 .cfi_endproc
  2484. 1738 .LFE138:
  2485. 1740 .section .text.HAL_DMA_UnRegisterCallback,"ax",%progbits
  2486. 1741 .align 1
  2487. 1742 .global HAL_DMA_UnRegisterCallback
  2488. 1743 .syntax unified
  2489. 1744 .thumb
  2490. 1745 .thumb_func
  2491. 1747 HAL_DMA_UnRegisterCallback:
  2492. 1748 .LFB139:
  2493. 707:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2494. 708:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  2495. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 44
  2496. 709:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief UnRegister callbacks
  2497. 710:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  2498. 711:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  2499. 712:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param CallbackID User Callback identifier
  2500. 713:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter.
  2501. 714:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
  2502. 715:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  2503. 716:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Cal
  2504. 717:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2505. 1749 .loc 1 717 1
  2506. 1750 .cfi_startproc
  2507. 1751 @ args = 0, pretend = 0, frame = 16
  2508. 1752 @ frame_needed = 1, uses_anonymous_args = 0
  2509. 1753 @ link register save eliminated.
  2510. 1754 0000 80B4 push {r7}
  2511. 1755 .LCFI47:
  2512. 1756 .cfi_def_cfa_offset 4
  2513. 1757 .cfi_offset 7, -4
  2514. 1758 0002 85B0 sub sp, sp, #20
  2515. 1759 .LCFI48:
  2516. 1760 .cfi_def_cfa_offset 24
  2517. 1761 0004 00AF add r7, sp, #0
  2518. 1762 .LCFI49:
  2519. 1763 .cfi_def_cfa_register 7
  2520. 1764 0006 7860 str r0, [r7, #4]
  2521. 1765 0008 0B46 mov r3, r1
  2522. 1766 000a FB70 strb r3, [r7, #3]
  2523. 718:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  2524. 1767 .loc 1 718 21
  2525. 1768 000c 0023 movs r3, #0
  2526. 1769 000e FB73 strb r3, [r7, #15]
  2527. 719:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2528. 720:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process locked */
  2529. 721:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_LOCK(hdma);
  2530. 1770 .loc 1 721 3
  2531. 1771 0010 7B68 ldr r3, [r7, #4]
  2532. 1772 0012 93F82030 ldrb r3, [r3, #32] @ zero_extendqisi2
  2533. 1773 0016 012B cmp r3, #1
  2534. 1774 0018 01D1 bne .L82
  2535. 1775 .loc 1 721 3 is_stmt 0 discriminator 1
  2536. 1776 001a 0223 movs r3, #2
  2537. 1777 001c 3FE0 b .L83
  2538. 1778 .L82:
  2539. 1779 .loc 1 721 3 discriminator 2
  2540. 1780 001e 7B68 ldr r3, [r7, #4]
  2541. 1781 0020 0122 movs r2, #1
  2542. 1782 0022 83F82020 strb r2, [r3, #32]
  2543. 722:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2544. 723:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
  2545. 1783 .loc 1 723 33 is_stmt 1 discriminator 2
  2546. 1784 0026 7B68 ldr r3, [r7, #4]
  2547. 1785 0028 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2
  2548. 1786 .loc 1 723 5 discriminator 2
  2549. 1787 002c 012B cmp r3, #1
  2550. 1788 002e 2FD1 bne .L84
  2551. 724:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2552. 725:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** switch (CallbackID)
  2553. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 45
  2554. 1789 .loc 1 725 5
  2555. 1790 0030 FB78 ldrb r3, [r7, #3] @ zero_extendqisi2
  2556. 1791 0032 042B cmp r3, #4
  2557. 1792 0034 29D8 bhi .L85
  2558. 1793 0036 01A2 adr r2, .L87
  2559. 1794 0038 52F823F0 ldr pc, [r2, r3, lsl #2]
  2560. 1795 .p2align 2
  2561. 1796 .L87:
  2562. 1797 003c 51000000 .word .L91+1
  2563. 1798 0040 59000000 .word .L90+1
  2564. 1799 0044 61000000 .word .L89+1
  2565. 1800 0048 69000000 .word .L88+1
  2566. 1801 004c 71000000 .word .L86+1
  2567. 1802 .p2align 1
  2568. 1803 .L91:
  2569. 726:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2570. 727:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID:
  2571. 728:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
  2572. 1804 .loc 1 728 35
  2573. 1805 0050 7B68 ldr r3, [r7, #4]
  2574. 1806 0052 0022 movs r2, #0
  2575. 1807 0054 9A62 str r2, [r3, #40]
  2576. 729:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
  2577. 1808 .loc 1 729 12
  2578. 1809 0056 1DE0 b .L93
  2579. 1810 .L90:
  2580. 730:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2581. 731:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID:
  2582. 732:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  2583. 1811 .loc 1 732 39
  2584. 1812 0058 7B68 ldr r3, [r7, #4]
  2585. 1813 005a 0022 movs r2, #0
  2586. 1814 005c DA62 str r2, [r3, #44]
  2587. 733:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
  2588. 1815 .loc 1 733 12
  2589. 1816 005e 19E0 b .L93
  2590. 1817 .L89:
  2591. 734:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2592. 735:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID:
  2593. 736:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  2594. 1818 .loc 1 736 36
  2595. 1819 0060 7B68 ldr r3, [r7, #4]
  2596. 1820 0062 0022 movs r2, #0
  2597. 1821 0064 1A63 str r2, [r3, #48]
  2598. 737:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
  2599. 1822 .loc 1 737 12
  2600. 1823 0066 15E0 b .L93
  2601. 1824 .L88:
  2602. 738:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2603. 739:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID:
  2604. 740:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  2605. 1825 .loc 1 740 36
  2606. 1826 0068 7B68 ldr r3, [r7, #4]
  2607. 1827 006a 0022 movs r2, #0
  2608. 1828 006c 5A63 str r2, [r3, #52]
  2609. 741:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
  2610. 1829 .loc 1 741 12
  2611. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 46
  2612. 1830 006e 11E0 b .L93
  2613. 1831 .L86:
  2614. 742:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2615. 743:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ALL_CB_ID:
  2616. 744:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
  2617. 1832 .loc 1 744 35
  2618. 1833 0070 7B68 ldr r3, [r7, #4]
  2619. 1834 0072 0022 movs r2, #0
  2620. 1835 0074 9A62 str r2, [r3, #40]
  2621. 745:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  2622. 1836 .loc 1 745 39
  2623. 1837 0076 7B68 ldr r3, [r7, #4]
  2624. 1838 0078 0022 movs r2, #0
  2625. 1839 007a DA62 str r2, [r3, #44]
  2626. 746:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  2627. 1840 .loc 1 746 36
  2628. 1841 007c 7B68 ldr r3, [r7, #4]
  2629. 1842 007e 0022 movs r2, #0
  2630. 1843 0080 1A63 str r2, [r3, #48]
  2631. 747:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  2632. 1844 .loc 1 747 36
  2633. 1845 0082 7B68 ldr r3, [r7, #4]
  2634. 1846 0084 0022 movs r2, #0
  2635. 1847 0086 5A63 str r2, [r3, #52]
  2636. 748:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
  2637. 1848 .loc 1 748 12
  2638. 1849 0088 04E0 b .L93
  2639. 1850 .L85:
  2640. 749:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2641. 750:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** default:
  2642. 751:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR;
  2643. 1851 .loc 1 751 19
  2644. 1852 008a 0123 movs r3, #1
  2645. 1853 008c FB73 strb r3, [r7, #15]
  2646. 752:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
  2647. 1854 .loc 1 752 12
  2648. 1855 008e 01E0 b .L93
  2649. 1856 .L84:
  2650. 753:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2651. 754:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2652. 755:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
  2653. 756:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2654. 757:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR;
  2655. 1857 .loc 1 757 12
  2656. 1858 0090 0123 movs r3, #1
  2657. 1859 0092 FB73 strb r3, [r7, #15]
  2658. 1860 .L93:
  2659. 758:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2660. 759:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2661. 760:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Release Lock */
  2662. 761:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  2663. 1861 .loc 1 761 3
  2664. 1862 0094 7B68 ldr r3, [r7, #4]
  2665. 1863 0096 0022 movs r2, #0
  2666. 1864 0098 83F82020 strb r2, [r3, #32]
  2667. 762:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2668. 763:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status;
  2669. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 47
  2670. 1865 .loc 1 763 10
  2671. 1866 009c FB7B ldrb r3, [r7, #15] @ zero_extendqisi2
  2672. 1867 .L83:
  2673. 764:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2674. 1868 .loc 1 764 1
  2675. 1869 009e 1846 mov r0, r3
  2676. 1870 00a0 1437 adds r7, r7, #20
  2677. 1871 .LCFI50:
  2678. 1872 .cfi_def_cfa_offset 4
  2679. 1873 00a2 BD46 mov sp, r7
  2680. 1874 .LCFI51:
  2681. 1875 .cfi_def_cfa_register 13
  2682. 1876 @ sp needed
  2683. 1877 00a4 5DF8047B ldr r7, [sp], #4
  2684. 1878 .LCFI52:
  2685. 1879 .cfi_restore 7
  2686. 1880 .cfi_def_cfa_offset 0
  2687. 1881 00a8 7047 bx lr
  2688. 1882 .cfi_endproc
  2689. 1883 .LFE139:
  2690. 1885 00aa 00BF .section .text.HAL_DMA_GetState,"ax",%progbits
  2691. 1886 .align 1
  2692. 1887 .global HAL_DMA_GetState
  2693. 1888 .syntax unified
  2694. 1889 .thumb
  2695. 1890 .thumb_func
  2696. 1892 HAL_DMA_GetState:
  2697. 1893 .LFB140:
  2698. 765:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2699. 766:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  2700. 767:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @}
  2701. 768:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  2702. 769:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2703. 770:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group3 Peripheral State functions
  2704. 771:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Peripheral State functions
  2705. 772:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *
  2706. 773:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @verbatim
  2707. 774:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ===============================================================================
  2708. 775:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ##### State and Errors functions #####
  2709. 776:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ===============================================================================
  2710. 777:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
  2711. 778:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** This subsection provides functions allowing to
  2712. 779:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Check the DMA state
  2713. 780:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Get error code
  2714. 781:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2715. 782:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @endverbatim
  2716. 783:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
  2717. 784:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  2718. 785:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2719. 786:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  2720. 787:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Returns the DMA state.
  2721. 788:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  2722. 789:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  2723. 790:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL state
  2724. 791:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  2725. 792:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_DMA_StateTypeDef HAL_DMA_GetState(DMA_HandleTypeDef *hdma)
  2726. 793:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2727. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 48
  2728. 1894 .loc 1 793 1
  2729. 1895 .cfi_startproc
  2730. 1896 @ args = 0, pretend = 0, frame = 8
  2731. 1897 @ frame_needed = 1, uses_anonymous_args = 0
  2732. 1898 @ link register save eliminated.
  2733. 1899 0000 80B4 push {r7}
  2734. 1900 .LCFI53:
  2735. 1901 .cfi_def_cfa_offset 4
  2736. 1902 .cfi_offset 7, -4
  2737. 1903 0002 83B0 sub sp, sp, #12
  2738. 1904 .LCFI54:
  2739. 1905 .cfi_def_cfa_offset 16
  2740. 1906 0004 00AF add r7, sp, #0
  2741. 1907 .LCFI55:
  2742. 1908 .cfi_def_cfa_register 7
  2743. 1909 0006 7860 str r0, [r7, #4]
  2744. 794:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return hdma->State;
  2745. 1910 .loc 1 794 14
  2746. 1911 0008 7B68 ldr r3, [r7, #4]
  2747. 1912 000a 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2
  2748. 795:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2749. 1913 .loc 1 795 1
  2750. 1914 000e 1846 mov r0, r3
  2751. 1915 0010 0C37 adds r7, r7, #12
  2752. 1916 .LCFI56:
  2753. 1917 .cfi_def_cfa_offset 4
  2754. 1918 0012 BD46 mov sp, r7
  2755. 1919 .LCFI57:
  2756. 1920 .cfi_def_cfa_register 13
  2757. 1921 @ sp needed
  2758. 1922 0014 5DF8047B ldr r7, [sp], #4
  2759. 1923 .LCFI58:
  2760. 1924 .cfi_restore 7
  2761. 1925 .cfi_def_cfa_offset 0
  2762. 1926 0018 7047 bx lr
  2763. 1927 .cfi_endproc
  2764. 1928 .LFE140:
  2765. 1930 .section .text.HAL_DMA_GetError,"ax",%progbits
  2766. 1931 .align 1
  2767. 1932 .global HAL_DMA_GetError
  2768. 1933 .syntax unified
  2769. 1934 .thumb
  2770. 1935 .thumb_func
  2771. 1937 HAL_DMA_GetError:
  2772. 1938 .LFB141:
  2773. 796:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2774. 797:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  2775. 798:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Return the DMA error code
  2776. 799:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  2777. 800:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  2778. 801:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval DMA Error Code
  2779. 802:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  2780. 803:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma)
  2781. 804:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2782. 1939 .loc 1 804 1
  2783. 1940 .cfi_startproc
  2784. 1941 @ args = 0, pretend = 0, frame = 8
  2785. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 49
  2786. 1942 @ frame_needed = 1, uses_anonymous_args = 0
  2787. 1943 @ link register save eliminated.
  2788. 1944 0000 80B4 push {r7}
  2789. 1945 .LCFI59:
  2790. 1946 .cfi_def_cfa_offset 4
  2791. 1947 .cfi_offset 7, -4
  2792. 1948 0002 83B0 sub sp, sp, #12
  2793. 1949 .LCFI60:
  2794. 1950 .cfi_def_cfa_offset 16
  2795. 1951 0004 00AF add r7, sp, #0
  2796. 1952 .LCFI61:
  2797. 1953 .cfi_def_cfa_register 7
  2798. 1954 0006 7860 str r0, [r7, #4]
  2799. 805:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return hdma->ErrorCode;
  2800. 1955 .loc 1 805 14
  2801. 1956 0008 7B68 ldr r3, [r7, #4]
  2802. 1957 000a 9B6B ldr r3, [r3, #56]
  2803. 806:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2804. 1958 .loc 1 806 1
  2805. 1959 000c 1846 mov r0, r3
  2806. 1960 000e 0C37 adds r7, r7, #12
  2807. 1961 .LCFI62:
  2808. 1962 .cfi_def_cfa_offset 4
  2809. 1963 0010 BD46 mov sp, r7
  2810. 1964 .LCFI63:
  2811. 1965 .cfi_def_cfa_register 13
  2812. 1966 @ sp needed
  2813. 1967 0012 5DF8047B ldr r7, [sp], #4
  2814. 1968 .LCFI64:
  2815. 1969 .cfi_restore 7
  2816. 1970 .cfi_def_cfa_offset 0
  2817. 1971 0016 7047 bx lr
  2818. 1972 .cfi_endproc
  2819. 1973 .LFE141:
  2820. 1975 .section .text.DMA_SetConfig,"ax",%progbits
  2821. 1976 .align 1
  2822. 1977 .syntax unified
  2823. 1978 .thumb
  2824. 1979 .thumb_func
  2825. 1981 DMA_SetConfig:
  2826. 1982 .LFB142:
  2827. 807:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2828. 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  2829. 809:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @}
  2830. 810:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  2831. 811:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2832. 812:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  2833. 813:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @}
  2834. 814:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  2835. 815:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2836. 816:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @addtogroup DMA_Private_Functions
  2837. 817:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
  2838. 818:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  2839. 819:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2840. 820:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  2841. 821:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Set the DMA Transfer parameters.
  2842. 822:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  2843. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 50
  2844. 823:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  2845. 824:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address
  2846. 825:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address
  2847. 826:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination
  2848. 827:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
  2849. 828:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  2850. 829:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32
  2851. 830:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2852. 1983 .loc 1 830 1
  2853. 1984 .cfi_startproc
  2854. 1985 @ args = 0, pretend = 0, frame = 16
  2855. 1986 @ frame_needed = 1, uses_anonymous_args = 0
  2856. 1987 @ link register save eliminated.
  2857. 1988 0000 80B4 push {r7}
  2858. 1989 .LCFI65:
  2859. 1990 .cfi_def_cfa_offset 4
  2860. 1991 .cfi_offset 7, -4
  2861. 1992 0002 85B0 sub sp, sp, #20
  2862. 1993 .LCFI66:
  2863. 1994 .cfi_def_cfa_offset 24
  2864. 1995 0004 00AF add r7, sp, #0
  2865. 1996 .LCFI67:
  2866. 1997 .cfi_def_cfa_register 7
  2867. 1998 0006 F860 str r0, [r7, #12]
  2868. 1999 0008 B960 str r1, [r7, #8]
  2869. 2000 000a 7A60 str r2, [r7, #4]
  2870. 2001 000c 3B60 str r3, [r7]
  2871. 831:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */
  2872. 832:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_FLAG_GL1 << hdma->ChannelIndex);
  2873. 2002 .loc 1 832 54
  2874. 2003 000e FB68 ldr r3, [r7, #12]
  2875. 2004 0010 1A6C ldr r2, [r3, #64]
  2876. 2005 .loc 1 832 7
  2877. 2006 0012 FB68 ldr r3, [r7, #12]
  2878. 2007 0014 DB6B ldr r3, [r3, #60]
  2879. 2008 .loc 1 832 47
  2880. 2009 0016 0121 movs r1, #1
  2881. 2010 0018 01FA02F2 lsl r2, r1, r2
  2882. 2011 .loc 1 832 31
  2883. 2012 001c 5A60 str r2, [r3, #4]
  2884. 833:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2885. 834:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel data length */
  2886. 835:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CNDTR = DataLength;
  2887. 2013 .loc 1 835 7
  2888. 2014 001e FB68 ldr r3, [r7, #12]
  2889. 2015 0020 1B68 ldr r3, [r3]
  2890. 2016 .loc 1 835 25
  2891. 2017 0022 3A68 ldr r2, [r7]
  2892. 2018 0024 5A60 str r2, [r3, #4]
  2893. 836:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2894. 837:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Peripheral to Memory */
  2895. 838:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if((hdma->Init.Direction) == DMA_MEMORY_TO_PERIPH)
  2896. 2019 .loc 1 838 17
  2897. 2020 0026 FB68 ldr r3, [r7, #12]
  2898. 2021 0028 5B68 ldr r3, [r3, #4]
  2899. 2022 .loc 1 838 5
  2900. 2023 002a 102B cmp r3, #16
  2901. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 51
  2902. 2024 002c 08D1 bne .L99
  2903. 839:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2904. 840:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel destination address */
  2905. 841:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CPAR = DstAddress;
  2906. 2025 .loc 1 841 9
  2907. 2026 002e FB68 ldr r3, [r7, #12]
  2908. 2027 0030 1B68 ldr r3, [r3]
  2909. 2028 .loc 1 841 26
  2910. 2029 0032 7A68 ldr r2, [r7, #4]
  2911. 2030 0034 9A60 str r2, [r3, #8]
  2912. 842:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2913. 843:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel source address */
  2914. 844:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CMAR = SrcAddress;
  2915. 2031 .loc 1 844 9
  2916. 2032 0036 FB68 ldr r3, [r7, #12]
  2917. 2033 0038 1B68 ldr r3, [r3]
  2918. 2034 .loc 1 844 26
  2919. 2035 003a BA68 ldr r2, [r7, #8]
  2920. 2036 003c DA60 str r2, [r3, #12]
  2921. 845:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2922. 846:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Memory to Peripheral */
  2923. 847:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
  2924. 848:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2925. 849:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel source address */
  2926. 850:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CPAR = SrcAddress;
  2927. 851:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2928. 852:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel destination address */
  2929. 853:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CMAR = DstAddress;
  2930. 854:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2931. 855:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2932. 2037 .loc 1 855 1
  2933. 2038 003e 07E0 b .L101
  2934. 2039 .L99:
  2935. 850:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2936. 2040 .loc 1 850 9
  2937. 2041 0040 FB68 ldr r3, [r7, #12]
  2938. 2042 0042 1B68 ldr r3, [r3]
  2939. 850:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2940. 2043 .loc 1 850 26
  2941. 2044 0044 BA68 ldr r2, [r7, #8]
  2942. 2045 0046 9A60 str r2, [r3, #8]
  2943. 853:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2944. 2046 .loc 1 853 9
  2945. 2047 0048 FB68 ldr r3, [r7, #12]
  2946. 2048 004a 1B68 ldr r3, [r3]
  2947. 853:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  2948. 2049 .loc 1 853 26
  2949. 2050 004c 7A68 ldr r2, [r7, #4]
  2950. 2051 004e DA60 str r2, [r3, #12]
  2951. 2052 .L101:
  2952. 2053 .loc 1 855 1
  2953. 2054 0050 00BF nop
  2954. 2055 0052 1437 adds r7, r7, #20
  2955. 2056 .LCFI68:
  2956. 2057 .cfi_def_cfa_offset 4
  2957. 2058 0054 BD46 mov sp, r7
  2958. 2059 .LCFI69:
  2959. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 52
  2960. 2060 .cfi_def_cfa_register 13
  2961. 2061 @ sp needed
  2962. 2062 0056 5DF8047B ldr r7, [sp], #4
  2963. 2063 .LCFI70:
  2964. 2064 .cfi_restore 7
  2965. 2065 .cfi_def_cfa_offset 0
  2966. 2066 005a 7047 bx lr
  2967. 2067 .cfi_endproc
  2968. 2068 .LFE142:
  2969. 2070 .section .text.DMA_CalcBaseAndBitshift,"ax",%progbits
  2970. 2071 .align 1
  2971. 2072 .syntax unified
  2972. 2073 .thumb
  2973. 2074 .thumb_func
  2974. 2076 DMA_CalcBaseAndBitshift:
  2975. 2077 .LFB143:
  2976. 856:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
  2977. 857:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
  2978. 858:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Set the DMA base address and channel index depending on DMA instance
  2979. 859:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
  2980. 860:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
  2981. 861:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval None
  2982. 862:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
  2983. 863:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** static void DMA_CalcBaseAndBitshift(DMA_HandleTypeDef *hdma)
  2984. 864:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  2985. 2078 .loc 1 864 1
  2986. 2079 .cfi_startproc
  2987. 2080 @ args = 0, pretend = 0, frame = 8
  2988. 2081 @ frame_needed = 1, uses_anonymous_args = 0
  2989. 2082 @ link register save eliminated.
  2990. 2083 0000 80B4 push {r7}
  2991. 2084 .LCFI71:
  2992. 2085 .cfi_def_cfa_offset 4
  2993. 2086 .cfi_offset 7, -4
  2994. 2087 0002 83B0 sub sp, sp, #12
  2995. 2088 .LCFI72:
  2996. 2089 .cfi_def_cfa_offset 16
  2997. 2090 0004 00AF add r7, sp, #0
  2998. 2091 .LCFI73:
  2999. 2092 .cfi_def_cfa_register 7
  3000. 2093 0006 7860 str r0, [r7, #4]
  3001. 865:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #if defined (DMA2)
  3002. 866:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* calculation of the channel index */
  3003. 867:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if ((uint32_t)(hdma->Instance) < (uint32_t)(DMA2_Channel1))
  3004. 2094 .loc 1 867 22
  3005. 2095 0008 7B68 ldr r3, [r7, #4]
  3006. 2096 000a 1B68 ldr r3, [r3]
  3007. 2097 .loc 1 867 7
  3008. 2098 000c 1A46 mov r2, r3
  3009. 2099 .loc 1 867 6
  3010. 2100 000e 144B ldr r3, .L106
  3011. 2101 0010 9A42 cmp r2, r3
  3012. 2102 0012 0FD8 bhi .L103
  3013. 868:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  3014. 869:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* DMA1 */
  3015. 870:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Ch
  3016. 2103 .loc 1 870 42
  3017. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 53
  3018. 2104 0014 7B68 ldr r3, [r7, #4]
  3019. 2105 0016 1B68 ldr r3, [r3]
  3020. 2106 .loc 1 870 28
  3021. 2107 0018 1A46 mov r2, r3
  3022. 2108 .loc 1 870 53
  3023. 2109 001a 124B ldr r3, .L106+4
  3024. 2110 001c 1344 add r3, r3, r2
  3025. 2111 .loc 1 870 80
  3026. 2112 001e 124A ldr r2, .L106+8
  3027. 2113 0020 A2FB0323 umull r2, r3, r2, r3
  3028. 2114 0024 1B09 lsrs r3, r3, #4
  3029. 2115 .loc 1 870 135
  3030. 2116 0026 9A00 lsls r2, r3, #2
  3031. 2117 .loc 1 870 24
  3032. 2118 0028 7B68 ldr r3, [r7, #4]
  3033. 2119 002a 1A64 str r2, [r3, #64]
  3034. 871:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  3035. 2120 .loc 1 871 26
  3036. 2121 002c 7B68 ldr r3, [r7, #4]
  3037. 2122 002e 0F4A ldr r2, .L106+12
  3038. 2123 0030 DA63 str r2, [r3, #60]
  3039. 872:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  3040. 873:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
  3041. 874:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
  3042. 875:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* DMA2 */
  3043. 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA2_Channel1) / ((uint32_t)DMA2_Ch
  3044. 877:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
  3045. 878:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  3046. 879:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #else
  3047. 880:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* calculation of the channel index */
  3048. 881:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* DMA1 */
  3049. 882:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Chan
  3050. 883:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  3051. 884:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #endif
  3052. 885:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  3053. 2124 .loc 1 885 1
  3054. 2125 0032 0EE0 b .L105
  3055. 2126 .L103:
  3056. 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
  3057. 2127 .loc 1 876 42
  3058. 2128 0034 7B68 ldr r3, [r7, #4]
  3059. 2129 0036 1B68 ldr r3, [r3]
  3060. 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
  3061. 2130 .loc 1 876 28
  3062. 2131 0038 1A46 mov r2, r3
  3063. 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
  3064. 2132 .loc 1 876 53
  3065. 2133 003a 0D4B ldr r3, .L106+16
  3066. 2134 003c 1344 add r3, r3, r2
  3067. 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
  3068. 2135 .loc 1 876 80
  3069. 2136 003e 0A4A ldr r2, .L106+8
  3070. 2137 0040 A2FB0323 umull r2, r3, r2, r3
  3071. 2138 0044 1B09 lsrs r3, r3, #4
  3072. 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
  3073. 2139 .loc 1 876 135
  3074. 2140 0046 9A00 lsls r2, r3, #2
  3075. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 54
  3076. 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
  3077. 2141 .loc 1 876 24
  3078. 2142 0048 7B68 ldr r3, [r7, #4]
  3079. 2143 004a 1A64 str r2, [r3, #64]
  3080. 877:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
  3081. 2144 .loc 1 877 26
  3082. 2145 004c 7B68 ldr r3, [r7, #4]
  3083. 2146 004e 094A ldr r2, .L106+20
  3084. 2147 0050 DA63 str r2, [r3, #60]
  3085. 2148 .L105:
  3086. 2149 .loc 1 885 1
  3087. 2150 0052 00BF nop
  3088. 2151 0054 0C37 adds r7, r7, #12
  3089. 2152 .LCFI74:
  3090. 2153 .cfi_def_cfa_offset 4
  3091. 2154 0056 BD46 mov sp, r7
  3092. 2155 .LCFI75:
  3093. 2156 .cfi_def_cfa_register 13
  3094. 2157 @ sp needed
  3095. 2158 0058 5DF8047B ldr r7, [sp], #4
  3096. 2159 .LCFI76:
  3097. 2160 .cfi_restore 7
  3098. 2161 .cfi_def_cfa_offset 0
  3099. 2162 005c 7047 bx lr
  3100. 2163 .L107:
  3101. 2164 005e 00BF .align 2
  3102. 2165 .L106:
  3103. 2166 0060 07040240 .word 1073873927
  3104. 2167 0064 F8FFFDBF .word -1073872904
  3105. 2168 0068 CDCCCCCC .word -858993459
  3106. 2169 006c 00000240 .word 1073872896
  3107. 2170 0070 F8FBFDBF .word -1073873928
  3108. 2171 0074 00040240 .word 1073873920
  3109. 2172 .cfi_endproc
  3110. 2173 .LFE143:
  3111. 2175 .text
  3112. 2176 .Letext0:
  3113. 2177 .file 2 "d:\\arm-gcc\\arm-none-eabi\\include\\machine\\_default_types.h"
  3114. 2178 .file 3 "d:\\arm-gcc\\arm-none-eabi\\include\\sys\\_stdint.h"
  3115. 2179 .file 4 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f302xc.h"
  3116. 2180 .file 5 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f3xx.h"
  3117. 2181 .file 6 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_def.h"
  3118. 2182 .file 7 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_dma.h"
  3119. ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 55
  3120. DEFINED SYMBOLS
  3121. *ABS*:00000000 stm32f3xx_hal_dma.c
  3122. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:20 .rodata:00000000 $d
  3123. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:25 .text.HAL_DMA_Init:00000000 $t
  3124. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:31 .text.HAL_DMA_Init:00000000 HAL_DMA_Init
  3125. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:2076 .text.DMA_CalcBaseAndBitshift:00000000 DMA_CalcBaseAndBitshift
  3126. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:357 .text.HAL_DMA_Init:000001f0 $d
  3127. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:374 .text.HAL_DMA_DeInit:00000000 $t
  3128. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:380 .text.HAL_DMA_DeInit:00000000 HAL_DMA_DeInit
  3129. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:576 .text.HAL_DMA_DeInit:00000110 $d
  3130. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:593 .text.HAL_DMA_Start:00000000 $t
  3131. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:599 .text.HAL_DMA_Start:00000000 HAL_DMA_Start
  3132. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1981 .text.DMA_SetConfig:00000000 DMA_SetConfig
  3133. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:718 .text.HAL_DMA_Start:0000009c $d
  3134. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:723 .text.HAL_DMA_Start_IT:00000000 $t
  3135. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:729 .text.HAL_DMA_Start_IT:00000000 HAL_DMA_Start_IT
  3136. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:890 .text.HAL_DMA_Start_IT:000000d8 $d
  3137. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:895 .text.HAL_DMA_Abort:00000000 $t
  3138. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:901 .text.HAL_DMA_Abort:00000000 HAL_DMA_Abort
  3139. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1007 .text.HAL_DMA_Abort_IT:00000000 $t
  3140. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1013 .text.HAL_DMA_Abort_IT:00000000 HAL_DMA_Abort_IT
  3141. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1120 .text.HAL_DMA_PollForTransfer:00000000 $t
  3142. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1126 .text.HAL_DMA_PollForTransfer:00000000 HAL_DMA_PollForTransfer
  3143. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1355 .text.HAL_DMA_IRQHandler:00000000 $t
  3144. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1361 .text.HAL_DMA_IRQHandler:00000000 HAL_DMA_IRQHandler
  3145. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1615 .text.HAL_DMA_RegisterCallback:00000000 $t
  3146. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1621 .text.HAL_DMA_RegisterCallback:00000000 HAL_DMA_RegisterCallback
  3147. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1672 .text.HAL_DMA_RegisterCallback:00000040 $d
  3148. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1676 .text.HAL_DMA_RegisterCallback:00000050 $t
  3149. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1741 .text.HAL_DMA_UnRegisterCallback:00000000 $t
  3150. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1747 .text.HAL_DMA_UnRegisterCallback:00000000 HAL_DMA_UnRegisterCallback
  3151. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1797 .text.HAL_DMA_UnRegisterCallback:0000003c $d
  3152. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1802 .text.HAL_DMA_UnRegisterCallback:00000050 $t
  3153. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1886 .text.HAL_DMA_GetState:00000000 $t
  3154. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1892 .text.HAL_DMA_GetState:00000000 HAL_DMA_GetState
  3155. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1931 .text.HAL_DMA_GetError:00000000 $t
  3156. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1937 .text.HAL_DMA_GetError:00000000 HAL_DMA_GetError
  3157. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1976 .text.DMA_SetConfig:00000000 $t
  3158. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:2071 .text.DMA_CalcBaseAndBitshift:00000000 $t
  3159. C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:2166 .text.DMA_CalcBaseAndBitshift:00000060 $d
  3160. UNDEFINED SYMBOLS
  3161. assert_failed
  3162. HAL_GetTick