stm32f1xx_hal_dma.lst 193 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366
  1. ARM GAS /tmp/ccQjIBHa.s page 1
  2. 1 .cpu cortex-m3
  3. 2 .arch armv7-m
  4. 3 .fpu softvfp
  5. 4 .eabi_attribute 20, 1
  6. 5 .eabi_attribute 21, 1
  7. 6 .eabi_attribute 23, 3
  8. 7 .eabi_attribute 24, 1
  9. 8 .eabi_attribute 25, 1
  10. 9 .eabi_attribute 26, 1
  11. 10 .eabi_attribute 30, 1
  12. 11 .eabi_attribute 34, 1
  13. 12 .eabi_attribute 18, 4
  14. 13 .file "stm32f1xx_hal_dma.c"
  15. 14 .text
  16. 15 .Ltext0:
  17. 16 .cfi_sections .debug_frame
  18. 17 .section .text.DMA_SetConfig,"ax",%progbits
  19. 18 .align 1
  20. 19 .syntax unified
  21. 20 .thumb
  22. 21 .thumb_func
  23. 23 DMA_SetConfig:
  24. 24 .LVL0:
  25. 25 .LFB77:
  26. 26 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c"
  27. 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  28. 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ******************************************************************************
  29. 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @file stm32f1xx_hal_dma.c
  30. 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @author MCD Application Team
  31. 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief DMA HAL module driver.
  32. 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * This file provides firmware functions to manage the following
  33. 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * functionalities of the Direct Memory Access (DMA) peripheral:
  34. 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * + Initialization and de-initialization functions
  35. 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * + IO operation functions
  36. 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * + Peripheral State and errors functions
  37. 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim
  38. 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ==============================================================================
  39. 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### How to use this driver #####
  40. 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ==============================================================================
  41. 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
  42. 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) Enable and configure the peripheral to be connected to the DMA Channel
  43. 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (except for internal SRAM / FLASH memories: no initialization is
  44. 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** necessary). Please refer to the Reference manual for connection between peripherals
  45. 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** and DMA requests.
  46. 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  47. 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) For a given Channel, program the required configuration through the following parameters:
  48. 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Channel request, Transfer Direction, Source and Destination data formats,
  49. 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Circular or Normal mode, Channel Priority level, Source and Destination Increment mode
  50. 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** using HAL_DMA_Init() function.
  51. 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  52. 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) Use HAL_DMA_GetState() function to return the DMA state and HAL_DMA_GetError() in case of er
  53. 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** detection.
  54. 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  55. 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) Use HAL_DMA_Abort() function to abort the current transfer
  56. 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  57. 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** -@- In Memory-to-Memory transfer mode, Circular mode is not allowed.
  58. 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *** Polling mode IO operation ***
  59. ARM GAS /tmp/ccQjIBHa.s page 2
  60. 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** =================================
  61. 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
  62. 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_Start() to start DMA transfer after the configuration of Source
  63. 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** address and destination address and the Length of data to be transferred
  64. 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_PollForTransfer() to poll for the end of current transfer, in this
  65. 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case a fixed Timeout can be configured by User depending from his application.
  66. 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  67. 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *** Interrupt mode IO operation ***
  68. 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===================================
  69. 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
  70. 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Configure the DMA interrupt priority using HAL_NVIC_SetPriority()
  71. 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Enable the DMA IRQ handler using HAL_NVIC_EnableIRQ()
  72. 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_Start_IT() to start DMA transfer after the configuration of
  73. 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Source address and destination address and the Length of data to be transferred.
  74. 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** In this case the DMA interrupt is configured
  75. 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_IRQHandler() called under DMA_IRQHandler() Interrupt subroutine
  76. 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) At the end of data transfer HAL_DMA_IRQHandler() function is executed and user can
  77. 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** add his own function by customization of function pointer XferCpltCallback and
  78. 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** XferErrorCallback (i.e. a member of DMA handle structure).
  79. 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  80. 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *** DMA HAL driver macros list ***
  81. 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** =============================================
  82. 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
  83. 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Below the list of most used macros in DMA HAL driver.
  84. 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  85. 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_ENABLE: Enable the specified DMA Channel.
  86. 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_DISABLE: Disable the specified DMA Channel.
  87. 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_GET_FLAG: Get the DMA Channel pending flags.
  88. 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_CLEAR_FLAG: Clear the DMA Channel pending flags.
  89. 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_ENABLE_IT: Enable the specified DMA Channel interrupts.
  90. 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_DISABLE_IT: Disable the specified DMA Channel interrupts.
  91. 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_GET_IT_SOURCE: Check whether the specified DMA Channel interrupt has occurred
  92. 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  93. 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
  94. 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (@) You can refer to the DMA HAL driver header file for more useful macros
  95. 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  96. 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim
  97. 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ******************************************************************************
  98. 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @attention
  99. 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
  100. 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * Copyright (c) 2016 STMicroelectronics.
  101. 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * All rights reserved.
  102. 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
  103. 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * This software is licensed under terms that can be found in the LICENSE file in
  104. 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the root directory of this software component.
  105. 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
  106. 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
  107. 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ******************************************************************************
  108. 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  109. 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  110. 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Includes ------------------------------------------------------------------*/
  111. 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #include "stm32f1xx_hal.h"
  112. 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  113. 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @addtogroup STM32F1xx_HAL_Driver
  114. 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
  115. 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  116. 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  117. ARM GAS /tmp/ccQjIBHa.s page 3
  118. 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA DMA
  119. 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief DMA HAL module driver
  120. 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
  121. 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  122. 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  123. 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #ifdef HAL_DMA_MODULE_ENABLED
  124. 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  125. 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private typedef -----------------------------------------------------------*/
  126. 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private define ------------------------------------------------------------*/
  127. 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private macro -------------------------------------------------------------*/
  128. 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private variables ---------------------------------------------------------*/
  129. 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private function prototypes -----------------------------------------------*/
  130. 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Private_Functions DMA Private Functions
  131. 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
  132. 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  133. 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32
  134. 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  135. 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
  136. 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  137. 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  138. 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Exported functions ---------------------------------------------------------*/
  139. 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  140. 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions DMA Exported Functions
  141. 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
  142. 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  143. 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  144. 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group1 Initialization and de-initialization functions
  145. 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Initialization and de-initialization functions
  146. 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
  147. 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim
  148. 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
  149. 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### Initialization and de-initialization functions #####
  150. 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
  151. 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
  152. 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** This section provides functions allowing to initialize the DMA Channel source
  153. 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** and destination addresses, incrementation and data sizes, transfer direction,
  154. 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** circular/normal mode selection, memory-to-memory mode selection and Channel priority value.
  155. 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
  156. 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** The HAL_DMA_Init() function follows the DMA configuration procedures as described in
  157. 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** reference manual.
  158. 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  159. 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim
  160. 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
  161. 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  162. 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  163. 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  164. 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Initialize the DMA according to the specified
  165. 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * parameters in the DMA_InitTypeDef and initialize the associated handle.
  166. 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: Pointer to a DMA_HandleTypeDef structure that contains
  167. 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  168. 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
  169. 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  170. 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma)
  171. 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  172. 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tmp = 0U;
  173. 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  174. 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */
  175. ARM GAS /tmp/ccQjIBHa.s page 4
  176. 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma == NULL)
  177. 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  178. 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
  179. 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  180. 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  181. 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */
  182. 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance));
  183. 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction));
  184. 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc));
  185. 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc));
  186. 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment));
  187. 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment));
  188. 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode));
  189. 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority));
  190. 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  191. 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #if defined (DMA2)
  192. 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* calculation of the channel index */
  193. 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if ((uint32_t)(hdma->Instance) < (uint32_t)(DMA2_Channel1))
  194. 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  195. 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */
  196. 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Ch
  197. 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  198. 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  199. 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
  200. 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  201. 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA2 */
  202. 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA2_Channel1) / ((uint32_t)DMA2_Ch
  203. 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
  204. 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  205. 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #else
  206. 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */
  207. 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Chan
  208. 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  209. 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */
  210. 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  211. 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change DMA peripheral state */
  212. 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
  213. 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  214. 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Get the CR register value */
  215. 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tmp = hdma->Instance->CCR;
  216. 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  217. 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear PL, MSIZE, PSIZE, MINC, PINC, CIRC and DIR bits */
  218. 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tmp &= ((uint32_t)~(DMA_CCR_PL | DMA_CCR_MSIZE | DMA_CCR_PSIZE | \
  219. 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \
  220. 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_DIR));
  221. 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  222. 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Prepare the DMA Channel configuration */
  223. 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tmp |= hdma->Init.Direction |
  224. 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  225. 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
  226. 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
  227. 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  228. 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Write to DMA Channel CR register */
  229. 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CCR = tmp;
  230. 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  231. 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Initialise the error code */
  232. 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  233. ARM GAS /tmp/ccQjIBHa.s page 5
  234. 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  235. 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Initialize the DMA state*/
  236. 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  237. 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Allocate lock resource and initialize it */
  238. 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Lock = HAL_UNLOCKED;
  239. 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  240. 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_OK;
  241. 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  242. 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  243. 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  244. 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief DeInitialize the DMA peripheral.
  245. 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
  246. 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  247. 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
  248. 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  249. 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma)
  250. 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  251. 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */
  252. 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma == NULL)
  253. 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  254. 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
  255. 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  256. 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  257. 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */
  258. 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance));
  259. 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  260. 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the selected DMA Channelx */
  261. 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
  262. 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  263. 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel control register */
  264. 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CCR = 0U;
  265. 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  266. 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel Number of Data to Transfer register */
  267. 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CNDTR = 0U;
  268. 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  269. 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel peripheral address register */
  270. 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CPAR = 0U;
  271. 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  272. 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel memory address register */
  273. 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CMAR = 0U;
  274. 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  275. 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #if defined (DMA2)
  276. 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* calculation of the channel index */
  277. 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if ((uint32_t)(hdma->Instance) < (uint32_t)(DMA2_Channel1))
  278. 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  279. 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */
  280. 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Ch
  281. 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  282. 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  283. 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
  284. 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  285. 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA2 */
  286. 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA2_Channel1) / ((uint32_t)DMA2_Ch
  287. 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
  288. 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  289. 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #else
  290. 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */
  291. ARM GAS /tmp/ccQjIBHa.s page 6
  292. 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Chan
  293. 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  294. 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */
  295. 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  296. 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
  297. 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << (hdma->ChannelIndex));
  298. 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  299. 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clean all callbacks */
  300. 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
  301. 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  302. 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  303. 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  304. 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  305. 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset the error code */
  306. 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  307. 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  308. 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset the DMA state */
  309. 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_RESET;
  310. 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  311. 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Release Lock */
  312. 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  313. 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  314. 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_OK;
  315. 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  316. 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  317. 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  318. 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
  319. 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  320. 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  321. 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group2 Input and Output operation functions
  322. 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Input and Output operation functions
  323. 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
  324. 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim
  325. 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
  326. 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### IO operation functions #####
  327. 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
  328. 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..] This section provides functions allowing to:
  329. 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Configure the source, destination address and data length and Start DMA transfer
  330. 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Configure the source, destination address and data length and
  331. 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Start DMA transfer with interrupt
  332. 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Abort DMA transfer
  333. 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Poll for transfer complete
  334. 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Handle DMA interrupt request
  335. 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  336. 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim
  337. 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
  338. 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  339. 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  340. 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  341. 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Start the DMA Transfer.
  342. 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
  343. 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  344. 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address
  345. 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address
  346. 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination
  347. 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
  348. 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  349. ARM GAS /tmp/ccQjIBHa.s page 7
  350. 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress,
  351. 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  352. 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  353. 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  354. 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */
  355. 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength));
  356. 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  357. 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */
  358. 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma);
  359. 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  360. 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
  361. 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  362. 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change DMA peripheral state */
  363. 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
  364. 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  365. 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  366. 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the peripheral */
  367. 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
  368. 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  369. 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure the source, destination address and the data length & clear flags*/
  370. 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength);
  371. 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  372. 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the Peripheral */
  373. 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE(hdma);
  374. 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  375. 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
  376. 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  377. 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
  378. 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  379. 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
  380. 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  381. 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
  382. 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  383. 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  384. 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  385. 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Start the DMA Transfer with interrupt enabled.
  386. 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
  387. 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  388. 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address
  389. 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address
  390. 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination
  391. 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
  392. 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  393. 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddres
  394. 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  395. 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  396. 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  397. 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */
  398. 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength));
  399. 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  400. 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */
  401. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma);
  402. 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  403. 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
  404. 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  405. 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change DMA peripheral state */
  406. 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
  407. ARM GAS /tmp/ccQjIBHa.s page 8
  408. 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  409. 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  410. 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the peripheral */
  411. 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
  412. 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  413. 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure the source, destination address and the data length & clear flags*/
  414. 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength);
  415. 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  416. 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the transfer complete interrupt */
  417. 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the transfer Error interrupt */
  418. 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(NULL != hdma->XferHalfCpltCallback)
  419. 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  420. 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the Half transfer complete interrupt as well */
  421. 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE));
  422. 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  423. 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
  424. 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  425. 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_HT);
  426. 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_TE));
  427. 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  428. 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the Peripheral */
  429. 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE(hdma);
  430. 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  431. 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
  432. 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  433. 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
  434. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  435. 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  436. 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Remain BUSY */
  437. 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
  438. 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  439. 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
  440. 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  441. 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  442. 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  443. 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Abort the DMA Transfer.
  444. 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
  445. 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  446. 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
  447. 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  448. 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma)
  449. 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  450. 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  451. 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  452. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->State != HAL_DMA_STATE_BUSY)
  453. 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  454. 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* no transfer ongoing */
  455. 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
  456. 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  457. 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
  458. 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  459. 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  460. 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
  461. 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  462. 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
  463. 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  464. 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  465. ARM GAS /tmp/ccQjIBHa.s page 9
  466. 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable DMA IT */
  467. 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE));
  468. 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  469. 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the channel */
  470. 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
  471. 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  472. 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
  473. 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex);
  474. 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  475. 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
  476. 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  477. 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  478. 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
  479. 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  480. 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  481. 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
  482. 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  483. 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  484. 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  485. 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Aborts the DMA Transfer in Interrupt mode.
  486. 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains
  487. 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  488. 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
  489. 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  490. 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma)
  491. 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  492. 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  493. 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  494. 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State)
  495. 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  496. 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* no transfer ongoing */
  497. 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
  498. 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  499. 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
  500. 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  501. 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
  502. 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  503. 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable DMA IT */
  504. 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE));
  505. 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  506. 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the channel */
  507. 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
  508. 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  509. 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
  510. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_GI_FLAG_INDEX(hdma));
  511. 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  512. 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
  513. 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  514. 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  515. 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
  516. 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  517. 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  518. 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Call User Abort callback */
  519. 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->XferAbortCallback != NULL)
  520. 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  521. 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback(hdma);
  522. 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  523. ARM GAS /tmp/ccQjIBHa.s page 10
  524. 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  525. 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
  526. 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  527. 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  528. 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  529. 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Polling for transfer complete.
  530. 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
  531. 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  532. 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param CompleteLevel: Specifies the DMA level complete.
  533. 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param Timeout: Timeout duration.
  534. 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
  535. 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  536. 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, uint32_t CompleteLevel, uint32_t
  537. 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  538. 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t temp;
  539. 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tickstart = 0U;
  540. 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  541. 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State)
  542. 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  543. 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* no transfer ongoing */
  544. 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
  545. 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  546. 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
  547. 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  548. 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  549. 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Polling mode not supported in circular mode */
  550. 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if (RESET != (hdma->Instance->CCR & DMA_CCR_CIRC))
  551. 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  552. 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NOT_SUPPORTED;
  553. 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
  554. 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  555. 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  556. 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Get the level transfer complete flag */
  557. 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(CompleteLevel == HAL_DMA_FULL_TRANSFER)
  558. 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  559. 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer Complete flag */
  560. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** temp = __HAL_DMA_GET_TC_FLAG_INDEX(hdma);
  561. 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  562. 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
  563. 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  564. 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Half Transfer Complete flag */
  565. 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** temp = __HAL_DMA_GET_HT_FLAG_INDEX(hdma);
  566. 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  567. 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  568. 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Get tick */
  569. 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tickstart = HAL_GetTick();
  570. 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  571. 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** while(__HAL_DMA_GET_FLAG(hdma, temp) == RESET)
  572. 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  573. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((__HAL_DMA_GET_FLAG(hdma, __HAL_DMA_GET_TE_FLAG_INDEX(hdma)) != RESET))
  574. 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  575. 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* When a DMA transfer error occurs */
  576. 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */
  577. 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
  578. 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex);
  579. 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  580. 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Update error code */
  581. ARM GAS /tmp/ccQjIBHa.s page 11
  582. 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** SET_BIT(hdma->ErrorCode, HAL_DMA_ERROR_TE);
  583. 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  584. 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
  585. 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State= HAL_DMA_STATE_READY;
  586. 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  587. 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
  588. 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  589. 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  590. 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
  591. 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  592. 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check for the Timeout */
  593. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(Timeout != HAL_MAX_DELAY)
  594. 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  595. 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((Timeout == 0U) || ((HAL_GetTick() - tickstart) > Timeout))
  596. 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  597. 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Update error code */
  598. 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** SET_BIT(hdma->ErrorCode, HAL_DMA_ERROR_TIMEOUT);
  599. 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  600. 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
  601. 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  602. 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  603. 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
  604. 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  605. 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  606. 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
  607. 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  608. 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  609. 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  610. 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  611. 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(CompleteLevel == HAL_DMA_FULL_TRANSFER)
  612. 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  613. 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the transfer complete flag */
  614. 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TC_FLAG_INDEX(hdma));
  615. 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  616. 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* The selected Channelx EN bit is cleared (DMA is disabled and
  617. 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** all transfers are complete) */
  618. 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  619. 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  620. 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
  621. 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  622. 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the half transfer complete flag */
  623. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_HT_FLAG_INDEX(hdma));
  624. 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  625. 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  626. 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process unlocked */
  627. 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  628. 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  629. 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_OK;
  630. 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  631. 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  632. 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  633. 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Handles DMA interrupt request.
  634. 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
  635. 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  636. 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval None
  637. 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  638. 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma)
  639. ARM GAS /tmp/ccQjIBHa.s page 12
  640. 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  641. 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR;
  642. 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
  643. 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  644. 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Half Transfer Complete Interrupt management ******************************/
  645. 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if (((flag_it & (DMA_FLAG_HT1 << hdma->ChannelIndex)) != RESET) && ((source_it & DMA_IT_HT) != RE
  646. 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  647. 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the half transfer interrupt if the DMA mode is not CIRCULAR */
  648. 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U)
  649. 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  650. 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the half transfer interrupt */
  651. 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_HT);
  652. 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  653. 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the half transfer complete flag */
  654. 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_HT_FLAG_INDEX(hdma));
  655. 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  656. 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA peripheral state is not updated in Half Transfer */
  657. 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* but in Transfer Complete case */
  658. 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  659. 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->XferHalfCpltCallback != NULL)
  660. 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  661. 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Half transfer callback */
  662. 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback(hdma);
  663. 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  664. 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  665. 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  666. 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer Complete Interrupt management ***********************************/
  667. 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else if (((flag_it & (DMA_FLAG_TC1 << hdma->ChannelIndex)) != RESET) && ((source_it & DMA_IT_TC)
  668. 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  669. 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U)
  670. 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  671. 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the transfer complete and error interrupt */
  672. 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_TE | DMA_IT_TC);
  673. 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  674. 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
  675. 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  676. 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  677. 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the transfer complete flag */
  678. 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TC_FLAG_INDEX(hdma));
  679. 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  680. 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
  681. 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  682. 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  683. 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->XferCpltCallback != NULL)
  684. 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  685. 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer complete callback */
  686. 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback(hdma);
  687. 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  688. 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  689. 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  690. 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer Error Interrupt management **************************************/
  691. 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else if (( RESET != (flag_it & (DMA_FLAG_TE1 << hdma->ChannelIndex))) && (RESET != (source_it & D
  692. 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  693. 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* When a DMA transfer error occurs */
  694. 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */
  695. 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable ALL DMA IT */
  696. 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE));
  697. ARM GAS /tmp/ccQjIBHa.s page 13
  698. 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  699. 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
  700. 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex);
  701. 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  702. 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Update error code */
  703. 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TE;
  704. 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  705. 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
  706. 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
  707. 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  708. 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
  709. 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  710. 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  711. 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if (hdma->XferErrorCallback != NULL)
  712. 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  713. 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer error callback */
  714. 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback(hdma);
  715. 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  716. 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  717. 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return;
  718. 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  719. 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  720. 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  721. 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Register callbacks
  722. 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
  723. 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  724. 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param CallbackID: User Callback identifier
  725. 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter.
  726. 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param pCallback: pointer to private callback function which has pointer to
  727. 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * a DMA_HandleTypeDef structure as parameter.
  728. 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
  729. 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  730. 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Callb
  731. 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  732. 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  733. 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  734. 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */
  735. 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma);
  736. 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  737. 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
  738. 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  739. 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** switch (CallbackID)
  740. 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  741. 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID:
  742. 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = pCallback;
  743. 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  744. 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  745. 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID:
  746. 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = pCallback;
  747. 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  748. 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  749. 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID:
  750. 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = pCallback;
  751. 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  752. 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  753. 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID:
  754. 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = pCallback;
  755. ARM GAS /tmp/ccQjIBHa.s page 14
  756. 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  757. 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  758. 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** default:
  759. 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
  760. 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  761. 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  762. 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  763. 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
  764. 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  765. 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
  766. 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  767. 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  768. 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Release Lock */
  769. 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  770. 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  771. 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
  772. 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  773. 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  774. 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  775. 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief UnRegister callbacks
  776. 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
  777. 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  778. 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param CallbackID: User Callback identifier
  779. 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter.
  780. 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
  781. 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  782. 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Cal
  783. 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  784. 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  785. 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  786. 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */
  787. 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma);
  788. 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  789. 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
  790. 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  791. 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** switch (CallbackID)
  792. 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  793. 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID:
  794. 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
  795. 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  796. 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  797. 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID:
  798. 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  799. 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  800. 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  801. 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID:
  802. 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  803. 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  804. 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  805. 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID:
  806. 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  807. 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  808. 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  809. 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ALL_CB_ID:
  810. 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
  811. 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  812. 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  813. ARM GAS /tmp/ccQjIBHa.s page 15
  814. 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  815. 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  816. 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  817. 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** default:
  818. 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
  819. 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  820. 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  821. 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  822. 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
  823. 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  824. 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
  825. 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  826. 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  827. 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Release Lock */
  828. 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  829. 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  830. 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
  831. 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  832. 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  833. 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  834. 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
  835. 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  836. 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  837. 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group3 Peripheral State and Errors functions
  838. 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Peripheral State and Errors functions
  839. 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
  840. 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim
  841. 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
  842. 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### Peripheral State and Errors functions #####
  843. 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
  844. 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
  845. 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** This subsection provides functions allowing to
  846. 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Check the DMA state
  847. 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Get error code
  848. 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  849. 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim
  850. 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
  851. 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  852. 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  853. 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  854. 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Return the DMA handle state.
  855. 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
  856. 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  857. 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL state
  858. 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  859. 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_DMA_StateTypeDef HAL_DMA_GetState(DMA_HandleTypeDef *hdma)
  860. 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  861. 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Return DMA handle state */
  862. 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return hdma->State;
  863. 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  864. 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  865. 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  866. 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Return the DMA error code.
  867. 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains
  868. 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  869. 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval DMA Error Code
  870. 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  871. ARM GAS /tmp/ccQjIBHa.s page 16
  872. 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma)
  873. 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  874. 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return hdma->ErrorCode;
  875. 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  876. 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  877. 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  878. 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
  879. 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  880. 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  881. 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  882. 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
  883. 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  884. 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  885. 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @addtogroup DMA_Private_Functions
  886. 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
  887. 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  888. 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  889. 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
  890. 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Sets the DMA Transfer parameter.
  891. 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
  892. 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
  893. 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address
  894. 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address
  895. 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination
  896. 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
  897. 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
  898. 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32
  899. 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  900. 27 .loc 1 858 1 view -0
  901. 28 .cfi_startproc
  902. 29 @ args = 0, pretend = 0, frame = 0
  903. 30 @ frame_needed = 0, uses_anonymous_args = 0
  904. 31 @ link register save eliminated.
  905. 32 .loc 1 858 1 is_stmt 0 view .LVU1
  906. 33 0000 30B4 push {r4, r5}
  907. 34 .LCFI0:
  908. 35 .cfi_def_cfa_offset 8
  909. 36 .cfi_offset 4, -8
  910. 37 .cfi_offset 5, -4
  911. 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
  912. 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex);
  913. 38 .loc 1 860 3 is_stmt 1 view .LVU2
  914. 39 .loc 1 860 46 is_stmt 0 view .LVU3
  915. 40 0002 0124 movs r4, #1
  916. 41 0004 056C ldr r5, [r0, #64]
  917. 42 0006 AC40 lsls r4, r4, r5
  918. 43 .loc 1 860 30 view .LVU4
  919. 44 0008 C56B ldr r5, [r0, #60]
  920. 45 000a 6C60 str r4, [r5, #4]
  921. 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  922. 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel data length */
  923. 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CNDTR = DataLength;
  924. 46 .loc 1 863 3 is_stmt 1 view .LVU5
  925. 47 .loc 1 863 7 is_stmt 0 view .LVU6
  926. 48 000c 0468 ldr r4, [r0]
  927. 49 .loc 1 863 25 view .LVU7
  928. 50 000e 6360 str r3, [r4, #4]
  929. ARM GAS /tmp/ccQjIBHa.s page 17
  930. 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  931. 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Memory to Peripheral */
  932. 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((hdma->Init.Direction) == DMA_MEMORY_TO_PERIPH)
  933. 51 .loc 1 866 3 is_stmt 1 view .LVU8
  934. 52 .loc 1 866 17 is_stmt 0 view .LVU9
  935. 53 0010 4368 ldr r3, [r0, #4]
  936. 54 .LVL1:
  937. 55 .loc 1 866 5 view .LVU10
  938. 56 0012 102B cmp r3, #16
  939. 57 0014 05D0 beq .L5
  940. 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  941. 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel destination address */
  942. 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CPAR = DstAddress;
  943. 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  944. 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel source address */
  945. 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CMAR = SrcAddress;
  946. 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  947. 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Peripheral to Memory */
  948. 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
  949. 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  950. 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel source address */
  951. 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CPAR = SrcAddress;
  952. 58 .loc 1 878 5 is_stmt 1 view .LVU11
  953. 59 .loc 1 878 9 is_stmt 0 view .LVU12
  954. 60 0016 0368 ldr r3, [r0]
  955. 61 .loc 1 878 26 view .LVU13
  956. 62 0018 9960 str r1, [r3, #8]
  957. 63 .LVL2:
  958. 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  959. 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel destination address */
  960. 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CMAR = DstAddress;
  961. 64 .loc 1 881 5 is_stmt 1 view .LVU14
  962. 65 .loc 1 881 9 is_stmt 0 view .LVU15
  963. 66 001a 0368 ldr r3, [r0]
  964. 67 .loc 1 881 26 view .LVU16
  965. 68 001c DA60 str r2, [r3, #12]
  966. 69 .L1:
  967. 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  968. 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  969. 70 .loc 1 883 1 view .LVU17
  970. 71 001e 30BC pop {r4, r5}
  971. 72 .LCFI1:
  972. 73 .cfi_remember_state
  973. 74 .cfi_restore 5
  974. 75 .cfi_restore 4
  975. 76 .cfi_def_cfa_offset 0
  976. 77 0020 7047 bx lr
  977. 78 .LVL3:
  978. 79 .L5:
  979. 80 .LCFI2:
  980. 81 .cfi_restore_state
  981. 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  982. 82 .loc 1 869 5 is_stmt 1 view .LVU18
  983. 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  984. 83 .loc 1 869 9 is_stmt 0 view .LVU19
  985. 84 0022 0368 ldr r3, [r0]
  986. 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  987. ARM GAS /tmp/ccQjIBHa.s page 18
  988. 85 .loc 1 869 26 view .LVU20
  989. 86 0024 9A60 str r2, [r3, #8]
  990. 87 .LVL4:
  991. 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  992. 88 .loc 1 872 5 is_stmt 1 view .LVU21
  993. 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  994. 89 .loc 1 872 9 is_stmt 0 view .LVU22
  995. 90 0026 0368 ldr r3, [r0]
  996. 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  997. 91 .loc 1 872 26 view .LVU23
  998. 92 0028 D960 str r1, [r3, #12]
  999. 93 002a F8E7 b .L1
  1000. 94 .cfi_endproc
  1001. 95 .LFE77:
  1002. 97 .section .text.HAL_DMA_Init,"ax",%progbits
  1003. 98 .align 1
  1004. 99 .global HAL_DMA_Init
  1005. 100 .syntax unified
  1006. 101 .thumb
  1007. 102 .thumb_func
  1008. 104 HAL_DMA_Init:
  1009. 105 .LVL5:
  1010. 106 .LFB65:
  1011. 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tmp = 0U;
  1012. 107 .loc 1 143 1 is_stmt 1 view -0
  1013. 108 .cfi_startproc
  1014. 109 @ args = 0, pretend = 0, frame = 0
  1015. 110 @ frame_needed = 0, uses_anonymous_args = 0
  1016. 111 @ link register save eliminated.
  1017. 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1018. 112 .loc 1 144 3 view .LVU25
  1019. 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1020. 113 .loc 1 147 3 view .LVU26
  1021. 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1022. 114 .loc 1 147 5 is_stmt 0 view .LVU27
  1023. 115 0000 60B3 cbz r0, .L8
  1024. 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tmp = 0U;
  1025. 116 .loc 1 143 1 view .LVU28
  1026. 117 0002 10B4 push {r4}
  1027. 118 .LCFI3:
  1028. 119 .cfi_def_cfa_offset 4
  1029. 120 .cfi_offset 4, -4
  1030. 121 0004 0246 mov r2, r0
  1031. 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction));
  1032. 122 .loc 1 153 3 is_stmt 1 view .LVU29
  1033. 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc));
  1034. 123 .loc 1 154 3 view .LVU30
  1035. 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc));
  1036. 124 .loc 1 155 3 view .LVU31
  1037. 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment));
  1038. 125 .loc 1 156 3 view .LVU32
  1039. 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment));
  1040. 126 .loc 1 157 3 view .LVU33
  1041. 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode));
  1042. 127 .loc 1 158 3 view .LVU34
  1043. 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority));
  1044. 128 .loc 1 159 3 view .LVU35
  1045. ARM GAS /tmp/ccQjIBHa.s page 19
  1046. 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1047. 129 .loc 1 160 3 view .LVU36
  1048. 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  1049. 130 .loc 1 178 3 view .LVU37
  1050. 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  1051. 131 .loc 1 178 40 is_stmt 0 view .LVU38
  1052. 132 0006 0168 ldr r1, [r0]
  1053. 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  1054. 133 .loc 1 178 51 view .LVU39
  1055. 134 0008 154B ldr r3, .L13
  1056. 135 000a 0B44 add r3, r3, r1
  1057. 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  1058. 136 .loc 1 178 78 view .LVU40
  1059. 137 000c 1548 ldr r0, .L13+4
  1060. 138 .LVL6:
  1061. 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  1062. 139 .loc 1 178 78 view .LVU41
  1063. 140 000e A0FB0303 umull r0, r3, r0, r3
  1064. 141 0012 1B09 lsrs r3, r3, #4
  1065. 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  1066. 142 .loc 1 178 133 view .LVU42
  1067. 143 0014 9B00 lsls r3, r3, #2
  1068. 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  1069. 144 .loc 1 178 22 view .LVU43
  1070. 145 0016 1364 str r3, [r2, #64]
  1071. 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */
  1072. 146 .loc 1 179 3 is_stmt 1 view .LVU44
  1073. 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */
  1074. 147 .loc 1 179 24 is_stmt 0 view .LVU45
  1075. 148 0018 134B ldr r3, .L13+8
  1076. 149 001a D363 str r3, [r2, #60]
  1077. 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1078. 150 .loc 1 183 3 is_stmt 1 view .LVU46
  1079. 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1080. 151 .loc 1 183 15 is_stmt 0 view .LVU47
  1081. 152 001c 0223 movs r3, #2
  1082. 153 001e 82F82130 strb r3, [r2, #33]
  1083. 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1084. 154 .loc 1 186 3 is_stmt 1 view .LVU48
  1085. 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1086. 155 .loc 1 186 7 is_stmt 0 view .LVU49
  1087. 156 0022 0868 ldr r0, [r1]
  1088. 157 .LVL7:
  1089. 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \
  1090. 158 .loc 1 189 3 is_stmt 1 view .LVU50
  1091. 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \
  1092. 159 .loc 1 189 7 is_stmt 0 view .LVU51
  1093. 160 0024 20F47F50 bic r0, r0, #16320
  1094. 161 .LVL8:
  1095. 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \
  1096. 162 .loc 1 189 7 view .LVU52
  1097. 163 0028 20F03000 bic r0, r0, #48
  1098. 164 .LVL9:
  1099. 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  1100. 165 .loc 1 194 3 is_stmt 1 view .LVU53
  1101. 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  1102. 166 .loc 1 194 21 is_stmt 0 view .LVU54
  1103. ARM GAS /tmp/ccQjIBHa.s page 20
  1104. 167 002c 5368 ldr r3, [r2, #4]
  1105. 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  1106. 168 .loc 1 194 39 view .LVU55
  1107. 169 002e 9468 ldr r4, [r2, #8]
  1108. 170 0030 2343 orrs r3, r3, r4
  1109. 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
  1110. 171 .loc 1 195 42 view .LVU56
  1111. 172 0032 D468 ldr r4, [r2, #12]
  1112. 173 0034 2343 orrs r3, r3, r4
  1113. 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
  1114. 174 .loc 1 195 72 view .LVU57
  1115. 175 0036 1469 ldr r4, [r2, #16]
  1116. 176 0038 2343 orrs r3, r3, r4
  1117. 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
  1118. 177 .loc 1 196 42 view .LVU58
  1119. 178 003a 5469 ldr r4, [r2, #20]
  1120. 179 003c 2343 orrs r3, r3, r4
  1121. 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
  1122. 180 .loc 1 196 72 view .LVU59
  1123. 181 003e 9469 ldr r4, [r2, #24]
  1124. 182 0040 2343 orrs r3, r3, r4
  1125. 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1126. 183 .loc 1 197 42 view .LVU60
  1127. 184 0042 D469 ldr r4, [r2, #28]
  1128. 185 0044 2343 orrs r3, r3, r4
  1129. 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
  1130. 186 .loc 1 194 7 view .LVU61
  1131. 187 0046 0343 orrs r3, r3, r0
  1132. 188 .LVL10:
  1133. 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1134. 189 .loc 1 200 3 is_stmt 1 view .LVU62
  1135. 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1136. 190 .loc 1 200 23 is_stmt 0 view .LVU63
  1137. 191 0048 0B60 str r3, [r1]
  1138. 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1139. 192 .loc 1 203 3 is_stmt 1 view .LVU64
  1140. 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1141. 193 .loc 1 203 19 is_stmt 0 view .LVU65
  1142. 194 004a 0020 movs r0, #0
  1143. 195 004c 9063 str r0, [r2, #56]
  1144. 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Allocate lock resource and initialize it */
  1145. 196 .loc 1 206 3 is_stmt 1 view .LVU66
  1146. 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Allocate lock resource and initialize it */
  1147. 197 .loc 1 206 15 is_stmt 0 view .LVU67
  1148. 198 004e 0123 movs r3, #1
  1149. 199 .LVL11:
  1150. 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Allocate lock resource and initialize it */
  1151. 200 .loc 1 206 15 view .LVU68
  1152. 201 0050 82F82130 strb r3, [r2, #33]
  1153. 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1154. 202 .loc 1 208 3 is_stmt 1 view .LVU69
  1155. 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1156. 203 .loc 1 208 14 is_stmt 0 view .LVU70
  1157. 204 0054 82F82000 strb r0, [r2, #32]
  1158. 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1159. 205 .loc 1 210 3 is_stmt 1 view .LVU71
  1160. 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1161. ARM GAS /tmp/ccQjIBHa.s page 21
  1162. 206 .loc 1 211 1 is_stmt 0 view .LVU72
  1163. 207 0058 10BC pop {r4}
  1164. 208 .LCFI4:
  1165. 209 .cfi_restore 4
  1166. 210 .cfi_def_cfa_offset 0
  1167. 211 005a 7047 bx lr
  1168. 212 .LVL12:
  1169. 213 .L8:
  1170. 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1171. 214 .loc 1 149 12 view .LVU73
  1172. 215 005c 0120 movs r0, #1
  1173. 216 .LVL13:
  1174. 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1175. 217 .loc 1 211 1 view .LVU74
  1176. 218 005e 7047 bx lr
  1177. 219 .L14:
  1178. 220 .align 2
  1179. 221 .L13:
  1180. 222 0060 F8FFFDBF .word -1073872904
  1181. 223 0064 CDCCCCCC .word -858993459
  1182. 224 0068 00000240 .word 1073872896
  1183. 225 .cfi_endproc
  1184. 226 .LFE65:
  1185. 228 .section .text.HAL_DMA_DeInit,"ax",%progbits
  1186. 229 .align 1
  1187. 230 .global HAL_DMA_DeInit
  1188. 231 .syntax unified
  1189. 232 .thumb
  1190. 233 .thumb_func
  1191. 235 HAL_DMA_DeInit:
  1192. 236 .LVL14:
  1193. 237 .LFB66:
  1194. 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */
  1195. 238 .loc 1 220 1 is_stmt 1 view -0
  1196. 239 .cfi_startproc
  1197. 240 @ args = 0, pretend = 0, frame = 0
  1198. 241 @ frame_needed = 0, uses_anonymous_args = 0
  1199. 242 @ link register save eliminated.
  1200. 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1201. 243 .loc 1 222 3 view .LVU76
  1202. 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1203. 244 .loc 1 222 5 is_stmt 0 view .LVU77
  1204. 245 0000 0028 cmp r0, #0
  1205. 246 0002 29D0 beq .L17
  1206. 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */
  1207. 247 .loc 1 220 1 view .LVU78
  1208. 248 0004 10B4 push {r4}
  1209. 249 .LCFI5:
  1210. 250 .cfi_def_cfa_offset 4
  1211. 251 .cfi_offset 4, -4
  1212. 252 0006 0346 mov r3, r0
  1213. 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1214. 253 .loc 1 228 3 is_stmt 1 view .LVU79
  1215. 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1216. 254 .loc 1 231 3 view .LVU80
  1217. 255 0008 0168 ldr r1, [r0]
  1218. 256 000a 0A68 ldr r2, [r1]
  1219. ARM GAS /tmp/ccQjIBHa.s page 22
  1220. 257 000c 22F00102 bic r2, r2, #1
  1221. 258 0010 0A60 str r2, [r1]
  1222. 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1223. 259 .loc 1 234 3 view .LVU81
  1224. 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1225. 260 .loc 1 234 7 is_stmt 0 view .LVU82
  1226. 261 0012 0268 ldr r2, [r0]
  1227. 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1228. 262 .loc 1 234 24 view .LVU83
  1229. 263 0014 0020 movs r0, #0
  1230. 264 .LVL15:
  1231. 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1232. 265 .loc 1 234 24 view .LVU84
  1233. 266 0016 1060 str r0, [r2]
  1234. 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1235. 267 .loc 1 237 3 is_stmt 1 view .LVU85
  1236. 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1237. 268 .loc 1 237 7 is_stmt 0 view .LVU86
  1238. 269 0018 1A68 ldr r2, [r3]
  1239. 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1240. 270 .loc 1 237 25 view .LVU87
  1241. 271 001a 5060 str r0, [r2, #4]
  1242. 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1243. 272 .loc 1 240 3 is_stmt 1 view .LVU88
  1244. 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1245. 273 .loc 1 240 7 is_stmt 0 view .LVU89
  1246. 274 001c 1A68 ldr r2, [r3]
  1247. 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1248. 275 .loc 1 240 25 view .LVU90
  1249. 276 001e 9060 str r0, [r2, #8]
  1250. 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1251. 277 .loc 1 243 3 is_stmt 1 view .LVU91
  1252. 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1253. 278 .loc 1 243 7 is_stmt 0 view .LVU92
  1254. 279 0020 1A68 ldr r2, [r3]
  1255. 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1256. 280 .loc 1 243 24 view .LVU93
  1257. 281 0022 D060 str r0, [r2, #12]
  1258. 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  1259. 282 .loc 1 261 3 is_stmt 1 view .LVU94
  1260. 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  1261. 283 .loc 1 261 40 is_stmt 0 view .LVU95
  1262. 284 0024 1968 ldr r1, [r3]
  1263. 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  1264. 285 .loc 1 261 51 view .LVU96
  1265. 286 0026 0D4A ldr r2, .L22
  1266. 287 0028 0A44 add r2, r2, r1
  1267. 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  1268. 288 .loc 1 261 78 view .LVU97
  1269. 289 002a 0D49 ldr r1, .L22+4
  1270. 290 002c A1FB0212 umull r1, r2, r1, r2
  1271. 291 0030 1209 lsrs r2, r2, #4
  1272. 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  1273. 292 .loc 1 261 133 view .LVU98
  1274. 293 0032 9200 lsls r2, r2, #2
  1275. 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
  1276. 294 .loc 1 261 22 view .LVU99
  1277. ARM GAS /tmp/ccQjIBHa.s page 23
  1278. 295 0034 1A64 str r2, [r3, #64]
  1279. 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */
  1280. 296 .loc 1 262 3 is_stmt 1 view .LVU100
  1281. 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */
  1282. 297 .loc 1 262 24 is_stmt 0 view .LVU101
  1283. 298 0036 0B4C ldr r4, .L22+8
  1284. 299 0038 DC63 str r4, [r3, #60]
  1285. 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1286. 300 .loc 1 266 3 is_stmt 1 view .LVU102
  1287. 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1288. 301 .loc 1 266 46 is_stmt 0 view .LVU103
  1289. 302 003a 0121 movs r1, #1
  1290. 303 003c 01FA02F2 lsl r2, r1, r2
  1291. 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1292. 304 .loc 1 266 30 view .LVU104
  1293. 305 0040 6260 str r2, [r4, #4]
  1294. 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  1295. 306 .loc 1 269 3 is_stmt 1 view .LVU105
  1296. 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  1297. 307 .loc 1 269 26 is_stmt 0 view .LVU106
  1298. 308 0042 9862 str r0, [r3, #40]
  1299. 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  1300. 309 .loc 1 270 3 is_stmt 1 view .LVU107
  1301. 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  1302. 310 .loc 1 270 30 is_stmt 0 view .LVU108
  1303. 311 0044 D862 str r0, [r3, #44]
  1304. 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  1305. 312 .loc 1 271 3 is_stmt 1 view .LVU109
  1306. 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  1307. 313 .loc 1 271 27 is_stmt 0 view .LVU110
  1308. 314 0046 1863 str r0, [r3, #48]
  1309. 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1310. 315 .loc 1 272 3 is_stmt 1 view .LVU111
  1311. 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1312. 316 .loc 1 272 27 is_stmt 0 view .LVU112
  1313. 317 0048 5863 str r0, [r3, #52]
  1314. 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1315. 318 .loc 1 275 3 is_stmt 1 view .LVU113
  1316. 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1317. 319 .loc 1 275 19 is_stmt 0 view .LVU114
  1318. 320 004a 9863 str r0, [r3, #56]
  1319. 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1320. 321 .loc 1 278 3 is_stmt 1 view .LVU115
  1321. 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1322. 322 .loc 1 278 15 is_stmt 0 view .LVU116
  1323. 323 004c 83F82100 strb r0, [r3, #33]
  1324. 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1325. 324 .loc 1 281 3 is_stmt 1 view .LVU117
  1326. 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1327. 325 .loc 1 281 3 view .LVU118
  1328. 326 0050 83F82000 strb r0, [r3, #32]
  1329. 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1330. 327 .loc 1 281 3 view .LVU119
  1331. 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1332. 328 .loc 1 283 3 view .LVU120
  1333. 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1334. 329 .loc 1 284 1 is_stmt 0 view .LVU121
  1335. ARM GAS /tmp/ccQjIBHa.s page 24
  1336. 330 0054 10BC pop {r4}
  1337. 331 .LCFI6:
  1338. 332 .cfi_restore 4
  1339. 333 .cfi_def_cfa_offset 0
  1340. 334 0056 7047 bx lr
  1341. 335 .LVL16:
  1342. 336 .L17:
  1343. 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1344. 337 .loc 1 224 12 view .LVU122
  1345. 338 0058 0120 movs r0, #1
  1346. 339 .LVL17:
  1347. 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1348. 340 .loc 1 284 1 view .LVU123
  1349. 341 005a 7047 bx lr
  1350. 342 .L23:
  1351. 343 .align 2
  1352. 344 .L22:
  1353. 345 005c F8FFFDBF .word -1073872904
  1354. 346 0060 CDCCCCCC .word -858993459
  1355. 347 0064 00000240 .word 1073872896
  1356. 348 .cfi_endproc
  1357. 349 .LFE66:
  1358. 351 .section .text.HAL_DMA_Start,"ax",%progbits
  1359. 352 .align 1
  1360. 353 .global HAL_DMA_Start
  1361. 354 .syntax unified
  1362. 355 .thumb
  1363. 356 .thumb_func
  1364. 358 HAL_DMA_Start:
  1365. 359 .LVL18:
  1366. 360 .LFB67:
  1367. 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  1368. 361 .loc 1 319 1 is_stmt 1 view -0
  1369. 362 .cfi_startproc
  1370. 363 @ args = 0, pretend = 0, frame = 0
  1371. 364 @ frame_needed = 0, uses_anonymous_args = 0
  1372. 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  1373. 365 .loc 1 319 1 is_stmt 0 view .LVU125
  1374. 366 0000 70B5 push {r4, r5, r6, lr}
  1375. 367 .LCFI7:
  1376. 368 .cfi_def_cfa_offset 16
  1377. 369 .cfi_offset 4, -16
  1378. 370 .cfi_offset 5, -12
  1379. 371 .cfi_offset 6, -8
  1380. 372 .cfi_offset 14, -4
  1381. 373 0002 0446 mov r4, r0
  1382. 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1383. 374 .loc 1 320 3 is_stmt 1 view .LVU126
  1384. 375 .LVL19:
  1385. 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1386. 376 .loc 1 323 3 view .LVU127
  1387. 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1388. 377 .loc 1 326 3 view .LVU128
  1389. 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1390. 378 .loc 1 326 3 view .LVU129
  1391. 379 0004 90F82000 ldrb r0, [r0, #32] @ zero_extendqisi2
  1392. 380 .LVL20:
  1393. ARM GAS /tmp/ccQjIBHa.s page 25
  1394. 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1395. 381 .loc 1 326 3 is_stmt 0 view .LVU130
  1396. 382 0008 0128 cmp r0, #1
  1397. 383 000a 20D0 beq .L27
  1398. 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1399. 384 .loc 1 326 3 is_stmt 1 discriminator 2 view .LVU131
  1400. 385 000c 0120 movs r0, #1
  1401. 386 000e 84F82000 strb r0, [r4, #32]
  1402. 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1403. 387 .loc 1 326 3 discriminator 2 view .LVU132
  1404. 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1405. 388 .loc 1 328 3 discriminator 2 view .LVU133
  1406. 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1407. 389 .loc 1 328 33 is_stmt 0 discriminator 2 view .LVU134
  1408. 390 0012 94F82100 ldrb r0, [r4, #33] @ zero_extendqisi2
  1409. 391 0016 C0B2 uxtb r0, r0
  1410. 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1411. 392 .loc 1 328 5 discriminator 2 view .LVU135
  1412. 393 0018 0128 cmp r0, #1
  1413. 394 001a 04D0 beq .L29
  1414. 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
  1415. 395 .loc 1 346 4 is_stmt 1 view .LVU136
  1416. 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
  1417. 396 .loc 1 346 4 view .LVU137
  1418. 397 001c 0023 movs r3, #0
  1419. 398 .LVL21:
  1420. 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
  1421. 399 .loc 1 346 4 is_stmt 0 view .LVU138
  1422. 400 001e 84F82030 strb r3, [r4, #32]
  1423. 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
  1424. 401 .loc 1 346 4 is_stmt 1 view .LVU139
  1425. 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1426. 402 .loc 1 347 4 view .LVU140
  1427. 403 .LVL22:
  1428. 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1429. 404 .loc 1 347 11 is_stmt 0 view .LVU141
  1430. 405 0022 0220 movs r0, #2
  1431. 406 .LVL23:
  1432. 407 .L25:
  1433. 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1434. 408 .loc 1 350 1 view .LVU142
  1435. 409 0024 70BD pop {r4, r5, r6, pc}
  1436. 410 .LVL24:
  1437. 411 .L29:
  1438. 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  1439. 412 .loc 1 331 5 is_stmt 1 view .LVU143
  1440. 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  1441. 413 .loc 1 331 17 is_stmt 0 view .LVU144
  1442. 414 0026 0220 movs r0, #2
  1443. 415 0028 84F82100 strb r0, [r4, #33]
  1444. 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1445. 416 .loc 1 332 5 is_stmt 1 view .LVU145
  1446. 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1447. 417 .loc 1 332 21 is_stmt 0 view .LVU146
  1448. 418 002c 0025 movs r5, #0
  1449. 419 002e A563 str r5, [r4, #56]
  1450. 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1451. ARM GAS /tmp/ccQjIBHa.s page 26
  1452. 420 .loc 1 335 5 is_stmt 1 view .LVU147
  1453. 421 0030 2668 ldr r6, [r4]
  1454. 422 0032 3068 ldr r0, [r6]
  1455. 423 0034 20F00100 bic r0, r0, #1
  1456. 424 0038 3060 str r0, [r6]
  1457. 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1458. 425 .loc 1 338 5 view .LVU148
  1459. 426 003a 2046 mov r0, r4
  1460. 427 003c FFF7FEFF bl DMA_SetConfig
  1461. 428 .LVL25:
  1462. 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1463. 429 .loc 1 341 5 view .LVU149
  1464. 430 0040 2268 ldr r2, [r4]
  1465. 431 0042 1368 ldr r3, [r2]
  1466. 432 0044 43F00103 orr r3, r3, #1
  1467. 433 0048 1360 str r3, [r2]
  1468. 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1469. 434 .loc 1 320 21 is_stmt 0 view .LVU150
  1470. 435 004a 2846 mov r0, r5
  1471. 436 004c EAE7 b .L25
  1472. 437 .LVL26:
  1473. 438 .L27:
  1474. 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1475. 439 .loc 1 326 3 view .LVU151
  1476. 440 004e 0220 movs r0, #2
  1477. 441 0050 E8E7 b .L25
  1478. 442 .cfi_endproc
  1479. 443 .LFE67:
  1480. 445 .section .text.HAL_DMA_Start_IT,"ax",%progbits
  1481. 446 .align 1
  1482. 447 .global HAL_DMA_Start_IT
  1483. 448 .syntax unified
  1484. 449 .thumb
  1485. 450 .thumb_func
  1486. 452 HAL_DMA_Start_IT:
  1487. 453 .LVL27:
  1488. 454 .LFB68:
  1489. 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  1490. 455 .loc 1 362 1 is_stmt 1 view -0
  1491. 456 .cfi_startproc
  1492. 457 @ args = 0, pretend = 0, frame = 0
  1493. 458 @ frame_needed = 0, uses_anonymous_args = 0
  1494. 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  1495. 459 .loc 1 362 1 is_stmt 0 view .LVU153
  1496. 460 0000 38B5 push {r3, r4, r5, lr}
  1497. 461 .LCFI8:
  1498. 462 .cfi_def_cfa_offset 16
  1499. 463 .cfi_offset 3, -16
  1500. 464 .cfi_offset 4, -12
  1501. 465 .cfi_offset 5, -8
  1502. 466 .cfi_offset 14, -4
  1503. 467 0002 0446 mov r4, r0
  1504. 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1505. 468 .loc 1 363 3 is_stmt 1 view .LVU154
  1506. 469 .LVL28:
  1507. 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1508. 470 .loc 1 366 3 view .LVU155
  1509. ARM GAS /tmp/ccQjIBHa.s page 27
  1510. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1511. 471 .loc 1 369 3 view .LVU156
  1512. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1513. 472 .loc 1 369 3 view .LVU157
  1514. 473 0004 90F82000 ldrb r0, [r0, #32] @ zero_extendqisi2
  1515. 474 .LVL29:
  1516. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1517. 475 .loc 1 369 3 is_stmt 0 view .LVU158
  1518. 476 0008 0128 cmp r0, #1
  1519. 477 000a 32D0 beq .L35
  1520. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1521. 478 .loc 1 369 3 is_stmt 1 discriminator 2 view .LVU159
  1522. 479 000c 0120 movs r0, #1
  1523. 480 000e 84F82000 strb r0, [r4, #32]
  1524. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1525. 481 .loc 1 369 3 discriminator 2 view .LVU160
  1526. 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1527. 482 .loc 1 371 3 discriminator 2 view .LVU161
  1528. 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1529. 483 .loc 1 371 33 is_stmt 0 discriminator 2 view .LVU162
  1530. 484 0012 94F82100 ldrb r0, [r4, #33] @ zero_extendqisi2
  1531. 485 0016 C0B2 uxtb r0, r0
  1532. 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1533. 486 .loc 1 371 5 discriminator 2 view .LVU163
  1534. 487 0018 0128 cmp r0, #1
  1535. 488 001a 04D0 beq .L37
  1536. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1537. 489 .loc 1 401 5 is_stmt 1 view .LVU164
  1538. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1539. 490 .loc 1 401 5 view .LVU165
  1540. 491 001c 0023 movs r3, #0
  1541. 492 .LVL30:
  1542. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1543. 493 .loc 1 401 5 is_stmt 0 view .LVU166
  1544. 494 001e 84F82030 strb r3, [r4, #32]
  1545. 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1546. 495 .loc 1 401 5 is_stmt 1 view .LVU167
  1547. 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1548. 496 .loc 1 404 5 view .LVU168
  1549. 497 .LVL31:
  1550. 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1551. 498 .loc 1 404 12 is_stmt 0 view .LVU169
  1552. 499 0022 0220 movs r0, #2
  1553. 500 .LVL32:
  1554. 501 .L31:
  1555. 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1556. 502 .loc 1 407 1 view .LVU170
  1557. 503 0024 38BD pop {r3, r4, r5, pc}
  1558. 504 .LVL33:
  1559. 505 .L37:
  1560. 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  1561. 506 .loc 1 374 5 is_stmt 1 view .LVU171
  1562. 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
  1563. 507 .loc 1 374 17 is_stmt 0 view .LVU172
  1564. 508 0026 0220 movs r0, #2
  1565. 509 0028 84F82100 strb r0, [r4, #33]
  1566. 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1567. ARM GAS /tmp/ccQjIBHa.s page 28
  1568. 510 .loc 1 375 5 is_stmt 1 view .LVU173
  1569. 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1570. 511 .loc 1 375 21 is_stmt 0 view .LVU174
  1571. 512 002c 0020 movs r0, #0
  1572. 513 002e A063 str r0, [r4, #56]
  1573. 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1574. 514 .loc 1 378 5 is_stmt 1 view .LVU175
  1575. 515 0030 2568 ldr r5, [r4]
  1576. 516 0032 2868 ldr r0, [r5]
  1577. 517 0034 20F00100 bic r0, r0, #1
  1578. 518 0038 2860 str r0, [r5]
  1579. 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1580. 519 .loc 1 381 5 view .LVU176
  1581. 520 003a 2046 mov r0, r4
  1582. 521 003c FFF7FEFF bl DMA_SetConfig
  1583. 522 .LVL34:
  1584. 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1585. 523 .loc 1 385 5 view .LVU177
  1586. 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1587. 524 .loc 1 385 20 is_stmt 0 view .LVU178
  1588. 525 0040 E36A ldr r3, [r4, #44]
  1589. 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1590. 526 .loc 1 385 7 view .LVU179
  1591. 527 0042 5BB1 cbz r3, .L33
  1592. 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1593. 528 .loc 1 388 7 is_stmt 1 view .LVU180
  1594. 529 0044 2268 ldr r2, [r4]
  1595. 530 0046 1368 ldr r3, [r2]
  1596. 531 0048 43F00E03 orr r3, r3, #14
  1597. 532 004c 1360 str r3, [r2]
  1598. 533 .L34:
  1599. 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1600. 534 .loc 1 396 5 view .LVU181
  1601. 535 004e 2268 ldr r2, [r4]
  1602. 536 0050 1368 ldr r3, [r2]
  1603. 537 0052 43F00103 orr r3, r3, #1
  1604. 538 0056 1360 str r3, [r2]
  1605. 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1606. 539 .loc 1 363 21 is_stmt 0 view .LVU182
  1607. 540 0058 0020 movs r0, #0
  1608. 541 005a E3E7 b .L31
  1609. 542 .L33:
  1610. 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_TE));
  1611. 543 .loc 1 392 7 is_stmt 1 view .LVU183
  1612. 544 005c 2268 ldr r2, [r4]
  1613. 545 005e 1368 ldr r3, [r2]
  1614. 546 0060 23F00403 bic r3, r3, #4
  1615. 547 0064 1360 str r3, [r2]
  1616. 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1617. 548 .loc 1 393 7 view .LVU184
  1618. 549 0066 2268 ldr r2, [r4]
  1619. 550 0068 1368 ldr r3, [r2]
  1620. 551 006a 43F00A03 orr r3, r3, #10
  1621. 552 006e 1360 str r3, [r2]
  1622. 553 0070 EDE7 b .L34
  1623. 554 .LVL35:
  1624. 555 .L35:
  1625. ARM GAS /tmp/ccQjIBHa.s page 29
  1626. 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1627. 556 .loc 1 369 3 is_stmt 0 view .LVU185
  1628. 557 0072 0220 movs r0, #2
  1629. 558 0074 D6E7 b .L31
  1630. 559 .cfi_endproc
  1631. 560 .LFE68:
  1632. 562 .section .text.HAL_DMA_Abort,"ax",%progbits
  1633. 563 .align 1
  1634. 564 .global HAL_DMA_Abort
  1635. 565 .syntax unified
  1636. 566 .thumb
  1637. 567 .thumb_func
  1638. 569 HAL_DMA_Abort:
  1639. 570 .LVL36:
  1640. 571 .LFB69:
  1641. 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  1642. 572 .loc 1 416 1 is_stmt 1 view -0
  1643. 573 .cfi_startproc
  1644. 574 @ args = 0, pretend = 0, frame = 0
  1645. 575 @ frame_needed = 0, uses_anonymous_args = 0
  1646. 576 @ link register save eliminated.
  1647. 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1648. 577 .loc 1 417 3 view .LVU187
  1649. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1650. 578 .loc 1 419 3 view .LVU188
  1651. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1652. 579 .loc 1 419 10 is_stmt 0 view .LVU189
  1653. 580 0000 90F82130 ldrb r3, [r0, #33] @ zero_extendqisi2
  1654. 581 0004 DBB2 uxtb r3, r3
  1655. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1656. 582 .loc 1 419 5 view .LVU190
  1657. 583 0006 022B cmp r3, #2
  1658. 584 0008 06D0 beq .L39
  1659. 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1660. 585 .loc 1 422 5 is_stmt 1 view .LVU191
  1661. 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1662. 586 .loc 1 422 21 is_stmt 0 view .LVU192
  1663. 587 000a 0423 movs r3, #4
  1664. 588 000c 8363 str r3, [r0, #56]
  1665. 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1666. 589 .loc 1 425 5 is_stmt 1 view .LVU193
  1667. 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1668. 590 .loc 1 425 5 view .LVU194
  1669. 591 000e 0023 movs r3, #0
  1670. 592 0010 80F82030 strb r3, [r0, #32]
  1671. 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1672. 593 .loc 1 425 5 view .LVU195
  1673. 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1674. 594 .loc 1 427 5 view .LVU196
  1675. 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1676. 595 .loc 1 427 12 is_stmt 0 view .LVU197
  1677. 596 0014 0120 movs r0, #1
  1678. 597 .LVL37:
  1679. 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1680. 598 .loc 1 427 12 view .LVU198
  1681. 599 0016 7047 bx lr
  1682. 600 .LVL38:
  1683. ARM GAS /tmp/ccQjIBHa.s page 30
  1684. 601 .L39:
  1685. 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1686. 602 .loc 1 433 5 is_stmt 1 view .LVU199
  1687. 603 0018 0268 ldr r2, [r0]
  1688. 604 001a 1368 ldr r3, [r2]
  1689. 605 001c 23F00E03 bic r3, r3, #14
  1690. 606 0020 1360 str r3, [r2]
  1691. 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1692. 607 .loc 1 436 5 view .LVU200
  1693. 608 0022 0268 ldr r2, [r0]
  1694. 609 0024 1368 ldr r3, [r2]
  1695. 610 0026 23F00103 bic r3, r3, #1
  1696. 611 002a 1360 str r3, [r2]
  1697. 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1698. 612 .loc 1 439 5 view .LVU201
  1699. 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1700. 613 .loc 1 439 55 is_stmt 0 view .LVU202
  1701. 614 002c 036C ldr r3, [r0, #64]
  1702. 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1703. 615 .loc 1 439 9 view .LVU203
  1704. 616 002e C16B ldr r1, [r0, #60]
  1705. 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1706. 617 .loc 1 439 48 view .LVU204
  1707. 618 0030 0122 movs r2, #1
  1708. 619 0032 02FA03F3 lsl r3, r2, r3
  1709. 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1710. 620 .loc 1 439 32 view .LVU205
  1711. 621 0036 4B60 str r3, [r1, #4]
  1712. 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1713. 622 .loc 1 442 3 is_stmt 1 view .LVU206
  1714. 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1715. 623 .loc 1 442 15 is_stmt 0 view .LVU207
  1716. 624 0038 80F82120 strb r2, [r0, #33]
  1717. 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1718. 625 .loc 1 445 3 is_stmt 1 view .LVU208
  1719. 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1720. 626 .loc 1 445 3 view .LVU209
  1721. 627 003c 0023 movs r3, #0
  1722. 628 003e 80F82030 strb r3, [r0, #32]
  1723. 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1724. 629 .loc 1 445 3 view .LVU210
  1725. 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1726. 630 .loc 1 447 3 view .LVU211
  1727. 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1728. 631 .loc 1 447 10 is_stmt 0 view .LVU212
  1729. 632 0042 1846 mov r0, r3
  1730. 633 .LVL39:
  1731. 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1732. 634 .loc 1 448 1 view .LVU213
  1733. 635 0044 7047 bx lr
  1734. 636 .cfi_endproc
  1735. 637 .LFE69:
  1736. 639 .section .text.HAL_DMA_Abort_IT,"ax",%progbits
  1737. 640 .align 1
  1738. 641 .global HAL_DMA_Abort_IT
  1739. 642 .syntax unified
  1740. 643 .thumb
  1741. ARM GAS /tmp/ccQjIBHa.s page 31
  1742. 644 .thumb_func
  1743. 646 HAL_DMA_Abort_IT:
  1744. 647 .LVL40:
  1745. 648 .LFB70:
  1746. 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  1747. 649 .loc 1 457 1 is_stmt 1 view -0
  1748. 650 .cfi_startproc
  1749. 651 @ args = 0, pretend = 0, frame = 0
  1750. 652 @ frame_needed = 0, uses_anonymous_args = 0
  1751. 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  1752. 653 .loc 1 457 1 is_stmt 0 view .LVU215
  1753. 654 0000 08B5 push {r3, lr}
  1754. 655 .LCFI9:
  1755. 656 .cfi_def_cfa_offset 8
  1756. 657 .cfi_offset 3, -8
  1757. 658 .cfi_offset 14, -4
  1758. 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1759. 659 .loc 1 458 3 is_stmt 1 view .LVU216
  1760. 660 .LVL41:
  1761. 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1762. 661 .loc 1 460 3 view .LVU217
  1763. 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1764. 662 .loc 1 460 32 is_stmt 0 view .LVU218
  1765. 663 0002 90F82130 ldrb r3, [r0, #33] @ zero_extendqisi2
  1766. 664 0006 DBB2 uxtb r3, r3
  1767. 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1768. 665 .loc 1 460 5 view .LVU219
  1769. 666 0008 022B cmp r3, #2
  1770. 667 000a 03D0 beq .L42
  1771. 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1772. 668 .loc 1 463 5 is_stmt 1 view .LVU220
  1773. 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1774. 669 .loc 1 463 21 is_stmt 0 view .LVU221
  1775. 670 000c 0423 movs r3, #4
  1776. 671 000e 8363 str r3, [r0, #56]
  1777. 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1778. 672 .loc 1 465 5 is_stmt 1 view .LVU222
  1779. 673 .LVL42:
  1780. 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1781. 674 .loc 1 465 12 is_stmt 0 view .LVU223
  1782. 675 0010 0120 movs r0, #1
  1783. 676 .LVL43:
  1784. 677 .L43:
  1785. 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1786. 678 .loc 1 490 3 is_stmt 1 view .LVU224
  1787. 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1788. 679 .loc 1 491 1 is_stmt 0 view .LVU225
  1789. 680 0012 08BD pop {r3, pc}
  1790. 681 .LVL44:
  1791. 682 .L42:
  1792. 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1793. 683 .loc 1 470 5 is_stmt 1 view .LVU226
  1794. 684 0014 0268 ldr r2, [r0]
  1795. 685 0016 1368 ldr r3, [r2]
  1796. 686 0018 23F00E03 bic r3, r3, #14
  1797. 687 001c 1360 str r3, [r2]
  1798. 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1799. ARM GAS /tmp/ccQjIBHa.s page 32
  1800. 688 .loc 1 473 5 view .LVU227
  1801. 689 001e 0268 ldr r2, [r0]
  1802. 690 0020 1368 ldr r3, [r2]
  1803. 691 0022 23F00103 bic r3, r3, #1
  1804. 692 0026 1360 str r3, [r2]
  1805. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1806. 693 .loc 1 476 5 view .LVU228
  1807. 694 0028 0368 ldr r3, [r0]
  1808. 695 002a 194A ldr r2, .L54
  1809. 696 002c 9342 cmp r3, r2
  1810. 697 002e 14D0 beq .L45
  1811. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1812. 698 .loc 1 476 5 is_stmt 0 discriminator 1 view .LVU229
  1813. 699 0030 1432 adds r2, r2, #20
  1814. 700 0032 9342 cmp r3, r2
  1815. 701 0034 1FD0 beq .L46
  1816. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1817. 702 .loc 1 476 5 discriminator 3 view .LVU230
  1818. 703 0036 1432 adds r2, r2, #20
  1819. 704 0038 9342 cmp r3, r2
  1820. 705 003a 1ED0 beq .L47
  1821. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1822. 706 .loc 1 476 5 discriminator 5 view .LVU231
  1823. 707 003c 1432 adds r2, r2, #20
  1824. 708 003e 9342 cmp r3, r2
  1825. 709 0040 1ED0 beq .L48
  1826. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1827. 710 .loc 1 476 5 discriminator 7 view .LVU232
  1828. 711 0042 1432 adds r2, r2, #20
  1829. 712 0044 9342 cmp r3, r2
  1830. 713 0046 1ED0 beq .L49
  1831. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1832. 714 .loc 1 476 5 discriminator 9 view .LVU233
  1833. 715 0048 1432 adds r2, r2, #20
  1834. 716 004a 9342 cmp r3, r2
  1835. 717 004c 02D0 beq .L53
  1836. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1837. 718 .loc 1 476 5 view .LVU234
  1838. 719 004e 4FF08072 mov r2, #16777216
  1839. 720 0052 03E0 b .L44
  1840. 721 .L53:
  1841. 722 0054 4FF48012 mov r2, #1048576
  1842. 723 0058 00E0 b .L44
  1843. 724 .L45:
  1844. 725 005a 0122 movs r2, #1
  1845. 726 .L44:
  1846. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1847. 727 .loc 1 476 5 discriminator 24 view .LVU235
  1848. 728 005c 0D4B ldr r3, .L54+4
  1849. 729 005e 5A60 str r2, [r3, #4]
  1850. 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1851. 730 .loc 1 479 5 is_stmt 1 discriminator 24 view .LVU236
  1852. 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1853. 731 .loc 1 479 17 is_stmt 0 discriminator 24 view .LVU237
  1854. 732 0060 0123 movs r3, #1
  1855. 733 0062 80F82130 strb r3, [r0, #33]
  1856. 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1857. ARM GAS /tmp/ccQjIBHa.s page 33
  1858. 734 .loc 1 482 5 is_stmt 1 discriminator 24 view .LVU238
  1859. 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1860. 735 .loc 1 482 5 discriminator 24 view .LVU239
  1861. 736 0066 0023 movs r3, #0
  1862. 737 0068 80F82030 strb r3, [r0, #32]
  1863. 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1864. 738 .loc 1 482 5 discriminator 24 view .LVU240
  1865. 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1866. 739 .loc 1 485 5 discriminator 24 view .LVU241
  1867. 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1868. 740 .loc 1 485 12 is_stmt 0 discriminator 24 view .LVU242
  1869. 741 006c 436B ldr r3, [r0, #52]
  1870. 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1871. 742 .loc 1 485 7 discriminator 24 view .LVU243
  1872. 743 006e 6BB1 cbz r3, .L51
  1873. 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1874. 744 .loc 1 487 7 is_stmt 1 view .LVU244
  1875. 745 0070 9847 blx r3
  1876. 746 .LVL45:
  1877. 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1878. 747 .loc 1 458 21 is_stmt 0 view .LVU245
  1879. 748 0072 0020 movs r0, #0
  1880. 749 0074 CDE7 b .L43
  1881. 750 .LVL46:
  1882. 751 .L46:
  1883. 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1884. 752 .loc 1 476 5 view .LVU246
  1885. 753 0076 1022 movs r2, #16
  1886. 754 0078 F0E7 b .L44
  1887. 755 .L47:
  1888. 756 007a 4FF48072 mov r2, #256
  1889. 757 007e EDE7 b .L44
  1890. 758 .L48:
  1891. 759 0080 4FF48052 mov r2, #4096
  1892. 760 0084 EAE7 b .L44
  1893. 761 .L49:
  1894. 762 0086 4FF48032 mov r2, #65536
  1895. 763 008a E7E7 b .L44
  1896. 764 .L51:
  1897. 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1898. 765 .loc 1 458 21 view .LVU247
  1899. 766 008c 0020 movs r0, #0
  1900. 767 .LVL47:
  1901. 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1902. 768 .loc 1 458 21 view .LVU248
  1903. 769 008e C0E7 b .L43
  1904. 770 .L55:
  1905. 771 .align 2
  1906. 772 .L54:
  1907. 773 0090 08000240 .word 1073872904
  1908. 774 0094 00000240 .word 1073872896
  1909. 775 .cfi_endproc
  1910. 776 .LFE70:
  1911. 778 .section .text.HAL_DMA_PollForTransfer,"ax",%progbits
  1912. 779 .align 1
  1913. 780 .global HAL_DMA_PollForTransfer
  1914. 781 .syntax unified
  1915. ARM GAS /tmp/ccQjIBHa.s page 34
  1916. 782 .thumb
  1917. 783 .thumb_func
  1918. 785 HAL_DMA_PollForTransfer:
  1919. 786 .LVL48:
  1920. 787 .LFB71:
  1921. 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t temp;
  1922. 788 .loc 1 502 1 is_stmt 1 view -0
  1923. 789 .cfi_startproc
  1924. 790 @ args = 0, pretend = 0, frame = 0
  1925. 791 @ frame_needed = 0, uses_anonymous_args = 0
  1926. 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t temp;
  1927. 792 .loc 1 502 1 is_stmt 0 view .LVU250
  1928. 793 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
  1929. 794 .LCFI10:
  1930. 795 .cfi_def_cfa_offset 24
  1931. 796 .cfi_offset 4, -24
  1932. 797 .cfi_offset 5, -20
  1933. 798 .cfi_offset 6, -16
  1934. 799 .cfi_offset 7, -12
  1935. 800 .cfi_offset 8, -8
  1936. 801 .cfi_offset 14, -4
  1937. 802 0004 0446 mov r4, r0
  1938. 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tickstart = 0U;
  1939. 803 .loc 1 503 3 is_stmt 1 view .LVU251
  1940. 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1941. 804 .loc 1 504 3 view .LVU252
  1942. 805 .LVL49:
  1943. 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1944. 806 .loc 1 506 3 view .LVU253
  1945. 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1946. 807 .loc 1 506 32 is_stmt 0 view .LVU254
  1947. 808 0006 90F82130 ldrb r3, [r0, #33] @ zero_extendqisi2
  1948. 809 000a DBB2 uxtb r3, r3
  1949. 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1950. 810 .loc 1 506 5 view .LVU255
  1951. 811 000c 022B cmp r3, #2
  1952. 812 000e 07D0 beq .L57
  1953. 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  1954. 813 .loc 1 509 5 is_stmt 1 view .LVU256
  1955. 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
  1956. 814 .loc 1 509 21 is_stmt 0 view .LVU257
  1957. 815 0010 0423 movs r3, #4
  1958. 816 0012 8363 str r3, [r0, #56]
  1959. 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
  1960. 817 .loc 1 510 5 is_stmt 1 view .LVU258
  1961. 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
  1962. 818 .loc 1 510 5 view .LVU259
  1963. 819 0014 0023 movs r3, #0
  1964. 820 0016 80F82030 strb r3, [r0, #32]
  1965. 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
  1966. 821 .loc 1 510 5 view .LVU260
  1967. 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1968. 822 .loc 1 511 5 view .LVU261
  1969. 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  1970. 823 .loc 1 511 12 is_stmt 0 view .LVU262
  1971. 824 001a 0120 movs r0, #1
  1972. 825 .LVL50:
  1973. ARM GAS /tmp/ccQjIBHa.s page 35
  1974. 826 .L58:
  1975. 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1976. 827 .loc 1 594 1 view .LVU263
  1977. 828 001c BDE8F081 pop {r4, r5, r6, r7, r8, pc}
  1978. 829 .LVL51:
  1979. 830 .L57:
  1980. 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  1981. 831 .loc 1 594 1 view .LVU264
  1982. 832 0020 0F46 mov r7, r1
  1983. 833 0022 1546 mov r5, r2
  1984. 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1985. 834 .loc 1 515 3 is_stmt 1 view .LVU265
  1986. 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1987. 835 .loc 1 515 21 is_stmt 0 view .LVU266
  1988. 836 0024 0368 ldr r3, [r0]
  1989. 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1990. 837 .loc 1 515 31 view .LVU267
  1991. 838 0026 1A68 ldr r2, [r3]
  1992. 839 .LVL52:
  1993. 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1994. 840 .loc 1 515 6 view .LVU268
  1995. 841 0028 12F0200F tst r2, #32
  1996. 842 002c 15D1 bne .L103
  1997. 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  1998. 843 .loc 1 522 3 is_stmt 1 view .LVU269
  1999. 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2000. 844 .loc 1 522 5 is_stmt 0 view .LVU270
  2001. 845 002e E1B9 cbnz r1, .L60
  2002. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2003. 846 .loc 1 525 5 is_stmt 1 view .LVU271
  2004. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2005. 847 .loc 1 525 12 is_stmt 0 view .LVU272
  2006. 848 0030 7C4A ldr r2, .L112
  2007. 849 0032 9342 cmp r3, r2
  2008. 850 0034 31D0 beq .L72
  2009. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2010. 851 .loc 1 525 12 discriminator 1 view .LVU273
  2011. 852 0036 1432 adds r2, r2, #20
  2012. 853 0038 9342 cmp r3, r2
  2013. 854 003a 33D0 beq .L73
  2014. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2015. 855 .loc 1 525 12 discriminator 3 view .LVU274
  2016. 856 003c 1432 adds r2, r2, #20
  2017. 857 003e 9342 cmp r3, r2
  2018. 858 0040 32D0 beq .L74
  2019. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2020. 859 .loc 1 525 12 discriminator 5 view .LVU275
  2021. 860 0042 1432 adds r2, r2, #20
  2022. 861 0044 9342 cmp r3, r2
  2023. 862 0046 32D0 beq .L75
  2024. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2025. 863 .loc 1 525 12 discriminator 7 view .LVU276
  2026. 864 0048 1432 adds r2, r2, #20
  2027. 865 004a 9342 cmp r3, r2
  2028. 866 004c 32D0 beq .L76
  2029. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2030. 867 .loc 1 525 12 discriminator 9 view .LVU277
  2031. ARM GAS /tmp/ccQjIBHa.s page 36
  2032. 868 004e 1432 adds r2, r2, #20
  2033. 869 0050 9342 cmp r3, r2
  2034. 870 0052 07D0 beq .L104
  2035. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2036. 871 .loc 1 525 12 view .LVU278
  2037. 872 0054 4FF00076 mov r6, #33554432
  2038. 873 0058 20E0 b .L61
  2039. 874 .L103:
  2040. 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
  2041. 875 .loc 1 517 5 is_stmt 1 view .LVU279
  2042. 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
  2043. 876 .loc 1 517 21 is_stmt 0 view .LVU280
  2044. 877 005a 4FF48073 mov r3, #256
  2045. 878 005e 8363 str r3, [r0, #56]
  2046. 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2047. 879 .loc 1 518 5 is_stmt 1 view .LVU281
  2048. 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2049. 880 .loc 1 518 12 is_stmt 0 view .LVU282
  2050. 881 0060 0120 movs r0, #1
  2051. 882 .LVL53:
  2052. 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2053. 883 .loc 1 518 12 view .LVU283
  2054. 884 0062 DBE7 b .L58
  2055. 885 .LVL54:
  2056. 886 .L104:
  2057. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2058. 887 .loc 1 525 12 view .LVU284
  2059. 888 0064 4FF40016 mov r6, #2097152
  2060. 889 0068 18E0 b .L61
  2061. 890 .L60:
  2062. 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2063. 891 .loc 1 530 5 is_stmt 1 view .LVU285
  2064. 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2065. 892 .loc 1 530 12 is_stmt 0 view .LVU286
  2066. 893 006a 6E4A ldr r2, .L112
  2067. 894 006c 9342 cmp r3, r2
  2068. 895 006e 24D0 beq .L78
  2069. 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2070. 896 .loc 1 530 12 discriminator 1 view .LVU287
  2071. 897 0070 1432 adds r2, r2, #20
  2072. 898 0072 9342 cmp r3, r2
  2073. 899 0074 23D0 beq .L79
  2074. 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2075. 900 .loc 1 530 12 discriminator 3 view .LVU288
  2076. 901 0076 1432 adds r2, r2, #20
  2077. 902 0078 9342 cmp r3, r2
  2078. 903 007a 22D0 beq .L80
  2079. 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2080. 904 .loc 1 530 12 discriminator 5 view .LVU289
  2081. 905 007c 1432 adds r2, r2, #20
  2082. 906 007e 9342 cmp r3, r2
  2083. 907 0080 22D0 beq .L81
  2084. 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2085. 908 .loc 1 530 12 discriminator 7 view .LVU290
  2086. 909 0082 1432 adds r2, r2, #20
  2087. 910 0084 9342 cmp r3, r2
  2088. 911 0086 22D0 beq .L82
  2089. ARM GAS /tmp/ccQjIBHa.s page 37
  2090. 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2091. 912 .loc 1 530 12 discriminator 9 view .LVU291
  2092. 913 0088 1432 adds r2, r2, #20
  2093. 914 008a 9342 cmp r3, r2
  2094. 915 008c 02D0 beq .L105
  2095. 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2096. 916 .loc 1 530 12 view .LVU292
  2097. 917 008e 4FF08066 mov r6, #67108864
  2098. 918 0092 03E0 b .L61
  2099. 919 .L105:
  2100. 920 0094 4FF48006 mov r6, #4194304
  2101. 921 0098 00E0 b .L61
  2102. 922 .L72:
  2103. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2104. 923 .loc 1 525 12 view .LVU293
  2105. 924 009a 0226 movs r6, #2
  2106. 925 .L61:
  2107. 926 .LVL55:
  2108. 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2109. 927 .loc 1 534 3 is_stmt 1 view .LVU294
  2110. 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2111. 928 .loc 1 534 15 is_stmt 0 view .LVU295
  2112. 929 009c FFF7FEFF bl HAL_GetTick
  2113. 930 .LVL56:
  2114. 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2115. 931 .loc 1 534 15 view .LVU296
  2116. 932 00a0 8046 mov r8, r0
  2117. 933 .LVL57:
  2118. 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2119. 934 .loc 1 536 3 is_stmt 1 view .LVU297
  2120. 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2121. 935 .loc 1 536 8 is_stmt 0 view .LVU298
  2122. 936 00a2 20E0 b .L65
  2123. 937 .LVL58:
  2124. 938 .L73:
  2125. 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2126. 939 .loc 1 525 12 view .LVU299
  2127. 940 00a4 2026 movs r6, #32
  2128. 941 00a6 F9E7 b .L61
  2129. 942 .L74:
  2130. 943 00a8 4FF40076 mov r6, #512
  2131. 944 00ac F6E7 b .L61
  2132. 945 .L75:
  2133. 946 00ae 4FF40056 mov r6, #8192
  2134. 947 00b2 F3E7 b .L61
  2135. 948 .L76:
  2136. 949 00b4 4FF40036 mov r6, #131072
  2137. 950 00b8 F0E7 b .L61
  2138. 951 .L78:
  2139. 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2140. 952 .loc 1 530 12 view .LVU300
  2141. 953 00ba 0426 movs r6, #4
  2142. 954 00bc EEE7 b .L61
  2143. 955 .L79:
  2144. 956 00be 4026 movs r6, #64
  2145. 957 00c0 ECE7 b .L61
  2146. 958 .L80:
  2147. ARM GAS /tmp/ccQjIBHa.s page 38
  2148. 959 00c2 4FF48066 mov r6, #1024
  2149. 960 00c6 E9E7 b .L61
  2150. 961 .L81:
  2151. 962 00c8 4FF48046 mov r6, #16384
  2152. 963 00cc E6E7 b .L61
  2153. 964 .L82:
  2154. 965 00ce 4FF48026 mov r6, #262144
  2155. 966 00d2 E3E7 b .L61
  2156. 967 .LVL59:
  2157. 968 .L109:
  2158. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2159. 969 .loc 1 538 9 view .LVU301
  2160. 970 00d4 4FF40003 mov r3, #8388608
  2161. 971 00d8 00E0 b .L63
  2162. 972 .L84:
  2163. 973 00da 0823 movs r3, #8
  2164. 974 .L63:
  2165. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2166. 975 .loc 1 538 7 discriminator 24 view .LVU302
  2167. 976 00dc 1A42 tst r2, r3
  2168. 977 00de 29D1 bne .L106
  2169. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2170. 978 .loc 1 557 5 is_stmt 1 view .LVU303
  2171. 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2172. 979 .loc 1 557 7 is_stmt 0 view .LVU304
  2173. 980 00e0 B5F1FF3F cmp r5, #-1
  2174. 981 00e4 35D1 bne .L107
  2175. 982 .L65:
  2176. 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2177. 983 .loc 1 536 8 is_stmt 1 view .LVU305
  2178. 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2179. 984 .loc 1 536 9 is_stmt 0 view .LVU306
  2180. 985 00e6 504B ldr r3, .L112+4
  2181. 986 00e8 1B68 ldr r3, [r3]
  2182. 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2183. 987 .loc 1 536 8 view .LVU307
  2184. 988 00ea 3342 tst r3, r6
  2185. 989 00ec 43D1 bne .L108
  2186. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2187. 990 .loc 1 538 5 is_stmt 1 view .LVU308
  2188. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2189. 991 .loc 1 538 9 is_stmt 0 view .LVU309
  2190. 992 00ee 4E4B ldr r3, .L112+4
  2191. 993 00f0 1A68 ldr r2, [r3]
  2192. 994 00f2 2368 ldr r3, [r4]
  2193. 995 00f4 4B49 ldr r1, .L112
  2194. 996 00f6 8B42 cmp r3, r1
  2195. 997 00f8 EFD0 beq .L84
  2196. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2197. 998 .loc 1 538 9 discriminator 1 view .LVU310
  2198. 999 00fa 1431 adds r1, r1, #20
  2199. 1000 00fc 8B42 cmp r3, r1
  2200. 1001 00fe 0ED0 beq .L85
  2201. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2202. 1002 .loc 1 538 9 discriminator 3 view .LVU311
  2203. 1003 0100 1431 adds r1, r1, #20
  2204. 1004 0102 8B42 cmp r3, r1
  2205. ARM GAS /tmp/ccQjIBHa.s page 39
  2206. 1005 0104 0DD0 beq .L86
  2207. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2208. 1006 .loc 1 538 9 discriminator 5 view .LVU312
  2209. 1007 0106 1431 adds r1, r1, #20
  2210. 1008 0108 8B42 cmp r3, r1
  2211. 1009 010a 0DD0 beq .L87
  2212. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2213. 1010 .loc 1 538 9 discriminator 7 view .LVU313
  2214. 1011 010c 1431 adds r1, r1, #20
  2215. 1012 010e 8B42 cmp r3, r1
  2216. 1013 0110 0DD0 beq .L88
  2217. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2218. 1014 .loc 1 538 9 discriminator 9 view .LVU314
  2219. 1015 0112 1431 adds r1, r1, #20
  2220. 1016 0114 8B42 cmp r3, r1
  2221. 1017 0116 DDD0 beq .L109
  2222. 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2223. 1018 .loc 1 538 9 view .LVU315
  2224. 1019 0118 4FF00063 mov r3, #134217728
  2225. 1020 011c DEE7 b .L63
  2226. 1021 .L85:
  2227. 1022 011e 8023 movs r3, #128
  2228. 1023 0120 DCE7 b .L63
  2229. 1024 .L86:
  2230. 1025 0122 4FF40063 mov r3, #2048
  2231. 1026 0126 D9E7 b .L63
  2232. 1027 .L87:
  2233. 1028 0128 4FF40043 mov r3, #32768
  2234. 1029 012c D6E7 b .L63
  2235. 1030 .L88:
  2236. 1031 012e 4FF40023 mov r3, #524288
  2237. 1032 0132 D3E7 b .L63
  2238. 1033 .L106:
  2239. 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2240. 1034 .loc 1 543 7 is_stmt 1 view .LVU316
  2241. 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2242. 1035 .loc 1 543 57 is_stmt 0 view .LVU317
  2243. 1036 0134 236C ldr r3, [r4, #64]
  2244. 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2245. 1037 .loc 1 543 11 view .LVU318
  2246. 1038 0136 E26B ldr r2, [r4, #60]
  2247. 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2248. 1039 .loc 1 543 50 view .LVU319
  2249. 1040 0138 0120 movs r0, #1
  2250. 1041 013a 00FA03F3 lsl r3, r0, r3
  2251. 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2252. 1042 .loc 1 543 34 view .LVU320
  2253. 1043 013e 5360 str r3, [r2, #4]
  2254. 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2255. 1044 .loc 1 546 7 is_stmt 1 view .LVU321
  2256. 1045 0140 A36B ldr r3, [r4, #56]
  2257. 1046 0142 0343 orrs r3, r3, r0
  2258. 1047 0144 A363 str r3, [r4, #56]
  2259. 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2260. 1048 .loc 1 549 7 view .LVU322
  2261. 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2262. 1049 .loc 1 549 18 is_stmt 0 view .LVU323
  2263. ARM GAS /tmp/ccQjIBHa.s page 40
  2264. 1050 0146 84F82100 strb r0, [r4, #33]
  2265. 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2266. 1051 .loc 1 552 7 is_stmt 1 view .LVU324
  2267. 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2268. 1052 .loc 1 552 7 view .LVU325
  2269. 1053 014a 0023 movs r3, #0
  2270. 1054 014c 84F82030 strb r3, [r4, #32]
  2271. 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2272. 1055 .loc 1 552 7 view .LVU326
  2273. 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2274. 1056 .loc 1 554 7 view .LVU327
  2275. 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2276. 1057 .loc 1 554 14 is_stmt 0 view .LVU328
  2277. 1058 0150 64E7 b .L58
  2278. 1059 .L107:
  2279. 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2280. 1060 .loc 1 559 7 is_stmt 1 view .LVU329
  2281. 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2282. 1061 .loc 1 559 9 is_stmt 0 view .LVU330
  2283. 1062 0152 2DB1 cbz r5, .L66
  2284. 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2285. 1063 .loc 1 559 31 discriminator 1 view .LVU331
  2286. 1064 0154 FFF7FEFF bl HAL_GetTick
  2287. 1065 .LVL60:
  2288. 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2289. 1066 .loc 1 559 45 discriminator 1 view .LVU332
  2290. 1067 0158 A0EB0800 sub r0, r0, r8
  2291. 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2292. 1068 .loc 1 559 26 discriminator 1 view .LVU333
  2293. 1069 015c A842 cmp r0, r5
  2294. 1070 015e C2D9 bls .L65
  2295. 1071 .L66:
  2296. 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2297. 1072 .loc 1 562 9 is_stmt 1 view .LVU334
  2298. 1073 0160 A36B ldr r3, [r4, #56]
  2299. 1074 0162 43F02003 orr r3, r3, #32
  2300. 1075 0166 A363 str r3, [r4, #56]
  2301. 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2302. 1076 .loc 1 565 9 view .LVU335
  2303. 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2304. 1077 .loc 1 565 21 is_stmt 0 view .LVU336
  2305. 1078 0168 0120 movs r0, #1
  2306. 1079 016a 84F82100 strb r0, [r4, #33]
  2307. 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2308. 1080 .loc 1 568 9 is_stmt 1 view .LVU337
  2309. 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2310. 1081 .loc 1 568 9 view .LVU338
  2311. 1082 016e 0023 movs r3, #0
  2312. 1083 0170 84F82030 strb r3, [r4, #32]
  2313. 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2314. 1084 .loc 1 568 9 view .LVU339
  2315. 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2316. 1085 .loc 1 570 9 view .LVU340
  2317. 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2318. 1086 .loc 1 570 16 is_stmt 0 view .LVU341
  2319. 1087 0174 52E7 b .L58
  2320. 1088 .L108:
  2321. ARM GAS /tmp/ccQjIBHa.s page 41
  2322. 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2323. 1089 .loc 1 575 3 is_stmt 1 view .LVU342
  2324. 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2325. 1090 .loc 1 575 5 is_stmt 0 view .LVU343
  2326. 1091 0176 6FBB cbnz r7, .L68
  2327. 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2328. 1092 .loc 1 578 5 is_stmt 1 view .LVU344
  2329. 1093 0178 2368 ldr r3, [r4]
  2330. 1094 017a 2A4A ldr r2, .L112
  2331. 1095 017c 9342 cmp r3, r2
  2332. 1096 017e 14D0 beq .L90
  2333. 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2334. 1097 .loc 1 578 5 is_stmt 0 discriminator 1 view .LVU345
  2335. 1098 0180 1432 adds r2, r2, #20
  2336. 1099 0182 9342 cmp r3, r2
  2337. 1100 0184 1BD0 beq .L91
  2338. 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2339. 1101 .loc 1 578 5 discriminator 3 view .LVU346
  2340. 1102 0186 1432 adds r2, r2, #20
  2341. 1103 0188 9342 cmp r3, r2
  2342. 1104 018a 1AD0 beq .L92
  2343. 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2344. 1105 .loc 1 578 5 discriminator 5 view .LVU347
  2345. 1106 018c 1432 adds r2, r2, #20
  2346. 1107 018e 9342 cmp r3, r2
  2347. 1108 0190 1AD0 beq .L93
  2348. 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2349. 1109 .loc 1 578 5 discriminator 7 view .LVU348
  2350. 1110 0192 1432 adds r2, r2, #20
  2351. 1111 0194 9342 cmp r3, r2
  2352. 1112 0196 1AD0 beq .L94
  2353. 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2354. 1113 .loc 1 578 5 discriminator 9 view .LVU349
  2355. 1114 0198 1432 adds r2, r2, #20
  2356. 1115 019a 9342 cmp r3, r2
  2357. 1116 019c 02D0 beq .L110
  2358. 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2359. 1117 .loc 1 578 5 view .LVU350
  2360. 1118 019e 4FF00072 mov r2, #33554432
  2361. 1119 01a2 03E0 b .L69
  2362. 1120 .L110:
  2363. 1121 01a4 4FF40012 mov r2, #2097152
  2364. 1122 01a8 00E0 b .L69
  2365. 1123 .L90:
  2366. 1124 01aa 0222 movs r2, #2
  2367. 1125 .L69:
  2368. 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2369. 1126 .loc 1 578 5 discriminator 24 view .LVU351
  2370. 1127 01ac 1E4B ldr r3, .L112+4
  2371. 1128 01ae 5A60 str r2, [r3, #4]
  2372. 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2373. 1129 .loc 1 582 5 is_stmt 1 discriminator 24 view .LVU352
  2374. 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2375. 1130 .loc 1 582 17 is_stmt 0 discriminator 24 view .LVU353
  2376. 1131 01b0 0123 movs r3, #1
  2377. 1132 01b2 84F82130 strb r3, [r4, #33]
  2378. 1133 .L70:
  2379. ARM GAS /tmp/ccQjIBHa.s page 42
  2380. 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2381. 1134 .loc 1 591 3 is_stmt 1 view .LVU354
  2382. 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2383. 1135 .loc 1 591 3 view .LVU355
  2384. 1136 01b6 0020 movs r0, #0
  2385. 1137 01b8 84F82000 strb r0, [r4, #32]
  2386. 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2387. 1138 .loc 1 591 3 view .LVU356
  2388. 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2389. 1139 .loc 1 593 3 view .LVU357
  2390. 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2391. 1140 .loc 1 593 10 is_stmt 0 view .LVU358
  2392. 1141 01bc 2EE7 b .L58
  2393. 1142 .L91:
  2394. 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2395. 1143 .loc 1 578 5 view .LVU359
  2396. 1144 01be 2022 movs r2, #32
  2397. 1145 01c0 F4E7 b .L69
  2398. 1146 .L92:
  2399. 1147 01c2 4FF40072 mov r2, #512
  2400. 1148 01c6 F1E7 b .L69
  2401. 1149 .L93:
  2402. 1150 01c8 4FF40052 mov r2, #8192
  2403. 1151 01cc EEE7 b .L69
  2404. 1152 .L94:
  2405. 1153 01ce 4FF40032 mov r2, #131072
  2406. 1154 01d2 EBE7 b .L69
  2407. 1155 .L68:
  2408. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2409. 1156 .loc 1 587 5 is_stmt 1 view .LVU360
  2410. 1157 01d4 2368 ldr r3, [r4]
  2411. 1158 01d6 134A ldr r2, .L112
  2412. 1159 01d8 9342 cmp r3, r2
  2413. 1160 01da 14D0 beq .L96
  2414. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2415. 1161 .loc 1 587 5 is_stmt 0 discriminator 1 view .LVU361
  2416. 1162 01dc 1432 adds r2, r2, #20
  2417. 1163 01de 9342 cmp r3, r2
  2418. 1164 01e0 15D0 beq .L97
  2419. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2420. 1165 .loc 1 587 5 discriminator 3 view .LVU362
  2421. 1166 01e2 1432 adds r2, r2, #20
  2422. 1167 01e4 9342 cmp r3, r2
  2423. 1168 01e6 14D0 beq .L98
  2424. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2425. 1169 .loc 1 587 5 discriminator 5 view .LVU363
  2426. 1170 01e8 1432 adds r2, r2, #20
  2427. 1171 01ea 9342 cmp r3, r2
  2428. 1172 01ec 14D0 beq .L99
  2429. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2430. 1173 .loc 1 587 5 discriminator 7 view .LVU364
  2431. 1174 01ee 1432 adds r2, r2, #20
  2432. 1175 01f0 9342 cmp r3, r2
  2433. 1176 01f2 14D0 beq .L100
  2434. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2435. 1177 .loc 1 587 5 discriminator 9 view .LVU365
  2436. 1178 01f4 1432 adds r2, r2, #20
  2437. ARM GAS /tmp/ccQjIBHa.s page 43
  2438. 1179 01f6 9342 cmp r3, r2
  2439. 1180 01f8 02D0 beq .L111
  2440. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2441. 1181 .loc 1 587 5 view .LVU366
  2442. 1182 01fa 4FF08062 mov r2, #67108864
  2443. 1183 01fe 03E0 b .L71
  2444. 1184 .L111:
  2445. 1185 0200 4FF48002 mov r2, #4194304
  2446. 1186 0204 00E0 b .L71
  2447. 1187 .L96:
  2448. 1188 0206 0422 movs r2, #4
  2449. 1189 .L71:
  2450. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2451. 1190 .loc 1 587 5 discriminator 24 view .LVU367
  2452. 1191 0208 074B ldr r3, .L112+4
  2453. 1192 020a 5A60 str r2, [r3, #4]
  2454. 1193 020c D3E7 b .L70
  2455. 1194 .L97:
  2456. 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2457. 1195 .loc 1 587 5 view .LVU368
  2458. 1196 020e 4022 movs r2, #64
  2459. 1197 0210 FAE7 b .L71
  2460. 1198 .L98:
  2461. 1199 0212 4FF48062 mov r2, #1024
  2462. 1200 0216 F7E7 b .L71
  2463. 1201 .L99:
  2464. 1202 0218 4FF48042 mov r2, #16384
  2465. 1203 021c F4E7 b .L71
  2466. 1204 .L100:
  2467. 1205 021e 4FF48022 mov r2, #262144
  2468. 1206 0222 F1E7 b .L71
  2469. 1207 .L113:
  2470. 1208 .align 2
  2471. 1209 .L112:
  2472. 1210 0224 08000240 .word 1073872904
  2473. 1211 0228 00000240 .word 1073872896
  2474. 1212 .cfi_endproc
  2475. 1213 .LFE71:
  2476. 1215 .section .text.HAL_DMA_IRQHandler,"ax",%progbits
  2477. 1216 .align 1
  2478. 1217 .global HAL_DMA_IRQHandler
  2479. 1218 .syntax unified
  2480. 1219 .thumb
  2481. 1220 .thumb_func
  2482. 1222 HAL_DMA_IRQHandler:
  2483. 1223 .LVL61:
  2484. 1224 .LFB72:
  2485. 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR;
  2486. 1225 .loc 1 603 1 is_stmt 1 view -0
  2487. 1226 .cfi_startproc
  2488. 1227 @ args = 0, pretend = 0, frame = 0
  2489. 1228 @ frame_needed = 0, uses_anonymous_args = 0
  2490. 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR;
  2491. 1229 .loc 1 603 1 is_stmt 0 view .LVU370
  2492. 1230 0000 38B5 push {r3, r4, r5, lr}
  2493. 1231 .LCFI11:
  2494. 1232 .cfi_def_cfa_offset 16
  2495. ARM GAS /tmp/ccQjIBHa.s page 44
  2496. 1233 .cfi_offset 3, -16
  2497. 1234 .cfi_offset 4, -12
  2498. 1235 .cfi_offset 5, -8
  2499. 1236 .cfi_offset 14, -4
  2500. 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
  2501. 1237 .loc 1 604 3 is_stmt 1 view .LVU371
  2502. 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
  2503. 1238 .loc 1 604 26 is_stmt 0 view .LVU372
  2504. 1239 0002 C36B ldr r3, [r0, #60]
  2505. 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
  2506. 1240 .loc 1 604 12 view .LVU373
  2507. 1241 0004 1A68 ldr r2, [r3]
  2508. 1242 .LVL62:
  2509. 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2510. 1243 .loc 1 605 3 is_stmt 1 view .LVU374
  2511. 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2512. 1244 .loc 1 605 28 is_stmt 0 view .LVU375
  2513. 1245 0006 0468 ldr r4, [r0]
  2514. 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2515. 1246 .loc 1 605 12 view .LVU376
  2516. 1247 0008 2568 ldr r5, [r4]
  2517. 1248 .LVL63:
  2518. 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2519. 1249 .loc 1 608 3 is_stmt 1 view .LVU377
  2520. 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2521. 1250 .loc 1 608 40 is_stmt 0 view .LVU378
  2522. 1251 000a 016C ldr r1, [r0, #64]
  2523. 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2524. 1252 .loc 1 608 33 view .LVU379
  2525. 1253 000c 0423 movs r3, #4
  2526. 1254 000e 8B40 lsls r3, r3, r1
  2527. 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2528. 1255 .loc 1 608 6 view .LVU380
  2529. 1256 0010 1342 tst r3, r2
  2530. 1257 0012 35D0 beq .L115
  2531. 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2532. 1258 .loc 1 608 67 discriminator 1 view .LVU381
  2533. 1259 0014 15F0040F tst r5, #4
  2534. 1260 0018 32D0 beq .L115
  2535. 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2536. 1261 .loc 1 611 5 is_stmt 1 view .LVU382
  2537. 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2538. 1262 .loc 1 611 23 is_stmt 0 view .LVU383
  2539. 1263 001a 2368 ldr r3, [r4]
  2540. 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2541. 1264 .loc 1 611 7 view .LVU384
  2542. 1265 001c 13F0200F tst r3, #32
  2543. 1266 0020 03D1 bne .L116
  2544. 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2545. 1267 .loc 1 614 7 is_stmt 1 view .LVU385
  2546. 1268 0022 2368 ldr r3, [r4]
  2547. 1269 0024 23F00403 bic r3, r3, #4
  2548. 1270 0028 2360 str r3, [r4]
  2549. 1271 .L116:
  2550. 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2551. 1272 .loc 1 617 5 view .LVU386
  2552. 1273 002a 0368 ldr r3, [r0]
  2553. ARM GAS /tmp/ccQjIBHa.s page 45
  2554. 1274 002c 434A ldr r2, .L137
  2555. 1275 .LVL64:
  2556. 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2557. 1276 .loc 1 617 5 is_stmt 0 view .LVU387
  2558. 1277 002e 9342 cmp r3, r2
  2559. 1278 0030 14D0 beq .L122
  2560. 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2561. 1279 .loc 1 617 5 discriminator 1 view .LVU388
  2562. 1280 0032 1432 adds r2, r2, #20
  2563. 1281 0034 9342 cmp r3, r2
  2564. 1282 0036 18D0 beq .L123
  2565. 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2566. 1283 .loc 1 617 5 discriminator 3 view .LVU389
  2567. 1284 0038 1432 adds r2, r2, #20
  2568. 1285 003a 9342 cmp r3, r2
  2569. 1286 003c 17D0 beq .L124
  2570. 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2571. 1287 .loc 1 617 5 discriminator 5 view .LVU390
  2572. 1288 003e 1432 adds r2, r2, #20
  2573. 1289 0040 9342 cmp r3, r2
  2574. 1290 0042 17D0 beq .L125
  2575. 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2576. 1291 .loc 1 617 5 discriminator 7 view .LVU391
  2577. 1292 0044 1432 adds r2, r2, #20
  2578. 1293 0046 9342 cmp r3, r2
  2579. 1294 0048 17D0 beq .L126
  2580. 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2581. 1295 .loc 1 617 5 discriminator 9 view .LVU392
  2582. 1296 004a 1432 adds r2, r2, #20
  2583. 1297 004c 9342 cmp r3, r2
  2584. 1298 004e 02D0 beq .L135
  2585. 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2586. 1299 .loc 1 617 5 view .LVU393
  2587. 1300 0050 4FF08062 mov r2, #67108864
  2588. 1301 0054 03E0 b .L117
  2589. 1302 .L135:
  2590. 1303 0056 4FF48002 mov r2, #4194304
  2591. 1304 005a 00E0 b .L117
  2592. 1305 .L122:
  2593. 1306 005c 0422 movs r2, #4
  2594. 1307 .L117:
  2595. 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2596. 1308 .loc 1 617 5 discriminator 24 view .LVU394
  2597. 1309 005e 384B ldr r3, .L137+4
  2598. 1310 0060 5A60 str r2, [r3, #4]
  2599. 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2600. 1311 .loc 1 622 5 is_stmt 1 discriminator 24 view .LVU395
  2601. 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2602. 1312 .loc 1 622 12 is_stmt 0 discriminator 24 view .LVU396
  2603. 1313 0062 C36A ldr r3, [r0, #44]
  2604. 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2605. 1314 .loc 1 622 7 discriminator 24 view .LVU397
  2606. 1315 0064 03B1 cbz r3, .L114
  2607. 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2608. 1316 .loc 1 625 7 is_stmt 1 view .LVU398
  2609. 1317 0066 9847 blx r3
  2610. 1318 .LVL65:
  2611. ARM GAS /tmp/ccQjIBHa.s page 46
  2612. 1319 .L114:
  2613. 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2614. 1320 .loc 1 680 1 is_stmt 0 view .LVU399
  2615. 1321 0068 38BD pop {r3, r4, r5, pc}
  2616. 1322 .LVL66:
  2617. 1323 .L123:
  2618. 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2619. 1324 .loc 1 617 5 view .LVU400
  2620. 1325 006a 4022 movs r2, #64
  2621. 1326 006c F7E7 b .L117
  2622. 1327 .L124:
  2623. 1328 006e 4FF48062 mov r2, #1024
  2624. 1329 0072 F4E7 b .L117
  2625. 1330 .L125:
  2626. 1331 0074 4FF48042 mov r2, #16384
  2627. 1332 0078 F1E7 b .L117
  2628. 1333 .L126:
  2629. 1334 007a 4FF48022 mov r2, #262144
  2630. 1335 007e EEE7 b .L117
  2631. 1336 .LVL67:
  2632. 1337 .L115:
  2633. 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2634. 1338 .loc 1 630 8 is_stmt 1 view .LVU401
  2635. 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2636. 1339 .loc 1 630 38 is_stmt 0 view .LVU402
  2637. 1340 0080 0223 movs r3, #2
  2638. 1341 0082 8B40 lsls r3, r3, r1
  2639. 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2640. 1342 .loc 1 630 11 view .LVU403
  2641. 1343 0084 1342 tst r3, r2
  2642. 1344 0086 3CD0 beq .L119
  2643. 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2644. 1345 .loc 1 630 72 discriminator 1 view .LVU404
  2645. 1346 0088 15F0020F tst r5, #2
  2646. 1347 008c 39D0 beq .L119
  2647. 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2648. 1348 .loc 1 632 5 is_stmt 1 view .LVU405
  2649. 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2650. 1349 .loc 1 632 23 is_stmt 0 view .LVU406
  2651. 1350 008e 2368 ldr r3, [r4]
  2652. 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2653. 1351 .loc 1 632 7 view .LVU407
  2654. 1352 0090 13F0200F tst r3, #32
  2655. 1353 0094 06D1 bne .L120
  2656. 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2657. 1354 .loc 1 635 7 is_stmt 1 view .LVU408
  2658. 1355 0096 2368 ldr r3, [r4]
  2659. 1356 0098 23F00A03 bic r3, r3, #10
  2660. 1357 009c 2360 str r3, [r4]
  2661. 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2662. 1358 .loc 1 638 7 view .LVU409
  2663. 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2664. 1359 .loc 1 638 19 is_stmt 0 view .LVU410
  2665. 1360 009e 0123 movs r3, #1
  2666. 1361 00a0 80F82130 strb r3, [r0, #33]
  2667. 1362 .L120:
  2668. 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2669. ARM GAS /tmp/ccQjIBHa.s page 47
  2670. 1363 .loc 1 641 7 is_stmt 1 view .LVU411
  2671. 1364 00a4 0368 ldr r3, [r0]
  2672. 1365 00a6 254A ldr r2, .L137
  2673. 1366 .LVL68:
  2674. 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2675. 1367 .loc 1 641 7 is_stmt 0 view .LVU412
  2676. 1368 00a8 9342 cmp r3, r2
  2677. 1369 00aa 14D0 beq .L128
  2678. 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2679. 1370 .loc 1 641 7 discriminator 1 view .LVU413
  2680. 1371 00ac 1432 adds r2, r2, #20
  2681. 1372 00ae 9342 cmp r3, r2
  2682. 1373 00b0 1CD0 beq .L129
  2683. 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2684. 1374 .loc 1 641 7 discriminator 3 view .LVU414
  2685. 1375 00b2 1432 adds r2, r2, #20
  2686. 1376 00b4 9342 cmp r3, r2
  2687. 1377 00b6 1BD0 beq .L130
  2688. 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2689. 1378 .loc 1 641 7 discriminator 5 view .LVU415
  2690. 1379 00b8 1432 adds r2, r2, #20
  2691. 1380 00ba 9342 cmp r3, r2
  2692. 1381 00bc 1BD0 beq .L131
  2693. 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2694. 1382 .loc 1 641 7 discriminator 7 view .LVU416
  2695. 1383 00be 1432 adds r2, r2, #20
  2696. 1384 00c0 9342 cmp r3, r2
  2697. 1385 00c2 1BD0 beq .L132
  2698. 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2699. 1386 .loc 1 641 7 discriminator 9 view .LVU417
  2700. 1387 00c4 1432 adds r2, r2, #20
  2701. 1388 00c6 9342 cmp r3, r2
  2702. 1389 00c8 02D0 beq .L136
  2703. 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2704. 1390 .loc 1 641 7 view .LVU418
  2705. 1391 00ca 4FF00072 mov r2, #33554432
  2706. 1392 00ce 03E0 b .L121
  2707. 1393 .L136:
  2708. 1394 00d0 4FF40012 mov r2, #2097152
  2709. 1395 00d4 00E0 b .L121
  2710. 1396 .L128:
  2711. 1397 00d6 0222 movs r2, #2
  2712. 1398 .L121:
  2713. 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2714. 1399 .loc 1 641 7 discriminator 24 view .LVU419
  2715. 1400 00d8 194B ldr r3, .L137+4
  2716. 1401 00da 5A60 str r2, [r3, #4]
  2717. 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2718. 1402 .loc 1 644 5 is_stmt 1 discriminator 24 view .LVU420
  2719. 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2720. 1403 .loc 1 644 5 discriminator 24 view .LVU421
  2721. 1404 00dc 0023 movs r3, #0
  2722. 1405 00de 80F82030 strb r3, [r0, #32]
  2723. 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2724. 1406 .loc 1 644 5 discriminator 24 view .LVU422
  2725. 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2726. 1407 .loc 1 646 5 discriminator 24 view .LVU423
  2727. ARM GAS /tmp/ccQjIBHa.s page 48
  2728. 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2729. 1408 .loc 1 646 12 is_stmt 0 discriminator 24 view .LVU424
  2730. 1409 00e2 836A ldr r3, [r0, #40]
  2731. 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2732. 1410 .loc 1 646 7 discriminator 24 view .LVU425
  2733. 1411 00e4 002B cmp r3, #0
  2734. 1412 00e6 BFD0 beq .L114
  2735. 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2736. 1413 .loc 1 649 7 is_stmt 1 view .LVU426
  2737. 1414 00e8 9847 blx r3
  2738. 1415 .LVL69:
  2739. 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2740. 1416 .loc 1 649 7 is_stmt 0 view .LVU427
  2741. 1417 00ea BDE7 b .L114
  2742. 1418 .LVL70:
  2743. 1419 .L129:
  2744. 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2745. 1420 .loc 1 641 7 view .LVU428
  2746. 1421 00ec 2022 movs r2, #32
  2747. 1422 00ee F3E7 b .L121
  2748. 1423 .L130:
  2749. 1424 00f0 4FF40072 mov r2, #512
  2750. 1425 00f4 F0E7 b .L121
  2751. 1426 .L131:
  2752. 1427 00f6 4FF40052 mov r2, #8192
  2753. 1428 00fa EDE7 b .L121
  2754. 1429 .L132:
  2755. 1430 00fc 4FF40032 mov r2, #131072
  2756. 1431 0100 EAE7 b .L121
  2757. 1432 .LVL71:
  2758. 1433 .L119:
  2759. 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2760. 1434 .loc 1 654 8 is_stmt 1 view .LVU429
  2761. 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2762. 1435 .loc 1 654 48 is_stmt 0 view .LVU430
  2763. 1436 0102 0823 movs r3, #8
  2764. 1437 0104 03FA01F1 lsl r1, r3, r1
  2765. 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2766. 1438 .loc 1 654 11 view .LVU431
  2767. 1439 0108 1142 tst r1, r2
  2768. 1440 010a ADD0 beq .L114
  2769. 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2770. 1441 .loc 1 654 73 discriminator 1 view .LVU432
  2771. 1442 010c 15F0080F tst r5, #8
  2772. 1443 0110 AAD0 beq .L114
  2773. 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2774. 1444 .loc 1 659 5 is_stmt 1 view .LVU433
  2775. 1445 0112 2368 ldr r3, [r4]
  2776. 1446 0114 23F00E03 bic r3, r3, #14
  2777. 1447 0118 2360 str r3, [r4]
  2778. 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2779. 1448 .loc 1 662 5 view .LVU434
  2780. 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2781. 1449 .loc 1 662 55 is_stmt 0 view .LVU435
  2782. 1450 011a 026C ldr r2, [r0, #64]
  2783. 1451 .LVL72:
  2784. 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2785. ARM GAS /tmp/ccQjIBHa.s page 49
  2786. 1452 .loc 1 662 9 view .LVU436
  2787. 1453 011c C16B ldr r1, [r0, #60]
  2788. 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2789. 1454 .loc 1 662 48 view .LVU437
  2790. 1455 011e 0123 movs r3, #1
  2791. 1456 0120 03FA02F2 lsl r2, r3, r2
  2792. 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2793. 1457 .loc 1 662 32 view .LVU438
  2794. 1458 0124 4A60 str r2, [r1, #4]
  2795. 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2796. 1459 .loc 1 665 5 is_stmt 1 view .LVU439
  2797. 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2798. 1460 .loc 1 665 21 is_stmt 0 view .LVU440
  2799. 1461 0126 8363 str r3, [r0, #56]
  2800. 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2801. 1462 .loc 1 668 5 is_stmt 1 view .LVU441
  2802. 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2803. 1463 .loc 1 668 17 is_stmt 0 view .LVU442
  2804. 1464 0128 80F82130 strb r3, [r0, #33]
  2805. 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2806. 1465 .loc 1 671 5 is_stmt 1 view .LVU443
  2807. 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2808. 1466 .loc 1 671 5 view .LVU444
  2809. 1467 012c 0023 movs r3, #0
  2810. 1468 012e 80F82030 strb r3, [r0, #32]
  2811. 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2812. 1469 .loc 1 671 5 view .LVU445
  2813. 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2814. 1470 .loc 1 673 5 view .LVU446
  2815. 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2816. 1471 .loc 1 673 13 is_stmt 0 view .LVU447
  2817. 1472 0132 036B ldr r3, [r0, #48]
  2818. 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2819. 1473 .loc 1 673 8 view .LVU448
  2820. 1474 0134 002B cmp r3, #0
  2821. 1475 0136 97D0 beq .L114
  2822. 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2823. 1476 .loc 1 676 7 is_stmt 1 view .LVU449
  2824. 1477 0138 9847 blx r3
  2825. 1478 .LVL73:
  2826. 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2827. 1479 .loc 1 679 3 view .LVU450
  2828. 1480 013a 95E7 b .L114
  2829. 1481 .L138:
  2830. 1482 .align 2
  2831. 1483 .L137:
  2832. 1484 013c 08000240 .word 1073872904
  2833. 1485 0140 00000240 .word 1073872896
  2834. 1486 .cfi_endproc
  2835. 1487 .LFE72:
  2836. 1489 .section .text.HAL_DMA_RegisterCallback,"ax",%progbits
  2837. 1490 .align 1
  2838. 1491 .global HAL_DMA_RegisterCallback
  2839. 1492 .syntax unified
  2840. 1493 .thumb
  2841. 1494 .thumb_func
  2842. 1496 HAL_DMA_RegisterCallback:
  2843. ARM GAS /tmp/ccQjIBHa.s page 50
  2844. 1497 .LVL74:
  2845. 1498 .LFB73:
  2846. 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  2847. 1499 .loc 1 693 1 view -0
  2848. 1500 .cfi_startproc
  2849. 1501 @ args = 0, pretend = 0, frame = 0
  2850. 1502 @ frame_needed = 0, uses_anonymous_args = 0
  2851. 1503 @ link register save eliminated.
  2852. 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  2853. 1504 .loc 1 693 1 is_stmt 0 view .LVU452
  2854. 1505 0000 0346 mov r3, r0
  2855. 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2856. 1506 .loc 1 694 3 is_stmt 1 view .LVU453
  2857. 1507 .LVL75:
  2858. 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2859. 1508 .loc 1 697 3 view .LVU454
  2860. 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2861. 1509 .loc 1 697 3 view .LVU455
  2862. 1510 0002 90F82000 ldrb r0, [r0, #32] @ zero_extendqisi2
  2863. 1511 .LVL76:
  2864. 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2865. 1512 .loc 1 697 3 is_stmt 0 view .LVU456
  2866. 1513 0006 0128 cmp r0, #1
  2867. 1514 0008 1ED0 beq .L147
  2868. 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2869. 1515 .loc 1 697 3 is_stmt 1 discriminator 2 view .LVU457
  2870. 1516 000a 0120 movs r0, #1
  2871. 1517 000c 83F82000 strb r0, [r3, #32]
  2872. 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2873. 1518 .loc 1 697 3 discriminator 2 view .LVU458
  2874. 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2875. 1519 .loc 1 699 3 discriminator 2 view .LVU459
  2876. 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2877. 1520 .loc 1 699 33 is_stmt 0 discriminator 2 view .LVU460
  2878. 1521 0010 93F82100 ldrb r0, [r3, #33] @ zero_extendqisi2
  2879. 1522 0014 C0B2 uxtb r0, r0
  2880. 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2881. 1523 .loc 1 699 5 discriminator 2 view .LVU461
  2882. 1524 0016 0128 cmp r0, #1
  2883. 1525 0018 04D0 beq .L149
  2884. 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2885. 1526 .loc 1 726 12 view .LVU462
  2886. 1527 001a 0120 movs r0, #1
  2887. 1528 .L141:
  2888. 1529 .LVL77:
  2889. 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2890. 1530 .loc 1 730 3 is_stmt 1 view .LVU463
  2891. 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2892. 1531 .loc 1 730 3 view .LVU464
  2893. 1532 001c 0022 movs r2, #0
  2894. 1533 .LVL78:
  2895. 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2896. 1534 .loc 1 730 3 is_stmt 0 view .LVU465
  2897. 1535 001e 83F82020 strb r2, [r3, #32]
  2898. 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2899. 1536 .loc 1 730 3 is_stmt 1 view .LVU466
  2900. 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2901. ARM GAS /tmp/ccQjIBHa.s page 51
  2902. 1537 .loc 1 732 3 view .LVU467
  2903. 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  2904. 1538 .loc 1 732 10 is_stmt 0 view .LVU468
  2905. 1539 0022 7047 bx lr
  2906. 1540 .LVL79:
  2907. 1541 .L149:
  2908. 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  2909. 1542 .loc 1 701 5 is_stmt 1 view .LVU469
  2910. 1543 0024 0329 cmp r1, #3
  2911. 1544 0026 F9D8 bhi .L141
  2912. 1545 0028 DFE801F0 tbb [pc, r1]
  2913. 1546 .L143:
  2914. 1547 002c 02 .byte (.L146-.L143)/2
  2915. 1548 002d 05 .byte (.L145-.L143)/2
  2916. 1549 002e 08 .byte (.L144-.L143)/2
  2917. 1550 002f 0B .byte (.L142-.L143)/2
  2918. 1551 .p2align 1
  2919. 1552 .L146:
  2920. 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  2921. 1553 .loc 1 704 7 view .LVU470
  2922. 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  2923. 1554 .loc 1 704 30 is_stmt 0 view .LVU471
  2924. 1555 0030 9A62 str r2, [r3, #40]
  2925. 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2926. 1556 .loc 1 705 7 is_stmt 1 view .LVU472
  2927. 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2928. 1557 .loc 1 694 21 is_stmt 0 view .LVU473
  2929. 1558 0032 0846 mov r0, r1
  2930. 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2931. 1559 .loc 1 705 7 view .LVU474
  2932. 1560 0034 F2E7 b .L141
  2933. 1561 .L145:
  2934. 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  2935. 1562 .loc 1 708 7 is_stmt 1 view .LVU475
  2936. 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  2937. 1563 .loc 1 708 34 is_stmt 0 view .LVU476
  2938. 1564 0036 DA62 str r2, [r3, #44]
  2939. 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2940. 1565 .loc 1 709 7 is_stmt 1 view .LVU477
  2941. 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2942. 1566 .loc 1 694 21 is_stmt 0 view .LVU478
  2943. 1567 0038 0020 movs r0, #0
  2944. 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2945. 1568 .loc 1 709 7 view .LVU479
  2946. 1569 003a EFE7 b .L141
  2947. 1570 .L144:
  2948. 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  2949. 1571 .loc 1 712 7 is_stmt 1 view .LVU480
  2950. 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  2951. 1572 .loc 1 712 31 is_stmt 0 view .LVU481
  2952. 1573 003c 1A63 str r2, [r3, #48]
  2953. 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2954. 1574 .loc 1 713 7 is_stmt 1 view .LVU482
  2955. 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2956. 1575 .loc 1 694 21 is_stmt 0 view .LVU483
  2957. 1576 003e 0020 movs r0, #0
  2958. 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2959. ARM GAS /tmp/ccQjIBHa.s page 52
  2960. 1577 .loc 1 713 7 view .LVU484
  2961. 1578 0040 ECE7 b .L141
  2962. 1579 .L142:
  2963. 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  2964. 1580 .loc 1 716 7 is_stmt 1 view .LVU485
  2965. 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  2966. 1581 .loc 1 716 31 is_stmt 0 view .LVU486
  2967. 1582 0042 5A63 str r2, [r3, #52]
  2968. 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2969. 1583 .loc 1 717 7 is_stmt 1 view .LVU487
  2970. 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2971. 1584 .loc 1 694 21 is_stmt 0 view .LVU488
  2972. 1585 0044 0020 movs r0, #0
  2973. 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2974. 1586 .loc 1 717 7 view .LVU489
  2975. 1587 0046 E9E7 b .L141
  2976. 1588 .L147:
  2977. 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2978. 1589 .loc 1 697 3 view .LVU490
  2979. 1590 0048 0220 movs r0, #2
  2980. 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  2981. 1591 .loc 1 733 1 view .LVU491
  2982. 1592 004a 7047 bx lr
  2983. 1593 .cfi_endproc
  2984. 1594 .LFE73:
  2985. 1596 .section .text.HAL_DMA_UnRegisterCallback,"ax",%progbits
  2986. 1597 .align 1
  2987. 1598 .global HAL_DMA_UnRegisterCallback
  2988. 1599 .syntax unified
  2989. 1600 .thumb
  2990. 1601 .thumb_func
  2991. 1603 HAL_DMA_UnRegisterCallback:
  2992. 1604 .LVL80:
  2993. 1605 .LFB74:
  2994. 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  2995. 1606 .loc 1 744 1 is_stmt 1 view -0
  2996. 1607 .cfi_startproc
  2997. 1608 @ args = 0, pretend = 0, frame = 0
  2998. 1609 @ frame_needed = 0, uses_anonymous_args = 0
  2999. 1610 @ link register save eliminated.
  3000. 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
  3001. 1611 .loc 1 744 1 is_stmt 0 view .LVU493
  3002. 1612 0000 0346 mov r3, r0
  3003. 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3004. 1613 .loc 1 745 3 is_stmt 1 view .LVU494
  3005. 1614 .LVL81:
  3006. 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3007. 1615 .loc 1 748 3 view .LVU495
  3008. 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3009. 1616 .loc 1 748 3 view .LVU496
  3010. 1617 0002 90F82020 ldrb r2, [r0, #32] @ zero_extendqisi2
  3011. 1618 0006 012A cmp r2, #1
  3012. 1619 0008 26D0 beq .L159
  3013. 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3014. 1620 .loc 1 748 3 discriminator 2 view .LVU497
  3015. 1621 000a 0122 movs r2, #1
  3016. 1622 000c 80F82020 strb r2, [r0, #32]
  3017. ARM GAS /tmp/ccQjIBHa.s page 53
  3018. 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3019. 1623 .loc 1 748 3 discriminator 2 view .LVU498
  3020. 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  3021. 1624 .loc 1 750 3 discriminator 2 view .LVU499
  3022. 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  3023. 1625 .loc 1 750 33 is_stmt 0 discriminator 2 view .LVU500
  3024. 1626 0010 90F82100 ldrb r0, [r0, #33] @ zero_extendqisi2
  3025. 1627 .LVL82:
  3026. 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  3027. 1628 .loc 1 750 33 discriminator 2 view .LVU501
  3028. 1629 0014 C0B2 uxtb r0, r0
  3029. 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  3030. 1630 .loc 1 750 5 discriminator 2 view .LVU502
  3031. 1631 0016 9042 cmp r0, r2
  3032. 1632 0018 04D0 beq .L161
  3033. 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  3034. 1633 .loc 1 784 12 view .LVU503
  3035. 1634 001a 0120 movs r0, #1
  3036. 1635 .L152:
  3037. 1636 .LVL83:
  3038. 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3039. 1637 .loc 1 788 3 is_stmt 1 view .LVU504
  3040. 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3041. 1638 .loc 1 788 3 view .LVU505
  3042. 1639 001c 0022 movs r2, #0
  3043. 1640 001e 83F82020 strb r2, [r3, #32]
  3044. 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3045. 1641 .loc 1 788 3 view .LVU506
  3046. 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  3047. 1642 .loc 1 790 3 view .LVU507
  3048. 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  3049. 1643 .loc 1 790 10 is_stmt 0 view .LVU508
  3050. 1644 0022 7047 bx lr
  3051. 1645 .LVL84:
  3052. 1646 .L161:
  3053. 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
  3054. 1647 .loc 1 752 5 is_stmt 1 view .LVU509
  3055. 1648 0024 0429 cmp r1, #4
  3056. 1649 0026 F9D8 bhi .L152
  3057. 1650 0028 DFE801F0 tbb [pc, r1]
  3058. 1651 .L154:
  3059. 1652 002c 03 .byte (.L158-.L154)/2
  3060. 1653 002d 07 .byte (.L157-.L154)/2
  3061. 1654 002e 0A .byte (.L156-.L154)/2
  3062. 1655 002f 0D .byte (.L155-.L154)/2
  3063. 1656 0030 10 .byte (.L153-.L154)/2
  3064. 1657 0031 00 .p2align 1
  3065. 1658 .L158:
  3066. 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  3067. 1659 .loc 1 755 7 view .LVU510
  3068. 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  3069. 1660 .loc 1 755 30 is_stmt 0 view .LVU511
  3070. 1661 0032 0022 movs r2, #0
  3071. 1662 0034 9A62 str r2, [r3, #40]
  3072. 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3073. 1663 .loc 1 756 7 is_stmt 1 view .LVU512
  3074. 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3075. ARM GAS /tmp/ccQjIBHa.s page 54
  3076. 1664 .loc 1 745 21 is_stmt 0 view .LVU513
  3077. 1665 0036 0846 mov r0, r1
  3078. 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3079. 1666 .loc 1 756 7 view .LVU514
  3080. 1667 0038 F0E7 b .L152
  3081. 1668 .L157:
  3082. 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  3083. 1669 .loc 1 759 7 is_stmt 1 view .LVU515
  3084. 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  3085. 1670 .loc 1 759 34 is_stmt 0 view .LVU516
  3086. 1671 003a 0020 movs r0, #0
  3087. 1672 003c D862 str r0, [r3, #44]
  3088. 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3089. 1673 .loc 1 760 7 is_stmt 1 view .LVU517
  3090. 1674 003e EDE7 b .L152
  3091. 1675 .L156:
  3092. 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  3093. 1676 .loc 1 763 7 view .LVU518
  3094. 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  3095. 1677 .loc 1 763 31 is_stmt 0 view .LVU519
  3096. 1678 0040 0020 movs r0, #0
  3097. 1679 0042 1863 str r0, [r3, #48]
  3098. 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3099. 1680 .loc 1 764 7 is_stmt 1 view .LVU520
  3100. 1681 0044 EAE7 b .L152
  3101. 1682 .L155:
  3102. 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  3103. 1683 .loc 1 767 7 view .LVU521
  3104. 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  3105. 1684 .loc 1 767 31 is_stmt 0 view .LVU522
  3106. 1685 0046 0020 movs r0, #0
  3107. 1686 0048 5863 str r0, [r3, #52]
  3108. 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3109. 1687 .loc 1 768 7 is_stmt 1 view .LVU523
  3110. 1688 004a E7E7 b .L152
  3111. 1689 .L153:
  3112. 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  3113. 1690 .loc 1 771 7 view .LVU524
  3114. 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
  3115. 1691 .loc 1 771 30 is_stmt 0 view .LVU525
  3116. 1692 004c 0020 movs r0, #0
  3117. 1693 004e 9862 str r0, [r3, #40]
  3118. 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  3119. 1694 .loc 1 772 7 is_stmt 1 view .LVU526
  3120. 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
  3121. 1695 .loc 1 772 34 is_stmt 0 view .LVU527
  3122. 1696 0050 D862 str r0, [r3, #44]
  3123. 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  3124. 1697 .loc 1 773 7 is_stmt 1 view .LVU528
  3125. 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
  3126. 1698 .loc 1 773 31 is_stmt 0 view .LVU529
  3127. 1699 0052 1863 str r0, [r3, #48]
  3128. 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  3129. 1700 .loc 1 774 7 is_stmt 1 view .LVU530
  3130. 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
  3131. 1701 .loc 1 774 31 is_stmt 0 view .LVU531
  3132. 1702 0054 5863 str r0, [r3, #52]
  3133. ARM GAS /tmp/ccQjIBHa.s page 55
  3134. 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3135. 1703 .loc 1 775 7 is_stmt 1 view .LVU532
  3136. 1704 0056 E1E7 b .L152
  3137. 1705 .LVL85:
  3138. 1706 .L159:
  3139. 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3140. 1707 .loc 1 748 3 is_stmt 0 view .LVU533
  3141. 1708 0058 0220 movs r0, #2
  3142. 1709 .LVL86:
  3143. 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3144. 1710 .loc 1 791 1 view .LVU534
  3145. 1711 005a 7047 bx lr
  3146. 1712 .cfi_endproc
  3147. 1713 .LFE74:
  3148. 1715 .section .text.HAL_DMA_GetState,"ax",%progbits
  3149. 1716 .align 1
  3150. 1717 .global HAL_DMA_GetState
  3151. 1718 .syntax unified
  3152. 1719 .thumb
  3153. 1720 .thumb_func
  3154. 1722 HAL_DMA_GetState:
  3155. 1723 .LVL87:
  3156. 1724 .LFB75:
  3157. 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Return DMA handle state */
  3158. 1725 .loc 1 820 1 is_stmt 1 view -0
  3159. 1726 .cfi_startproc
  3160. 1727 @ args = 0, pretend = 0, frame = 0
  3161. 1728 @ frame_needed = 0, uses_anonymous_args = 0
  3162. 1729 @ link register save eliminated.
  3163. 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  3164. 1730 .loc 1 822 3 view .LVU536
  3165. 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  3166. 1731 .loc 1 822 14 is_stmt 0 view .LVU537
  3167. 1732 0000 90F82100 ldrb r0, [r0, #33] @ zero_extendqisi2
  3168. 1733 .LVL88:
  3169. 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3170. 1734 .loc 1 823 1 view .LVU538
  3171. 1735 0004 7047 bx lr
  3172. 1736 .cfi_endproc
  3173. 1737 .LFE75:
  3174. 1739 .section .text.HAL_DMA_GetError,"ax",%progbits
  3175. 1740 .align 1
  3176. 1741 .global HAL_DMA_GetError
  3177. 1742 .syntax unified
  3178. 1743 .thumb
  3179. 1744 .thumb_func
  3180. 1746 HAL_DMA_GetError:
  3181. 1747 .LVL89:
  3182. 1748 .LFB76:
  3183. 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return hdma->ErrorCode;
  3184. 1749 .loc 1 832 1 is_stmt 1 view -0
  3185. 1750 .cfi_startproc
  3186. 1751 @ args = 0, pretend = 0, frame = 0
  3187. 1752 @ frame_needed = 0, uses_anonymous_args = 0
  3188. 1753 @ link register save eliminated.
  3189. 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  3190. 1754 .loc 1 833 3 view .LVU540
  3191. ARM GAS /tmp/ccQjIBHa.s page 56
  3192. 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
  3193. 1755 .loc 1 833 14 is_stmt 0 view .LVU541
  3194. 1756 0000 806B ldr r0, [r0, #56]
  3195. 1757 .LVL90:
  3196. 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
  3197. 1758 .loc 1 834 1 view .LVU542
  3198. 1759 0002 7047 bx lr
  3199. 1760 .cfi_endproc
  3200. 1761 .LFE76:
  3201. 1763 .text
  3202. 1764 .Letext0:
  3203. 1765 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
  3204. 1766 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
  3205. 1767 .file 4 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
  3206. 1768 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
  3207. 1769 .file 6 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
  3208. 1770 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
  3209. 1771 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
  3210. ARM GAS /tmp/ccQjIBHa.s page 57
  3211. DEFINED SYMBOLS
  3212. *ABS*:0000000000000000 stm32f1xx_hal_dma.c
  3213. /tmp/ccQjIBHa.s:18 .text.DMA_SetConfig:0000000000000000 $t
  3214. /tmp/ccQjIBHa.s:23 .text.DMA_SetConfig:0000000000000000 DMA_SetConfig
  3215. /tmp/ccQjIBHa.s:98 .text.HAL_DMA_Init:0000000000000000 $t
  3216. /tmp/ccQjIBHa.s:104 .text.HAL_DMA_Init:0000000000000000 HAL_DMA_Init
  3217. /tmp/ccQjIBHa.s:222 .text.HAL_DMA_Init:0000000000000060 $d
  3218. /tmp/ccQjIBHa.s:229 .text.HAL_DMA_DeInit:0000000000000000 $t
  3219. /tmp/ccQjIBHa.s:235 .text.HAL_DMA_DeInit:0000000000000000 HAL_DMA_DeInit
  3220. /tmp/ccQjIBHa.s:345 .text.HAL_DMA_DeInit:000000000000005c $d
  3221. /tmp/ccQjIBHa.s:352 .text.HAL_DMA_Start:0000000000000000 $t
  3222. /tmp/ccQjIBHa.s:358 .text.HAL_DMA_Start:0000000000000000 HAL_DMA_Start
  3223. /tmp/ccQjIBHa.s:446 .text.HAL_DMA_Start_IT:0000000000000000 $t
  3224. /tmp/ccQjIBHa.s:452 .text.HAL_DMA_Start_IT:0000000000000000 HAL_DMA_Start_IT
  3225. /tmp/ccQjIBHa.s:563 .text.HAL_DMA_Abort:0000000000000000 $t
  3226. /tmp/ccQjIBHa.s:569 .text.HAL_DMA_Abort:0000000000000000 HAL_DMA_Abort
  3227. /tmp/ccQjIBHa.s:640 .text.HAL_DMA_Abort_IT:0000000000000000 $t
  3228. /tmp/ccQjIBHa.s:646 .text.HAL_DMA_Abort_IT:0000000000000000 HAL_DMA_Abort_IT
  3229. /tmp/ccQjIBHa.s:773 .text.HAL_DMA_Abort_IT:0000000000000090 $d
  3230. /tmp/ccQjIBHa.s:779 .text.HAL_DMA_PollForTransfer:0000000000000000 $t
  3231. /tmp/ccQjIBHa.s:785 .text.HAL_DMA_PollForTransfer:0000000000000000 HAL_DMA_PollForTransfer
  3232. /tmp/ccQjIBHa.s:1210 .text.HAL_DMA_PollForTransfer:0000000000000224 $d
  3233. /tmp/ccQjIBHa.s:1216 .text.HAL_DMA_IRQHandler:0000000000000000 $t
  3234. /tmp/ccQjIBHa.s:1222 .text.HAL_DMA_IRQHandler:0000000000000000 HAL_DMA_IRQHandler
  3235. /tmp/ccQjIBHa.s:1484 .text.HAL_DMA_IRQHandler:000000000000013c $d
  3236. /tmp/ccQjIBHa.s:1490 .text.HAL_DMA_RegisterCallback:0000000000000000 $t
  3237. /tmp/ccQjIBHa.s:1496 .text.HAL_DMA_RegisterCallback:0000000000000000 HAL_DMA_RegisterCallback
  3238. /tmp/ccQjIBHa.s:1547 .text.HAL_DMA_RegisterCallback:000000000000002c $d
  3239. /tmp/ccQjIBHa.s:1551 .text.HAL_DMA_RegisterCallback:0000000000000030 $t
  3240. /tmp/ccQjIBHa.s:1597 .text.HAL_DMA_UnRegisterCallback:0000000000000000 $t
  3241. /tmp/ccQjIBHa.s:1603 .text.HAL_DMA_UnRegisterCallback:0000000000000000 HAL_DMA_UnRegisterCallback
  3242. /tmp/ccQjIBHa.s:1652 .text.HAL_DMA_UnRegisterCallback:000000000000002c $d
  3243. /tmp/ccQjIBHa.s:1716 .text.HAL_DMA_GetState:0000000000000000 $t
  3244. /tmp/ccQjIBHa.s:1722 .text.HAL_DMA_GetState:0000000000000000 HAL_DMA_GetState
  3245. /tmp/ccQjIBHa.s:1740 .text.HAL_DMA_GetError:0000000000000000 $t
  3246. /tmp/ccQjIBHa.s:1746 .text.HAL_DMA_GetError:0000000000000000 HAL_DMA_GetError
  3247. /tmp/ccQjIBHa.s:1657 .text.HAL_DMA_UnRegisterCallback:0000000000000031 $d
  3248. /tmp/ccQjIBHa.s:1657 .text.HAL_DMA_UnRegisterCallback:0000000000000032 $t
  3249. UNDEFINED SYMBOLS
  3250. HAL_GetTick