123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366 |
- ARM GAS /tmp/ccQjIBHa.s page 1
- 1 .cpu cortex-m3
- 2 .arch armv7-m
- 3 .fpu softvfp
- 4 .eabi_attribute 20, 1
- 5 .eabi_attribute 21, 1
- 6 .eabi_attribute 23, 3
- 7 .eabi_attribute 24, 1
- 8 .eabi_attribute 25, 1
- 9 .eabi_attribute 26, 1
- 10 .eabi_attribute 30, 1
- 11 .eabi_attribute 34, 1
- 12 .eabi_attribute 18, 4
- 13 .file "stm32f1xx_hal_dma.c"
- 14 .text
- 15 .Ltext0:
- 16 .cfi_sections .debug_frame
- 17 .section .text.DMA_SetConfig,"ax",%progbits
- 18 .align 1
- 19 .syntax unified
- 20 .thumb
- 21 .thumb_func
- 23 DMA_SetConfig:
- 24 .LVL0:
- 25 .LFB77:
- 26 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @file stm32f1xx_hal_dma.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief DMA HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * functionalities of the Direct Memory Access (DMA) peripheral:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * + Initialization and de-initialization functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * + IO operation functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * + Peripheral State and errors functions
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ==============================================================================
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### How to use this driver #####
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ==============================================================================
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) Enable and configure the peripheral to be connected to the DMA Channel
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (except for internal SRAM / FLASH memories: no initialization is
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** necessary). Please refer to the Reference manual for connection between peripherals
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** and DMA requests.
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) For a given Channel, program the required configuration through the following parameters:
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Channel request, Transfer Direction, Source and Destination data formats,
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Circular or Normal mode, Channel Priority level, Source and Destination Increment mode
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** using HAL_DMA_Init() function.
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 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
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** detection.
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) Use HAL_DMA_Abort() function to abort the current transfer
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** -@- In Memory-to-Memory transfer mode, Circular mode is not allowed.
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *** Polling mode IO operation ***
- ARM GAS /tmp/ccQjIBHa.s page 2
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** =================================
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_Start() to start DMA transfer after the configuration of Source
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** address and destination address and the Length of data to be transferred
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_PollForTransfer() to poll for the end of current transfer, in this
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case a fixed Timeout can be configured by User depending from his application.
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *** Interrupt mode IO operation ***
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===================================
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Configure the DMA interrupt priority using HAL_NVIC_SetPriority()
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Enable the DMA IRQ handler using HAL_NVIC_EnableIRQ()
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_Start_IT() to start DMA transfer after the configuration of
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Source address and destination address and the Length of data to be transferred.
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** In this case the DMA interrupt is configured
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_IRQHandler() called under DMA_IRQHandler() Interrupt subroutine
- 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
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** add his own function by customization of function pointer XferCpltCallback and
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** XferErrorCallback (i.e. a member of DMA handle structure).
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *** DMA HAL driver macros list ***
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** =============================================
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Below the list of most used macros in DMA HAL driver.
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_ENABLE: Enable the specified DMA Channel.
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_DISABLE: Disable the specified DMA Channel.
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_GET_FLAG: Get the DMA Channel pending flags.
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_CLEAR_FLAG: Clear the DMA Channel pending flags.
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_ENABLE_IT: Enable the specified DMA Channel interrupts.
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_DISABLE_IT: Disable the specified DMA Channel interrupts.
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_GET_IT_SOURCE: Check whether the specified DMA Channel interrupt has occurred
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (@) You can refer to the DMA HAL driver header file for more useful macros
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ******************************************************************************
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @attention
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * Copyright (c) 2016 STMicroelectronics.
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * All rights reserved.
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
- 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
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the root directory of this software component.
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ******************************************************************************
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Includes ------------------------------------------------------------------*/
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #include "stm32f1xx_hal.h"
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- ARM GAS /tmp/ccQjIBHa.s page 3
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA DMA
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief DMA HAL module driver
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #ifdef HAL_DMA_MODULE_ENABLED
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private typedef -----------------------------------------------------------*/
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private define ------------------------------------------------------------*/
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private macro -------------------------------------------------------------*/
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private variables ---------------------------------------------------------*/
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private function prototypes -----------------------------------------------*/
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Private_Functions DMA Private Functions
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Exported functions ---------------------------------------------------------*/
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions DMA Exported Functions
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group1 Initialization and de-initialization functions
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Initialization and de-initialization functions
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### Initialization and de-initialization functions #####
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** This section provides functions allowing to initialize the DMA Channel source
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** and destination addresses, incrementation and data sizes, transfer direction,
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** circular/normal mode selection, memory-to-memory mode selection and Channel priority value.
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** The HAL_DMA_Init() function follows the DMA configuration procedures as described in
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** reference manual.
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Initialize the DMA according to the specified
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * parameters in the DMA_InitTypeDef and initialize the associated handle.
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: Pointer to a DMA_HandleTypeDef structure that contains
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma)
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tmp = 0U;
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */
- ARM GAS /tmp/ccQjIBHa.s page 4
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma == NULL)
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance));
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction));
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc));
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc));
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment));
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment));
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode));
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority));
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #if defined (DMA2)
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* calculation of the channel index */
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if ((uint32_t)(hdma->Instance) < (uint32_t)(DMA2_Channel1))
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Ch
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA2 */
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA2_Channel1) / ((uint32_t)DMA2_Ch
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #else
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Chan
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change DMA peripheral state */
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Get the CR register value */
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tmp = hdma->Instance->CCR;
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear PL, MSIZE, PSIZE, MINC, PINC, CIRC and DIR bits */
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tmp &= ((uint32_t)~(DMA_CCR_PL | DMA_CCR_MSIZE | DMA_CCR_PSIZE | \
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_DIR));
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Prepare the DMA Channel configuration */
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tmp |= hdma->Init.Direction |
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Write to DMA Channel CR register */
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CCR = tmp;
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Initialise the error code */
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
- ARM GAS /tmp/ccQjIBHa.s page 5
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Initialize the DMA state*/
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Allocate lock resource and initialize it */
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Lock = HAL_UNLOCKED;
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_OK;
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief DeInitialize the DMA peripheral.
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma)
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma == NULL)
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance));
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the selected DMA Channelx */
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel control register */
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CCR = 0U;
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel Number of Data to Transfer register */
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CNDTR = 0U;
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel peripheral address register */
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CPAR = 0U;
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel memory address register */
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CMAR = 0U;
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #if defined (DMA2)
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* calculation of the channel index */
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if ((uint32_t)(hdma->Instance) < (uint32_t)(DMA2_Channel1))
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Ch
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA2 */
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA2_Channel1) / ((uint32_t)DMA2_Ch
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #else
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */
- ARM GAS /tmp/ccQjIBHa.s page 6
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Chan
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << (hdma->ChannelIndex));
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clean all callbacks */
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset the error code */
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset the DMA state */
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_RESET;
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Release Lock */
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_OK;
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group2 Input and Output operation functions
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Input and Output operation functions
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### IO operation functions #####
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..] This section provides functions allowing to:
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Configure the source, destination address and data length and Start DMA transfer
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Configure the source, destination address and data length and
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Start DMA transfer with interrupt
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Abort DMA transfer
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Poll for transfer complete
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Handle DMA interrupt request
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Start the DMA Transfer.
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- ARM GAS /tmp/ccQjIBHa.s page 7
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress,
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength));
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma);
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change DMA peripheral state */
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the peripheral */
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure the source, destination address and the data length & clear flags*/
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength);
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the Peripheral */
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE(hdma);
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Start the DMA Transfer with interrupt enabled.
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 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
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength));
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma);
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change DMA peripheral state */
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
- ARM GAS /tmp/ccQjIBHa.s page 8
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the peripheral */
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure the source, destination address and the data length & clear flags*/
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength);
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the transfer complete interrupt */
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the transfer Error interrupt */
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(NULL != hdma->XferHalfCpltCallback)
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the Half transfer complete interrupt as well */
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE));
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_HT);
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_TE));
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the Peripheral */
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE(hdma);
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Remain BUSY */
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Abort the DMA Transfer.
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma)
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->State != HAL_DMA_STATE_BUSY)
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* no transfer ongoing */
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- ARM GAS /tmp/ccQjIBHa.s page 9
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable DMA IT */
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE));
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the channel */
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex);
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Aborts the DMA Transfer in Interrupt mode.
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma)
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State)
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* no transfer ongoing */
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable DMA IT */
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE));
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the channel */
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_GI_FLAG_INDEX(hdma));
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Call User Abort callback */
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->XferAbortCallback != NULL)
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback(hdma);
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- ARM GAS /tmp/ccQjIBHa.s page 10
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Polling for transfer complete.
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param CompleteLevel: Specifies the DMA level complete.
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param Timeout: Timeout duration.
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, uint32_t CompleteLevel, uint32_t
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t temp;
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tickstart = 0U;
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State)
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* no transfer ongoing */
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Polling mode not supported in circular mode */
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if (RESET != (hdma->Instance->CCR & DMA_CCR_CIRC))
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NOT_SUPPORTED;
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Get the level transfer complete flag */
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(CompleteLevel == HAL_DMA_FULL_TRANSFER)
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer Complete flag */
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** temp = __HAL_DMA_GET_TC_FLAG_INDEX(hdma);
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Half Transfer Complete flag */
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** temp = __HAL_DMA_GET_HT_FLAG_INDEX(hdma);
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Get tick */
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tickstart = HAL_GetTick();
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** while(__HAL_DMA_GET_FLAG(hdma, temp) == RESET)
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((__HAL_DMA_GET_FLAG(hdma, __HAL_DMA_GET_TE_FLAG_INDEX(hdma)) != RESET))
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* When a DMA transfer error occurs */
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex);
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Update error code */
- ARM GAS /tmp/ccQjIBHa.s page 11
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** SET_BIT(hdma->ErrorCode, HAL_DMA_ERROR_TE);
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State= HAL_DMA_STATE_READY;
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check for the Timeout */
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(Timeout != HAL_MAX_DELAY)
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((Timeout == 0U) || ((HAL_GetTick() - tickstart) > Timeout))
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Update error code */
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** SET_BIT(hdma->ErrorCode, HAL_DMA_ERROR_TIMEOUT);
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(CompleteLevel == HAL_DMA_FULL_TRANSFER)
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the transfer complete flag */
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TC_FLAG_INDEX(hdma));
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* The selected Channelx EN bit is cleared (DMA is disabled and
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** all transfers are complete) */
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the half transfer complete flag */
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_HT_FLAG_INDEX(hdma));
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process unlocked */
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_OK;
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Handles DMA interrupt request.
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval None
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma)
- ARM GAS /tmp/ccQjIBHa.s page 12
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR;
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Half Transfer Complete Interrupt management ******************************/
- 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
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the half transfer interrupt if the DMA mode is not CIRCULAR */
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U)
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the half transfer interrupt */
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_HT);
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the half transfer complete flag */
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_HT_FLAG_INDEX(hdma));
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA peripheral state is not updated in Half Transfer */
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* but in Transfer Complete case */
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->XferHalfCpltCallback != NULL)
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Half transfer callback */
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback(hdma);
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer Complete Interrupt management ***********************************/
- 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)
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U)
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the transfer complete and error interrupt */
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_TE | DMA_IT_TC);
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the transfer complete flag */
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TC_FLAG_INDEX(hdma));
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->XferCpltCallback != NULL)
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer complete callback */
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback(hdma);
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer Error Interrupt management **************************************/
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else if (( RESET != (flag_it & (DMA_FLAG_TE1 << hdma->ChannelIndex))) && (RESET != (source_it & D
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* When a DMA transfer error occurs */
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable ALL DMA IT */
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE));
- ARM GAS /tmp/ccQjIBHa.s page 13
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex);
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Update error code */
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TE;
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if (hdma->XferErrorCallback != NULL)
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer error callback */
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback(hdma);
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return;
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Register callbacks
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param CallbackID: User Callback identifier
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter.
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param pCallback: pointer to private callback function which has pointer to
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * a DMA_HandleTypeDef structure as parameter.
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Callb
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma);
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** switch (CallbackID)
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID:
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = pCallback;
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID:
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = pCallback;
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID:
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = pCallback;
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID:
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = pCallback;
- ARM GAS /tmp/ccQjIBHa.s page 14
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** default:
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Release Lock */
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief UnRegister callbacks
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param CallbackID: User Callback identifier
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter.
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Cal
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma);
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** switch (CallbackID)
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID:
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID:
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID:
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID:
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ALL_CB_ID:
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
- ARM GAS /tmp/ccQjIBHa.s page 15
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** default:
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Release Lock */
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group3 Peripheral State and Errors functions
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Peripheral State and Errors functions
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### Peripheral State and Errors functions #####
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** This subsection provides functions allowing to
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Check the DMA state
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Get error code
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Return the DMA handle state.
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL state
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_DMA_StateTypeDef HAL_DMA_GetState(DMA_HandleTypeDef *hdma)
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Return DMA handle state */
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return hdma->State;
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Return the DMA error code.
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval DMA Error Code
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- ARM GAS /tmp/ccQjIBHa.s page 16
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma)
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return hdma->ErrorCode;
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @addtogroup DMA_Private_Functions
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Sets the DMA Transfer parameter.
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 27 .loc 1 858 1 view -0
- 28 .cfi_startproc
- 29 @ args = 0, pretend = 0, frame = 0
- 30 @ frame_needed = 0, uses_anonymous_args = 0
- 31 @ link register save eliminated.
- 32 .loc 1 858 1 is_stmt 0 view .LVU1
- 33 0000 30B4 push {r4, r5}
- 34 .LCFI0:
- 35 .cfi_def_cfa_offset 8
- 36 .cfi_offset 4, -8
- 37 .cfi_offset 5, -4
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex);
- 38 .loc 1 860 3 is_stmt 1 view .LVU2
- 39 .loc 1 860 46 is_stmt 0 view .LVU3
- 40 0002 0124 movs r4, #1
- 41 0004 056C ldr r5, [r0, #64]
- 42 0006 AC40 lsls r4, r4, r5
- 43 .loc 1 860 30 view .LVU4
- 44 0008 C56B ldr r5, [r0, #60]
- 45 000a 6C60 str r4, [r5, #4]
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel data length */
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CNDTR = DataLength;
- 46 .loc 1 863 3 is_stmt 1 view .LVU5
- 47 .loc 1 863 7 is_stmt 0 view .LVU6
- 48 000c 0468 ldr r4, [r0]
- 49 .loc 1 863 25 view .LVU7
- 50 000e 6360 str r3, [r4, #4]
- ARM GAS /tmp/ccQjIBHa.s page 17
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Memory to Peripheral */
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((hdma->Init.Direction) == DMA_MEMORY_TO_PERIPH)
- 51 .loc 1 866 3 is_stmt 1 view .LVU8
- 52 .loc 1 866 17 is_stmt 0 view .LVU9
- 53 0010 4368 ldr r3, [r0, #4]
- 54 .LVL1:
- 55 .loc 1 866 5 view .LVU10
- 56 0012 102B cmp r3, #16
- 57 0014 05D0 beq .L5
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel destination address */
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CPAR = DstAddress;
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel source address */
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CMAR = SrcAddress;
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Peripheral to Memory */
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel source address */
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CPAR = SrcAddress;
- 58 .loc 1 878 5 is_stmt 1 view .LVU11
- 59 .loc 1 878 9 is_stmt 0 view .LVU12
- 60 0016 0368 ldr r3, [r0]
- 61 .loc 1 878 26 view .LVU13
- 62 0018 9960 str r1, [r3, #8]
- 63 .LVL2:
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel destination address */
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CMAR = DstAddress;
- 64 .loc 1 881 5 is_stmt 1 view .LVU14
- 65 .loc 1 881 9 is_stmt 0 view .LVU15
- 66 001a 0368 ldr r3, [r0]
- 67 .loc 1 881 26 view .LVU16
- 68 001c DA60 str r2, [r3, #12]
- 69 .L1:
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 70 .loc 1 883 1 view .LVU17
- 71 001e 30BC pop {r4, r5}
- 72 .LCFI1:
- 73 .cfi_remember_state
- 74 .cfi_restore 5
- 75 .cfi_restore 4
- 76 .cfi_def_cfa_offset 0
- 77 0020 7047 bx lr
- 78 .LVL3:
- 79 .L5:
- 80 .LCFI2:
- 81 .cfi_restore_state
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 82 .loc 1 869 5 is_stmt 1 view .LVU18
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 83 .loc 1 869 9 is_stmt 0 view .LVU19
- 84 0022 0368 ldr r3, [r0]
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- ARM GAS /tmp/ccQjIBHa.s page 18
- 85 .loc 1 869 26 view .LVU20
- 86 0024 9A60 str r2, [r3, #8]
- 87 .LVL4:
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 88 .loc 1 872 5 is_stmt 1 view .LVU21
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 89 .loc 1 872 9 is_stmt 0 view .LVU22
- 90 0026 0368 ldr r3, [r0]
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 91 .loc 1 872 26 view .LVU23
- 92 0028 D960 str r1, [r3, #12]
- 93 002a F8E7 b .L1
- 94 .cfi_endproc
- 95 .LFE77:
- 97 .section .text.HAL_DMA_Init,"ax",%progbits
- 98 .align 1
- 99 .global HAL_DMA_Init
- 100 .syntax unified
- 101 .thumb
- 102 .thumb_func
- 104 HAL_DMA_Init:
- 105 .LVL5:
- 106 .LFB65:
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tmp = 0U;
- 107 .loc 1 143 1 is_stmt 1 view -0
- 108 .cfi_startproc
- 109 @ args = 0, pretend = 0, frame = 0
- 110 @ frame_needed = 0, uses_anonymous_args = 0
- 111 @ link register save eliminated.
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 112 .loc 1 144 3 view .LVU25
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 113 .loc 1 147 3 view .LVU26
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 114 .loc 1 147 5 is_stmt 0 view .LVU27
- 115 0000 60B3 cbz r0, .L8
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tmp = 0U;
- 116 .loc 1 143 1 view .LVU28
- 117 0002 10B4 push {r4}
- 118 .LCFI3:
- 119 .cfi_def_cfa_offset 4
- 120 .cfi_offset 4, -4
- 121 0004 0246 mov r2, r0
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction));
- 122 .loc 1 153 3 is_stmt 1 view .LVU29
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc));
- 123 .loc 1 154 3 view .LVU30
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc));
- 124 .loc 1 155 3 view .LVU31
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment));
- 125 .loc 1 156 3 view .LVU32
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment));
- 126 .loc 1 157 3 view .LVU33
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode));
- 127 .loc 1 158 3 view .LVU34
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority));
- 128 .loc 1 159 3 view .LVU35
- ARM GAS /tmp/ccQjIBHa.s page 19
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 129 .loc 1 160 3 view .LVU36
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 130 .loc 1 178 3 view .LVU37
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 131 .loc 1 178 40 is_stmt 0 view .LVU38
- 132 0006 0168 ldr r1, [r0]
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 133 .loc 1 178 51 view .LVU39
- 134 0008 154B ldr r3, .L13
- 135 000a 0B44 add r3, r3, r1
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 136 .loc 1 178 78 view .LVU40
- 137 000c 1548 ldr r0, .L13+4
- 138 .LVL6:
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 139 .loc 1 178 78 view .LVU41
- 140 000e A0FB0303 umull r0, r3, r0, r3
- 141 0012 1B09 lsrs r3, r3, #4
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 142 .loc 1 178 133 view .LVU42
- 143 0014 9B00 lsls r3, r3, #2
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 144 .loc 1 178 22 view .LVU43
- 145 0016 1364 str r3, [r2, #64]
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */
- 146 .loc 1 179 3 is_stmt 1 view .LVU44
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */
- 147 .loc 1 179 24 is_stmt 0 view .LVU45
- 148 0018 134B ldr r3, .L13+8
- 149 001a D363 str r3, [r2, #60]
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 150 .loc 1 183 3 is_stmt 1 view .LVU46
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 151 .loc 1 183 15 is_stmt 0 view .LVU47
- 152 001c 0223 movs r3, #2
- 153 001e 82F82130 strb r3, [r2, #33]
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 154 .loc 1 186 3 is_stmt 1 view .LVU48
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 155 .loc 1 186 7 is_stmt 0 view .LVU49
- 156 0022 0868 ldr r0, [r1]
- 157 .LVL7:
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \
- 158 .loc 1 189 3 is_stmt 1 view .LVU50
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \
- 159 .loc 1 189 7 is_stmt 0 view .LVU51
- 160 0024 20F47F50 bic r0, r0, #16320
- 161 .LVL8:
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \
- 162 .loc 1 189 7 view .LVU52
- 163 0028 20F03000 bic r0, r0, #48
- 164 .LVL9:
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
- 165 .loc 1 194 3 is_stmt 1 view .LVU53
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
- 166 .loc 1 194 21 is_stmt 0 view .LVU54
- ARM GAS /tmp/ccQjIBHa.s page 20
- 167 002c 5368 ldr r3, [r2, #4]
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
- 168 .loc 1 194 39 view .LVU55
- 169 002e 9468 ldr r4, [r2, #8]
- 170 0030 2343 orrs r3, r3, r4
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
- 171 .loc 1 195 42 view .LVU56
- 172 0032 D468 ldr r4, [r2, #12]
- 173 0034 2343 orrs r3, r3, r4
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
- 174 .loc 1 195 72 view .LVU57
- 175 0036 1469 ldr r4, [r2, #16]
- 176 0038 2343 orrs r3, r3, r4
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
- 177 .loc 1 196 42 view .LVU58
- 178 003a 5469 ldr r4, [r2, #20]
- 179 003c 2343 orrs r3, r3, r4
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
- 180 .loc 1 196 72 view .LVU59
- 181 003e 9469 ldr r4, [r2, #24]
- 182 0040 2343 orrs r3, r3, r4
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 183 .loc 1 197 42 view .LVU60
- 184 0042 D469 ldr r4, [r2, #28]
- 185 0044 2343 orrs r3, r3, r4
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
- 186 .loc 1 194 7 view .LVU61
- 187 0046 0343 orrs r3, r3, r0
- 188 .LVL10:
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 189 .loc 1 200 3 is_stmt 1 view .LVU62
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 190 .loc 1 200 23 is_stmt 0 view .LVU63
- 191 0048 0B60 str r3, [r1]
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 192 .loc 1 203 3 is_stmt 1 view .LVU64
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 193 .loc 1 203 19 is_stmt 0 view .LVU65
- 194 004a 0020 movs r0, #0
- 195 004c 9063 str r0, [r2, #56]
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Allocate lock resource and initialize it */
- 196 .loc 1 206 3 is_stmt 1 view .LVU66
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Allocate lock resource and initialize it */
- 197 .loc 1 206 15 is_stmt 0 view .LVU67
- 198 004e 0123 movs r3, #1
- 199 .LVL11:
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Allocate lock resource and initialize it */
- 200 .loc 1 206 15 view .LVU68
- 201 0050 82F82130 strb r3, [r2, #33]
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 202 .loc 1 208 3 is_stmt 1 view .LVU69
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 203 .loc 1 208 14 is_stmt 0 view .LVU70
- 204 0054 82F82000 strb r0, [r2, #32]
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 205 .loc 1 210 3 is_stmt 1 view .LVU71
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- ARM GAS /tmp/ccQjIBHa.s page 21
- 206 .loc 1 211 1 is_stmt 0 view .LVU72
- 207 0058 10BC pop {r4}
- 208 .LCFI4:
- 209 .cfi_restore 4
- 210 .cfi_def_cfa_offset 0
- 211 005a 7047 bx lr
- 212 .LVL12:
- 213 .L8:
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 214 .loc 1 149 12 view .LVU73
- 215 005c 0120 movs r0, #1
- 216 .LVL13:
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 217 .loc 1 211 1 view .LVU74
- 218 005e 7047 bx lr
- 219 .L14:
- 220 .align 2
- 221 .L13:
- 222 0060 F8FFFDBF .word -1073872904
- 223 0064 CDCCCCCC .word -858993459
- 224 0068 00000240 .word 1073872896
- 225 .cfi_endproc
- 226 .LFE65:
- 228 .section .text.HAL_DMA_DeInit,"ax",%progbits
- 229 .align 1
- 230 .global HAL_DMA_DeInit
- 231 .syntax unified
- 232 .thumb
- 233 .thumb_func
- 235 HAL_DMA_DeInit:
- 236 .LVL14:
- 237 .LFB66:
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */
- 238 .loc 1 220 1 is_stmt 1 view -0
- 239 .cfi_startproc
- 240 @ args = 0, pretend = 0, frame = 0
- 241 @ frame_needed = 0, uses_anonymous_args = 0
- 242 @ link register save eliminated.
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 243 .loc 1 222 3 view .LVU76
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 244 .loc 1 222 5 is_stmt 0 view .LVU77
- 245 0000 0028 cmp r0, #0
- 246 0002 29D0 beq .L17
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */
- 247 .loc 1 220 1 view .LVU78
- 248 0004 10B4 push {r4}
- 249 .LCFI5:
- 250 .cfi_def_cfa_offset 4
- 251 .cfi_offset 4, -4
- 252 0006 0346 mov r3, r0
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 253 .loc 1 228 3 is_stmt 1 view .LVU79
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 254 .loc 1 231 3 view .LVU80
- 255 0008 0168 ldr r1, [r0]
- 256 000a 0A68 ldr r2, [r1]
- ARM GAS /tmp/ccQjIBHa.s page 22
- 257 000c 22F00102 bic r2, r2, #1
- 258 0010 0A60 str r2, [r1]
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 259 .loc 1 234 3 view .LVU81
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 260 .loc 1 234 7 is_stmt 0 view .LVU82
- 261 0012 0268 ldr r2, [r0]
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 262 .loc 1 234 24 view .LVU83
- 263 0014 0020 movs r0, #0
- 264 .LVL15:
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 265 .loc 1 234 24 view .LVU84
- 266 0016 1060 str r0, [r2]
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 267 .loc 1 237 3 is_stmt 1 view .LVU85
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 268 .loc 1 237 7 is_stmt 0 view .LVU86
- 269 0018 1A68 ldr r2, [r3]
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 270 .loc 1 237 25 view .LVU87
- 271 001a 5060 str r0, [r2, #4]
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 272 .loc 1 240 3 is_stmt 1 view .LVU88
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 273 .loc 1 240 7 is_stmt 0 view .LVU89
- 274 001c 1A68 ldr r2, [r3]
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 275 .loc 1 240 25 view .LVU90
- 276 001e 9060 str r0, [r2, #8]
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 277 .loc 1 243 3 is_stmt 1 view .LVU91
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 278 .loc 1 243 7 is_stmt 0 view .LVU92
- 279 0020 1A68 ldr r2, [r3]
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 280 .loc 1 243 24 view .LVU93
- 281 0022 D060 str r0, [r2, #12]
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 282 .loc 1 261 3 is_stmt 1 view .LVU94
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 283 .loc 1 261 40 is_stmt 0 view .LVU95
- 284 0024 1968 ldr r1, [r3]
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 285 .loc 1 261 51 view .LVU96
- 286 0026 0D4A ldr r2, .L22
- 287 0028 0A44 add r2, r2, r1
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 288 .loc 1 261 78 view .LVU97
- 289 002a 0D49 ldr r1, .L22+4
- 290 002c A1FB0212 umull r1, r2, r1, r2
- 291 0030 1209 lsrs r2, r2, #4
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 292 .loc 1 261 133 view .LVU98
- 293 0032 9200 lsls r2, r2, #2
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 294 .loc 1 261 22 view .LVU99
- ARM GAS /tmp/ccQjIBHa.s page 23
- 295 0034 1A64 str r2, [r3, #64]
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */
- 296 .loc 1 262 3 is_stmt 1 view .LVU100
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */
- 297 .loc 1 262 24 is_stmt 0 view .LVU101
- 298 0036 0B4C ldr r4, .L22+8
- 299 0038 DC63 str r4, [r3, #60]
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 300 .loc 1 266 3 is_stmt 1 view .LVU102
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 301 .loc 1 266 46 is_stmt 0 view .LVU103
- 302 003a 0121 movs r1, #1
- 303 003c 01FA02F2 lsl r2, r1, r2
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 304 .loc 1 266 30 view .LVU104
- 305 0040 6260 str r2, [r4, #4]
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
- 306 .loc 1 269 3 is_stmt 1 view .LVU105
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
- 307 .loc 1 269 26 is_stmt 0 view .LVU106
- 308 0042 9862 str r0, [r3, #40]
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
- 309 .loc 1 270 3 is_stmt 1 view .LVU107
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
- 310 .loc 1 270 30 is_stmt 0 view .LVU108
- 311 0044 D862 str r0, [r3, #44]
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
- 312 .loc 1 271 3 is_stmt 1 view .LVU109
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
- 313 .loc 1 271 27 is_stmt 0 view .LVU110
- 314 0046 1863 str r0, [r3, #48]
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 315 .loc 1 272 3 is_stmt 1 view .LVU111
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 316 .loc 1 272 27 is_stmt 0 view .LVU112
- 317 0048 5863 str r0, [r3, #52]
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 318 .loc 1 275 3 is_stmt 1 view .LVU113
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 319 .loc 1 275 19 is_stmt 0 view .LVU114
- 320 004a 9863 str r0, [r3, #56]
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 321 .loc 1 278 3 is_stmt 1 view .LVU115
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 322 .loc 1 278 15 is_stmt 0 view .LVU116
- 323 004c 83F82100 strb r0, [r3, #33]
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 324 .loc 1 281 3 is_stmt 1 view .LVU117
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 325 .loc 1 281 3 view .LVU118
- 326 0050 83F82000 strb r0, [r3, #32]
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 327 .loc 1 281 3 view .LVU119
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 328 .loc 1 283 3 view .LVU120
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 329 .loc 1 284 1 is_stmt 0 view .LVU121
- ARM GAS /tmp/ccQjIBHa.s page 24
- 330 0054 10BC pop {r4}
- 331 .LCFI6:
- 332 .cfi_restore 4
- 333 .cfi_def_cfa_offset 0
- 334 0056 7047 bx lr
- 335 .LVL16:
- 336 .L17:
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 337 .loc 1 224 12 view .LVU122
- 338 0058 0120 movs r0, #1
- 339 .LVL17:
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 340 .loc 1 284 1 view .LVU123
- 341 005a 7047 bx lr
- 342 .L23:
- 343 .align 2
- 344 .L22:
- 345 005c F8FFFDBF .word -1073872904
- 346 0060 CDCCCCCC .word -858993459
- 347 0064 00000240 .word 1073872896
- 348 .cfi_endproc
- 349 .LFE66:
- 351 .section .text.HAL_DMA_Start,"ax",%progbits
- 352 .align 1
- 353 .global HAL_DMA_Start
- 354 .syntax unified
- 355 .thumb
- 356 .thumb_func
- 358 HAL_DMA_Start:
- 359 .LVL18:
- 360 .LFB67:
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 361 .loc 1 319 1 is_stmt 1 view -0
- 362 .cfi_startproc
- 363 @ args = 0, pretend = 0, frame = 0
- 364 @ frame_needed = 0, uses_anonymous_args = 0
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 365 .loc 1 319 1 is_stmt 0 view .LVU125
- 366 0000 70B5 push {r4, r5, r6, lr}
- 367 .LCFI7:
- 368 .cfi_def_cfa_offset 16
- 369 .cfi_offset 4, -16
- 370 .cfi_offset 5, -12
- 371 .cfi_offset 6, -8
- 372 .cfi_offset 14, -4
- 373 0002 0446 mov r4, r0
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 374 .loc 1 320 3 is_stmt 1 view .LVU126
- 375 .LVL19:
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 376 .loc 1 323 3 view .LVU127
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 377 .loc 1 326 3 view .LVU128
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 378 .loc 1 326 3 view .LVU129
- 379 0004 90F82000 ldrb r0, [r0, #32] @ zero_extendqisi2
- 380 .LVL20:
- ARM GAS /tmp/ccQjIBHa.s page 25
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 381 .loc 1 326 3 is_stmt 0 view .LVU130
- 382 0008 0128 cmp r0, #1
- 383 000a 20D0 beq .L27
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 384 .loc 1 326 3 is_stmt 1 discriminator 2 view .LVU131
- 385 000c 0120 movs r0, #1
- 386 000e 84F82000 strb r0, [r4, #32]
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 387 .loc 1 326 3 discriminator 2 view .LVU132
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 388 .loc 1 328 3 discriminator 2 view .LVU133
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 389 .loc 1 328 33 is_stmt 0 discriminator 2 view .LVU134
- 390 0012 94F82100 ldrb r0, [r4, #33] @ zero_extendqisi2
- 391 0016 C0B2 uxtb r0, r0
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 392 .loc 1 328 5 discriminator 2 view .LVU135
- 393 0018 0128 cmp r0, #1
- 394 001a 04D0 beq .L29
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
- 395 .loc 1 346 4 is_stmt 1 view .LVU136
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
- 396 .loc 1 346 4 view .LVU137
- 397 001c 0023 movs r3, #0
- 398 .LVL21:
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
- 399 .loc 1 346 4 is_stmt 0 view .LVU138
- 400 001e 84F82030 strb r3, [r4, #32]
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
- 401 .loc 1 346 4 is_stmt 1 view .LVU139
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 402 .loc 1 347 4 view .LVU140
- 403 .LVL22:
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 404 .loc 1 347 11 is_stmt 0 view .LVU141
- 405 0022 0220 movs r0, #2
- 406 .LVL23:
- 407 .L25:
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 408 .loc 1 350 1 view .LVU142
- 409 0024 70BD pop {r4, r5, r6, pc}
- 410 .LVL24:
- 411 .L29:
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
- 412 .loc 1 331 5 is_stmt 1 view .LVU143
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
- 413 .loc 1 331 17 is_stmt 0 view .LVU144
- 414 0026 0220 movs r0, #2
- 415 0028 84F82100 strb r0, [r4, #33]
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 416 .loc 1 332 5 is_stmt 1 view .LVU145
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 417 .loc 1 332 21 is_stmt 0 view .LVU146
- 418 002c 0025 movs r5, #0
- 419 002e A563 str r5, [r4, #56]
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- ARM GAS /tmp/ccQjIBHa.s page 26
- 420 .loc 1 335 5 is_stmt 1 view .LVU147
- 421 0030 2668 ldr r6, [r4]
- 422 0032 3068 ldr r0, [r6]
- 423 0034 20F00100 bic r0, r0, #1
- 424 0038 3060 str r0, [r6]
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 425 .loc 1 338 5 view .LVU148
- 426 003a 2046 mov r0, r4
- 427 003c FFF7FEFF bl DMA_SetConfig
- 428 .LVL25:
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 429 .loc 1 341 5 view .LVU149
- 430 0040 2268 ldr r2, [r4]
- 431 0042 1368 ldr r3, [r2]
- 432 0044 43F00103 orr r3, r3, #1
- 433 0048 1360 str r3, [r2]
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 434 .loc 1 320 21 is_stmt 0 view .LVU150
- 435 004a 2846 mov r0, r5
- 436 004c EAE7 b .L25
- 437 .LVL26:
- 438 .L27:
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 439 .loc 1 326 3 view .LVU151
- 440 004e 0220 movs r0, #2
- 441 0050 E8E7 b .L25
- 442 .cfi_endproc
- 443 .LFE67:
- 445 .section .text.HAL_DMA_Start_IT,"ax",%progbits
- 446 .align 1
- 447 .global HAL_DMA_Start_IT
- 448 .syntax unified
- 449 .thumb
- 450 .thumb_func
- 452 HAL_DMA_Start_IT:
- 453 .LVL27:
- 454 .LFB68:
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 455 .loc 1 362 1 is_stmt 1 view -0
- 456 .cfi_startproc
- 457 @ args = 0, pretend = 0, frame = 0
- 458 @ frame_needed = 0, uses_anonymous_args = 0
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 459 .loc 1 362 1 is_stmt 0 view .LVU153
- 460 0000 38B5 push {r3, r4, r5, lr}
- 461 .LCFI8:
- 462 .cfi_def_cfa_offset 16
- 463 .cfi_offset 3, -16
- 464 .cfi_offset 4, -12
- 465 .cfi_offset 5, -8
- 466 .cfi_offset 14, -4
- 467 0002 0446 mov r4, r0
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 468 .loc 1 363 3 is_stmt 1 view .LVU154
- 469 .LVL28:
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 470 .loc 1 366 3 view .LVU155
- ARM GAS /tmp/ccQjIBHa.s page 27
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 471 .loc 1 369 3 view .LVU156
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 472 .loc 1 369 3 view .LVU157
- 473 0004 90F82000 ldrb r0, [r0, #32] @ zero_extendqisi2
- 474 .LVL29:
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 475 .loc 1 369 3 is_stmt 0 view .LVU158
- 476 0008 0128 cmp r0, #1
- 477 000a 32D0 beq .L35
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 478 .loc 1 369 3 is_stmt 1 discriminator 2 view .LVU159
- 479 000c 0120 movs r0, #1
- 480 000e 84F82000 strb r0, [r4, #32]
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 481 .loc 1 369 3 discriminator 2 view .LVU160
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 482 .loc 1 371 3 discriminator 2 view .LVU161
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 483 .loc 1 371 33 is_stmt 0 discriminator 2 view .LVU162
- 484 0012 94F82100 ldrb r0, [r4, #33] @ zero_extendqisi2
- 485 0016 C0B2 uxtb r0, r0
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 486 .loc 1 371 5 discriminator 2 view .LVU163
- 487 0018 0128 cmp r0, #1
- 488 001a 04D0 beq .L37
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 489 .loc 1 401 5 is_stmt 1 view .LVU164
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 490 .loc 1 401 5 view .LVU165
- 491 001c 0023 movs r3, #0
- 492 .LVL30:
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 493 .loc 1 401 5 is_stmt 0 view .LVU166
- 494 001e 84F82030 strb r3, [r4, #32]
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 495 .loc 1 401 5 is_stmt 1 view .LVU167
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 496 .loc 1 404 5 view .LVU168
- 497 .LVL31:
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 498 .loc 1 404 12 is_stmt 0 view .LVU169
- 499 0022 0220 movs r0, #2
- 500 .LVL32:
- 501 .L31:
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 502 .loc 1 407 1 view .LVU170
- 503 0024 38BD pop {r3, r4, r5, pc}
- 504 .LVL33:
- 505 .L37:
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
- 506 .loc 1 374 5 is_stmt 1 view .LVU171
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
- 507 .loc 1 374 17 is_stmt 0 view .LVU172
- 508 0026 0220 movs r0, #2
- 509 0028 84F82100 strb r0, [r4, #33]
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- ARM GAS /tmp/ccQjIBHa.s page 28
- 510 .loc 1 375 5 is_stmt 1 view .LVU173
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 511 .loc 1 375 21 is_stmt 0 view .LVU174
- 512 002c 0020 movs r0, #0
- 513 002e A063 str r0, [r4, #56]
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 514 .loc 1 378 5 is_stmt 1 view .LVU175
- 515 0030 2568 ldr r5, [r4]
- 516 0032 2868 ldr r0, [r5]
- 517 0034 20F00100 bic r0, r0, #1
- 518 0038 2860 str r0, [r5]
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 519 .loc 1 381 5 view .LVU176
- 520 003a 2046 mov r0, r4
- 521 003c FFF7FEFF bl DMA_SetConfig
- 522 .LVL34:
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 523 .loc 1 385 5 view .LVU177
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 524 .loc 1 385 20 is_stmt 0 view .LVU178
- 525 0040 E36A ldr r3, [r4, #44]
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 526 .loc 1 385 7 view .LVU179
- 527 0042 5BB1 cbz r3, .L33
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 528 .loc 1 388 7 is_stmt 1 view .LVU180
- 529 0044 2268 ldr r2, [r4]
- 530 0046 1368 ldr r3, [r2]
- 531 0048 43F00E03 orr r3, r3, #14
- 532 004c 1360 str r3, [r2]
- 533 .L34:
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 534 .loc 1 396 5 view .LVU181
- 535 004e 2268 ldr r2, [r4]
- 536 0050 1368 ldr r3, [r2]
- 537 0052 43F00103 orr r3, r3, #1
- 538 0056 1360 str r3, [r2]
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 539 .loc 1 363 21 is_stmt 0 view .LVU182
- 540 0058 0020 movs r0, #0
- 541 005a E3E7 b .L31
- 542 .L33:
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_TE));
- 543 .loc 1 392 7 is_stmt 1 view .LVU183
- 544 005c 2268 ldr r2, [r4]
- 545 005e 1368 ldr r3, [r2]
- 546 0060 23F00403 bic r3, r3, #4
- 547 0064 1360 str r3, [r2]
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 548 .loc 1 393 7 view .LVU184
- 549 0066 2268 ldr r2, [r4]
- 550 0068 1368 ldr r3, [r2]
- 551 006a 43F00A03 orr r3, r3, #10
- 552 006e 1360 str r3, [r2]
- 553 0070 EDE7 b .L34
- 554 .LVL35:
- 555 .L35:
- ARM GAS /tmp/ccQjIBHa.s page 29
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 556 .loc 1 369 3 is_stmt 0 view .LVU185
- 557 0072 0220 movs r0, #2
- 558 0074 D6E7 b .L31
- 559 .cfi_endproc
- 560 .LFE68:
- 562 .section .text.HAL_DMA_Abort,"ax",%progbits
- 563 .align 1
- 564 .global HAL_DMA_Abort
- 565 .syntax unified
- 566 .thumb
- 567 .thumb_func
- 569 HAL_DMA_Abort:
- 570 .LVL36:
- 571 .LFB69:
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 572 .loc 1 416 1 is_stmt 1 view -0
- 573 .cfi_startproc
- 574 @ args = 0, pretend = 0, frame = 0
- 575 @ frame_needed = 0, uses_anonymous_args = 0
- 576 @ link register save eliminated.
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 577 .loc 1 417 3 view .LVU187
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 578 .loc 1 419 3 view .LVU188
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 579 .loc 1 419 10 is_stmt 0 view .LVU189
- 580 0000 90F82130 ldrb r3, [r0, #33] @ zero_extendqisi2
- 581 0004 DBB2 uxtb r3, r3
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 582 .loc 1 419 5 view .LVU190
- 583 0006 022B cmp r3, #2
- 584 0008 06D0 beq .L39
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 585 .loc 1 422 5 is_stmt 1 view .LVU191
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 586 .loc 1 422 21 is_stmt 0 view .LVU192
- 587 000a 0423 movs r3, #4
- 588 000c 8363 str r3, [r0, #56]
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 589 .loc 1 425 5 is_stmt 1 view .LVU193
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 590 .loc 1 425 5 view .LVU194
- 591 000e 0023 movs r3, #0
- 592 0010 80F82030 strb r3, [r0, #32]
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 593 .loc 1 425 5 view .LVU195
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 594 .loc 1 427 5 view .LVU196
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 595 .loc 1 427 12 is_stmt 0 view .LVU197
- 596 0014 0120 movs r0, #1
- 597 .LVL37:
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 598 .loc 1 427 12 view .LVU198
- 599 0016 7047 bx lr
- 600 .LVL38:
- ARM GAS /tmp/ccQjIBHa.s page 30
- 601 .L39:
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 602 .loc 1 433 5 is_stmt 1 view .LVU199
- 603 0018 0268 ldr r2, [r0]
- 604 001a 1368 ldr r3, [r2]
- 605 001c 23F00E03 bic r3, r3, #14
- 606 0020 1360 str r3, [r2]
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 607 .loc 1 436 5 view .LVU200
- 608 0022 0268 ldr r2, [r0]
- 609 0024 1368 ldr r3, [r2]
- 610 0026 23F00103 bic r3, r3, #1
- 611 002a 1360 str r3, [r2]
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 612 .loc 1 439 5 view .LVU201
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 613 .loc 1 439 55 is_stmt 0 view .LVU202
- 614 002c 036C ldr r3, [r0, #64]
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 615 .loc 1 439 9 view .LVU203
- 616 002e C16B ldr r1, [r0, #60]
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 617 .loc 1 439 48 view .LVU204
- 618 0030 0122 movs r2, #1
- 619 0032 02FA03F3 lsl r3, r2, r3
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 620 .loc 1 439 32 view .LVU205
- 621 0036 4B60 str r3, [r1, #4]
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 622 .loc 1 442 3 is_stmt 1 view .LVU206
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 623 .loc 1 442 15 is_stmt 0 view .LVU207
- 624 0038 80F82120 strb r2, [r0, #33]
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 625 .loc 1 445 3 is_stmt 1 view .LVU208
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 626 .loc 1 445 3 view .LVU209
- 627 003c 0023 movs r3, #0
- 628 003e 80F82030 strb r3, [r0, #32]
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 629 .loc 1 445 3 view .LVU210
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 630 .loc 1 447 3 view .LVU211
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 631 .loc 1 447 10 is_stmt 0 view .LVU212
- 632 0042 1846 mov r0, r3
- 633 .LVL39:
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 634 .loc 1 448 1 view .LVU213
- 635 0044 7047 bx lr
- 636 .cfi_endproc
- 637 .LFE69:
- 639 .section .text.HAL_DMA_Abort_IT,"ax",%progbits
- 640 .align 1
- 641 .global HAL_DMA_Abort_IT
- 642 .syntax unified
- 643 .thumb
- ARM GAS /tmp/ccQjIBHa.s page 31
- 644 .thumb_func
- 646 HAL_DMA_Abort_IT:
- 647 .LVL40:
- 648 .LFB70:
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 649 .loc 1 457 1 is_stmt 1 view -0
- 650 .cfi_startproc
- 651 @ args = 0, pretend = 0, frame = 0
- 652 @ frame_needed = 0, uses_anonymous_args = 0
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 653 .loc 1 457 1 is_stmt 0 view .LVU215
- 654 0000 08B5 push {r3, lr}
- 655 .LCFI9:
- 656 .cfi_def_cfa_offset 8
- 657 .cfi_offset 3, -8
- 658 .cfi_offset 14, -4
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 659 .loc 1 458 3 is_stmt 1 view .LVU216
- 660 .LVL41:
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 661 .loc 1 460 3 view .LVU217
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 662 .loc 1 460 32 is_stmt 0 view .LVU218
- 663 0002 90F82130 ldrb r3, [r0, #33] @ zero_extendqisi2
- 664 0006 DBB2 uxtb r3, r3
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 665 .loc 1 460 5 view .LVU219
- 666 0008 022B cmp r3, #2
- 667 000a 03D0 beq .L42
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 668 .loc 1 463 5 is_stmt 1 view .LVU220
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 669 .loc 1 463 21 is_stmt 0 view .LVU221
- 670 000c 0423 movs r3, #4
- 671 000e 8363 str r3, [r0, #56]
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 672 .loc 1 465 5 is_stmt 1 view .LVU222
- 673 .LVL42:
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 674 .loc 1 465 12 is_stmt 0 view .LVU223
- 675 0010 0120 movs r0, #1
- 676 .LVL43:
- 677 .L43:
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 678 .loc 1 490 3 is_stmt 1 view .LVU224
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 679 .loc 1 491 1 is_stmt 0 view .LVU225
- 680 0012 08BD pop {r3, pc}
- 681 .LVL44:
- 682 .L42:
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 683 .loc 1 470 5 is_stmt 1 view .LVU226
- 684 0014 0268 ldr r2, [r0]
- 685 0016 1368 ldr r3, [r2]
- 686 0018 23F00E03 bic r3, r3, #14
- 687 001c 1360 str r3, [r2]
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- ARM GAS /tmp/ccQjIBHa.s page 32
- 688 .loc 1 473 5 view .LVU227
- 689 001e 0268 ldr r2, [r0]
- 690 0020 1368 ldr r3, [r2]
- 691 0022 23F00103 bic r3, r3, #1
- 692 0026 1360 str r3, [r2]
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 693 .loc 1 476 5 view .LVU228
- 694 0028 0368 ldr r3, [r0]
- 695 002a 194A ldr r2, .L54
- 696 002c 9342 cmp r3, r2
- 697 002e 14D0 beq .L45
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 698 .loc 1 476 5 is_stmt 0 discriminator 1 view .LVU229
- 699 0030 1432 adds r2, r2, #20
- 700 0032 9342 cmp r3, r2
- 701 0034 1FD0 beq .L46
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 702 .loc 1 476 5 discriminator 3 view .LVU230
- 703 0036 1432 adds r2, r2, #20
- 704 0038 9342 cmp r3, r2
- 705 003a 1ED0 beq .L47
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 706 .loc 1 476 5 discriminator 5 view .LVU231
- 707 003c 1432 adds r2, r2, #20
- 708 003e 9342 cmp r3, r2
- 709 0040 1ED0 beq .L48
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 710 .loc 1 476 5 discriminator 7 view .LVU232
- 711 0042 1432 adds r2, r2, #20
- 712 0044 9342 cmp r3, r2
- 713 0046 1ED0 beq .L49
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 714 .loc 1 476 5 discriminator 9 view .LVU233
- 715 0048 1432 adds r2, r2, #20
- 716 004a 9342 cmp r3, r2
- 717 004c 02D0 beq .L53
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 718 .loc 1 476 5 view .LVU234
- 719 004e 4FF08072 mov r2, #16777216
- 720 0052 03E0 b .L44
- 721 .L53:
- 722 0054 4FF48012 mov r2, #1048576
- 723 0058 00E0 b .L44
- 724 .L45:
- 725 005a 0122 movs r2, #1
- 726 .L44:
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 727 .loc 1 476 5 discriminator 24 view .LVU235
- 728 005c 0D4B ldr r3, .L54+4
- 729 005e 5A60 str r2, [r3, #4]
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 730 .loc 1 479 5 is_stmt 1 discriminator 24 view .LVU236
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 731 .loc 1 479 17 is_stmt 0 discriminator 24 view .LVU237
- 732 0060 0123 movs r3, #1
- 733 0062 80F82130 strb r3, [r0, #33]
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- ARM GAS /tmp/ccQjIBHa.s page 33
- 734 .loc 1 482 5 is_stmt 1 discriminator 24 view .LVU238
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 735 .loc 1 482 5 discriminator 24 view .LVU239
- 736 0066 0023 movs r3, #0
- 737 0068 80F82030 strb r3, [r0, #32]
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 738 .loc 1 482 5 discriminator 24 view .LVU240
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 739 .loc 1 485 5 discriminator 24 view .LVU241
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 740 .loc 1 485 12 is_stmt 0 discriminator 24 view .LVU242
- 741 006c 436B ldr r3, [r0, #52]
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 742 .loc 1 485 7 discriminator 24 view .LVU243
- 743 006e 6BB1 cbz r3, .L51
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 744 .loc 1 487 7 is_stmt 1 view .LVU244
- 745 0070 9847 blx r3
- 746 .LVL45:
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 747 .loc 1 458 21 is_stmt 0 view .LVU245
- 748 0072 0020 movs r0, #0
- 749 0074 CDE7 b .L43
- 750 .LVL46:
- 751 .L46:
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 752 .loc 1 476 5 view .LVU246
- 753 0076 1022 movs r2, #16
- 754 0078 F0E7 b .L44
- 755 .L47:
- 756 007a 4FF48072 mov r2, #256
- 757 007e EDE7 b .L44
- 758 .L48:
- 759 0080 4FF48052 mov r2, #4096
- 760 0084 EAE7 b .L44
- 761 .L49:
- 762 0086 4FF48032 mov r2, #65536
- 763 008a E7E7 b .L44
- 764 .L51:
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 765 .loc 1 458 21 view .LVU247
- 766 008c 0020 movs r0, #0
- 767 .LVL47:
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 768 .loc 1 458 21 view .LVU248
- 769 008e C0E7 b .L43
- 770 .L55:
- 771 .align 2
- 772 .L54:
- 773 0090 08000240 .word 1073872904
- 774 0094 00000240 .word 1073872896
- 775 .cfi_endproc
- 776 .LFE70:
- 778 .section .text.HAL_DMA_PollForTransfer,"ax",%progbits
- 779 .align 1
- 780 .global HAL_DMA_PollForTransfer
- 781 .syntax unified
- ARM GAS /tmp/ccQjIBHa.s page 34
- 782 .thumb
- 783 .thumb_func
- 785 HAL_DMA_PollForTransfer:
- 786 .LVL48:
- 787 .LFB71:
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t temp;
- 788 .loc 1 502 1 is_stmt 1 view -0
- 789 .cfi_startproc
- 790 @ args = 0, pretend = 0, frame = 0
- 791 @ frame_needed = 0, uses_anonymous_args = 0
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t temp;
- 792 .loc 1 502 1 is_stmt 0 view .LVU250
- 793 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 794 .LCFI10:
- 795 .cfi_def_cfa_offset 24
- 796 .cfi_offset 4, -24
- 797 .cfi_offset 5, -20
- 798 .cfi_offset 6, -16
- 799 .cfi_offset 7, -12
- 800 .cfi_offset 8, -8
- 801 .cfi_offset 14, -4
- 802 0004 0446 mov r4, r0
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tickstart = 0U;
- 803 .loc 1 503 3 is_stmt 1 view .LVU251
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 804 .loc 1 504 3 view .LVU252
- 805 .LVL49:
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 806 .loc 1 506 3 view .LVU253
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 807 .loc 1 506 32 is_stmt 0 view .LVU254
- 808 0006 90F82130 ldrb r3, [r0, #33] @ zero_extendqisi2
- 809 000a DBB2 uxtb r3, r3
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 810 .loc 1 506 5 view .LVU255
- 811 000c 022B cmp r3, #2
- 812 000e 07D0 beq .L57
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 813 .loc 1 509 5 is_stmt 1 view .LVU256
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 814 .loc 1 509 21 is_stmt 0 view .LVU257
- 815 0010 0423 movs r3, #4
- 816 0012 8363 str r3, [r0, #56]
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 817 .loc 1 510 5 is_stmt 1 view .LVU258
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 818 .loc 1 510 5 view .LVU259
- 819 0014 0023 movs r3, #0
- 820 0016 80F82030 strb r3, [r0, #32]
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 821 .loc 1 510 5 view .LVU260
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 822 .loc 1 511 5 view .LVU261
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 823 .loc 1 511 12 is_stmt 0 view .LVU262
- 824 001a 0120 movs r0, #1
- 825 .LVL50:
- ARM GAS /tmp/ccQjIBHa.s page 35
- 826 .L58:
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 827 .loc 1 594 1 view .LVU263
- 828 001c BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 829 .LVL51:
- 830 .L57:
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 831 .loc 1 594 1 view .LVU264
- 832 0020 0F46 mov r7, r1
- 833 0022 1546 mov r5, r2
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 834 .loc 1 515 3 is_stmt 1 view .LVU265
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 835 .loc 1 515 21 is_stmt 0 view .LVU266
- 836 0024 0368 ldr r3, [r0]
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 837 .loc 1 515 31 view .LVU267
- 838 0026 1A68 ldr r2, [r3]
- 839 .LVL52:
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 840 .loc 1 515 6 view .LVU268
- 841 0028 12F0200F tst r2, #32
- 842 002c 15D1 bne .L103
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 843 .loc 1 522 3 is_stmt 1 view .LVU269
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 844 .loc 1 522 5 is_stmt 0 view .LVU270
- 845 002e E1B9 cbnz r1, .L60
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 846 .loc 1 525 5 is_stmt 1 view .LVU271
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 847 .loc 1 525 12 is_stmt 0 view .LVU272
- 848 0030 7C4A ldr r2, .L112
- 849 0032 9342 cmp r3, r2
- 850 0034 31D0 beq .L72
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 851 .loc 1 525 12 discriminator 1 view .LVU273
- 852 0036 1432 adds r2, r2, #20
- 853 0038 9342 cmp r3, r2
- 854 003a 33D0 beq .L73
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 855 .loc 1 525 12 discriminator 3 view .LVU274
- 856 003c 1432 adds r2, r2, #20
- 857 003e 9342 cmp r3, r2
- 858 0040 32D0 beq .L74
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 859 .loc 1 525 12 discriminator 5 view .LVU275
- 860 0042 1432 adds r2, r2, #20
- 861 0044 9342 cmp r3, r2
- 862 0046 32D0 beq .L75
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 863 .loc 1 525 12 discriminator 7 view .LVU276
- 864 0048 1432 adds r2, r2, #20
- 865 004a 9342 cmp r3, r2
- 866 004c 32D0 beq .L76
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 867 .loc 1 525 12 discriminator 9 view .LVU277
- ARM GAS /tmp/ccQjIBHa.s page 36
- 868 004e 1432 adds r2, r2, #20
- 869 0050 9342 cmp r3, r2
- 870 0052 07D0 beq .L104
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 871 .loc 1 525 12 view .LVU278
- 872 0054 4FF00076 mov r6, #33554432
- 873 0058 20E0 b .L61
- 874 .L103:
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 875 .loc 1 517 5 is_stmt 1 view .LVU279
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 876 .loc 1 517 21 is_stmt 0 view .LVU280
- 877 005a 4FF48073 mov r3, #256
- 878 005e 8363 str r3, [r0, #56]
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 879 .loc 1 518 5 is_stmt 1 view .LVU281
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 880 .loc 1 518 12 is_stmt 0 view .LVU282
- 881 0060 0120 movs r0, #1
- 882 .LVL53:
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 883 .loc 1 518 12 view .LVU283
- 884 0062 DBE7 b .L58
- 885 .LVL54:
- 886 .L104:
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 887 .loc 1 525 12 view .LVU284
- 888 0064 4FF40016 mov r6, #2097152
- 889 0068 18E0 b .L61
- 890 .L60:
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 891 .loc 1 530 5 is_stmt 1 view .LVU285
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 892 .loc 1 530 12 is_stmt 0 view .LVU286
- 893 006a 6E4A ldr r2, .L112
- 894 006c 9342 cmp r3, r2
- 895 006e 24D0 beq .L78
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 896 .loc 1 530 12 discriminator 1 view .LVU287
- 897 0070 1432 adds r2, r2, #20
- 898 0072 9342 cmp r3, r2
- 899 0074 23D0 beq .L79
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 900 .loc 1 530 12 discriminator 3 view .LVU288
- 901 0076 1432 adds r2, r2, #20
- 902 0078 9342 cmp r3, r2
- 903 007a 22D0 beq .L80
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 904 .loc 1 530 12 discriminator 5 view .LVU289
- 905 007c 1432 adds r2, r2, #20
- 906 007e 9342 cmp r3, r2
- 907 0080 22D0 beq .L81
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 908 .loc 1 530 12 discriminator 7 view .LVU290
- 909 0082 1432 adds r2, r2, #20
- 910 0084 9342 cmp r3, r2
- 911 0086 22D0 beq .L82
- ARM GAS /tmp/ccQjIBHa.s page 37
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 912 .loc 1 530 12 discriminator 9 view .LVU291
- 913 0088 1432 adds r2, r2, #20
- 914 008a 9342 cmp r3, r2
- 915 008c 02D0 beq .L105
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 916 .loc 1 530 12 view .LVU292
- 917 008e 4FF08066 mov r6, #67108864
- 918 0092 03E0 b .L61
- 919 .L105:
- 920 0094 4FF48006 mov r6, #4194304
- 921 0098 00E0 b .L61
- 922 .L72:
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 923 .loc 1 525 12 view .LVU293
- 924 009a 0226 movs r6, #2
- 925 .L61:
- 926 .LVL55:
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 927 .loc 1 534 3 is_stmt 1 view .LVU294
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 928 .loc 1 534 15 is_stmt 0 view .LVU295
- 929 009c FFF7FEFF bl HAL_GetTick
- 930 .LVL56:
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 931 .loc 1 534 15 view .LVU296
- 932 00a0 8046 mov r8, r0
- 933 .LVL57:
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 934 .loc 1 536 3 is_stmt 1 view .LVU297
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 935 .loc 1 536 8 is_stmt 0 view .LVU298
- 936 00a2 20E0 b .L65
- 937 .LVL58:
- 938 .L73:
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 939 .loc 1 525 12 view .LVU299
- 940 00a4 2026 movs r6, #32
- 941 00a6 F9E7 b .L61
- 942 .L74:
- 943 00a8 4FF40076 mov r6, #512
- 944 00ac F6E7 b .L61
- 945 .L75:
- 946 00ae 4FF40056 mov r6, #8192
- 947 00b2 F3E7 b .L61
- 948 .L76:
- 949 00b4 4FF40036 mov r6, #131072
- 950 00b8 F0E7 b .L61
- 951 .L78:
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 952 .loc 1 530 12 view .LVU300
- 953 00ba 0426 movs r6, #4
- 954 00bc EEE7 b .L61
- 955 .L79:
- 956 00be 4026 movs r6, #64
- 957 00c0 ECE7 b .L61
- 958 .L80:
- ARM GAS /tmp/ccQjIBHa.s page 38
- 959 00c2 4FF48066 mov r6, #1024
- 960 00c6 E9E7 b .L61
- 961 .L81:
- 962 00c8 4FF48046 mov r6, #16384
- 963 00cc E6E7 b .L61
- 964 .L82:
- 965 00ce 4FF48026 mov r6, #262144
- 966 00d2 E3E7 b .L61
- 967 .LVL59:
- 968 .L109:
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 969 .loc 1 538 9 view .LVU301
- 970 00d4 4FF40003 mov r3, #8388608
- 971 00d8 00E0 b .L63
- 972 .L84:
- 973 00da 0823 movs r3, #8
- 974 .L63:
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 975 .loc 1 538 7 discriminator 24 view .LVU302
- 976 00dc 1A42 tst r2, r3
- 977 00de 29D1 bne .L106
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 978 .loc 1 557 5 is_stmt 1 view .LVU303
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 979 .loc 1 557 7 is_stmt 0 view .LVU304
- 980 00e0 B5F1FF3F cmp r5, #-1
- 981 00e4 35D1 bne .L107
- 982 .L65:
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 983 .loc 1 536 8 is_stmt 1 view .LVU305
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 984 .loc 1 536 9 is_stmt 0 view .LVU306
- 985 00e6 504B ldr r3, .L112+4
- 986 00e8 1B68 ldr r3, [r3]
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 987 .loc 1 536 8 view .LVU307
- 988 00ea 3342 tst r3, r6
- 989 00ec 43D1 bne .L108
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 990 .loc 1 538 5 is_stmt 1 view .LVU308
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 991 .loc 1 538 9 is_stmt 0 view .LVU309
- 992 00ee 4E4B ldr r3, .L112+4
- 993 00f0 1A68 ldr r2, [r3]
- 994 00f2 2368 ldr r3, [r4]
- 995 00f4 4B49 ldr r1, .L112
- 996 00f6 8B42 cmp r3, r1
- 997 00f8 EFD0 beq .L84
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 998 .loc 1 538 9 discriminator 1 view .LVU310
- 999 00fa 1431 adds r1, r1, #20
- 1000 00fc 8B42 cmp r3, r1
- 1001 00fe 0ED0 beq .L85
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1002 .loc 1 538 9 discriminator 3 view .LVU311
- 1003 0100 1431 adds r1, r1, #20
- 1004 0102 8B42 cmp r3, r1
- ARM GAS /tmp/ccQjIBHa.s page 39
- 1005 0104 0DD0 beq .L86
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1006 .loc 1 538 9 discriminator 5 view .LVU312
- 1007 0106 1431 adds r1, r1, #20
- 1008 0108 8B42 cmp r3, r1
- 1009 010a 0DD0 beq .L87
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1010 .loc 1 538 9 discriminator 7 view .LVU313
- 1011 010c 1431 adds r1, r1, #20
- 1012 010e 8B42 cmp r3, r1
- 1013 0110 0DD0 beq .L88
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1014 .loc 1 538 9 discriminator 9 view .LVU314
- 1015 0112 1431 adds r1, r1, #20
- 1016 0114 8B42 cmp r3, r1
- 1017 0116 DDD0 beq .L109
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1018 .loc 1 538 9 view .LVU315
- 1019 0118 4FF00063 mov r3, #134217728
- 1020 011c DEE7 b .L63
- 1021 .L85:
- 1022 011e 8023 movs r3, #128
- 1023 0120 DCE7 b .L63
- 1024 .L86:
- 1025 0122 4FF40063 mov r3, #2048
- 1026 0126 D9E7 b .L63
- 1027 .L87:
- 1028 0128 4FF40043 mov r3, #32768
- 1029 012c D6E7 b .L63
- 1030 .L88:
- 1031 012e 4FF40023 mov r3, #524288
- 1032 0132 D3E7 b .L63
- 1033 .L106:
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1034 .loc 1 543 7 is_stmt 1 view .LVU316
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1035 .loc 1 543 57 is_stmt 0 view .LVU317
- 1036 0134 236C ldr r3, [r4, #64]
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1037 .loc 1 543 11 view .LVU318
- 1038 0136 E26B ldr r2, [r4, #60]
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1039 .loc 1 543 50 view .LVU319
- 1040 0138 0120 movs r0, #1
- 1041 013a 00FA03F3 lsl r3, r0, r3
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1042 .loc 1 543 34 view .LVU320
- 1043 013e 5360 str r3, [r2, #4]
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1044 .loc 1 546 7 is_stmt 1 view .LVU321
- 1045 0140 A36B ldr r3, [r4, #56]
- 1046 0142 0343 orrs r3, r3, r0
- 1047 0144 A363 str r3, [r4, #56]
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1048 .loc 1 549 7 view .LVU322
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1049 .loc 1 549 18 is_stmt 0 view .LVU323
- ARM GAS /tmp/ccQjIBHa.s page 40
- 1050 0146 84F82100 strb r0, [r4, #33]
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1051 .loc 1 552 7 is_stmt 1 view .LVU324
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1052 .loc 1 552 7 view .LVU325
- 1053 014a 0023 movs r3, #0
- 1054 014c 84F82030 strb r3, [r4, #32]
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1055 .loc 1 552 7 view .LVU326
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1056 .loc 1 554 7 view .LVU327
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1057 .loc 1 554 14 is_stmt 0 view .LVU328
- 1058 0150 64E7 b .L58
- 1059 .L107:
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1060 .loc 1 559 7 is_stmt 1 view .LVU329
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1061 .loc 1 559 9 is_stmt 0 view .LVU330
- 1062 0152 2DB1 cbz r5, .L66
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1063 .loc 1 559 31 discriminator 1 view .LVU331
- 1064 0154 FFF7FEFF bl HAL_GetTick
- 1065 .LVL60:
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1066 .loc 1 559 45 discriminator 1 view .LVU332
- 1067 0158 A0EB0800 sub r0, r0, r8
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1068 .loc 1 559 26 discriminator 1 view .LVU333
- 1069 015c A842 cmp r0, r5
- 1070 015e C2D9 bls .L65
- 1071 .L66:
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1072 .loc 1 562 9 is_stmt 1 view .LVU334
- 1073 0160 A36B ldr r3, [r4, #56]
- 1074 0162 43F02003 orr r3, r3, #32
- 1075 0166 A363 str r3, [r4, #56]
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1076 .loc 1 565 9 view .LVU335
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1077 .loc 1 565 21 is_stmt 0 view .LVU336
- 1078 0168 0120 movs r0, #1
- 1079 016a 84F82100 strb r0, [r4, #33]
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1080 .loc 1 568 9 is_stmt 1 view .LVU337
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1081 .loc 1 568 9 view .LVU338
- 1082 016e 0023 movs r3, #0
- 1083 0170 84F82030 strb r3, [r4, #32]
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1084 .loc 1 568 9 view .LVU339
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1085 .loc 1 570 9 view .LVU340
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1086 .loc 1 570 16 is_stmt 0 view .LVU341
- 1087 0174 52E7 b .L58
- 1088 .L108:
- ARM GAS /tmp/ccQjIBHa.s page 41
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1089 .loc 1 575 3 is_stmt 1 view .LVU342
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1090 .loc 1 575 5 is_stmt 0 view .LVU343
- 1091 0176 6FBB cbnz r7, .L68
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1092 .loc 1 578 5 is_stmt 1 view .LVU344
- 1093 0178 2368 ldr r3, [r4]
- 1094 017a 2A4A ldr r2, .L112
- 1095 017c 9342 cmp r3, r2
- 1096 017e 14D0 beq .L90
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1097 .loc 1 578 5 is_stmt 0 discriminator 1 view .LVU345
- 1098 0180 1432 adds r2, r2, #20
- 1099 0182 9342 cmp r3, r2
- 1100 0184 1BD0 beq .L91
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1101 .loc 1 578 5 discriminator 3 view .LVU346
- 1102 0186 1432 adds r2, r2, #20
- 1103 0188 9342 cmp r3, r2
- 1104 018a 1AD0 beq .L92
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1105 .loc 1 578 5 discriminator 5 view .LVU347
- 1106 018c 1432 adds r2, r2, #20
- 1107 018e 9342 cmp r3, r2
- 1108 0190 1AD0 beq .L93
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1109 .loc 1 578 5 discriminator 7 view .LVU348
- 1110 0192 1432 adds r2, r2, #20
- 1111 0194 9342 cmp r3, r2
- 1112 0196 1AD0 beq .L94
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1113 .loc 1 578 5 discriminator 9 view .LVU349
- 1114 0198 1432 adds r2, r2, #20
- 1115 019a 9342 cmp r3, r2
- 1116 019c 02D0 beq .L110
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1117 .loc 1 578 5 view .LVU350
- 1118 019e 4FF00072 mov r2, #33554432
- 1119 01a2 03E0 b .L69
- 1120 .L110:
- 1121 01a4 4FF40012 mov r2, #2097152
- 1122 01a8 00E0 b .L69
- 1123 .L90:
- 1124 01aa 0222 movs r2, #2
- 1125 .L69:
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1126 .loc 1 578 5 discriminator 24 view .LVU351
- 1127 01ac 1E4B ldr r3, .L112+4
- 1128 01ae 5A60 str r2, [r3, #4]
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1129 .loc 1 582 5 is_stmt 1 discriminator 24 view .LVU352
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1130 .loc 1 582 17 is_stmt 0 discriminator 24 view .LVU353
- 1131 01b0 0123 movs r3, #1
- 1132 01b2 84F82130 strb r3, [r4, #33]
- 1133 .L70:
- ARM GAS /tmp/ccQjIBHa.s page 42
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1134 .loc 1 591 3 is_stmt 1 view .LVU354
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1135 .loc 1 591 3 view .LVU355
- 1136 01b6 0020 movs r0, #0
- 1137 01b8 84F82000 strb r0, [r4, #32]
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1138 .loc 1 591 3 view .LVU356
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1139 .loc 1 593 3 view .LVU357
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1140 .loc 1 593 10 is_stmt 0 view .LVU358
- 1141 01bc 2EE7 b .L58
- 1142 .L91:
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1143 .loc 1 578 5 view .LVU359
- 1144 01be 2022 movs r2, #32
- 1145 01c0 F4E7 b .L69
- 1146 .L92:
- 1147 01c2 4FF40072 mov r2, #512
- 1148 01c6 F1E7 b .L69
- 1149 .L93:
- 1150 01c8 4FF40052 mov r2, #8192
- 1151 01cc EEE7 b .L69
- 1152 .L94:
- 1153 01ce 4FF40032 mov r2, #131072
- 1154 01d2 EBE7 b .L69
- 1155 .L68:
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1156 .loc 1 587 5 is_stmt 1 view .LVU360
- 1157 01d4 2368 ldr r3, [r4]
- 1158 01d6 134A ldr r2, .L112
- 1159 01d8 9342 cmp r3, r2
- 1160 01da 14D0 beq .L96
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1161 .loc 1 587 5 is_stmt 0 discriminator 1 view .LVU361
- 1162 01dc 1432 adds r2, r2, #20
- 1163 01de 9342 cmp r3, r2
- 1164 01e0 15D0 beq .L97
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1165 .loc 1 587 5 discriminator 3 view .LVU362
- 1166 01e2 1432 adds r2, r2, #20
- 1167 01e4 9342 cmp r3, r2
- 1168 01e6 14D0 beq .L98
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1169 .loc 1 587 5 discriminator 5 view .LVU363
- 1170 01e8 1432 adds r2, r2, #20
- 1171 01ea 9342 cmp r3, r2
- 1172 01ec 14D0 beq .L99
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1173 .loc 1 587 5 discriminator 7 view .LVU364
- 1174 01ee 1432 adds r2, r2, #20
- 1175 01f0 9342 cmp r3, r2
- 1176 01f2 14D0 beq .L100
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1177 .loc 1 587 5 discriminator 9 view .LVU365
- 1178 01f4 1432 adds r2, r2, #20
- ARM GAS /tmp/ccQjIBHa.s page 43
- 1179 01f6 9342 cmp r3, r2
- 1180 01f8 02D0 beq .L111
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1181 .loc 1 587 5 view .LVU366
- 1182 01fa 4FF08062 mov r2, #67108864
- 1183 01fe 03E0 b .L71
- 1184 .L111:
- 1185 0200 4FF48002 mov r2, #4194304
- 1186 0204 00E0 b .L71
- 1187 .L96:
- 1188 0206 0422 movs r2, #4
- 1189 .L71:
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1190 .loc 1 587 5 discriminator 24 view .LVU367
- 1191 0208 074B ldr r3, .L112+4
- 1192 020a 5A60 str r2, [r3, #4]
- 1193 020c D3E7 b .L70
- 1194 .L97:
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1195 .loc 1 587 5 view .LVU368
- 1196 020e 4022 movs r2, #64
- 1197 0210 FAE7 b .L71
- 1198 .L98:
- 1199 0212 4FF48062 mov r2, #1024
- 1200 0216 F7E7 b .L71
- 1201 .L99:
- 1202 0218 4FF48042 mov r2, #16384
- 1203 021c F4E7 b .L71
- 1204 .L100:
- 1205 021e 4FF48022 mov r2, #262144
- 1206 0222 F1E7 b .L71
- 1207 .L113:
- 1208 .align 2
- 1209 .L112:
- 1210 0224 08000240 .word 1073872904
- 1211 0228 00000240 .word 1073872896
- 1212 .cfi_endproc
- 1213 .LFE71:
- 1215 .section .text.HAL_DMA_IRQHandler,"ax",%progbits
- 1216 .align 1
- 1217 .global HAL_DMA_IRQHandler
- 1218 .syntax unified
- 1219 .thumb
- 1220 .thumb_func
- 1222 HAL_DMA_IRQHandler:
- 1223 .LVL61:
- 1224 .LFB72:
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR;
- 1225 .loc 1 603 1 is_stmt 1 view -0
- 1226 .cfi_startproc
- 1227 @ args = 0, pretend = 0, frame = 0
- 1228 @ frame_needed = 0, uses_anonymous_args = 0
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR;
- 1229 .loc 1 603 1 is_stmt 0 view .LVU370
- 1230 0000 38B5 push {r3, r4, r5, lr}
- 1231 .LCFI11:
- 1232 .cfi_def_cfa_offset 16
- ARM GAS /tmp/ccQjIBHa.s page 44
- 1233 .cfi_offset 3, -16
- 1234 .cfi_offset 4, -12
- 1235 .cfi_offset 5, -8
- 1236 .cfi_offset 14, -4
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
- 1237 .loc 1 604 3 is_stmt 1 view .LVU371
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
- 1238 .loc 1 604 26 is_stmt 0 view .LVU372
- 1239 0002 C36B ldr r3, [r0, #60]
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
- 1240 .loc 1 604 12 view .LVU373
- 1241 0004 1A68 ldr r2, [r3]
- 1242 .LVL62:
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1243 .loc 1 605 3 is_stmt 1 view .LVU374
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1244 .loc 1 605 28 is_stmt 0 view .LVU375
- 1245 0006 0468 ldr r4, [r0]
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1246 .loc 1 605 12 view .LVU376
- 1247 0008 2568 ldr r5, [r4]
- 1248 .LVL63:
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1249 .loc 1 608 3 is_stmt 1 view .LVU377
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1250 .loc 1 608 40 is_stmt 0 view .LVU378
- 1251 000a 016C ldr r1, [r0, #64]
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1252 .loc 1 608 33 view .LVU379
- 1253 000c 0423 movs r3, #4
- 1254 000e 8B40 lsls r3, r3, r1
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1255 .loc 1 608 6 view .LVU380
- 1256 0010 1342 tst r3, r2
- 1257 0012 35D0 beq .L115
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1258 .loc 1 608 67 discriminator 1 view .LVU381
- 1259 0014 15F0040F tst r5, #4
- 1260 0018 32D0 beq .L115
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1261 .loc 1 611 5 is_stmt 1 view .LVU382
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1262 .loc 1 611 23 is_stmt 0 view .LVU383
- 1263 001a 2368 ldr r3, [r4]
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1264 .loc 1 611 7 view .LVU384
- 1265 001c 13F0200F tst r3, #32
- 1266 0020 03D1 bne .L116
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1267 .loc 1 614 7 is_stmt 1 view .LVU385
- 1268 0022 2368 ldr r3, [r4]
- 1269 0024 23F00403 bic r3, r3, #4
- 1270 0028 2360 str r3, [r4]
- 1271 .L116:
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1272 .loc 1 617 5 view .LVU386
- 1273 002a 0368 ldr r3, [r0]
- ARM GAS /tmp/ccQjIBHa.s page 45
- 1274 002c 434A ldr r2, .L137
- 1275 .LVL64:
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1276 .loc 1 617 5 is_stmt 0 view .LVU387
- 1277 002e 9342 cmp r3, r2
- 1278 0030 14D0 beq .L122
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1279 .loc 1 617 5 discriminator 1 view .LVU388
- 1280 0032 1432 adds r2, r2, #20
- 1281 0034 9342 cmp r3, r2
- 1282 0036 18D0 beq .L123
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1283 .loc 1 617 5 discriminator 3 view .LVU389
- 1284 0038 1432 adds r2, r2, #20
- 1285 003a 9342 cmp r3, r2
- 1286 003c 17D0 beq .L124
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1287 .loc 1 617 5 discriminator 5 view .LVU390
- 1288 003e 1432 adds r2, r2, #20
- 1289 0040 9342 cmp r3, r2
- 1290 0042 17D0 beq .L125
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1291 .loc 1 617 5 discriminator 7 view .LVU391
- 1292 0044 1432 adds r2, r2, #20
- 1293 0046 9342 cmp r3, r2
- 1294 0048 17D0 beq .L126
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1295 .loc 1 617 5 discriminator 9 view .LVU392
- 1296 004a 1432 adds r2, r2, #20
- 1297 004c 9342 cmp r3, r2
- 1298 004e 02D0 beq .L135
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1299 .loc 1 617 5 view .LVU393
- 1300 0050 4FF08062 mov r2, #67108864
- 1301 0054 03E0 b .L117
- 1302 .L135:
- 1303 0056 4FF48002 mov r2, #4194304
- 1304 005a 00E0 b .L117
- 1305 .L122:
- 1306 005c 0422 movs r2, #4
- 1307 .L117:
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1308 .loc 1 617 5 discriminator 24 view .LVU394
- 1309 005e 384B ldr r3, .L137+4
- 1310 0060 5A60 str r2, [r3, #4]
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1311 .loc 1 622 5 is_stmt 1 discriminator 24 view .LVU395
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1312 .loc 1 622 12 is_stmt 0 discriminator 24 view .LVU396
- 1313 0062 C36A ldr r3, [r0, #44]
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1314 .loc 1 622 7 discriminator 24 view .LVU397
- 1315 0064 03B1 cbz r3, .L114
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1316 .loc 1 625 7 is_stmt 1 view .LVU398
- 1317 0066 9847 blx r3
- 1318 .LVL65:
- ARM GAS /tmp/ccQjIBHa.s page 46
- 1319 .L114:
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1320 .loc 1 680 1 is_stmt 0 view .LVU399
- 1321 0068 38BD pop {r3, r4, r5, pc}
- 1322 .LVL66:
- 1323 .L123:
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1324 .loc 1 617 5 view .LVU400
- 1325 006a 4022 movs r2, #64
- 1326 006c F7E7 b .L117
- 1327 .L124:
- 1328 006e 4FF48062 mov r2, #1024
- 1329 0072 F4E7 b .L117
- 1330 .L125:
- 1331 0074 4FF48042 mov r2, #16384
- 1332 0078 F1E7 b .L117
- 1333 .L126:
- 1334 007a 4FF48022 mov r2, #262144
- 1335 007e EEE7 b .L117
- 1336 .LVL67:
- 1337 .L115:
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1338 .loc 1 630 8 is_stmt 1 view .LVU401
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1339 .loc 1 630 38 is_stmt 0 view .LVU402
- 1340 0080 0223 movs r3, #2
- 1341 0082 8B40 lsls r3, r3, r1
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1342 .loc 1 630 11 view .LVU403
- 1343 0084 1342 tst r3, r2
- 1344 0086 3CD0 beq .L119
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1345 .loc 1 630 72 discriminator 1 view .LVU404
- 1346 0088 15F0020F tst r5, #2
- 1347 008c 39D0 beq .L119
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1348 .loc 1 632 5 is_stmt 1 view .LVU405
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1349 .loc 1 632 23 is_stmt 0 view .LVU406
- 1350 008e 2368 ldr r3, [r4]
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1351 .loc 1 632 7 view .LVU407
- 1352 0090 13F0200F tst r3, #32
- 1353 0094 06D1 bne .L120
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1354 .loc 1 635 7 is_stmt 1 view .LVU408
- 1355 0096 2368 ldr r3, [r4]
- 1356 0098 23F00A03 bic r3, r3, #10
- 1357 009c 2360 str r3, [r4]
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1358 .loc 1 638 7 view .LVU409
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1359 .loc 1 638 19 is_stmt 0 view .LVU410
- 1360 009e 0123 movs r3, #1
- 1361 00a0 80F82130 strb r3, [r0, #33]
- 1362 .L120:
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- ARM GAS /tmp/ccQjIBHa.s page 47
- 1363 .loc 1 641 7 is_stmt 1 view .LVU411
- 1364 00a4 0368 ldr r3, [r0]
- 1365 00a6 254A ldr r2, .L137
- 1366 .LVL68:
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1367 .loc 1 641 7 is_stmt 0 view .LVU412
- 1368 00a8 9342 cmp r3, r2
- 1369 00aa 14D0 beq .L128
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1370 .loc 1 641 7 discriminator 1 view .LVU413
- 1371 00ac 1432 adds r2, r2, #20
- 1372 00ae 9342 cmp r3, r2
- 1373 00b0 1CD0 beq .L129
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1374 .loc 1 641 7 discriminator 3 view .LVU414
- 1375 00b2 1432 adds r2, r2, #20
- 1376 00b4 9342 cmp r3, r2
- 1377 00b6 1BD0 beq .L130
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1378 .loc 1 641 7 discriminator 5 view .LVU415
- 1379 00b8 1432 adds r2, r2, #20
- 1380 00ba 9342 cmp r3, r2
- 1381 00bc 1BD0 beq .L131
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1382 .loc 1 641 7 discriminator 7 view .LVU416
- 1383 00be 1432 adds r2, r2, #20
- 1384 00c0 9342 cmp r3, r2
- 1385 00c2 1BD0 beq .L132
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1386 .loc 1 641 7 discriminator 9 view .LVU417
- 1387 00c4 1432 adds r2, r2, #20
- 1388 00c6 9342 cmp r3, r2
- 1389 00c8 02D0 beq .L136
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1390 .loc 1 641 7 view .LVU418
- 1391 00ca 4FF00072 mov r2, #33554432
- 1392 00ce 03E0 b .L121
- 1393 .L136:
- 1394 00d0 4FF40012 mov r2, #2097152
- 1395 00d4 00E0 b .L121
- 1396 .L128:
- 1397 00d6 0222 movs r2, #2
- 1398 .L121:
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1399 .loc 1 641 7 discriminator 24 view .LVU419
- 1400 00d8 194B ldr r3, .L137+4
- 1401 00da 5A60 str r2, [r3, #4]
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1402 .loc 1 644 5 is_stmt 1 discriminator 24 view .LVU420
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1403 .loc 1 644 5 discriminator 24 view .LVU421
- 1404 00dc 0023 movs r3, #0
- 1405 00de 80F82030 strb r3, [r0, #32]
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1406 .loc 1 644 5 discriminator 24 view .LVU422
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1407 .loc 1 646 5 discriminator 24 view .LVU423
- ARM GAS /tmp/ccQjIBHa.s page 48
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1408 .loc 1 646 12 is_stmt 0 discriminator 24 view .LVU424
- 1409 00e2 836A ldr r3, [r0, #40]
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1410 .loc 1 646 7 discriminator 24 view .LVU425
- 1411 00e4 002B cmp r3, #0
- 1412 00e6 BFD0 beq .L114
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1413 .loc 1 649 7 is_stmt 1 view .LVU426
- 1414 00e8 9847 blx r3
- 1415 .LVL69:
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1416 .loc 1 649 7 is_stmt 0 view .LVU427
- 1417 00ea BDE7 b .L114
- 1418 .LVL70:
- 1419 .L129:
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1420 .loc 1 641 7 view .LVU428
- 1421 00ec 2022 movs r2, #32
- 1422 00ee F3E7 b .L121
- 1423 .L130:
- 1424 00f0 4FF40072 mov r2, #512
- 1425 00f4 F0E7 b .L121
- 1426 .L131:
- 1427 00f6 4FF40052 mov r2, #8192
- 1428 00fa EDE7 b .L121
- 1429 .L132:
- 1430 00fc 4FF40032 mov r2, #131072
- 1431 0100 EAE7 b .L121
- 1432 .LVL71:
- 1433 .L119:
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1434 .loc 1 654 8 is_stmt 1 view .LVU429
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1435 .loc 1 654 48 is_stmt 0 view .LVU430
- 1436 0102 0823 movs r3, #8
- 1437 0104 03FA01F1 lsl r1, r3, r1
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1438 .loc 1 654 11 view .LVU431
- 1439 0108 1142 tst r1, r2
- 1440 010a ADD0 beq .L114
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1441 .loc 1 654 73 discriminator 1 view .LVU432
- 1442 010c 15F0080F tst r5, #8
- 1443 0110 AAD0 beq .L114
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1444 .loc 1 659 5 is_stmt 1 view .LVU433
- 1445 0112 2368 ldr r3, [r4]
- 1446 0114 23F00E03 bic r3, r3, #14
- 1447 0118 2360 str r3, [r4]
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1448 .loc 1 662 5 view .LVU434
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1449 .loc 1 662 55 is_stmt 0 view .LVU435
- 1450 011a 026C ldr r2, [r0, #64]
- 1451 .LVL72:
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- ARM GAS /tmp/ccQjIBHa.s page 49
- 1452 .loc 1 662 9 view .LVU436
- 1453 011c C16B ldr r1, [r0, #60]
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1454 .loc 1 662 48 view .LVU437
- 1455 011e 0123 movs r3, #1
- 1456 0120 03FA02F2 lsl r2, r3, r2
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1457 .loc 1 662 32 view .LVU438
- 1458 0124 4A60 str r2, [r1, #4]
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1459 .loc 1 665 5 is_stmt 1 view .LVU439
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1460 .loc 1 665 21 is_stmt 0 view .LVU440
- 1461 0126 8363 str r3, [r0, #56]
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1462 .loc 1 668 5 is_stmt 1 view .LVU441
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1463 .loc 1 668 17 is_stmt 0 view .LVU442
- 1464 0128 80F82130 strb r3, [r0, #33]
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1465 .loc 1 671 5 is_stmt 1 view .LVU443
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1466 .loc 1 671 5 view .LVU444
- 1467 012c 0023 movs r3, #0
- 1468 012e 80F82030 strb r3, [r0, #32]
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1469 .loc 1 671 5 view .LVU445
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1470 .loc 1 673 5 view .LVU446
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1471 .loc 1 673 13 is_stmt 0 view .LVU447
- 1472 0132 036B ldr r3, [r0, #48]
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1473 .loc 1 673 8 view .LVU448
- 1474 0134 002B cmp r3, #0
- 1475 0136 97D0 beq .L114
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1476 .loc 1 676 7 is_stmt 1 view .LVU449
- 1477 0138 9847 blx r3
- 1478 .LVL73:
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1479 .loc 1 679 3 view .LVU450
- 1480 013a 95E7 b .L114
- 1481 .L138:
- 1482 .align 2
- 1483 .L137:
- 1484 013c 08000240 .word 1073872904
- 1485 0140 00000240 .word 1073872896
- 1486 .cfi_endproc
- 1487 .LFE72:
- 1489 .section .text.HAL_DMA_RegisterCallback,"ax",%progbits
- 1490 .align 1
- 1491 .global HAL_DMA_RegisterCallback
- 1492 .syntax unified
- 1493 .thumb
- 1494 .thumb_func
- 1496 HAL_DMA_RegisterCallback:
- ARM GAS /tmp/ccQjIBHa.s page 50
- 1497 .LVL74:
- 1498 .LFB73:
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 1499 .loc 1 693 1 view -0
- 1500 .cfi_startproc
- 1501 @ args = 0, pretend = 0, frame = 0
- 1502 @ frame_needed = 0, uses_anonymous_args = 0
- 1503 @ link register save eliminated.
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 1504 .loc 1 693 1 is_stmt 0 view .LVU452
- 1505 0000 0346 mov r3, r0
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1506 .loc 1 694 3 is_stmt 1 view .LVU453
- 1507 .LVL75:
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1508 .loc 1 697 3 view .LVU454
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1509 .loc 1 697 3 view .LVU455
- 1510 0002 90F82000 ldrb r0, [r0, #32] @ zero_extendqisi2
- 1511 .LVL76:
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1512 .loc 1 697 3 is_stmt 0 view .LVU456
- 1513 0006 0128 cmp r0, #1
- 1514 0008 1ED0 beq .L147
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1515 .loc 1 697 3 is_stmt 1 discriminator 2 view .LVU457
- 1516 000a 0120 movs r0, #1
- 1517 000c 83F82000 strb r0, [r3, #32]
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1518 .loc 1 697 3 discriminator 2 view .LVU458
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1519 .loc 1 699 3 discriminator 2 view .LVU459
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1520 .loc 1 699 33 is_stmt 0 discriminator 2 view .LVU460
- 1521 0010 93F82100 ldrb r0, [r3, #33] @ zero_extendqisi2
- 1522 0014 C0B2 uxtb r0, r0
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1523 .loc 1 699 5 discriminator 2 view .LVU461
- 1524 0016 0128 cmp r0, #1
- 1525 0018 04D0 beq .L149
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1526 .loc 1 726 12 view .LVU462
- 1527 001a 0120 movs r0, #1
- 1528 .L141:
- 1529 .LVL77:
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1530 .loc 1 730 3 is_stmt 1 view .LVU463
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1531 .loc 1 730 3 view .LVU464
- 1532 001c 0022 movs r2, #0
- 1533 .LVL78:
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1534 .loc 1 730 3 is_stmt 0 view .LVU465
- 1535 001e 83F82020 strb r2, [r3, #32]
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1536 .loc 1 730 3 is_stmt 1 view .LVU466
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- ARM GAS /tmp/ccQjIBHa.s page 51
- 1537 .loc 1 732 3 view .LVU467
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1538 .loc 1 732 10 is_stmt 0 view .LVU468
- 1539 0022 7047 bx lr
- 1540 .LVL79:
- 1541 .L149:
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1542 .loc 1 701 5 is_stmt 1 view .LVU469
- 1543 0024 0329 cmp r1, #3
- 1544 0026 F9D8 bhi .L141
- 1545 0028 DFE801F0 tbb [pc, r1]
- 1546 .L143:
- 1547 002c 02 .byte (.L146-.L143)/2
- 1548 002d 05 .byte (.L145-.L143)/2
- 1549 002e 08 .byte (.L144-.L143)/2
- 1550 002f 0B .byte (.L142-.L143)/2
- 1551 .p2align 1
- 1552 .L146:
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1553 .loc 1 704 7 view .LVU470
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1554 .loc 1 704 30 is_stmt 0 view .LVU471
- 1555 0030 9A62 str r2, [r3, #40]
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1556 .loc 1 705 7 is_stmt 1 view .LVU472
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1557 .loc 1 694 21 is_stmt 0 view .LVU473
- 1558 0032 0846 mov r0, r1
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1559 .loc 1 705 7 view .LVU474
- 1560 0034 F2E7 b .L141
- 1561 .L145:
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1562 .loc 1 708 7 is_stmt 1 view .LVU475
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1563 .loc 1 708 34 is_stmt 0 view .LVU476
- 1564 0036 DA62 str r2, [r3, #44]
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1565 .loc 1 709 7 is_stmt 1 view .LVU477
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1566 .loc 1 694 21 is_stmt 0 view .LVU478
- 1567 0038 0020 movs r0, #0
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1568 .loc 1 709 7 view .LVU479
- 1569 003a EFE7 b .L141
- 1570 .L144:
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1571 .loc 1 712 7 is_stmt 1 view .LVU480
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1572 .loc 1 712 31 is_stmt 0 view .LVU481
- 1573 003c 1A63 str r2, [r3, #48]
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1574 .loc 1 713 7 is_stmt 1 view .LVU482
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1575 .loc 1 694 21 is_stmt 0 view .LVU483
- 1576 003e 0020 movs r0, #0
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- ARM GAS /tmp/ccQjIBHa.s page 52
- 1577 .loc 1 713 7 view .LVU484
- 1578 0040 ECE7 b .L141
- 1579 .L142:
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1580 .loc 1 716 7 is_stmt 1 view .LVU485
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1581 .loc 1 716 31 is_stmt 0 view .LVU486
- 1582 0042 5A63 str r2, [r3, #52]
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1583 .loc 1 717 7 is_stmt 1 view .LVU487
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1584 .loc 1 694 21 is_stmt 0 view .LVU488
- 1585 0044 0020 movs r0, #0
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1586 .loc 1 717 7 view .LVU489
- 1587 0046 E9E7 b .L141
- 1588 .L147:
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1589 .loc 1 697 3 view .LVU490
- 1590 0048 0220 movs r0, #2
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1591 .loc 1 733 1 view .LVU491
- 1592 004a 7047 bx lr
- 1593 .cfi_endproc
- 1594 .LFE73:
- 1596 .section .text.HAL_DMA_UnRegisterCallback,"ax",%progbits
- 1597 .align 1
- 1598 .global HAL_DMA_UnRegisterCallback
- 1599 .syntax unified
- 1600 .thumb
- 1601 .thumb_func
- 1603 HAL_DMA_UnRegisterCallback:
- 1604 .LVL80:
- 1605 .LFB74:
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 1606 .loc 1 744 1 is_stmt 1 view -0
- 1607 .cfi_startproc
- 1608 @ args = 0, pretend = 0, frame = 0
- 1609 @ frame_needed = 0, uses_anonymous_args = 0
- 1610 @ link register save eliminated.
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 1611 .loc 1 744 1 is_stmt 0 view .LVU493
- 1612 0000 0346 mov r3, r0
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1613 .loc 1 745 3 is_stmt 1 view .LVU494
- 1614 .LVL81:
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1615 .loc 1 748 3 view .LVU495
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1616 .loc 1 748 3 view .LVU496
- 1617 0002 90F82020 ldrb r2, [r0, #32] @ zero_extendqisi2
- 1618 0006 012A cmp r2, #1
- 1619 0008 26D0 beq .L159
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1620 .loc 1 748 3 discriminator 2 view .LVU497
- 1621 000a 0122 movs r2, #1
- 1622 000c 80F82020 strb r2, [r0, #32]
- ARM GAS /tmp/ccQjIBHa.s page 53
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1623 .loc 1 748 3 discriminator 2 view .LVU498
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1624 .loc 1 750 3 discriminator 2 view .LVU499
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1625 .loc 1 750 33 is_stmt 0 discriminator 2 view .LVU500
- 1626 0010 90F82100 ldrb r0, [r0, #33] @ zero_extendqisi2
- 1627 .LVL82:
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1628 .loc 1 750 33 discriminator 2 view .LVU501
- 1629 0014 C0B2 uxtb r0, r0
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1630 .loc 1 750 5 discriminator 2 view .LVU502
- 1631 0016 9042 cmp r0, r2
- 1632 0018 04D0 beq .L161
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1633 .loc 1 784 12 view .LVU503
- 1634 001a 0120 movs r0, #1
- 1635 .L152:
- 1636 .LVL83:
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1637 .loc 1 788 3 is_stmt 1 view .LVU504
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1638 .loc 1 788 3 view .LVU505
- 1639 001c 0022 movs r2, #0
- 1640 001e 83F82020 strb r2, [r3, #32]
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1641 .loc 1 788 3 view .LVU506
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1642 .loc 1 790 3 view .LVU507
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1643 .loc 1 790 10 is_stmt 0 view .LVU508
- 1644 0022 7047 bx lr
- 1645 .LVL84:
- 1646 .L161:
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1647 .loc 1 752 5 is_stmt 1 view .LVU509
- 1648 0024 0429 cmp r1, #4
- 1649 0026 F9D8 bhi .L152
- 1650 0028 DFE801F0 tbb [pc, r1]
- 1651 .L154:
- 1652 002c 03 .byte (.L158-.L154)/2
- 1653 002d 07 .byte (.L157-.L154)/2
- 1654 002e 0A .byte (.L156-.L154)/2
- 1655 002f 0D .byte (.L155-.L154)/2
- 1656 0030 10 .byte (.L153-.L154)/2
- 1657 0031 00 .p2align 1
- 1658 .L158:
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1659 .loc 1 755 7 view .LVU510
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1660 .loc 1 755 30 is_stmt 0 view .LVU511
- 1661 0032 0022 movs r2, #0
- 1662 0034 9A62 str r2, [r3, #40]
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1663 .loc 1 756 7 is_stmt 1 view .LVU512
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- ARM GAS /tmp/ccQjIBHa.s page 54
- 1664 .loc 1 745 21 is_stmt 0 view .LVU513
- 1665 0036 0846 mov r0, r1
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1666 .loc 1 756 7 view .LVU514
- 1667 0038 F0E7 b .L152
- 1668 .L157:
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1669 .loc 1 759 7 is_stmt 1 view .LVU515
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1670 .loc 1 759 34 is_stmt 0 view .LVU516
- 1671 003a 0020 movs r0, #0
- 1672 003c D862 str r0, [r3, #44]
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1673 .loc 1 760 7 is_stmt 1 view .LVU517
- 1674 003e EDE7 b .L152
- 1675 .L156:
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1676 .loc 1 763 7 view .LVU518
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1677 .loc 1 763 31 is_stmt 0 view .LVU519
- 1678 0040 0020 movs r0, #0
- 1679 0042 1863 str r0, [r3, #48]
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1680 .loc 1 764 7 is_stmt 1 view .LVU520
- 1681 0044 EAE7 b .L152
- 1682 .L155:
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1683 .loc 1 767 7 view .LVU521
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1684 .loc 1 767 31 is_stmt 0 view .LVU522
- 1685 0046 0020 movs r0, #0
- 1686 0048 5863 str r0, [r3, #52]
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1687 .loc 1 768 7 is_stmt 1 view .LVU523
- 1688 004a E7E7 b .L152
- 1689 .L153:
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
- 1690 .loc 1 771 7 view .LVU524
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
- 1691 .loc 1 771 30 is_stmt 0 view .LVU525
- 1692 004c 0020 movs r0, #0
- 1693 004e 9862 str r0, [r3, #40]
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
- 1694 .loc 1 772 7 is_stmt 1 view .LVU526
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
- 1695 .loc 1 772 34 is_stmt 0 view .LVU527
- 1696 0050 D862 str r0, [r3, #44]
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
- 1697 .loc 1 773 7 is_stmt 1 view .LVU528
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
- 1698 .loc 1 773 31 is_stmt 0 view .LVU529
- 1699 0052 1863 str r0, [r3, #48]
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1700 .loc 1 774 7 is_stmt 1 view .LVU530
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 1701 .loc 1 774 31 is_stmt 0 view .LVU531
- 1702 0054 5863 str r0, [r3, #52]
- ARM GAS /tmp/ccQjIBHa.s page 55
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1703 .loc 1 775 7 is_stmt 1 view .LVU532
- 1704 0056 E1E7 b .L152
- 1705 .LVL85:
- 1706 .L159:
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1707 .loc 1 748 3 is_stmt 0 view .LVU533
- 1708 0058 0220 movs r0, #2
- 1709 .LVL86:
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1710 .loc 1 791 1 view .LVU534
- 1711 005a 7047 bx lr
- 1712 .cfi_endproc
- 1713 .LFE74:
- 1715 .section .text.HAL_DMA_GetState,"ax",%progbits
- 1716 .align 1
- 1717 .global HAL_DMA_GetState
- 1718 .syntax unified
- 1719 .thumb
- 1720 .thumb_func
- 1722 HAL_DMA_GetState:
- 1723 .LVL87:
- 1724 .LFB75:
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Return DMA handle state */
- 1725 .loc 1 820 1 is_stmt 1 view -0
- 1726 .cfi_startproc
- 1727 @ args = 0, pretend = 0, frame = 0
- 1728 @ frame_needed = 0, uses_anonymous_args = 0
- 1729 @ link register save eliminated.
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1730 .loc 1 822 3 view .LVU536
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1731 .loc 1 822 14 is_stmt 0 view .LVU537
- 1732 0000 90F82100 ldrb r0, [r0, #33] @ zero_extendqisi2
- 1733 .LVL88:
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1734 .loc 1 823 1 view .LVU538
- 1735 0004 7047 bx lr
- 1736 .cfi_endproc
- 1737 .LFE75:
- 1739 .section .text.HAL_DMA_GetError,"ax",%progbits
- 1740 .align 1
- 1741 .global HAL_DMA_GetError
- 1742 .syntax unified
- 1743 .thumb
- 1744 .thumb_func
- 1746 HAL_DMA_GetError:
- 1747 .LVL89:
- 1748 .LFB76:
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return hdma->ErrorCode;
- 1749 .loc 1 832 1 is_stmt 1 view -0
- 1750 .cfi_startproc
- 1751 @ args = 0, pretend = 0, frame = 0
- 1752 @ frame_needed = 0, uses_anonymous_args = 0
- 1753 @ link register save eliminated.
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1754 .loc 1 833 3 view .LVU540
- ARM GAS /tmp/ccQjIBHa.s page 56
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1755 .loc 1 833 14 is_stmt 0 view .LVU541
- 1756 0000 806B ldr r0, [r0, #56]
- 1757 .LVL90:
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1758 .loc 1 834 1 view .LVU542
- 1759 0002 7047 bx lr
- 1760 .cfi_endproc
- 1761 .LFE76:
- 1763 .text
- 1764 .Letext0:
- 1765 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h"
- 1766 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h"
- 1767 .file 4 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
- 1768 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 1769 .file 6 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 1770 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 1771 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- ARM GAS /tmp/ccQjIBHa.s page 57
- DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_dma.c
- /tmp/ccQjIBHa.s:18 .text.DMA_SetConfig:0000000000000000 $t
- /tmp/ccQjIBHa.s:23 .text.DMA_SetConfig:0000000000000000 DMA_SetConfig
- /tmp/ccQjIBHa.s:98 .text.HAL_DMA_Init:0000000000000000 $t
- /tmp/ccQjIBHa.s:104 .text.HAL_DMA_Init:0000000000000000 HAL_DMA_Init
- /tmp/ccQjIBHa.s:222 .text.HAL_DMA_Init:0000000000000060 $d
- /tmp/ccQjIBHa.s:229 .text.HAL_DMA_DeInit:0000000000000000 $t
- /tmp/ccQjIBHa.s:235 .text.HAL_DMA_DeInit:0000000000000000 HAL_DMA_DeInit
- /tmp/ccQjIBHa.s:345 .text.HAL_DMA_DeInit:000000000000005c $d
- /tmp/ccQjIBHa.s:352 .text.HAL_DMA_Start:0000000000000000 $t
- /tmp/ccQjIBHa.s:358 .text.HAL_DMA_Start:0000000000000000 HAL_DMA_Start
- /tmp/ccQjIBHa.s:446 .text.HAL_DMA_Start_IT:0000000000000000 $t
- /tmp/ccQjIBHa.s:452 .text.HAL_DMA_Start_IT:0000000000000000 HAL_DMA_Start_IT
- /tmp/ccQjIBHa.s:563 .text.HAL_DMA_Abort:0000000000000000 $t
- /tmp/ccQjIBHa.s:569 .text.HAL_DMA_Abort:0000000000000000 HAL_DMA_Abort
- /tmp/ccQjIBHa.s:640 .text.HAL_DMA_Abort_IT:0000000000000000 $t
- /tmp/ccQjIBHa.s:646 .text.HAL_DMA_Abort_IT:0000000000000000 HAL_DMA_Abort_IT
- /tmp/ccQjIBHa.s:773 .text.HAL_DMA_Abort_IT:0000000000000090 $d
- /tmp/ccQjIBHa.s:779 .text.HAL_DMA_PollForTransfer:0000000000000000 $t
- /tmp/ccQjIBHa.s:785 .text.HAL_DMA_PollForTransfer:0000000000000000 HAL_DMA_PollForTransfer
- /tmp/ccQjIBHa.s:1210 .text.HAL_DMA_PollForTransfer:0000000000000224 $d
- /tmp/ccQjIBHa.s:1216 .text.HAL_DMA_IRQHandler:0000000000000000 $t
- /tmp/ccQjIBHa.s:1222 .text.HAL_DMA_IRQHandler:0000000000000000 HAL_DMA_IRQHandler
- /tmp/ccQjIBHa.s:1484 .text.HAL_DMA_IRQHandler:000000000000013c $d
- /tmp/ccQjIBHa.s:1490 .text.HAL_DMA_RegisterCallback:0000000000000000 $t
- /tmp/ccQjIBHa.s:1496 .text.HAL_DMA_RegisterCallback:0000000000000000 HAL_DMA_RegisterCallback
- /tmp/ccQjIBHa.s:1547 .text.HAL_DMA_RegisterCallback:000000000000002c $d
- /tmp/ccQjIBHa.s:1551 .text.HAL_DMA_RegisterCallback:0000000000000030 $t
- /tmp/ccQjIBHa.s:1597 .text.HAL_DMA_UnRegisterCallback:0000000000000000 $t
- /tmp/ccQjIBHa.s:1603 .text.HAL_DMA_UnRegisterCallback:0000000000000000 HAL_DMA_UnRegisterCallback
- /tmp/ccQjIBHa.s:1652 .text.HAL_DMA_UnRegisterCallback:000000000000002c $d
- /tmp/ccQjIBHa.s:1716 .text.HAL_DMA_GetState:0000000000000000 $t
- /tmp/ccQjIBHa.s:1722 .text.HAL_DMA_GetState:0000000000000000 HAL_DMA_GetState
- /tmp/ccQjIBHa.s:1740 .text.HAL_DMA_GetError:0000000000000000 $t
- /tmp/ccQjIBHa.s:1746 .text.HAL_DMA_GetError:0000000000000000 HAL_DMA_GetError
- /tmp/ccQjIBHa.s:1657 .text.HAL_DMA_UnRegisterCallback:0000000000000031 $d
- /tmp/ccQjIBHa.s:1657 .text.HAL_DMA_UnRegisterCallback:0000000000000032 $t
- UNDEFINED SYMBOLS
- HAL_GetTick
|